[PATCH v2 --/--] arm64: renesas: r8a7796: add IPMMU support for AUDIO DMAC

2017-05-11 Thread Kuninori Morimoto
Signed-off-by: Kuninori Morimoto --- - This is for renesas-drivers arch/arm64/boot/dts/renesas/r8a7796.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH v2 10/10] arm64: renesas: r8a7796: add Sound MIX support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change arch/arm64/boot/dts/renesas/r8a7796.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH v2 09/10] arm64: renesas: r8a7796: add Sound CTU support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change arch/arm64/boot/dts/renesas/r8a7796.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH v2 08/10] arm64: renesas: r8a7796: add Sound DVC support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change arch/arm64/boot/dts/renesas/r8a7796.dtsi | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH v2 07/10] arm64: renesas: r8a7796: add Sound SRC support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change arch/arm64/boot/dts/renesas/r8a7796.dtsi | 54 1 file changed, 54 insertions(+) diff --git

[PATCH v2 06/10] arm64: renesas: r8a7796: add Sound SSI DMA support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change arch/arm64/boot/dts/renesas/r8a7796.dtsi | 20 1 file changed, 20 insertions(+) diff --git

[PATCH v2 05/10] arm64: renesas: r8a7796: add Sound SSI PIO support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change arch/arm64/boot/dts/renesas/r8a7796.dtsi | 64 +++- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git

[PATCH v2 04/10] arm64: renesas: r8a7796: add AUDIO_DMAC support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - remove ipmmu property arch/arm64/boot/dts/renesas/r8a7796.dtsi | 68 1 file changed, 68 insertions(+) diff --git

[PATCH v2 03/10] pinctrl: sh-pfc: r8a7796: add Audio clock pin support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 160 +++ 1 file changed, 160 insertions(+) diff --git

[PATCH v2 01/10] pinctrl: sh-pfc: r8a7796: Rename SSI_{WS,SCK}0129 to SSI_{WS,SCK}01239

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Based on Rev 0.50 or later R-Car Gen3 datasheet. Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH v2 00/10] arm64: renesas: r8a7796: add Sound support

2017-05-11 Thread Kuninori Morimoto
Hi Simon, Geert These are v2 of r8a7796 sound support patch-set. I separated Audio DMAC ipmmu patch. Kuninori Morimoto (10): pinctrl: sh-pfc: r8a7796: Rename SSI_{WS,SCK}0129 to SSI_{WS,SCK}01239 pinctrl: sh-pfc: r8a7796: add Audio SSI pin support pinctrl: sh-pfc: r8a7796: add Audio clock

Re: [PATCH 04/10] arm64: renesas: r8a7796: add AUDIO_DMAC support

