Re: [PATCH v11 10/10] media: vsp1: Move video configuration to a cached dlb

2018-05-18 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Friday, 18 May 2018 23:42:03 EEST Kieran Bingham wrote: > From: Kieran Bingham > > We are now able to configure a pipeline directly into a local display > list body. Take advantage of this fact, and create a cacheable body to > store the configuration of t

Re: [PATCH v11 01/10] media: v4l: vsp1: Release buffers for each video node

2018-05-18 Thread Kieran Bingham
On 18/05/18 21:53, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Friday, 18 May 2018 23:41:54 EEST Kieran Bingham wrote: >> From: Kieran Bingham >> >> Commit 372b2b0399fc ("media: v4l: vsp1: Release buffers in >> start_streaming error path") introduced a helper to cle

Re: [PATCH v11 02/10] media: vsp1: Move video suspend resume handling to video object

2018-05-18 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Friday, 18 May 2018 23:41:55 EEST Kieran Bingham wrote: > From: Kieran Bingham > > The suspend and resume handlers are only utilised by video pipelines, > yet the functions currently reside in the vsp1_pipe object. > > This causes an issue with resume, as

Re: [PATCH v11 01/10] media: v4l: vsp1: Release buffers for each video node

2018-05-18 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Friday, 18 May 2018 23:41:54 EEST Kieran Bingham wrote: > From: Kieran Bingham > > Commit 372b2b0399fc ("media: v4l: vsp1: Release buffers in > start_streaming error path") introduced a helper to clean up buffers on > error paths, but inadvertently changed

[PATCH v11 04/10] media: vsp1: Protect bodies against overflow

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham The body write function relies on the code never asking it to write more than the entries available in the list. Currently with each list body containing 256 entries, this is fine, but we can reduce this number greatly saving memory. In preparation of this add a level of pro

[PATCH v11 05/10] media: vsp1: Provide a body pool

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Each display list allocates a body to store register values in a dma accessible buffer from a dma_alloc_wc() allocation. Each of these results in an entry in the IOMMU TLB, and a large number of display list allocations adds pressure to this resource. Reduce TLB pressure on

[PATCH v11 07/10] media: vsp1: Use reference counting for bodies

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Extend the display list body with a reference count, allowing bodies to be kept as long as a reference is maintained. This provides the ability to keep a cached copy of bodies which will not change, so that they can be re-applied to multiple display lists. Signed-off-by: Kie

[PATCH v11 09/10] media: vsp1: Adapt entities to configure into a body

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Currently the entities store their configurations into a display list. Adapt this such that the code can be configured into a body directly, allowing greater flexibility and control of the content. All users of vsp1_dl_list_write() are removed in this process, thus it too is

[PATCH v11 08/10] media: vsp1: Refactor display list configure operations

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham The entities provide a single .configure operation which configures the object into the target display list, based on the vsp1_entity_params selection. Split the configure function into three parts, '.configure_stream()', '.configure_frame()', and '.configure_partition()' to

[PATCH v11 10/10] media: vsp1: Move video configuration to a cached dlb

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham We are now able to configure a pipeline directly into a local display list body. Take advantage of this fact, and create a cacheable body to store the configuration of the pipeline in the video object. vsp1_video_pipeline_run() is now the last user of the pipe->dl object. Co

[PATCH v11 03/10] media: vsp1: Reword uses of 'fragment' as 'body'

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Throughout the codebase, the term 'fragment' is used to represent a display list body. This term duplicates the 'body' which is already in use. The datasheet references these objects as a body, therefore replace all mentions of a fragment with a body, along with the correspo

[PATCH v11 06/10] media: vsp1: Convert display lists to use new body pool

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Adapt the dl->body0 object to use an object from the body pool. This greatly reduces the pressure on the TLB for IPMMU use cases, as all of the lists use a single allocation for the main body. The CLU and LUT objects pre-allocate a pool containing three bodies, allowing a us

