summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.9.4Khang Nguyen4-88/+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> (cherry picked from commit 5be728d6bfeb06c3174d5dffd09775d38674dd69)
2019-04-19rcar-gen3: Add support M3NULCB boardYusuke Goda2-1/+2
M3NULCB board specifications: - R-Car M3-N Ver.1.1 - DDR 2GiB - eMMC 8GB(KLM8G1GESD-B04P) Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: kernel-module-gles: WORKAROUND to build with GCC 8.1Thuy Tran2-0/+63
Current GFX source code will get compilation error with GCC 8.1, because it is defined in makefile to use -Wall to enable all Warnings check. -Wcast-function-type, -Wsizeof-pointer-div and -Wstringop-truncation are new command-line options have been added for the C and C++ compilers in GCC 8. This commit applies a W/A patch to silence -Wcast-function-type, -Wsizeof-pointer-div and -Wstringop-truncation errors. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-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: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: linux-renesas: WORKAROUND to fix kernel crashTan Nguyen4-0/+84
This commit applies a patch to fix kernel crash during FULL HD playback. Signed-off-by: Tan Nguyen <tan.nguyen.wh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: linux-renesas: WORKAROUND to fix build error with Linux v4.14Thuy Tran4-0/+132
This commit backports a fix patch from Linux v4.15 to fix build error below: | 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: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: linux-renesas: Update LIC_FILES_CHKSUM valueThuy Tran2-0/+4
In thud branch, it supports Linux 4.18 version. This commit updates LIC_FILES_CHKSUM value to adapt Linux BSP 4.14. Signed-off-by: Thuy Tran <thuy.tran.xh@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>
2018-03-22rcar-gen3: kernel-module-qos: Update SRCREV for QoS driverKhang Nguyen1-1/+1
This commit updates QoS driver SRCREV for following item: [qos_drv] - Support E3 Ver1.0 (or later tentatively). 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: linux-renesas: Ensure only build CAS with H3 or M3 SoCKhang Nguyen1-1/+2
CAS only supports H3 (SoC: r8a7795), M3 (SoC: r8a7796). This commit adds a python function to disable CAS automatically and show the warning message as below in case of wrong setup. | WARNING: linux-renesas-4.14.0+gitAUTOINC+4a7e26bdbc-r1 do_cas_checking: | CAS only supports H3 (SoC: r8a7795), M3 (SoC: r8a7796), this feature will be disabled automatically 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: linux-renesas: Enable RPMSG_VIRTIO config depend on ICCOMKhang Nguyen5-0/+72
This commit modifies recipe to enable RPMSG_VIRTIO config depend on ICCOM distro feature. 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: linux-renesas: Add support E3 and upgrade Linux BSP to v3.6.1Khang Nguyen3-8/+11
This commit adds support E3 and upgrades Linux BSP to v3.6.1 for the following updates: [Kernel] - Add R-Car E3 support. - Fix Gfx clock. [Power Management] - Register clock for all cpu nodes for R-Car H3 to device tree. - Improve to build only when enabling RCAR_POWER_AVS. - Update IPA for CA53, need tune "contribution" parameter. - Fix section mismatch build warnings. - Fix double source of drivers/soc/renesas/Kconfig. [Display driver] - Fix continuous mode for dual pipelines. - Fix DISP interrupt enable order, DPPR register set order and LVDS startup sequence. - Fix LVDS startup on R-Car Series, 3rd Generation. - Fix LVDS stop sequence. [DMA Engine driver] - Fix max_chunk_size for R-Car Series, 3rd Generation. - Check the done lists in rcar_dmac_chan_get_residue(). [I2C driver] - Fix the problem that the strange data transfers with DMA transmit. [IPMMU driver] - Fix sequence issue. [SD/MMC driver] - Fix handling of SET_BLOCK_COUNT for RPMB. [USB3.0 Function] - Fix oops in renesas_usb3_remove(). - Don't print a warning when setting link state for disabled ports. [Video Capture driver] - Fix transfer rate and phy register value. Add CPG reset release procedure. - Add bytes per line when opening device. - Fix power management procedure when resuming. - Add MSTP status check after CPG reset. - Fix division procedure for __udivdi3 error. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22Revert "rcar-gen3: linux-renesas: Fix M3ULCB hangs up when playing video"Khang Nguyen4-126/+0
Linux BSP v3.6.1 has been updated. This reverts commit f8e4fb869abdfac3211b5f933202644901eeac7a. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module: Do not override KERNEL_MODULE_AUTOLOAD variableThuy Tran3-3/+3
According to YP Manual, we can use the KERNEL_MODULE_AUTOLOAD variable anywhere that it can be recognized by the kernel recipe or by an out-of-tree kernel module recipe. Therefore, KERNEL_MODULE_AUTOLOAD is a global list, so it should be used "+=" or "_append". Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-vsp2driver: Fix missing vsp2 kernel module ↵Thuy Tran1-0/+1
configuration in rootfs This commit modifies recipe to add vsp2.conf file under /etc/modules-load.d/ directory into rootfs after changing kernel module package names in YP2.4. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-gles: Fix missing PowerVR GPU kernel module in rootfsThuy Tran1-0/+4
This commit modifies recipe to ship kernel module of PowerVR GPU into rootfs after changing kernel module package names in YP2.4. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module: Set KERNEL_MODULE_PACKAGE_SUFFIX to fix building ↵Thuy Tran18-0/+54
kernel modules From YP2.3 [1], kernel module packages are now suffixed with the kernel version in order to allow module packages from multiple kernel versions to co-exist on a target system. We can return to the previous naming scheme that does not include the version suffix by setting KERNEL_MODULE_PACKAGE_SUFFIX to blank to build modules without suffix. [1] http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#migration-2.3-miscellaneous-changes Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: kernel-module-avb: Update SRCREV to follow latest versionThuy Tran2-2/+2
This commit updates SRCREV for AVB Streaming driver and MSE Core by following updates: [AVB Streaming driver] - Follow the change of kernel API from v4.9 to v4.14. [AVB MSE] - Add support multi slice coded H.264 stream. - Optimize resource management to reduce statically allocated memory and improve code readability. - Support handling module reference count for managing module dependency. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>