2017-05-11 Thread Kuninori Morimoto
Hi Simon > > + audma0: dma-controller@ec70 { (snip) > > + iommus = <_mp0 0>, <_mp0 1>, > > + <_mp0 2>, <_mp0 3>, > > + <_mp0 4>, <_mp0 5>, > > + <_mp0 6>, <_mp0 7>, > > +

[RFC PATCH v2 2/4] arm64: dts: r8a7795: salvator-x: enable VIN, CSI and ADV7482

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham Provide bindings between the VIN, CSI and the ADV7482 on the r8a7795. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 147 ++- 1 file

[RFC PATCH v2 4/4] rcar-csi2: Map to fwnode endpoints rather than port parents

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham To support multiple async subdevices on a single device, we need to identify which subdevice maps directly for each connection. Instead of mapping the port parent to the async notifier, use the fwnode of the direct endpoint node.

[RFC PATCH v2 1/4] media: i2c: adv748x: add adv748x driver

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham Provide basic support for the ADV7481 and ADV7482. The driver is modelled with 2 subdevices to allow simultaneous streaming from the AFE (Analog front end) and HDMI inputs. Presently the HDMI is hardcoded to link to the TXA CSI bus,

[RFC PATCH v2 3/4] arm64: dts: r8a7796: salvator-x: enable VIN, CSI and ADV7482

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham Provide bindings between the VIN, CSI and the ADV7482 on the r8a7796. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 147 ++- 1 file

[RFC PATCH v2 0/4] RFC: ADV748x HDMI/Analog video receiver

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham This is an RFC for the Analog Devices ADV748x driver, and follows on from a previous posting by Niklas Söderlund [0] of an earlier incarnation of this driver. Aside from a few bug fixes, and considerable refactoring this driver: -

Re: [PATCH/RFT 0/2] ARM: dts: gose: Enable UHS-I SDR-50 and SDR-104

2017-05-11 Thread Simon Horman
On Tue, Apr 18, 2017 at 02:55:37PM +0900, Simon Horman wrote: > Enable > - SDR-50 and SDR-104 for SDHI0 and; > - SDR-50 for SDHI1 > > Verified: > - SDR104 for SDHI0 > - SDR50 for SDHI1 > - Results comprable to those listed for other Renesas R-Car Gen2 boards on >

Re: [PATCH v3 1/3] arm64: dts: r8a7795: Add support for R-Car H3 ES2.0

2017-05-11 Thread Geert Uytterhoeven
Hi Simon, On Thu, May 11, 2017 at 4:53 PM, Simon Horman wrote: > On Thu, May 11, 2017 at 01:58:52PM +0200, Geert Uytterhoeven wrote: >> Update r8a7795.dtsi so it corresponds to R-Car H3 ES2.0 or later: >> - The following devices no longer exist on ES2.0, and are thus

Re: [PATCH v3 2/3] arm64: dts: r8a7795: salvator-x: Add support for R-Car H3 ES2.0

2017-05-11 Thread Geert Uytterhoeven
Hi Simon, On Thu, May 11, 2017 at 4:53 PM, Simon Horman wrote: > On Thu, May 11, 2017 at 01:58:53PM +0200, Geert Uytterhoeven wrote: >> Split off support for Salvator-X boards with the ES1.x revision of the >> R-Car H3 SoC into a separate file. The main

Re: [PATCH v4 0/7] R-Car H3 HDMI output DT integration

2017-05-11 Thread Simon Horman
On Wed, May 10, 2017 at 11:14:41AM +0200, Simon Horman wrote: > On Wed, May 10, 2017 at 10:04:51AM +0300, Laurent Pinchart wrote: > > Hello, > > > > This patch series contains all the DT changes needed to integrate HDMI > > output > > support for the H3 Salvator-X board. > > > > The patches

Re: [PATCH v4 3/7] arm64: dts: renesas: salvator-x: Enable HDMI outputs

2017-05-11 Thread Simon Horman
On Wed, May 10, 2017 at 02:13:00PM +0200, Geert Uytterhoeven wrote: > On Wed, May 10, 2017 at 1:52 PM, Laurent Pinchart > wrote: > > On Wednesday 10 May 2017 10:28:11 Geert Uytterhoeven wrote: > >> On Wed, May 10, 2017 at 9:04 AM, Laurent Pinchart wrote: > >> >

Re: [PATCH v2 0/6] mmc: renesas-sdhi: refactor DMA support

2017-05-11 Thread Simon Horman
On Wed, May 10, 2017 at 12:07:02PM +0200, Arnd Bergmann wrote: > On Wed, May 10, 2017 at 11:25 AM, Simon Horman > wrote: > > Hi Wolfram, Hi Ulf, Hi Arnd, Hi all, > > > > the intention of this patch-set is to refactor the DMA support in > > the Renesas SDHI driver in

Re: [PATCH v3 1/3] arm64: dts: r8a7795: Add support for R-Car H3 ES2.0

2017-05-11 Thread Simon Horman
On Thu, May 11, 2017 at 01:58:52PM +0200, Geert Uytterhoeven wrote: > Update r8a7795.dtsi so it corresponds to R-Car H3 ES2.0 or later: > - The following devices no longer exist on ES2.0, and are thus removed: > fcpf2, fcpvd3, fcpvi2, fdp1-2, usb3-if1, vspd3, vspi2. > - The DU <-> VSPD

Re: [PATCH v3 2/3] arm64: dts: r8a7795: salvator-x: Add support for R-Car H3 ES2.0

2017-05-11 Thread Simon Horman
On Thu, May 11, 2017 at 01:58:53PM +0200, Geert Uytterhoeven wrote: > Split off support for Salvator-X boards with the ES1.x revision of the > R-Car H3 SoC into a separate file. The main r8a7795-salvator-x.dts file > now corresponds to Salvator-X with R-Car H3 ES2.0 or later. > > Signed-off-by:

Re: [PATCH] clk: renesas: r8a7795: Correct pwm, gpio, and i2c parent clocks on ES2.0

2017-05-11 Thread Simon Horman
On Thu, May 11, 2017 at 11:51:15AM +0200, Geert Uytterhoeven wrote: > Cfr. the errata of April 14, 2017, for the R-Car Gen3 Hardware Manual > Rev. 0.53E. > > These have no user-visible effect, as the clock frequencies stay the > same. > > Fixes: 5573d194128b4733 ("clk: renesas: r8a7795: Add

Re: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-05-11 Thread Linus Walleij
On Fri, May 5, 2017 at 2:45 PM, Chris Brandt wrote: > On Friday, May 05, 2017, Linus Walleij wrote: >> > This is the part of the whole "DT is for hardware description only" that >> doesn't really make sense to me. >> >> OK yeah we do hardware description AND

[PATCH v3 1/3] arm64: dts: r8a7795: Add support for R-Car H3 ES2.0

2017-05-11 Thread Geert Uytterhoeven
Update r8a7795.dtsi so it corresponds to R-Car H3 ES2.0 or later: - The following devices no longer exist on ES2.0, and are thus removed: fcpf2, fcpvd3, fcpvi2, fdp1-2, usb3-if1, vspd3, vspi2. - The DU <-> VSPD topology is different on ES2.0, hence remove the "compatible" and "vsps"

[PATCH v3 3/3] arm64: dts: r8a7795: h3ulcb: Add support for R-Car H3 ES2.0

2017-05-11 Thread Geert Uytterhoeven
Split off support for H3ULCB boards with the ES1.x revision of the R-Car H3 SoC into a separate file. The main r8a7795-h3ulcb.dts file now corresponds to H3ULCB with R-Car H3 ES2.0 or later. Signed-off-by: Geert Uytterhoeven --- v3: - New. ---

[PATCH v3 2/3] arm64: dts: r8a7795: salvator-x: Add support for R-Car H3 ES2.0

2017-05-11 Thread Geert Uytterhoeven
Split off support for Salvator-X boards with the ES1.x revision of the R-Car H3 SoC into a separate file. The main r8a7795-salvator-x.dts file now corresponds to Salvator-X with R-Car H3 ES2.0 or later. Signed-off-by: Geert Uytterhoeven --- v3: - Rebase on top of

[PATCHv2] ADV748x: Reconfigure all scripts to support multi-subdevs

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham The ADV748x used for testing now has entities to represent the HDMI, CVBS, TXA and TXB ports. Reconfigure all of the scripts to support propagating formats across these extra entities Signed-off-by: Kieran Bingham

[PATCH] ADV748x: Reconfigure all scripts to support multi-subdevs

2017-05-11 Thread Kieran Bingham
From: Kieran Bingham The ADV748x used for testing now has entities to represent the HDMI, CVBS, TXA and TXB ports. Reconfigure all of the scripts to support propagating formats across these extra entities Signed-off-by: Kieran Bingham

[renesas:topic/sdhi-refactor-v2+sdhi-cmd23 5/7] ERROR: "renesas_sdhi_get_dma_ops" [drivers/mmc/host/renesas_sdhi_core.ko] undefined!

2017-05-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-refactor-v2+sdhi-cmd23 head: 799c8fd6d9386e2ea6880a89c9de3fbb7a7994f7 commit: d683af706a3513d05245107b6b42d8b4da1f59c2 [5/7] mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c config:

[PATCH] clk: renesas: r8a7795: Correct pwm, gpio, and i2c parent clocks on ES2.0

2017-05-11 Thread Geert Uytterhoeven
Cfr. the errata of April 14, 2017, for the R-Car Gen3 Hardware Manual Rev. 0.53E. These have no user-visible effect, as the clock frequencies stay the same. Fixes: 5573d194128b4733 ("clk: renesas: r8a7795: Add support for R-Car H3 ES2.0") Signed-off-by: Geert Uytterhoeven

[PATCH 09/10] arm64: renesas: r8a7796: add Sound CTU support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH 10/10] arm64: renesas: r8a7796: add Sound MIX support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH 08/10] arm64: renesas: r8a7796: add Sound DVC support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH 06/10] arm64: renesas: r8a7796: add Sound SSI DMA support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH 07/10] arm64: renesas: r8a7796: add Sound SRC support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 54 1 file changed, 54 insertions(+) diff --git