[PATCH v11 00/10] vsp1: TLB optimisation and DL caching

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Each display list currently allocates an area of DMA memory to store register settings for the VSP1 to process. Each of these allocations adds pressure to the IPMMU TLB entries. We can reduce the pressure by pre-allocating larger areas and dividing the area across multiple b

[PATCH v11 02/10] media: vsp1: Move video suspend resume handling to video object

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham The suspend and resume handlers are only utilised by video pipelines, yet the functions currently reside in the vsp1_pipe object. This causes an issue with resume, as the functions incorrectly call vsp1_pipeline_run() directly instead of processing the video object through v

[PATCH v11 01/10] media: v4l: vsp1: Release buffers for each video node

2018-05-18 Thread Kieran Bingham
From: Kieran Bingham Commit 372b2b0399fc ("media: v4l: vsp1: Release buffers in start_streaming error path") introduced a helper to clean up buffers on error paths, but inadvertently changed the code such that only the output WPF buffers were cleaned, rather than the video node being operated on.

[PATCH 2/2] arm64: dts: renesas: v3hsk: add GEther support

2018-05-18 Thread Sergei Shtylyov
Define the V3H Starter Kit board dependent part of the GEther device node. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts | 21 + 1 file change

[PATCH 1/2] arm64: dts: renesas: r8a77980: add GEther support

2018-05-18 Thread Sergei Shtylyov
Define the generic R8A77980 part of the GEther device node. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 11 +++ 1 file changed, 11 insertions(+) Index: re

[PATCH 0/2] Add R8A77980/V3HSK GEther support

2018-05-18 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180518-v4.17-rc5' tag plus the R8A77980 SMP support patch. I'm adding the device tree support for mounting the NFS root on the R8A77980- based V3H Starter Kit b

Re: [PATCH v2 1/1] sh_eth: add RGMII support

2018-05-18 Thread Andrew Lunn
On Fri, May 18, 2018 at 09:30:18PM +0300, Sergei Shtylyov wrote: > The R-Car V3H (AKA R8A77980) GEther controller adds support for the RGMII > PHY interface mode as a new value for the RMII_MII register. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladim

[PATCH v2 3/3] sh_eth: add R8A77980 support

2018-05-18 Thread Sergei Shtylyov
Finally, add support for the DT probing of the R-Car V3H (AKA R8A77980) -- it's the only R-Car gen3 SoC having the GEther controller -- others have only EtherAVB... Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Review

[PATCH v2 2/3] sh_eth: add EDMR.NBST support

2018-05-18 Thread Sergei Shtylyov
The R-Car V3H (AKA R8A77980) GEther controller adds the DMA burst mode bit (NBST) in EDMR and the manual tells to always set it before doing any DMA. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Ho

[PATCH v2 1/1] sh_eth: add RGMII support

2018-05-18 Thread Sergei Shtylyov
The R-Car V3H (AKA R8A77980) GEther controller adds support for the RGMII PHY interface mode as a new value for the RMII_MII register. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - incl

[PATCH v2 0/3] Add Renesas R8A77980 GEther support

2018-05-18 Thread Sergei Shtylyov
Hello! Here's a set of 3 patches against DaveM's 'net-next.git' repo. They (gradually) add R8A77980 GEther support to the 'sh_eth' driver, starting with couple new register bits/values introduced with this chip, and ending with adding a new 'struct sh_eth_cpu_data' instance connected to the new DT

Re: [PATCH v2] sh_eth: Change platform check to CONFIG_ARCH_RENESAS

2018-05-18 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 18 May 2018 12:52:51 +0200 > Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS") > is CONFIG_ARCH_RENESAS a more appropriate platform check than the legacy > CONFIG_ARCH_SHMOBILE, hence use the former. > > Renesas SuperH SH-Mobile SoCs are

