aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
AgeCommit message (Collapse)AuthorFilesLines
2019-09-23rcar-gen3: linux-renesas: WORKAROUND to fix build error with Linux v4.14Thuy Tran1-0/+5
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 Tran1-4/+4
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: linux-renesas: Update Linux BSP to v3.9.6Duy Dang1-2/+2
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: linux-renesas: Upgrade Linux BSP to v3.9.4Khang Nguyen1-2/+2
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 Goda1-1/+1
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-19rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.9.2Duy Dang1-18/+11
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: linux-renesas: Add support ADSP ALSA driverKhang Nguyen1-0/+14
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 Nguyen1-0/+10
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 Nguyen1-3/+3
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 Nguyen1-5/+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-19Revert "rcar-gen3: linux-renesas: Enable DEVFREQ configuration"Khang Nguyen1-1/+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 Nguyen1-2/+2
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: linux-renesas: WORKAROUND for mini SD card issue on M3ULCBKhang Nguyen1-0/+5
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 Kihara1-0/+1
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 Nguyen1-13/+3
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: linux-renesas: Apply the power control patches for H3 Ver.3.0Khang Nguyen1-0/+10
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 Nguyen1-2/+2
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: 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 Nguyen1-0/+11
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 Nguyen1-3/+3
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 Nguyen1-5/+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: linux-renesas: Fix M3ULCB hangs up when playing videoThuy Tran1-0/+5
The M3ULCB ES1.0 revision can not use CPUIdle for CA53 cores. This commit modifies recipes to apply a patch that disables CPUIdle support for CA53. 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: linux-renesas: Update to enable USB 3.0Thuy Tran1-0/+15
This commit modifies recipe to install USB 3.0 firmware to kernel source and to enable USB 3.0 in kernel image. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> 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: linux-renesas: Update to support CAS featureThuy Tran1-0/+6
This commit adds SCHED_DEBUG config fragment to support CAS. 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: linux-renesas: Upgrade Linux BSP to v3.6.0Thuy Tran1-0/+23
This commit upgrades Linux BSP to v3.6.0 for supporting Kernel v4.14 stable and updating following items: [Kernel] - Add support for WDIOF_CARDRESET. [Power Management] - Add missing iounmap to rcar_avs.c. - Add big.LITTLE CAS support. - Add CA53 CPUIdle support. - Add CA53 EMS support. - Add CA53 CPUFreq support. [Audio driver] - Confirm rmmod command operation of snd-soc-rcar. - Skip disabled-SSI nodes. - Care ssi_parent_mod and remove NULL check from rsnd_mod_name()/rsnd_mod_id(). - Revert IOMMU support so far. - Don't use runtime->sample_bits. - More clear rsnd_get_dalign() for DALIGN. - Clear SSI_MODE for non TDM Extended modes. [Display driver] - Confirm the Fence function. - Add support for colorkey alpha blending. - Disable vsp1 interrupt when startup. [DMA Engine driver] - Fix array-bounds warning refer chcr_ts[]. [PWM driver] - Enable PWM2 in device tree. [USB2.0 Function] - Fix the problem that the interrupt becomes long time when disconnecting the USB cable. [Video Capture driver] - Add V4L2_FIELD_SEQ_TB/BT function support. - Add ARGB8888 caputre format support and overflow debug message option. - Fix cropping procedure. [RWDT driver] - Add support for WDIOF_CARDRESET. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>