[PATCH 05/10] arm64: renesas: r8a7796: add Sound SSI PIO support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 64 +++- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git

[PATCH 04/10] arm64: renesas: r8a7796: add AUDIO_DMAC support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 84 1 file changed, 84 insertions(+) diff --git

[PATCH 01/10] pinctrl: sh-pfc: r8a7796: Rename SSI_{WS,SCK}0129 to SSI_{WS,SCK}01239

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Based on Rev 0.50 or later R-Car Gen3 datasheet. Signed-off-by: Kuninori Morimoto --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 02/10] pinctrl: sh-pfc: r8a7796: add Audio SSI pin support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 231 +++ 1 file changed, 231 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7796.c

[PATCH 03/10] pinctrl: sh-pfc: r8a7796: add Audio clock pin support

2017-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 160 +++ 1 file changed, 160 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7796.c

[PATCH 00/10] arm64: renesas: r8a7796: add Sound support

2017-05-11 Thread Kuninori Morimoto
Hi Geert, Simon These are r8a7796 sound support patch-set Kuninori Morimoto (10): pinctrl: sh-pfc: r8a7796: Rename SSI_{WS,SCK}0129 to SSI_{WS,SCK}01239 pinctrl: sh-pfc: r8a7796: add Audio SSI pin support pinctrl: sh-pfc: r8a7796: add Audio clock pin support arm64: renesas: r8a7796: add