Re: [PATCH v3 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-18 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Friday, 18 May 2018 17:47:58 EEST Jacopo Mondi wrote: > Describe HDMI input connector and ADV7612 HDMI decoder installed on > R-Car Gen3 Draak board. > > The video signal routing to the HDMI decoder to the video input interface > VIN4 is multiplexed with CV

Re: [PATCH v3 2/3] arm64: dts: renesas: draak: Describe CVBS input

2018-05-18 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Friday, 18 May 2018 17:47:57 EEST Jacopo Mondi wrote: > Describe CVBS video input through analog video decoder ADV7180 > connected to video input interface VIN4. > > The video input signal path is shared with HDMI video input, and > selected by on-board swi

[PATCH v3 1/3] dt-bindings: media: rcar-vin: Add R8A77995 support

2018-05-18 Thread Jacopo Mondi
Add compatible string for R-Car D3 R8A7795 to list of SoCs supported by rcar-vin driver. Signed-off-by: Jacopo Mondi Acked-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Simon Horman --- Documentation/devicetree/bindings/media/rcar_vin.txt | 1 + 1 file changed, 1 insertion(+

[PATCH v3 2/3] arm64: dts: renesas: draak: Describe CVBS input

2018-05-18 Thread Jacopo Mondi
Describe CVBS video input through analog video decoder ADV7180 connected to video input interface VIN4. The video input signal path is shared with HDMI video input, and selected by on-board switches SW-53 and SW-54 with CVBS input selected by the default switches configuration. Signed-off-by: Jac

[PATCH v3 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-18 Thread Jacopo Mondi
Describe HDMI input connector and ADV7612 HDMI decoder installed on R-Car Gen3 Draak board. The video signal routing to the HDMI decoder to the video input interface VIN4 is multiplexed with CVBS input path, and enabled/disabled through on-board switches SW-49, SW-50, SW-51 and SW-52. As the defa

[PATCH v3 0/3] arm64: dts: Draak: Enable video inputs and VIN4

2018-05-18 Thread Jacopo Mondi
Hello, this series enables HDMI, CVBS and VIN4 for R8A77995 Draak board. Compared to v2, I have added review tags and a missing Signed-off-by line. Two small comments added to Draak DTS to describe the shared video input path between CVBS and HDMI. As in v2, CVBS is the default video input and t

[PATCH v3 9/9] media: rcar-vin: Add support for R-Car R8A77995 SoC

2018-05-18 Thread Jacopo Mondi
Add R-Car R8A77995 SoC to the rcar-vin supported ones. Signed-off-by: Jacopo Mondi Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- drivers/media/platform/rcar-vin/rcar-core.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/media/platform/rcar-vin/r

[PATCH v3 8/9] media: rcar-vin: Rename _rcar_info to rcar_info

2018-05-18 Thread Jacopo Mondi
Remove trailing underscore to align all rcar_group_route structure declarations. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rcar-core.c b/drivers/media/platfo

[PATCH v3 7/9] media: rcar-vin: Handle parallel subdev in link_notify

2018-05-18 Thread Jacopo Mondi
Handle parallel subdevices in link_notify callback. If the notified link involves a parallel subdevice, do not change routing of the VIN-CSI-2 devices and mark the VIN instance as using a parallel input. If the CSI-2 link setup succeeds instead, mark the VIN instance as using CSI-2. Signed-off-by:

[PATCH v3 4/9] media: rcar-vin: Cache the mbus configuration flags

2018-05-18 Thread Jacopo Mondi
Media bus configuration flags and media bus type were so far a property of each VIN instance, as the subdevice they were connected to was immutable during the whole system life time. With the forth-coming introduction of parallel input devices support, a VIN instance can have the subdevice it is c

[PATCH v3 5/9] media: rcar-vin: Parse parallel input on Gen3

2018-05-18 Thread Jacopo Mondi
The rcar-vin driver so far had a mutually exclusive code path for handling parallel and CSI-2 video input subdevices, with only the CSI-2 use case supporting media-controller. As we add support for parallel inputs to Gen3 media-controller compliant code path now parse both port@0 and port@1, handli

[PATCH v3 6/9] media: rcar-vin: Link parallel input media entities

2018-05-18 Thread Jacopo Mondi
When running with media-controller link the parallel input media entities with the VIN entities at 'complete' callback time. To create media links the v4l2_device should be registered first. Check if the device is already registered, to avoid double registrations. Signed-off-by: Jacopo Mondi ---

[PATCH v3 2/9] media: rcar-vin: Remove two empty lines

2018-05-18 Thread Jacopo Mondi
Remove un-necessary empty lines. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rcar-core.c b/drivers/media/platform/rcar-vin/rcar-core.c index 6b80f98..1aadd90 100644 --- a/drivers

[PATCH v3 3/9] media: rcar-vin: Create a group notifier

2018-05-18 Thread Jacopo Mondi
As CSI-2 subdevices are shared between several VIN instances, a shared notifier to collect the CSI-2 async subdevices is required. So far, the rcar-vin driver used the notifier of the last VIN instance to probe but with the forth-coming introduction of parallel input subdevices support in mc-compli

[PATCH v3 1/9] media: rcar-vin: Rename 'digital' to 'parallel'

2018-05-18 Thread Jacopo Mondi
As the term 'digital' is used all over the rcar-vin code in place of 'parallel', rename all the occurrencies. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 72 ++--- drivers/media/platform/rcar-vin/rcar-dma.c | 4 +- drivers/media/platfor

[PATCH v3 0/9] rcar-vin: Add support for parallel input on Gen3

2018-05-18 Thread Jacopo Mondi
Hello, this series adds support for parallel video input to the Gen3 version of rcar-vin driver. Thanks to Niklas' review of v2, this new version allows the same VIN instance to have both a parallel and a CSI-2 subdevice connected, and to switch between them at runtime through the modification

[PATCH 0/5] ARM: shmobile: rcar-gen2: Remove legacy SMP fallback code

2018-05-18 Thread Geert Uytterhoeven
Hi Simon, Magnus, R-Car H2 and M2-W have been supporting SMP enablement from DT using the "renesas,apmu" enable-method since v4.8. A legacy fallback was left in place for backwards compatibility with old DTBs. This patch series removes the legacy SMP fallbacks for R-Car H2 and M2-W, and

[PATCH 3/5] ARM: shmobile: r8a7791: Remove legacy SMP fallback code

2018-05-18 Thread Geert Uytterhoeven
As of commit f89a51700d7ae0ef ("ARM: shmobile: r8a7791: Prioritize DT APMU support") in v4.8, non-DT enablement of SMP was left as a fallback for backwards compatibility with old DTBs. The time has come to drop backwards compatibility, hence remove the fallback code. Signed-off-by: Geert Uytterho

[PATCH 5/5] ARM: shmobile: Remove unused shmobile_smp_init_fallback_ops()

2018-05-18 Thread Geert Uytterhoeven
shmobile_smp_init_fallback_ops() became unused after removing SoC-specific machine definitions that provided legacy SMP initialization fallbacks. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/common.h | 1 - arch/arm/mach-shmobile/platsmp.c | 9 - 2 files changed, 10 dele

[PATCH 4/5] ARM: shmobile: r8a7791: Use common R-Car Gen2 machine definition

2018-05-18 Thread Geert Uytterhoeven
Now r8a7791 no longer needs the SMP initialization fallback, it can use the common R-Car Gen2 machine definition, and the r8a7791-specific one can be removed. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/Makefile | 1 - arch/arm/mach-shmobile/setup-r8a7791.c | 37

[PATCH 1/5] ARM: shmobile: r8a7790: Remove legacy SMP fallback code

2018-05-18 Thread Geert Uytterhoeven
As of commit f5d70b9cee2282ec ("ARM: shmobile: r8a7790: Prioritize DT APMU support") in v4.8, non-DT enablement of SMP was left as a fallback for backwards compatibility with old DTBs. The time has come to drop backwards compatibility, hence remove the fallback code. Signed-off-by: Geert Uytterho

[PATCH 2/5] ARM: shmobile: r8a7790: Use common R-Car Gen2 machine definition

2018-05-18 Thread Geert Uytterhoeven
Now r8a7790 no longer needs the SMP initialization fallback, it can use the common R-Car Gen2 machine definition, and the r8a7790-specific one can be removed. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/Makefile | 1 - arch/arm/mach-shmobile/setup-r8a7790.c | 36

Re: [PATCH 0/2] Remove calls to empty arch_setup_pdev_archdata()

2018-05-18 Thread jacopo mondi
Hi Geert, On Fri, May 18, 2018 at 01:06:49PM +0200, Geert Uytterhoeven wrote: > Hi, > > Recently, a few calls to arch_setup_pdev_archdata() were added to the > ecovec and migor board files (copied from platform_device_register())? I suspect that was me > > However, SuperH doesn't implement

[PATCH 032/102] arm64: dts: renesas: r8a77970: Enable IPMMU devices

2018-05-18 Thread Simon Horman
From: Magnus Damm Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77970 SoC. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven [simon: rebased] Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 2 -- 1 file changed, 2

[PATCH 07/14] soc: renesas: identify R-Car E3

2018-05-18 Thread Simon Horman
From: Takeshi Kihara This patch adds support for identifying the R-Car E3 (R8A77990) SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/renesas-soc.c | 8 1 file changed, 8 insertio

[PATCH 11/14] arm: shmobile: Change platform dependency to ARCH_RENESAS

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS") ARCH_RENESAS is a more appropriate platform dependency than the legacy ARCH_SHMOBILE, hence use the former. This will allow to drop ARCH_SHMOBILE on ARM in the near future. Signed-off-by: Geert Uytt

[PATCH 09/14] soc: renesas: rcar-rst: Add support for R-Car E3

2018-05-18 Thread Simon Horman
From: Takeshi Kihara Add support for R-Car E3 (R8A77990) to the R-Car RST driver. This driver is needed for the clock driver to work. Signed-off-by: Takeshi Kihara [shimoda: rebase] Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentatio

[PATCH 14/14] soc: renesas: r8a77990-sysc: Add workaround for 3DG-{A,B}

2018-05-18 Thread Simon Horman
From: Yoshihiro Shimoda This patch adds workaround for 3DG-{A,B} of R-Car E3 ES1.0 because the SoC has a restriction about the order. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/r8a77990-sysc.c | 37

[PATCH 12/14] arm: shmobile: Add the RZ/N1D (R9A06G032) to the shmobile Kconfig

2018-05-18 Thread Simon Horman
From: Michel Pollet Add the RZ/N1D SoC to the reset of the Renesas SoC Collection. Signed-off-by: Michel Pollet Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfi

[PATCH 10/14] soc: renesas: r8a77995-sysc: Cleanups

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Minor cleanup of artefacts caused by deriving from r8a7795-sysc.c: - Remove unused inclusion of , - Make r8a77995_areas[] const. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/r8a77995-sysc.c | 3 +-- 1 file changed, 1 insert

[PATCH 06/14] ARM: debug-ll: Add support for r8a77470

2018-05-18 Thread Simon Horman
From: Biju Das Enable low-level debugging support for RZ/G1C (r8a77470). RZ/G1C uses SCIF1 for the debug console. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/Kconfig.debug | 13 +++-- 1 file changed, 1

[PATCH 08/14] soc: renesas: Add r8a77990 SYSC PM Domain Binding Definitions

2018-05-18 Thread Simon Horman
From: Takeshi Kihara This patch adds power domain indices for R-Car E3. Signed-off-by: Takeshi Kihara [shimoda: add commit log and SPDX-License-Identifier] Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- include/dt-bindings/power/r8a77990-sys

[PATCH 13/14] soc: renesas: rcar-sysc: Add support for R-Car E3 power areas

2018-05-18 Thread Simon Horman
From: Takeshi Kihara This patch adds Cortex-A53 CPU{0,1}, Cortex-A53 SCU, Cortex-R7, A3VC, A2VC1 and 3DG-{A,B} power domain areas for the R8A77990 SoC. Signed-off-by: Takeshi Kihara [shimoda: fix 3DG-{A,B} and add SPDX-License-Identifier] Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uyt

[PATCH 69/69] ARM: dts: r8a7740: Add CEU1

2018-05-18 Thread Simon Horman
Describe CEU1 peripheral for Renesas R-Mobile A1 R8A7740 Soc. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Reviewed-by: Jacopo Mondi --- arch/arm/boot/dts/r8a7740.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts

[PATCH 51/69] ARM: dts: silk: Drop unnecessary address properties from vin port node

2018-05-18 Thread Simon Horman
The vin port node does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/r8a7794-silk.dtb: Warning (avoid_unnecessary_addr_size): /soc/video@e6ef/port: unnecessary #address-cells/#size-ce

[PATCH 25/69] ARM: dts: r8a7790: Add watchdog support to SoC dtsi

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This commit adds watchdog support to the r8a7790 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7790.dtsi | 10 ++ 1 file c

[PATCH 26/69] ARM: dts: r8a7791: Add watchdog support to SoC dtsi

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This commit adds watchdog support to the r8a7791 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7791.dtsi | 10 ++ 1 file c

[PATCH 60/69] ARM: dts: r7s72100: Add PMU device node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A9 CPU core on RZ/A1H by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available Signed-off-by: Geert Uytterhoeven Signed-of

[PATCH 49/69] ARM: dts: koelsch: Drop unnecessary address properties from port nodes

2018-05-18 Thread Simon Horman
The vin port nodes does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/r8a7791-koelsch.dtb: Warning (avoid_unnecessary_addr_size): /soc/video@e6ef/port: unnecessary #address-cells/#siz

[PATCH 21/69] ARM: dts: r8a7793: Adjust SMP routine size

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horm

[PATCH 58/69] ARM: dts: r7s72100: Correct watchdog timer interrupt type

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven According to table 7.3 ("List of Interrupt IDs") in the RZ/A1H Hardware User's Manual rev. 3.00, the watchdog timer interrupt is a level interrupt. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r7s72100.dtsi | 2 +- 1 file changed

[PATCH 54/69] ARM: dts: r8a7790: Correct mask for GIC PPI interrupts

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven R-Car H2 (r8a7790) contains four Cortex-A15 and four Cortex-A7 cores, hence the second interrupt specifier cell for Private Peripheral Interrupts should use "GIC_CPU_MASK_SIMPLE(8)", to make sure interrupts can be delivered to all 8 processor cores. Signed-off-by: Geert

[PATCH 46/69] ARM: dts: lager: Drop unnecessary address properties from port node

2018-05-18 Thread Simon Horman
The vin port node does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/r8a7790-lager.dtb: Warning (avoid_unnecessary_addr_size): /soc/video@e6ef1000/port: unnecessary #address-cells/#size-c

[PATCH 30/69] ARM: dts: r8a7792: Add RWDT node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car V2H (r8a7792) SoC. Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7792.dtsi | 10 ++ 1 file changed, 10 insertions

[PATCH 45/69] ARM: dts: r8a7790: Fix sort order of VSP1/FDP1 nodes

2018-05-18 Thread Simon Horman
From: Kieran Bingham Commit 5d3b50d3c04d ("ARM: dts: renesas: r8a7790: Add FDP1 instances") introduced the FDP1 for the r8a7790, but broke the sort ordering of the device tree nodes. Move the last VSP up to it's peers to correct the ordering. Signed-off-by: Kieran Bingham Acked-by: Laurent Pin

[PATCH 63/69] ARM: dts: r8a7792: Add PMU device node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A15 CPU cores on R-Car V2H by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available Signed-off-by: Geert Uytterhoeven Si

[PATCH 62/69] ARM: dts: r8a7791: Add PMU device node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A15 CPU cores on R-Car M2-W by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available Signed-off-by: Geert Uytterhoeven S

[PATCH 42/69] ARM: dts: renesas: r8a7790: Add FDP1 instances

2018-05-18 Thread Simon Horman
From: Laurent Pinchart The r8a7790 has three FDP1 instances. Signed-off-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7790.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/r8a77

[PATCH 59/69] ARM: dts: r7s72100: Correct RTC interrupt types

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven According to table 7.3 ("List of Interrupt IDs") in the RZ/A1H Hardware User's Manual rev. 3.00, the realtime clock interrupts are level not edge interrupts. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r7s72100.dtsi | 6 +++---

[PATCH 02/14] soc: renesas: rcar-rst: Add support for RZ/G1C

2018-05-18 Thread Simon Horman
From: Biju Das Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + drivers/soc/renesas/rcar-rst.c | 1 + 2 files changed, 2 insertions(+)

[PATCH 50/69] ARM: dts: alt: Drop unnecessary address properties from vin port node

2018-05-18 Thread Simon Horman
The vin port node does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/r8a7794-alt.dtb: Warning (avoid_unnecessary_addr_size): /soc/video@e6ef/port: unnecessary #address-cells/#size-cel

[PATCH 43/69] ARM: dts: r8a77470: Add EtherAVB support

2018-05-18 Thread Simon Horman
From: Biju Das Define the generic R8A77470 part of the EtherAVB device node. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi

[PATCH 01/14] soc: renesas: Identify RZ/G1C

2018-05-18 Thread Simon Horman
From: Biju Das Add support for identifying the RZ/G1C (r8a77470) SoC. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/renesas-soc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/so

[PATCH 57/69] ARM: dts: emev2: Add missing interrupt-affinity to PMU node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven The PMU node references two interrupts, but lacks the interrupt-affinity property, which is required in that case: hw perfevents: no interrupt-affinity property for /pmu, guessing. Add the missing property to fix this. Signed-off-by: Geert Uytterhoeven Signed-off-

[PATCH 44/69] ARM: dts: iwg23s-sbc: Add EtherAVB support

2018-05-18 Thread Simon Horman
From: Biju Das Define the iW-RainboW-G23S board dependent part of the EtherAVB device node. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) dif

[PATCH 56/69] ARM: dts: sh73a0: Add missing interrupt-affinity to PMU node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven The PMU node references two interrupts, but lacks the interrupt-affinity property, which is required in that case: hw perfevents: no interrupt-affinity property for /pmu, guessing. Add the missing property to fix this. Signed-off-by: Geert Uytterhoeven Signed-off-

[PATCH 67/69] ARM: dts: r8a7745: Add PMU device node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A7 CPU cores on RZ/G1E by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available Signed-off-by: Geert Uytterhoeven Signed-o

[PATCH 17/69] ARM: dts: r8a7745: Adjust SMP routine size

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horm

[PATCH 05/14] ARM: shmobile: Add the RZ/N1 arch to the shmobile Kconfig

2018-05-18 Thread Simon Horman
From: Michel Pollet Add the RZ/N1 Family (Part #R9A06G0xx) ARCH config to the rest of the Renesas SoC collection. Signed-off-by: Michel Pollet Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 47/69] ARM: dts: porter: Drop unnecessary address properties from vin port node

2018-05-18 Thread Simon Horman
The vin port node does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/r8a7791-porter.dtb: Warning (avoid_unnecessary_addr_size): /soc/video@e6ef/port: unnecessary #address-cells/#size-

[PATCH 61/69] ARM: dts: r8a7790: Add PMU device nodes

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A15 and Cortex-A7 CPU cores on R-Car H2 by adding device nodes for the two PMUs. New Linux output: hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available hw perfevents: /p

[PATCH 53/69] ARM: shmobile: r8a7794: alt: add EEPROM to DTS

2018-05-18 Thread Simon Horman
From: Wolfram Sang Same EEPROM as on Koelsch, et al. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-alt.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/

[PATCH 64/69] ARM: dts: r8a7793: Add PMU device node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A15 CPU cores on R-Car M2-N by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available Signed-off-by: Geert Uytterhoeven S

[PATCH 18/69] ARM: dts: r8a7790: Adjust SMP routine size

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horm

[PATCH 52/69] ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys node

2018-05-18 Thread Simon Horman
The gpio_keys node does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/emev2-kzm9d.dtb: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "r

[PATCH 48/69] ARM: dts: gose: Drop unnecessary address properties from port nodes

2018-05-18 Thread Simon Horman
The vin port nodes does not have an address and thus does not need address-cells or address size-properties. This is flagged by dtc as follows: # make dtbs W=1 arch/arm/boot/dts/r8a7793-gose.dtb: Warning (avoid_unnecessary_addr_size): /soc/video@e6ef/port: unnecessary #address-cells/#size-c

[PATCH 55/69] ARM: dts: r8a73a4: Correct mask for GIC PPI interrupts

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven R-Mobile APE6 (r8a73a4) contains four Cortex-A15 and four Cortex-A7 cores, hence the second interrupt specifier cell for Private Peripheral Interrupts should use "GIC_CPU_MASK_SIMPLE(8)", so GIC interrupts are delivered to all 8 processor cores. Signed-off-by: Geert Uytt

[PATCH 33/69] ARM: dts: koelsch: Enable watchdog support

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable the watchdog, so the board can be restarted by a watchdog timeout. Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7791-koelsch.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/a

[PATCH 03/14] soc: renesas: rcar-sysc: Add r8a77470 support

2018-05-18 Thread Simon Horman
From: Biju Das Add support for RZ/G1C (R8A77470) SoC power areas to the R-Car SYSC driver. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- .../bindings/power/renesas,rcar-sysc.txt | 1 + drivers/soc/renesas/Kcon

[PATCH 40/69] ARM: dts: r8a77470: Add SCIF support

2018-05-18 Thread Simon Horman
From: Biju Das Describe SCIF ports in the R8A77470 device tree. Also it fixes the CPG clock index ZS from 6 to 5. Fixes: 6929dfc5918049 ("ARM: dts: r8a77470: Initial SoC device tree") Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Hor

[PATCH 41/69] ARM: dts: r8a77470: Add SCIF DMA support

2018-05-18 Thread Simon Horman
From: Biju Das Add SCIF DMA support for R8A77470 SoC. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dt

[PATCH 29/69] ARM: dts: iwg22m: Add watchdog support to SoM dtsi

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This patch enables the watchdog from within the iwg20m SoM dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 5 +

[PATCH 66/69] ARM: dts: r8a7743: Add PMU device node

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable support for the ARM Performance Monitor Units in the Cortex-A15 CPU cores on RZ/G1M by adding a device node for the PMU. New Linux output: hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available Signed-off-by: Geert Uytterhoeven Signe

[PATCH 34/69] ARM: dts: porter: Enable watchdog support

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable the watchdog, so the board can be restarted by a watchdog timeout. Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7791-porter.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/ar

[PATCH 39/69] ARM: dts: silk: Enable watchdog support

2018-05-18 Thread Simon Horman
From: Geert Uytterhoeven Enable the watchdog, so the board can be restarted by a watchdog timeout. Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-silk.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/

[PATCH 22/69] ARM: dts: r8a7794: Adjust SMP routine size

2018-05-18 Thread Simon Horman
From: Fabrizio Castro This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horm

  1   2   3   >