summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/linux/linux-renesas
AgeCommit message (Collapse)AuthorFilesLines
2018-12-07[AGL] Apply the syscall restarting patch for aarch64 SoCflounder_6.0.3flounder/6.0.36.0.3Liu Wenlong1-0/+72
There are some seccomp bpf related failures when running kselftest on R-Car M3(AGL inside). Now, apply this patch to fix the syscall restart related bug(only existing on kernel version < 4.14.53). This patch won't be necessary if the kernel that AGL using was changed to the latest ltsi(4.14.75) or kernel >= 4.14.53 in the future. Change-Id: I1772d6f9d71c0903a605b5766bf217a46b2447c7 Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
2018-12-06[COMMUNITY] Fix SSI DMAC inaccessible via Xtensa HiFi2 ADSP firmwareMark Farrugia1-0/+34
The upgrade of the kernel to 4.14.35 has changed the SSI interface in the RCar SoC sound driver, making it that the Xtensa HiFi2 ADSP firmware can no longer directly access the SSI DMA controller in order to route audio directly out to hardware. This seems to fix this issue, allowing the Fiberdyne DSP to fully operate again on 4.14.35 kernels. Change-Id: Id89843b0a8a65f07964027639dde68791261cab6 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-06-18rcar-gen3: linux-renesas: WORKAROUND for mini SD card issue on M3ULCBKhang Nguyen1-0/+112
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/+10
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 Nguyen7-375/+8
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 Nguyen6-0/+352
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-1/+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: Enable RPMSG_VIRTIO config depend on ICCOMKhang Nguyen2-0/+28
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/+6
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-58/+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/+58
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/+4
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/+1
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 Tran25-1585/+930
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>
2017-11-24rcar-gen3: linux-renesas: Update SRC_URI to support ICCOM moduleThuy Tran24-0/+1315
This commit modifies Linux BSP recipes to add more patches to support ICCOM module. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.5.9Thuy Tran1-0/+2
Linux BSP has been upgraded for supporting R-Car M3N Ver.1.0 and updating following items: [Kernel] - Add R-Car M3N Ver.1.0 support. - Fix MSIOF3 and VI5_DATA13 pinmux settings. [Audio driver] - Don't check SSISR::DIRQ when Capture. - Call dummy write for PW_MGMT1/3 with AK4613 when Playback. - TDM 6ch needs 8ch clock for hw refine. - Fix pcm-creation regression. [Display driver] - Fix race condition when disabling planes at CRTC stop and add reference counting to drm_atomic_state. - Fix register parameters passed to HDMI. - Unconditionally call prepare_fb and remove drm_atomic_helper_framebuffer_changed. [DMA Engine driver] - Fixup descriptor pointer for descriptor mode and use TCRB instead of TCR for residue. [Ethernet driver] - Fix condition of phy reset. [I2C driver] - Fix I2C DMA reception by adding reset. - Fix I2C DMA transmission by setting sequence. - Fix DMA Callback processing of I2C dma mode. - Fix handling of the STOP phase. [MFISLock driver] - Revert and add support for R-Car Gen3 Hardware Spinlock again. [SD/MMC driver] - Add identification of TAP and clock settings of HS400. - Fix HS400 mode selection process. - Fix SCC error check condition. [USB2.0 Function] - Avoid spinlock recursion. [USB3.0 Function] - Fix for no-data control transfer and fix Pn_RAMMAP.Pn_MPKT value. - Fix return value of usb3_write_pipe(). - The maximum PIPEs change from 30 to 5 except PIPE0 and EP0 by H/W specification’s change. H/W specification is fixed because it has description mistakes. [Video Capture driver] - Remove VnMC setting when setting VnCSI_IFMD. - Fix PHTW register parameter for mbps. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: linux-renesas: Update BSP to v3.5.5Thao Nguyen1-2/+22
This commit updates Linux BSP from v3.5.3 to v3.5.5 for following items: Kernel core - Add ZG clock divider support. - Revert and fix about Suspend to RAM. - Add DEVFREQ support for GSX. - Add usb companion property in EHCI. - Add USB3.0 peripheral device node. - Use IPMMU(MMU mode) for IPMMU-VP and IPMMU-VC0/1 with R-Car H3 Ver.1.x, for IPMMU-VP0/1 and IPMMU-VC0/1 with R-Car H3 Ver.2.0, in IPMMUVC0 with R-Car M3. - Add override support for the actual number of MMU contexts. - Fix audio Mix support on DTSI. Power Management - Cleanup AVS driver. - Update voltage for VDD_DVFS and VDD. Audio driver - Resolve 16bit/24bit capture noise problem by enabling clock-frequency for both 4.1kHz/48kHz and fixing possible NULL pointer dereference. - Resolve playback problem of sampling rate 32kHz, 176.4kHz and 192kHz by enabling clock-frequency for both 44.1kHz/48kHz. - Resolve “can’t get dma channel” error at the time of unbind/bind by fixing up of_clk_add_provider() usage for multi clkout and calling the missing of_clk_del_provider() when removing. - Resolve 48kHz audio 1-20k sweep noise problem by enabling clock-frequency 44.1kHz/48kHz. - Merge rsnd_kctrl_new_m/s/e into rsnd_kctrl_new(). - Fix 24bit capture noise problem by not using PDTA bit for 24bit on SSI. - Request/Release DMA channel each time for avoiding error of getting dma channel. Display driver - Use dma_map_sg_attrs to skip synchronization of the CPU cache. - Add mode_fixup callback function. - Control clock of bridge during S2RAM and change to control clock via clock driver. - Fix reserved register setting for R-Car for H/W manual update. - Add null pointer check for brs option. - Revert "drm: bridge/dw-hdmi: Add HDP interrupt disable for suspend". - Fix hierarchy of driver structure for clk-5p49x. DMA Engine driver - Revert dma pause function because it was rejected by upstream. GPIO driver - Revert and fix about Suspend to RAM. - Add GP-1-28 port pin support for R-Car H3 Ver.2.0 because of H/W manual updating to Rev.0.54E. Modify just PFC and DT. SCIF/HSCIF driver - Resolve system freezing. SD/MMC driver - Add initial setting of interrupt mask register. - Fix command sequence at error detection. - Fix “Wait for CBSY instead of SCLKDIVEN”. - Fix processing when detecting SCC error and fix error handling when issuing CMD23. - Fix reset_hs400_mode. - Fix problem that SDIO interrupt may be missed. USB3.0 Function - Add Role-change support. - Add DMA support. - Add basic function support. USB2.0 Host driver - Fix mouse connection time (2 second or more) when resuming. USB3.0 Host driver - Support for R-Car Gen3 USB 3.0 PHY for SSC function. - Add R-Car Gen3 USB 2.0 clock selector PHY, support for R-Car Gen3 USB 3.0 PHY. Video Capture driver - Add 2 lane support with rcar-csi2.c. - Fix image alignment for setting pre clipping. - Fix wait time for software reset in rcar-csi2.c because of H/W manual updating to Rev.0.54E. - Fix PHY initialization in rcar-csi2.c because of H/W manual updating to Rev.0.54E. - Fix PHTW register setting in rcar-csi2.c because of H/W manual updating toRev.0.54E. - Fix wait procedure usleep_range from msleep in adv7482.c. - Fix channel get procedure. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-23rcar-gen3: linux-renesas: Update BSP to v3.5.2 and change coding styleThao Nguyen9-11529/+1
This commit updates version of Linux BSP v3.5.1 -> v3.5.2 to fix following issues: [v3.5.2] - Display driver [H/W Restriction No.54] + In R-Car H3 WS1.x, distortion appears on the screen, when IPMMU is enabled. But this problem is fixed with R-Car H3 WS2.0. - Video Capture driver + Fix remove procedure. - Add board Salvator-XS and H3 WS 2.0 support. It also modifies the linux-renesas_4.9.bb to change the way common files are included. There is no difference in kernel config files of Salvator-X, H3ULCB and M3ULCB so far. Hence, we only need to install one file to avoid confusion. Change-Id: I145e0a7696f97fe1841a8a213c51c5685ada0290 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-01-27First commit.Renesas-Yocto-v2.16.0Takamitsu Honda9-0/+17292
Renesas BSP v3.5.1 (kernel v4.9 stable) [Environment] poky: yocto-2.1.2 (cca8dd15c8096626052f6d8d25ff1e9a606104a3) meta-openembedded: 55c8a76da5dc099a7bc3838495c672140cedb78e meta-linaro: 2f51d38048599d9878f149d6d15539fb97603f8f [Information] - U-boot: Changed load address from H'49000000 to H'50000000 - XDG_RUNTIME_DIR has been changed from "/run/user/root" to "/run/user/0" - Change location of include directory, which stores common user header files, to $(INCSHARED) - In BSP Only, core-image-weston is not supported even though local-wayland.conf is provided. - Please set Salvator-x SW7 Pin-1. In after Yocto BSP v2.12.0, it is  necessary to enable BKUP_TRG signal for Suspend to RAM. - The dtb filename was changed in R-Car H3. Only "Image-r8a7795-es1-salvator-x.dtb" is supported in this version. Please use "Image-r8a7795-es1-salvator-x.dtb" It supports R-Car H3 WS1.0 and WS1.1. - Please update your local.conf and bblayers.conf corresponding to Yocto v2.16.0 package. You can refer to meta-rcargen3/docs/sample/conf/ for updated contents. - You have to re-compile out-of-recipe software like user application by v2.16.0 SDK toolchains. - In some boards, the resuming from System Suspend to RAM may cause unstable operation or failed to resume. Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>