aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-01-30rcar-gen3: ADSP: Update ADSP new package namesThuy Tran1-2/+2
ADSP new packages have been released. This commit modifies recipes to add them. 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: DTV: Update to support M3N boardThuy Tran4-0/+4
This commit modifies recipes to support DTV/DVD modules for M3N board. 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-uvcs-drv: Update new package nameThuy Tran2-65/+2
Video Codec new packages have been released. This commit modifies recipe to add UVCS driver new package. 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-vspm: Fix issue of eSDKThao Nguyen1-2/+6
In eSDK context, this checking will cause following error since KERNELSRC does not exist. |WARNING: Setscene task (/ssd/FS_YP2.4/build_mmp/eSDK_YP2.4/layers/meta-renesas/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb:do|_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead |ERROR: Task kernel-module-vspm.do_populate_sysroot_setscene failed This patch adds condition to check for the existence of KERNELSRC just when not in context of eSDK. Signed-off-by: Thao Nguyen <thao.nguyen.yb@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: kernel-module-vspm: Add deploy/licenses into cleaned dirThao Nguyen1-0/+4
When switch between different machines (i.e. salvator-x and h3ulcb), we can meet below issue: ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: The recipe kernel-module-vspm is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/generic_MIT (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/recipeinfo (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/GPL-COPYING (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/MIT-COPYING (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) /ssd/FS_YP2.4/build_mmp/h3ulcb-build/tmp/deploy/licenses/kernel-module-vspm/generic_GPLv2 (matched in manifest-salvator_x-kernel-module-vspm.populate_lic) Please verify which recipe should provide the above files. The reason is the tmp/deploy/licenses/kernel-module-vspm/ has not been cleaned during do_clean task. To avoid it, we should also clean ${LICENSE_DIRECTORY}/${PN} in do_clean. Signed-off-by: Thao Nguyen <thao.nguyen.yb@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: VSP: Update SRCREV for VSPM/V4L2Thuy Tran3-3/+3
This commit updates VSPM/V4L2 SRCREV for supporting kernel v4.14 stable: [vsp2driver] - Rename struct fence to dma_fence. - Rename graph and pipeline structs and functions. - Propagate the format to the compose size. - Add V4L2_CID_HFLIP V4L2_CID_VFLIP V4L2_CID_ROTATE support. - Fix module autoload for OF registration. - Fix format-info documentation. - Clean up file handle in open() error path. - Prevent multiple streamon race commencing pipeline early. - Don't set WPF sink pointer. - Fix soft reset sequence. 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: MMNGR: Update SRCREV to follow the latest versionThuy Tran1-1/+1
This commit updates SRCREV for Memory Manager driver to v1.2 to apply following changes: - Add support for Linux v4.14 stable. - Fix compiler/checkpatch warnings. - Disable IPMMU TLB cache function in M3N Ver1.1 due to hardware restriction. - Update reserved bits handling in IMTTLBR and IPMMU (MMU) initialize sequence. 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-qos: Update SRCREV to follow latest versionThuy Tran1-1/+1
This commit updates QoS driver SRCREV for following fix: [qos_drv] - Feedback of static analysis tool result. 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: IPL: Update IPL version according to BSP v3.6.0Thuy Tran1-75/+0
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.18 rev2 - Update optee_os Rev1.0.11 rev2 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: Fix M3ULCB hangs up when playing videoThuy Tran4-0/+126
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 Tran2-0/+19
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 Tran2-0/+7
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 Tran52-2924/+943
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: kernel-module-vspm: Update SRCREV to follow latest versionThuy Tran1-1/+1
This commit modifies recipe to support VSPBS module in R-Car Gen3. 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: kernel-module-vsp2driver: Update SRCREV to support M3N boardThuy Tran1-1/+1
This commit updates vsp2drv SRCREV to add M3N support for component in WPF. 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: kernel-module-uvcs-drv: Update to support M3N boardThuy Tran2-0/+64
This commit adds a patch file for M3N support. 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: kernel-module-mmngr: Update to support M3N boardThuy Tran1-1/+1
This commit updates MMNGR driver SRCREV to add uTLB setting for M3N when enabling IPMMU. 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: GFX: Update to support M3N boardThuy Tran1-1/+5
This commit modifies graphic recipes to support M3N GFX version. It also updates copyscript to support copying M3N GFX packages. 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: kernel-module-qos: Update SRCREV for QoS driverThuy Tran1-1/+1
This commit updates QoS driver SRCREV for following fixes: [qos_lib] - Fix return val. [qos_drv] - Support M3N Ver1.0 (or later tentatively). - And support later versions of the others (H3/M3/D3) tentatively. 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 Tran50-0/+2641
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 Tran3-4/+6
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-08-25rcar-gen3: Use flexible coding style for Renesas datadirRonan Le Martret9-9/+11
This commit modifies recipes to use RENESAS_DATADIR variable for /usr/local directory instead of hard coding. This commit comes from AGL patch. Bug-AGL: SPEC-533 Change-Id: I865ea809c3c59ba136027fc8b99628df20c16275 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> (cherry picked from commit 9598336fa2b4a4237255cdd866350eb7c03fdd81)
2017-08-25rcar-gen3: EthernetAVB: Update SRCREV to follow the latest versionThao Nguyen2-2/+2
This commit updates EthernetAVB driver for following changes. [MSE Core] - Fix missing initialization of crf_index_network at mse_close. - Fix to disable MPEG2-TS PCR adjustment when no PCR exist in stream. - Fix missing parameter checking in MCH/PTP API. - Fix the timer interrupt occurrence at an unintended timing. - Fix the wrong feedback to clock source correction settings. [MCH Core] - Fix missing set error code when mch_config is invalid. [MSE V4L2] - Fix illegal memory access by releasing buffer being processed. - Fix wrong log message. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: kernel-module-vsp2driver: Update SRCREV to follow the latest versionThao Nguyen1-1/+1
This commit updates vsp2drv to fix YVU422M, YVU420M, YVU444M formats. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: kernel-module-vspm: Update SRCREV to follow latest versionThao Nguyen1-1/+1
VSPM driver is updated to improve performance of VSPB. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: MMNGR: Update SRCREV for driver to follow latest versionThao Nguyen1-1/+1
This commit updates MMNGR and MMNGRBUF drivers and libraries SRCREV for below changes: - Update version to v1.0. - Improve coding style. - Fix the condition checking in create_l1_pgtable() in driver. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: IPL: Update SRCREV to follow the latest versionThao Nguyen1-2/+2
This commit updates IPL components versions as below: - Update IPL and Secure Monitor Rev1.0.16 rev4. - Update optee_os to Rev1.0.9 rev2. - Update optee_linuxdriver to Rev1.0.7 rev2. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: linux-renesas: linux-renesas: Upgrade Linux BSP from v3.5.5 to v3.5.8Thao Nguyen2-4/+4
Linux BSP has been upgraded for following changes: v3.5.8 [Audio driver] - Fix S2R issue. [DMA Engine driver] - Fix S2R issue. [USB2.0 Function] - Fix lock variable no init [USB Host 3.0] - Fix support for R-Car Gen3 USB 3.0 PHY. v3.5.7 [DMA Engine driver] - Fix the missing spin_unlock_irqrestore. [Display driver] - Fix unload procedure for vsp1. v3.5.6 [Kernel core] - Add next-level-cache property to CA53. - Add 12288000 for sound ADG or fix descending order of sound clock frequency to device tree. - Fix the audio pingroup name mismatch between sh-pfc driver and dts to device tree. [Power Management] - Change the reading AVS value method. - AVS7 opp table to device tree. - The resume function for SYSC driver and always turn on all power domains except CPU and GPU. - Change sequence for judgement using fixed values or Fuse values. [Audio driver] - There are sampling rate patterns that can not be converted by combination of audio clock and AK4613. It was confirmed this is a board specifications. However, they can be converted via alsalib. - Control kctrl items acceptance anytime/runtime. - SSI PIO adjust to 24bit mode. - Unsupport 64kHz sampling rate and more with AK4613 on Salvator-X/XS board. [Display driver] - Setup planes before enabling CRTC to avoid flicker. - Use DRM core's atomic commit helper. - Fix display list put for header mode. - Repair vblank for DRM page flips using the VSP1. - Wait for flip completion instead of vblank in commit tail. - Fix completed check in write back sequence. - Fix display starting procedure and DPLL clock divider judgement. [PTP Clock driver] - Fix interrupt cause bit overwrite in ravb_ptp_interrupt. - Fix result value overwrite by a return value of ravb_ptp_interrupt(). - Fix inconsistent lock state at enabling tx timestamp. [SATA driver] - Fix blk_get_backing_dev_info() crash using bdev->bd_queue, so kernel panic can be avoided in case of high load average. [DMA Engine driver] - Fix invalid context of sleeping function. - Fix inconsistent lock reported by PROVE_LOCKING. [SD/MMC] - Add SDHI-SEQUENCER support. This is Workaround for SDHI-DMAC restriction of R-Car H3 Ver.1.x and R-Car M3 Ver.1.0. - Wait for CBSY instead of SCLKDIVEN. - Disable msleep() at start/stop of SD clock. - Discard obsolete SDIO irqs before enabling irqs. - Relax checking for switch errors after HS200 switch. - Replace msleep() of 20ms or less with usleep_range(). - Fix to use pre_req and post_req only for DMA transfer. - Fix alignment check of sg buffer. [USB2.0 Function] - Fix return value of usbhsg_ep_disable(), so the suspend procedure works when the g_mass_storage enables. - Fix NULL packet received sequence. - Fix UGCTRL2 value for R-Car Gen3. [USB3.0 Function] - Protect usb3_ep->started in usb3_start_pipen(), so kernel panic does not occur when executing iperf with g_ncm. - Confirm an error does not occur when executing interrupt transfer with g_zero by correcting evaluation procedure. - Confirm g_mass_storage is recognized by Host PC after role swap. Please use USB 2.0 cable, because role swap is compatible with High-Speed. - Fix free size in renesas_usb3_dma_free_prd(). - Fix zlp transfer by the dmac. - Fix pm_runtime_enable/disable and add CONFIG_PM_SLEEP to suspend/resume functions. [PCIe driver] - PCIe of R-Car Gen3 can access only 32 bit memory area at a certain point, even if using IPMMU. This is a H/W specifications. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: EthernetAVB: Update SRCREV to follow latest versionThao Nguyen3-3/+3
This commit updates SRCREV for EthernetAVB drivers for below changes: AVB Streaming Driver - Fix DMA-API device driver frees DMA memory with different size. - Fix problem of can setting out of range value of 'major' parameter. MSE Core - Add invalid calling state checking of MSE Adapter I/F in Kernel API. - Fix overflow problem of timer delay value calculation by some conditions of frame rate parameter (e.g. 1/30 fps). - Reduce idling time in streaming pipeline process by queueing of transmission request. - DMA allocation via dma_alloc_coherent fails without CONFIG_OF. - Fix overrun output area in parsing of u16/u32 values. - Fix resource leakage at probe when error occurred. - Fix problem of can setting out of range value of 'major' parameter. MSE V4L2 - Reduce data concatenate processing of fragment data for MPEG2-TS and MJPEG. - If multiple open the same video device, print out log message of "v4l2 device is opened". MSE CVF MJPEG - Fix problem of EOS marker position and progressed position mishandling in packetize buffer if condition of small picture size of MJPEG. - Fix issue that stream transmission speed is too slowly if the data size per picture is huge. MSE CVF H264 - Fix problem that the setting value of bytes_per_frame parameter is not effects if CVF H264 format. - Fix issue that case of H264 transmission, the stream payload data often corrupted if the data is high bitrate. MSE IEC61883-4 - Fix problem that streaming stopping process stall at occurred short of data. - Fix problem that send the broken payload stream if no PCR value in MPEG2-TS stream. - Fix losing trailing data when streaming stopped on Talker. MSE ALSA - Fix losing trailing data when streaming stopped. - In this version, there is a difference in audio timestamp phase by each Listener device. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: kernel-module-vsp2driver: Update SRCREV to follow latest versionThao Nguyen1-1/+1
This commit updates VSP2 drv for following changes: - Add __user attribute. - Make local functions become static. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: VSPM: Update SRCREV for VSPM and VSPM I/F driverThao Nguyen2-2/+2
This commit modifies SRCREV of VSPM and VSPM I/F drv for below updates. VSPM drv: - Fix wrong argument of VSP_ROUND_UP. - Simplify IS_VSP_CH(ch) macro. - Remove unused variables. - Use NULL instead of 0. - Make local data/functions static. VSPM I/F drv: - Fix invalid memory access. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: kernel-module-mmngr: Update version and correct compile optionThao Nguyen2-2/+2
This commit updates MMNGR driver to v0.13 for following changes: - Remove IPMMU(PMB) support due to hardware restriction. - Add IPMMU(MMU) support for memory allocation. - Fix compiler warnings. - Add System Suspend-to-RAM support for IPMMU(MMU). - Disable TLB function in IPMMU-VC0/VC1/VP0/VP1 due to hardware restriction. - Add IPMMU(MMU) support for SSP. It also modifies compile option of driver corresponding to new UM. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: linux-renesas: Update BSP to v3.5.5Thao Nguyen3-6/+26
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-04-19rcar-gen3: kernel-module-avb-mse: Update SRCREV for avb-mse driverThao Nguyen1-1/+1
This commit updates SRCREV in recipe for following changes: - Update version to v0.6. - Fix range overflow in parsing streamid of sysfs I/F. Change-Id: I773122bebf0716a699ad8a212c6cb770d58830c4 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: kernel-module-qos: Update SRCREV for QoS driverThao Nguyen1-1/+1
This commit updates QoS driver SRCREV for following fixes: - Fix year of Copyright. - Fix driver version. Change-Id: Ic0e04a5b287e797b4b85d8edd3941bdcb1d574dd Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.5.3Thao Nguyen2-4/+4
This commit upgrades Linux BSP to v3.5.3 and adds device tree file for M3 Salvator-XS board to salvator-x.conf. Linux BSP to v3.5.3 updates following items: Kernel core - Add workaround for PRR register of R-Car M3 WS1.1. (Fix printing cpu info.) - Add device tree file for Salvator-XS board with R-Car M3. - Fix R-Car M3 Salvator-X device tree file for MIX function of Audio driver. Power Management - Mark the OPP to be used during system suspend. - Enable CPUIdle function. - Apply new CPUIdle parameters. Audio driver - Confirm this driver can resume with Suspend to RAM during capture. - Avoid SSI_MODEx settings for SSI8. - Clear DE bit only in PDMACHCR when it stops. - Tidyup Audio-DMAC channel for DVC. - Enable PCM RATE until 192000. - Fix the setting of saved_rate during the resume process. Display driver - Fix the problem that the flicker may occur during rendering by the application. - Add brs option check for VGA connector. - Add routing set for digital RGB previously. DMA Engine driver - Fix release resources after interrupt process. Ethernet driver - Add phy-reset-gpios. This driver can work after Suspend to RAM with Salvator-XS board. - Fix GIS_PTMF bit clearing in ravb_ptp_interrupt. I2C driver - Revert and fix about unnecessary function related to Suspend to RAM. MSIOF driver - Fix SPI division value setting of R-Car M3 based on hardware specification. - Allow interrupts during msiof slave mode transfer wait. - Revert and fix about unnecessary function related to Suspend to RAM. RWDT driver - Fix timeout count calculation. SCIF/HSCIF driver - Fix panic when serial console and DMA are enabled. - Revert about unnecessary function related to Suspend to RAM. SD/MMC driver - Wait for CBSY instead of SCLKDIVEN. - Add re-tuning condition. - Add internal DMAC reset at startup. - Add the driver strength setting. eMMC HS400 mode can work with R-Car M3 WS1.1 on Salvator-XS board. Thermal driver - Fix to support thermal for both M3 WS1.0 and WS1.1. Video Capture driver - Fix resuming procedure. - Fix first field detection control. - Fix 720x480p transfer rate. - Fix video standard selection register setting. Change-Id: I3b0d6237c9d0c56a9f2870f1fde89ea215f163cd Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: EthernetAVB: Update SRCREV, DEPENDS and add installed filesMasaru Nagai3-6/+22
This commit will update SRCREV of EthernetAVB components for following changes: avb-mse - Update version to v0.5. - Add avb-mch in DEPENDS. - Add compile options. - Modify mapping of ALSA/V4L2 device names. - Fix some problems. avb-mch - Update version to v0.3. - Add main functions. avb-streaming - Update version to v2.7.0. - Fix minor defect. avb-applications - Update version to v2.7.0. - Change URL scheme of git submodule jdksavdecc-c. LIC_FILES_CHKSUM are also updated kernel-module-avb-mse and kernel-module-avb-mch due to change of year in Copyright. Change-Id: I80707a1602603696c592fb2c181de2384ddb7ebc Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: kernel-module-vsp2driver: Update SRCREV for VSP2 driverThao Nguyen1-1/+1
This commit updates SRCREV for VSP2 driver to fix year of copyright. Change-Id: Id052a60f1853948fbf7a1ecf010300bdfe65f535 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: VSPM: Update SRCREV for VSP Manager driver and interfaceThao Nguyen1-1/+1
This commit updates SRCREV of VSPM driver and interface for following changes. VSPM driver - Modify control clocks method. - Support suspend and resume in operation. VSPM libraries - Support suspend and resume in operation. Change-Id: Id1f71edc7ac4e1e2c9f8be1ff17165893587c956 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: MMNGR: Update SRCREV for MMNGR driverThao Nguyen1-1/+1
This commit updates SRCREV for Memory Manager driver to v0.12 to apply following changes: - Add IPMMU-VC0 setting for H3 WS2.0. - Add UTLB for FCP-VB (VSPB) as PMB entry on H3 WS1.x and M3. - Revert UTLB for FCP-VI (VSPI) as PMB entry on H3 WS2.0. - Change the translation policy in Lossy area on H3 WS2.0. Change-Id: I1853ee9fa6d25632f38ccb3dc3c44e5996356ba1 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: QoS: Update SRCREV for QoS driver and interfaceThao Nguyen1-1/+1
This commit updates SRCREV of QoS for following fixes: QoS Driver - Fix year of Copyright - Fix number of emetents to load QoS Libraries - Fix return val - Fix FD close Change-Id: Idd88c0240df3023ef29865f6e65830d09acbf602 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>