summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2019-12-24rcar-gen3: linux-renesas: Fix Perf build failure with 4.14 kernelKhang Nguyen4-0/+1844
OE-Core started using Python3 for perf module. But older kernel such as 4.14 does not have support for python3. This causes build failure as follows: | Makefile.config:391: DWARF support is off, BPF prologue is disabled | Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev | Makefile.config:626: Python 3 is not yet supported; please set | Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately. | Makefile.config:628: If you also have Python 2 installed, then | Makefile.config:629: try something like: Backported python3 support, as a suggestion here: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=92469aad50b623afa423c19d82ed2e3c667c5e6a This fix was backported from: https://lists.yoctoproject.org/pipermail/meta-intel/2019-September/006191.html Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ieaad61fb9bd4888e6226c8e00d4807f738cc0b55
2019-12-24rcar-gen3: linux-renesas: Generate defconfig automaticallyDuy Dang2-6424/+4
KCONFIG_MODE helps to select defconfig and generate it automatically, there is no need to have an external defconfig file. Change-Id: Ibedbaa95476d8b2bbd7c5950ae95d21bb617068e Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-12-24rcar-gen3: linux-renesas: Update Linux BSP to v3.9.7Khang Nguyen2-6/+6
This commit updates Linux BSP to v3.9.7 for the following change: [SD/MMC driver] - Add HS400 support. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I28dd976deec8938a4cfdaa7bd461e3247d34db74
2019-09-24rcar-gen3: Add COMPATIBLE_MACHINEKhang Nguyen1-0/+2
This adds COMPATIBLE_MACHINE to R-Car specific recipes to avoid error when run "bitbake world" for non-R-Car platforms. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ide29f6272d7c483eeda69a58f61710b2e8a42d6d
2019-09-24rcar-gen3: kernel-module-vspm: Set UDS horizontal scaling phase to autoKhang Nguyen2-0/+45
This commit applies a patch to use the register default settings for the scaling phase instead of manually calculating them. It fixes incorrect output when upscaling with the vsp2/vspm driver. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I737651f0759211082cc5381fa2328eea8553ea7b
2019-09-24rcar-gen3: vsp2driver: Add a patch to handle data_offset settingThuy Tran2-0/+31
Vsp2 driver doesn't need to set offset of dmabuf for UV plane. However, in case of overlay plane by weston5.0, v4l2src (VIN) takes care of plane offset of dmabuf via mmngr, then vspfilter and vsp2drv also need to care it. Cherry-pick from 9e04640780d516dc65b489f1f039d98b13460ac8 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ida863471114e2e4b1f0b3544e69895396305af09
2019-09-24rcar-gen3: mmngrbuf: Add to support HW overlay modeKhang Nguyen2-0/+40
This commit adds a patch to confirm omxh264dec(mmngr) dmabuff passing in HW overlay mode. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: If463c657a449f5f746a43532034e9d475aaaaec7
2019-09-24rcar-gen3: kernel-module-gles: WORKAROUND to build with GCC 9.xKhang Nguyen2-0/+28
Current GFX source code will get compilation error with GCC 9.x, because it is defined in makefile to use -Wall to enable all Warnings check. -Wcast-function-type, -Wsizeof-pointer-div and -Wstringop-truncation, -Wmissing-attributes, -Waddress-of-packed-member are new command-line options have been added for the C and C++ compilers in GCC 9. This commit applies a W/A patch to silence -Wcast-function-type, -Wsizeof-pointer-div, -Wstringop-truncation, -Wmissing-attributes and -Waddress-of-packed-member errors. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ic14200e68d0c3a666f9ef1906a3e40b9d6a721dc
2019-09-23rcar-gen3: linux-libc-headers: Update LIC_FILES_CHKSUM valueThuy Tran1-0/+2
This commit updates LIC_FILES_CHKSUM value to avoid QA issue. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ie440e5227ba74fc5b987acd52c1989da3afd3079
2019-09-23rcar-gen3: linux-renesas: WORKAROUND to fix build error with Linux v4.14Thuy Tran4-0/+132
This commit applies WORKAROUND patch for the following error: | ERROR: linux-libc-headers-4.14-r0 do_install: oe_multilib_header: Unable to find header asm/bpf_perf_event.h. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I47d36ed12f8c24ed41031d27303bb0e82c059d21
2019-09-23rcar-gen3: Change base_conditional to oe.utils.conditionalThuy Tran3-7/+7
This commit changes to use oe.utils.conditional because these base_* functions were removed in meta/lib/oe from YP2.5. (From Poky rev: 58449f0e9cc4a05c88204cf8ba887b55467d886e) Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iee8ccb134de4b955032427bd06c230c32c7084cf
2019-07-15rcar-gen3: mmngr_drv: Update to MMNGR Driver v1.8 and MMNGRBUF v1.3Duy Dang1-1/+1
This commit updates SRCREV of MMNGR Driver to v1.8 and MMNGRBUF to v1.3 for the following changes: MMNGR v1.8: - Remove cache snoop transaction for page table walk request. MMNGRBUF v1.3: - Fix dmabuf refcount handling on mm_ioc_import_start() failure. Change-Id: Ia750240b168f7a30f55cf4ef7fc7f884cced29e8 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-07-15rcar-gen3: linux-renesas: Fix ADSP deadlock issueKhang Nguyen2-114/+88
This commit updates ADSP patch to fix ADSP deadlock issue which causes video freezes randomly on Ebisu-4D/Salvator-XS board. Change-Id: I07d2f979ef32d3e37cf25f5ba7a474972eefd8d8 Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-07-15rcar-gen3: linux-renesas: Update Linux BSP to v3.9.6Duy Dang4-24/+62
This commit updates Linux BSP version to v3.9.6 for the following changes: [Audio driver] - Fixup 6ch settings to 8ch. The rsnd need to use 8ch clock settings for 6ch for TDM. - Avoid a potential deadlock. [DMA Engine driver] - With cyclic DMA residue 0 is valid. [IPMMU driver] - Remove cache snoop transaction for page table walk request. [SD/MMC driver] - Fix SCC error handling to avoid false positive CRC error. [Thermal driver] - Fix interrupt type. - Disable interrupt in .remove function. - Fix initial value of IRQCTL register. [USB2.0 Host driver] - Correct VBUS behavior at over-current. [Kernel] - [H/W Restriction No.123] The eMMC of R-Car M3 Ver.3.0 is restricted up to HS200 for H/W restriction by device tree. Change-Id: I36706b190a921ee8ec086f6c74a7fa986a0a1980 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-04-02rcar-gen3: MMNGR: Update MMNGR driver to v1.7Duy Dang1-1/+1
This commit updates SRCREV of MMNGR driver to version 1.7 for the following change: - Add IPMMU(MMU) support for R-Car M3 Ver.3.0 Change-Id: I8fc604a1b890605b1751a913e644441d6455140f Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-04-02rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.9.4Khang Nguyen2-4/+4
This commit upgrades Linux BSP to v3.9.4 for the following changes: - Fix power domain for FCPCS of r8a77965 in the device tree according to H/W UM Rev.1.50 correction in the future. - Rename AVB_AVTP_MATCH and AVB_AVTP_CAPTURE pin function definitions of r8a77990 according to H/W UM Rev.1.50 correction in the future. - Revert the patch of r8a77990 pinctrl about MOD_SEL1 bit31 and bit30 according to H/W UM errata for Rev.1.00. - Fix cpg_sd_clock_round_rate return value. - Rename some pin function and cpg definition according to H/W UM Rev.1.50 errata. - Rename SEL_ADG_B to SEL_ADGB and rename SEL_ADG_C to SEL_ADGC according to H/W UM Rev.1.50. - Fix SCIF5 DMA channels according to H/W UM Rev.1.50. - Fix clock and reset for ivdp1c according to H/W UM Rev.1.50. - Add support for R-Car M3 ES3.0. - Fix MMC cannot probe by modprobe command after S2R issue. Change-Id: I12901a91f2e6ebaf5879456faeb5f9d3baad6f32 Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-04-01rcar-gen3: Add support M3NULCB boardYusuke Goda2-1/+2
M3NULCB board specifications: R-Car M3-N Ver.1.1 DDR 2GiB eMMC 8GB(KLM8G1GESD-B04P) Change-Id: Ie857f76d7c96cd6e9a9196ce9bc27d98e878b161 Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: vspm: Update SRCREV to follow the latest versionDuy Dang2-2/+2
This commit updates SRCREV of vspm and vspmif driver to follow the latest version for the following changes: [vspmif_drv] - Fixed an issue where vspmif could crash. [vspmif_lib] - To correspond boards that do not support Full HD. [vspm_drv] - Fix VI6_HGO/HGT_WBUFS setting from CPU write to Display List. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: EtherAVB: Update SRCREV to the latest versionDuy Dang1-1/+1
This commit updates SRCREV of EtherAVB driver and applications to follow the latest version for some changes as below: [avb-mse] - Core: Add filter of outliers in create avtp timestamp - Core: Fix problem that the streaming might be stalled - Core: Fix missing bit mask at difference calculation of M2TS timestamp [avb-applications] - avdecc: make: fix cmake error if not doing submodule update - avblauncher: update example script affect by changed MSE usage Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: mmngr: Update SRCREV to follow the latest versionDuy Dang1-1/+1
This commit updates SRCREV of MMNGR modules to the latest version for the following changes: - Improve error handling for import phases and close() function about Refcount of dmabuf in MMNGRBUF. - Add support for Linux v4.14-LTSI. - Remove unnecessary check when parsing reserved memory regions in DT - Disable IPMMU TLB cache function in E3 Ver.1.x due to hardware restriction. - Add E3 Ver.1.1 support. - Add error handling for mm_probe() function. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-19rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.9.2Duy Dang29-3301/+3493
This commit upgrades Linux BSP to v3.9.2 for the following changes: [Kernel] - Add support for RCKSEL clock selection. - Fix pin functions of R-Car E3 according to H/W UM Rev1.00 errata. - Fix warning of the make W=1 C=2. - Identify R-Car M3 Ver.1.3. - Add the big.LITTLE CAS scheduler fix patches. - Fix MOD_SEL bit numbering for R-Car E3. [Power Management] - Fixup power-domains of 3DGE for R-Car E3 Ver.1.0 and add device tree file for R-Car E3 Ver.1.0. [Audio Driver] - Fixup clock start checker. - Resolve the problem that the noise is generated during long playback with R-Car E3 Ebisu-4D board by kernel rebasing. [Display Driver] - Add function of suspend and resume to adv7511_drv.c and add hot plug event function at resume in rcar_du_drv.c. - Add depends on DRM_RCAR_DU to config DRM_RCAR_LVDS. - Revert "drm: rcar-du: Fix legacy DT to create LVDS encoder nodes". - Add clock function for LVDS PLL. [Ethernet Driver] - Decrease TxFIFO depth of Q3 and Q2 to one. - Fix not to call phy_resume() if PHY is not attached and add toggling phy reset if PHY is not attached. - Revert "ravb: RX checksum offload" for communicating of Q-Tag VLAN frame correctly. - Resolved the problem that the S2RAM resume failed on R-Car E3 Ebisu-4D by kernel rebasing. - Avoid unsupported internal delay mode for R-Car E3 and limit to 100Mbps. [I2C Driver] - Check bus state before reinitializing. [IPMMU Driver] - Fix crash on early domain free. - Revert "arm64: defconfig: Enable QCOM_IOMMU" for suspending with LTSI kernel. - Correct whitelist devices assignment. [PCIe Driver] - Avoid PCI device removing/rescanning through sysfs triggers a deadlock. [PWM Driver] - Avoid deadlock warning when removing PWM device. [SD/MMC Driver] - Fix card initialization failure in high speed mode. - Add adjust HS400 offset by manual calibration mode and adjust HS400 offset by manual calibration mode for R-Car M3 Ver.1.3. [USB2.0 Function] - Add reset_control. - Backport upstream patches to support OTG mode for R-Car E3. - Make DMAC system sleep callbacks explicit. - Add Super-Speed (b-device) support. [Video Capture driver] - Review adv748x driver for R-Car E3 Ebisu board and add option for changing SD output route to TXA. - Revert "rcar-vin: rcar-csi2: Add blank margin when caluculating bit rate" and fix pixel rate values. - Add CPG reset and release when using digital pin. [RWDT Driver] - Don't keep timer value during suspend/resume. - Don't set divider while watchdog is running. This also updates ADSP driver patches to adapt to the new Linux version. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xv@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: V4L2/VSPM: Update SRCREV to follow the latest versionKhang Nguyen3-3/+3
This commit updates V4L2/VSPM SRCREV for following updates: [vsp2driver] - Support the expression for color space conversion. - Fix minimum input pixel size for RGB format to 1 pixel. [vspm_drv] - Move function definitions out of vspm_cmn.h. - Fix macro name to register name. [vspmif_drv] - Convert user_data and cb_func to user pointers. - Remove __user macro from the variable declaration. [vspmif_lib] - Add prototypes for VSP Manager API. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: kernel-module-qos: Update SRCREV for QoS driverKhang Nguyen1-1/+1
This commit updates QoS driver SRCREV for following item: [qos_drv] - Feedback of static analysis tool result. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: kernel-module-uvcs: Remove redundant variableDuy Dang1-2/+1
There is no reason to use UVCS_SRC variable for the source URI instead of pointing directly. So this commit removes it. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: kernel-module-qos: Fix a typoDuy Dang1-1/+1
This commit fixes a typo in recipe comment. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: kernel-module-iccom: Remove iccom-control.inc requirementDuy Dang2-2/+0
Kernel module ICCOM recipe requires iccom-control.inc which only defines USE_ICCOM, but nowhere in the recipe uses this variable. This commit removes the unneeded requirement. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: kernel-module-xtensa-hifi: Use distro features checkDuy Dang1-3/+4
The improper error occurs when building Kernel module ADSP without its distro feature enabled in local.conf: | ERROR: kernel-module-xtensa-hifi-1.0-r0 do_populate_lic: QA Issue: kernel-module-xtensa-hifi: LIC_FILES_CHKSUM points to an invalid file This commit modifies recipe to use distro_features_check class that provides the proper error: | ERROR: Nothing PROVIDES 'kernel-module-xtensa-hifi' | kernel-module-xtensa-hifi was skipped: missing required distro feature 'adsp' (not in DISTRO_FEATURES) Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: linux-renesas: Add support ADSP ALSA driverKhang Nguyen11-0/+14988
This commit modifies recipes to support building ADSP ALSA driver when enabling adsp distro feature. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: linux-renesas: Update device tree to support ADSP ALSA driverKhang Nguyen14-0/+500
This commit applies device tree rollback patches to support ADSP ALSA driver. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.8.0Khang Nguyen3-53/+94
This commit upgrades Linux BSP to v3.8.0 for the following updates: [Kernel] - Fix CPG definitions of R-Car H3/M3N/E3 for H/W manual Rev.1.00. - PFC definitions of R-Car H3/M3N/E3 for H/W manual Rev.1.00. - Fix R-Car H3/M3N/E3 module clock system mistake. [Audio driver] - Fixup not to call clk_get/set under non-atomic. - Fixup SSI clock during suspend/resume modes. [Display driver] - Don't use TV sync mode when not supported by the hardware. - Add clock driver registration for LVDS PLL. [SATA driver] - Fix really mask all interrupts on Gen2 and later. [SD/MMC driver] - Add adjust HS400 offset by manual calibration mode. - Change HW adjustment register according to speed mode. [Video Capture driver] - Fix PHTW register procedure and VnCSI_IFMD register access for R8A77990. - Fix scaling judgement condition of #181156 patch. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29Revert "rcar-gen3: linux-renesas: WORKAROUND for mini SD card issue on M3ULCB"Khang Nguyen4-234/+0
The Kernel source has been updated. This reverts commit 8b090e008ef2c4cb9a97c20426f1ac03f9f15555. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-26rcar-gen3: mmngr: Upgrade mmngr driver versionDuy Dang1-1/+1
This commit upgrades mmngr driver version to v1.5 to fix static analysis warnings. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-26rcar-gen3: EthernetAVB: Update SRCREV to follow the latest versionKhang Nguyen2-2/+2
This commit updates SRCREV of EthernetAVB components for following changes: - Fix buffer overflow when write_stq. - Fixes NULL pointer dereference at streaming stopping. - Fix wrong output position calculation. - Add mse_is_buffer_empty to clarify. - mse_trans_complete change to select target buf_list. - delay_time value to set in all usecases. - Split setup logic of PTP Timer and Capture. - Add utilitity macro PTP_TIME_DIFF_S32. - Add output timing adjust feature on video listener. - Add upper limit and change default value for tx/rx delay time. - Add header overhead in calc_cbs_by_bitrate. - Add MSE_TRANSMIT_MODE for MPEG2TS usecase. - Revise calculation of the AVTP timestamp. - Add transmit timing adjust feature on MPEG2TS talker. This also fixes the issue in which streaming data is not smooth and hang-up. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19Revert "rcar-gen3: linux-renesas: Enable DEVFREQ configuration"Khang Nguyen2-11/+0
The Kernel Source has been updated. This reverts commit a1e844b0849b1c47f37f6ae6095b17bff5f79539 which is no longer needed. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: linux-renesas: Upgrade Linux BSP to 3.7.3Khang Nguyen3-5/+22
This commit upgrades Linux BSP to 3.7.3 for the following updates: [Kernel] - Enable DEVFREQ configuration. [Audio driver] - Fix the noise problem when repeating start and stop of playback during capture. [Display driver] - Fix about reserved bits, unused registers and offset address related to HDMI registers for R-Car. - Add re-write of vsync pulse width. - Add dot clock valid check. - Revert "v4l: vsp1: Add max RPF number check". - Fix read past end of lvds[] array and fix div-by-0 when propagating pixelrate. - Fix bridge null check. - Track dma-buf fences. - Fix definitions according to H/W UM Rev1.00. - Allow importing non-contiguous dma-buf with VSP and set the DMA coherent mask for the DU device - Fix to refer to member after Null check in vsp1_pipe.c. [DMA Engine driver] - Add dma_pause operation. - Don’t use DMAC error interrupt. - Avoid to writing CHCR.TE to 1 if TCR is set to 0. [I2C driver] - Fix dma_direction variable clear. - Cleanup DMA for all kinds of failure. [MSIOF driver] - Fix handling of writing value of SISTR register. - Change wait time of reset completion [PCIe driver] - Handle returned value of rcar_pcie_wait_for_dl for warning QAC with MISRA-C 2012. [SD/MMC driver] - Backport upstream patch “mmc: core: properly init drv_type”. - Fix the definition of RST_RESERVED_BITS. - [H/W Restriction No.109] R-Car M3 Ver.1.2 or earlier does not support eMMC HS400 mode. It supports up to HS200 mode. [USB2.0 Host driver] - Add wait for IDDIG. [Video Capture driver] - Cleanup notifier in error path. - Add streaming count check when streming off. - Fix definitions according to H/W UM Rev1.00. - Fix setting order of UDS disable. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: kernel-module-adsp: Enable build target for E3 boardKhang Nguyen1-0/+5
E3 build target board was disabled default in Kbuild configuration: DTARGET_BOARD_E3=0 This commit sets "DTARGET_BOARD_E3=1" automatically when target board is E3. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: kernel-module-gles: Autoload Kernel module pvrsrvkmKhang Nguyen1-0/+4
This commit updates recipe to set Kernel module pvrsrvkm works in autoload mode. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: linux-renesas: WORKAROUND for mini SD card issue on M3ULCBKhang Nguyen4-0/+234
This commit adds a WORKAROUND patch for the issue that mini SD partition information cannot be read correctly. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: linux-renesas: Enable DEVFREQ configurationTakeshi Kihara2-0/+11
This commit enables DEVFREQ configuration. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.7.0Khang Nguyen15-752/+13
This commit upgrades Linux BSP to v3.7.0 for following updates: [Kernel] - Change Linux version to v4.14.35 from v4.14. - Add support ZG clock divider for R8A77990 (R-Car E3). - Remove patch for Identifing R-Car M3 Ver.1.2 or later. [Power Management] - Fix "Using plain integer as NULL pointer" in rcar_ems_ctrl.c. - Add AVS support for gsx_opp_table. - Update SYSC power ON/OFF flow. [Display driver] - Fix procedure for extal and dotclkin selection for R-Car E3. - Add shutdown callback function in platform_driver". - Fix state flag in case of dual link mode for R-Car E3. [Ethernet driver] - Move reset-gpios property to EthernetAVB node for R-Car E3 Ebisu board. [I2C driver] - Fix handling of the RESTART phase and STOP phase. [MSIOF driver] - Add 2 clock delay by R-Car H3 Ver.3.0 only specification. [SD/MMC driver] - Fix eMMC HS400 mode setting. - Delete wait in tuning process. [USB2.0 Function] - Avoid wrong list handling in printer_write(). [USB2.0 Host driver] - Avoid the problem of Suspend to RAM in case of connecting USB mouse by removing following patches: <commit ID:cad25bf1> phy: rcar-gen3-usb2: Add the interrupt disabled in suspend <commit ID:318b535> phy: rcar-gen3-usb2: Support System Suspend To RAM [Video Capture driver] - Fix IFMD table information for R8A77990 (R-Car E3). Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: kernel module: Fix the typosKhang Nguyen3-3/+3
This commit fixes the typos in recipes. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: EthernetAVB: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of EthernetAVB components for following changes: - Fix setting both S bit and E bit of FU header. - Fix to restart to sending packets when not in time for the interval. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: MMNGR: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of Memory Manager driver for following items: - Update CMA memory mapping for R-Car E3. - Disable IPMMU TLB cache function in selected SoC revision. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: linux-renesas: Apply the power control patches for H3 Ver.3.0Khang Nguyen14-0/+724
This commit applies the power control patches in R-Car H3 Ver.3.0. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.6.2Khang Nguyen3-5/+6
This commit upgrades Linux BSP to v3.6.2 for following updates: [Kernel] - "WARNING: possible circular locking dependency detected" occurs with repeating reboot. However, it was false positive, and it was confirmed that there was no problem. - Identify R-Car M3 Ver.1.2 or later. - Remove lossy descompress area from MMNGR node and reduce reserved area for R-Car E3 Ebisu board. [Power Management] - Improve power domains always on implementation. - Fix interrupts are not raised issue on R-Car E3. - Update CAS source. [Display driver] - Add overlay layer size check. - Fix possible crtcs for plane when using VSPDL. [IPMMU driver] - Add workaround for disabling uTLBs. [MSIOF driver] Add MSIOF module clock changing processing for R-Car Series, 3rd Generation. [PCIe driver] - Fix memory leak in of_pci_get_host_bridge_resources. [Thermal driver] - Use DIV_ROUND_CLOSEST correctly as its description. [USB3.0 Host driver] - Cannot Suspend to RAM when enabling USB3.0. - Confirm recognition of USB3.0 memory through HUB for setting /etc/udev/rules.d/99-usb.rules. [Video Capture driver] - Allocate a scratch buffer at stream start. Then use scratch buffer and always run in continuous mode. - Fix PHTW register flow below 250 mbps. - Fix clock control flow so that the warning message “MSTP status timeout” is not displayed and when UDS (scaling) is executed at VIN0, a black screen does not come out. - Fix streaming procedure when resuming. [Audio driver] - Playback or capture doesn’t resume after Suspend to RAM. [USB2.0 Function] - Kernel error occurs with rmmod of g_printer. - The dd command error occurs with g_mass_storage. [USB2.0 Host driver] - When connecting USB mouse, “Bad mode in Error handler” may occur with Suspend to RAM. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: MMNGR: Update SRCREV to follow the latest versionKhang Nguyen2-1/+2
This commit updates SRCREV to apply following changes: - Fix QAC MISRA C:2012 warnings. - Disable TLB function on IPMMU caches on E3. - To add E3 support. - xxxxxx mmngr_lib update test. - Update MMNGR revision to v1.3. - Change the way of parsing reserved memory regions in DT. - Do not parse reserved memory region for default CMA in DT twice. - Update IPMMU(MMU) deinitialize sequence. It also adds the configuration for E3. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: VSPM: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates VSPM SRCREV for following fix: [vspm_drv] - Fix issue when up-scaling at UDS. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: kernel module: Fix comment typosKhang Nguyen3-3/+3
This commit fixes comment typos. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: kernel-module-avb: Update SRCREV to follow the latest versionKhang Nguyen3-3/+3
This commit updates SRCREV for AVB Streaming, MSE and MCH driver by following updates: [AVB Streaming driver] - Update version to v2.13.0. - Cleanup checkpatch warnings. [AVB MSE] - Merge dev branch into rcar-gen3. [AVB MCH] - Add auto selection of avtp_clk_frq value. - Cleanup variable set but not used. - Cleanup symbol was not declared. - Cleanup constant is so big it is type. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: GFX: Update to support E3 boardKhang Nguyen1-1/+4
This commit modifies graphic recipes to support E3 GFX version. It also updates copyscript to support copying E3 GFX packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>