Re: [PATCH] clk: renesas: Do not build clk-div6 for R8A7792

2017-05-11 Thread Geert Uytterhoeven
On Wed, Apr 26, 2017 at 9:09 AM, Simon Horman wrote: > On Tue, Apr 25, 2017 at 07:26:01PM +0200, Geert Uytterhoeven wrote: >> R-Car V2H does not have "DIV6" programmable clocks, hence there is no >> need to build clk-div6.o. >> >> Signed-off-by: Geert Uytterhoeven

Re: [PATCH] pinctrl: sh-pfc: r8a7796: Add group for AVB MDIO and MII pins

2017-05-11 Thread Geert Uytterhoeven
On Tue, May 2, 2017 at 4:33 PM, Niklas Söderlund wrote: > On 2017-04-20 13:47:19 +0200, Geert Uytterhoeven wrote: >> On Thu, Apr 20, 2017 at 1:44 PM, Laurent Pinchart >> wrote: >> > On Thursday 20 Apr 2017 13:37:27 Geert

Re: [PATCH] v4l2-subdev: Remove of_node

2017-05-11 Thread Kieran Bingham
On 10/05/17 19:13, Sakari Ailus wrote: > Hi Kieran, > > Thanks for the patch. > > On Wed, May 10, 2017 at 05:45:54PM +0100, Kieran Bingham wrote: >> From: Kieran Bingham >> >> With the fwnode implementation, of_node is no longer used. >> >> Remove it.

[PATCH v2 3/4] sh: sh7264: Remove nonexistent GPIO_PH[0-7] to fix pinctrl registration

2017-05-11 Thread Geert Uytterhoeven
Pinmux_pins[] is initialized through PINMUX_GPIO(), using designated array initializers, where the GPIO_* enums serve as indices. If enum values are defined, but never used, pinmux_pins[] contains (zero-filled) holes. Such entries are treated as pin zero, which was registered before, thus leading

[PATCH v2 2/4] sh: sh7757: Remove nonexistent GPIO_PT[JLNQ]7_RESV to fix pinctrl registration

2017-05-11 Thread Geert Uytterhoeven
Commit 3810e96056ffddf6 ("sh: modify pinmux for SH7757 2nd cut") renamed GPIO_PT[JLNQ]7 to GPIO_PT[JLNQ]7_RESV, and removed the existing users from the pinmux_pins[] array. However, pinmux_pins[] is initialized through PINMUX_GPIO(), using designated array initializers, where the GPIO_* enums

[PATCH v2 1/4] sh: sh7722: Remove nonexistent GPIO_PTQ7 to fix pinctrl registration

2017-05-11 Thread Geert Uytterhoeven
On sh7722/Migo-R, pinctrl registration fails with: sh-pfc pfc-sh7722: pin 0 already registered sh-pfc pfc-sh7722: error during pin registration sh-pfc pfc-sh7722: could not register: -22 sh-pfc: probe of pfc-sh7722 failed with error -22 pinmux_pins[] is initialized through

[PATCH v2 4/4] sh: sh7269: Remove nonexistent GPIO_PH[0-7] to fix pinctrl registration

2017-05-11 Thread Geert Uytterhoeven
Pinmux_pins[] is initialized through PINMUX_GPIO(), using designated array initializers, where the GPIO_* enums serve as indices. If enum values are defined, but never used, pinmux_pins[] contains (zero-filled) holes. Such entries are treated as pin zero, which was registered before, thus leading

[PATCH v2 0/4] sh: sh7722/sh7757i/sh7264/sh7269: Fix pinctrl registration

2017-05-11 Thread Geert Uytterhoeven
Hi Sato-san, Rich, Magnus reported that on sh7722/Migo-R, pinctrl registration fails with: sh-pfc pfc-sh7722: pin 0 already registered sh-pfc pfc-sh7722: error during pin registration sh-pfc pfc-sh7722: could not register: -22 sh-pfc: probe of pfc-sh7722 failed with error

[PATCH v5 3/3] phy: Group vendor specific phy drivers

2017-05-11 Thread Vivek Gautam
Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers. Signed-off-by: Vivek Gautam Acked-by: Heiko Stuebner