[PATCH v2 0/2] Add Renesas R8A77980 PFC driver

2018-03-08 Thread Sergei Shtylyov
Hello! Here's a set of 2 patches against the 'sh-pfc' branch of Geert Uytterhoeven's 'renesas-drivers.git' repo. These patches add the basic support for the R8A77980 PFC. [1/2] pinctrl: sh-pfc: add PORT_GP_CFG_25() helper macro [2/2] pinctrl: sh-pfc: add R8A77980 PFC support MBR, Sergei

Re: [PATCH 2/2] pinctrl: sh-pfc: add R8A77980 PFC support

2018-03-06 Thread Sergei Shtylyov
t;>>>>> >>>>>> Based on the original (and large) patch by Vladimir Barinov. >>>>>> >>>>>> Signed-off-by: Vladimir Barinov >>>>>> Signed-off-by: Sergei Shtylyov >>>>> >>>>> Thanks for y

Re: [PATCH 2/2] pinctrl: sh-pfc: add R8A77980 PFC support

2018-03-05 Thread Sergei Shtylyov
>> Based on the original (and large) patch by Vladimir Barinov. >>>> >>>> Signed-off-by: Vladimir Barinov >>>> Signed-off-by: Sergei Shtylyov >>> >>> Thanks for your patch! >>> >>> To avoid scaring off potential reviewer

Re: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-05 Thread Sergei Shtylyov
On 03/05/2018 05:08 PM, Fabrizio Castro wrote: >>> On R-Car Gen2 and RZ/G1 the watchdog IP clock needs to be always ON, >>> on R-Car Gen3 we power the IP down during suspend. >>> >>> This commit adds suspend/resume support, so that the watchdog counting >>> "pauses" during suspend on all of the So

Re: [PATCH] ravb: remove erroneous comment

2018-03-04 Thread Sergei Shtylyov
;ravb: add support for changing MTU") Reported-by: Sergei Shtylyov Signed-off-by: Niklas Söderlund Acked-by: Sergei Shtylyov [...] MBR, Sergei

[PATCH v3 2/2] arm64: dts: renesas: eagle: add I2C0 support

2018-03-03 Thread Sergei Shtylyov
d-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - added Geert's tag. Changes in version 2: - refreshed with the patch adding EtherAVB pins removed for now... arch/arm64/boot/dts/renesas/r8a77970-eagle.

[PATCH v3 1/2] arm64: dts: renesas: r8a77970: add I2C support

2018-03-03 Thread Sergei Shtylyov
Define the generic R8A77970 parts of the I2C[0-4] device node. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - added SYS-DMAC2 references to the "

[PATCH v3 0/2] Add R8A77970/Eagle I2C support

2018-03-03 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180301-v4.16-rc3' tag. We're adding the R8A77970 I2C nodes and then describing the PCA9654 I/O expander connected to the I2C0 bus. [1/2] arm64: dts: renesas: r8a77970: add I2C support [2/2] arm64: dts:

Re: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support

2018-03-02 Thread Sergei Shtylyov
On 3/2/2018 1:21 PM, Simon Horman wrote: Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180227-v4.16-rc3' tag. We're adding the R8A77970 FCPVD/VSPD/ DU/LVDS device nodes and then describing the HDMI encoder connected to the LVDS output (we're omitting th

Re: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-02 Thread Sergei Shtylyov
Hello! On 3/1/2018 9:17 PM, Fabrizio Castro wrote: On R-Car Gen2 and RZ/G1 the watchdog IP clock needs to be always ON, on R-Car Gen3 we power the IP down during suspend. This commit adds suspend/resume support, so that the watchdog counting "pauses" during suspend on all of the SoCs compatibl

[PATCH v2 2/2] drm: rcar-du: lvds: add R8A77970 support

2018-03-01 Thread Sergei Shtylyov
Add support for the R-Car V3M (R8A77970) SoC to the LVDS encoder driver. Note that there are some differences with the other R-Car gen3 SoCs, e.g. LVDPLLCR has the same layout as in the R-Car gen2 SoCs... Signed-off-by: Sergei Shtylyov --- Changes in version 2: - shortened the comment to

[PATCH v2 1/2] DT: display: renesas,lvds: document R8A77970 bindings

2018-03-01 Thread Sergei Shtylyov
Document the R-Car V3M (R8A77970) SoC in the R-Car LVDS bindings. Signed-off-by: Sergei Shtylyov Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart --- Changes in version 2: - added Rob's and Laurent's tags. Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt |

[PATCH v2 0/3] Add R-Car V3M (R8A77970) support to the R-Car LVDS driver

2018-03-01 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against the 'drm-next' branch of David Airlie's 'linux.git' repo plus Laurent Picnahrt's patches creating the R-Car LVDS bridge driver posted recently. The purpose of these patches is to add the R-Car V3M (R8A77970) support to the R-Car LVDS driver. [1/2] DT: di

Re: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support

2018-03-01 Thread Sergei Shtylyov
On 03/01/2018 12:54 PM, Simon Horman wrote: > Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's > 'renesas-devel-20180227-v4.16-rc3' tag. We're adding the R8A77970 > FCPVD/VSPD/ > DU/LVDS device nodes and then describing the HDMI encoder connected to > t

Re: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support

2018-03-01 Thread Sergei Shtylyov
Hello! On 03/01/2018 12:54 PM, Simon Horman wrote: > Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's > 'renesas-devel-20180227-v4.16-rc3' tag. We're adding the R8A77970 > FCPVD/VSPD/ > DU/LVDS device nodes and then describing the HDMI encoder connected to

Re: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support

2018-02-28 Thread Sergei Shtylyov
On 02/28/2018 04:27 PM, Simon Horman wrote: >>> Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's >>> 'renesas-devel-20180227-v4.16-rc3' tag. We're adding the R8A77970 >>> FCPVD/VSPD/ >>> DU/LVDS device nodes and then describing the HDMI encoder connected to the >>> LVDS >>

Re: [PATCH 2/4] dt-bindings: arm: Document Renesas V3MSK and Wheat board part numbers

2018-02-27 Thread Sergei Shtylyov
On 2/28/2018 9:49 AM, Simon Horman wrote: [...] On Tue, Feb 27, 2018 at 9:17 AM, Simon Horman wrote: On Mon, Feb 26, 2018 at 07:03:43PM +0100, Geert Uytterhoeven wrote: ... - - Wheat + - Wheat (RTP0RC7792ASKB0010JE) compatible = "renesas,wheat", "renesas,r8a7792" I'm unable to c

Re: [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support

2018-02-27 Thread Sergei Shtylyov
On 02/27/2018 11:06 PM, Sergei Shtylyov wrote: > Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's > 'renesas-devel-20180227-v4.16-rc3' tag. We're adding the R8A77970 FCPVD/VSPD/ > DU/LVDS device nodes and then describing t

[PATCH v2 5/5] arm64: dts: renesas: v3msk: add DU/LVDS/HDMI support

2018-02-27 Thread Sergei Shtylyov
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/r8a77970-v3msk.dts | 106 + 1 file changed, 106 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970

[PATCH v2 4/5] arm64: dts: renesas: r8a77970: add LVDS support

2018-02-27 Thread Sergei Shtylyov
Define the generic R8A77970 part of the LVDS device node. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - resolved rejects and updated atop of the DU support patch; - changed the LVDS node's label/name; - renamed the input/output endpoints' labels; - added the "pow

[PATCH v2 3/5] arm64: dts: renesas: r8a77970: add DU support

2018-02-27 Thread Sergei Shtylyov
Define the generic R8A77970 part of the DU device node. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - added the "resets" property; - renamed the output endpoint's labe

[PATCH v2 2/5] arm64: dts: renesas: r8a77970: add VSPD support

2018-02-27 Thread Sergei Shtylyov
Describe VSPD0 in the R8A77970 device tree; it will be used by DU in the next patch... Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 10 ++ 1 file

[PATCH v2 1/5] arm64: dts: renesas: r8a77970: add FCPVD support

2018-02-27 Thread Sergei Shtylyov
Describe FCPVD0 in the R8A77970 device tree; it will be used by VSPD0 in the next patch... Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77970.dtsi |8 1 file

[PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support

2018-02-27 Thread Sergei Shtylyov
Hello! Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180227-v4.16-rc3' tag. We're adding the R8A77970 FCPVD/VSPD/ DU/LVDS device nodes and then describing the HDMI encoder connected to the LVDS output (we're omitting the LVDS decoder for now). These patch

Re: [PATCH net-next] sh_eth: uninline TSU register accessors

2018-02-27 Thread Sergei Shtylyov
On 02/27/2018 02:58 PM, Sergei Shtylyov wrote: > We have uninlined the sh_eth_{read|write}() functions introduced in the > commit 4a55530f38e ("net: sh_eth: modify the definitions of register"). > Now remove *inline* from sh_eth_tsu_{read|write}() as well and move > th

[PATCH net-next] sh_eth: uninline TSU register accessors

2018-02-27 Thread Sergei Shtylyov
e bytes of object code (ARM gcc 4.8.5)... Signed-off-by: Sergei Shtylyov --- drivers/net/ethernet/renesas/sh_eth.c | 11 +++ drivers/net/ethernet/renesas/sh_eth.h | 11 --- 2 files changed, 11 insertions(+), 11 deletions(-) Index: net-next/drivers/net/ethernet/renesa

Re: [PATCH 2/4] dt-bindings: arm: Document Renesas V3MSK and Wheat board part numbers

2018-02-27 Thread Sergei Shtylyov
Hello! On 02/27/2018 11:17 AM, Simon Horman wrote: >> The DT binding documentation for the Renesas V3MSK and Wheat boards >> lacked board part numbers. >> >> Signed-off-by: Geert Uytterhoeven >> --- >> Documentation/devicetree/bindings/arm/shmobile.txt | 4 ++-- >> 1 file changed, 2 insertions(

Re: [PATCH 02/15] v4l: vsp1: Remove outdated comment

2018-02-27 Thread Sergei Shtylyov
Hello! On 2/27/2018 12:45 AM, Laurent Pinchart wrote: The entities in the pipeline are all started when the LIF is setup. Remove the outdated comment that state otherwise. States? Signed-off-by: Laurent Pinchart [...] MBR, Sergei

[PATCH v2 2/2] arm64: dts: renesas: eagle: add I2C0 support

2018-02-26 Thread Sergei Shtylyov
d-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - resolved rejects (with the patch adding EtherAVB pins removed for now). arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 20 1 file changed, 20 insertions(+) Index: renesas/arch/arm64

[PATCH v2 1/2] arm64: dts: renesas: r8a77970: add I2C support

2018-02-26 Thread Sergei Shtylyov
Define the generic R8A77970 parts of the I2C[0-4] device node. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - made use of the SYSC power domain #define's; - moved the I2C nodes b

[PATCH v2 0/2] Add R8A77970/Eagle I2C support

2018-02-26 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180226-v4.16-rc3' tag. We're adding the R8A77970 I2C nodes and then describing the PCA9654 I/O expander connected to the I2C0 bus. [1/2] arm64: dts: renesas: r8a77970: add I2C support [2/2] arm64: dts:

Re: [PATCH 2/2] pinctrl: sh-pfc: add R8A77980 PFC support

2018-02-26 Thread Sergei Shtylyov
(and large) patch by Vladimir Barinov. >> >> Signed-off-by: Vladimir Barinov >> Signed-off-by: Sergei Shtylyov > > Thanks for your patch! > > To avoid scaring off potential reviewers, it may be better to not include that > many pin groups and functions in future initi

Re: [PATCH net-next] sh_eth: fix TSU init on SH7734/R8A7740

2018-02-26 Thread Sergei Shtylyov
On 02/24/2018 10:41 PM, Sergei Shtylyov wrote: > It appears that the single port Ether controllers having TSU (like SH7734/ > R8A7740) need the same kind of treating in sh_eth_tsu_init() as R7S72100 > currently has -- they also don't have the TSU registers related e.g. to > p

Re: [PATCH 0/2] Add Renesas R8A77970 PFC driver

2018-02-26 Thread Sergei Shtylyov
Sorry, should read R8A77980 in the subject...

[PATCH 2/2] pinctrl: sh-pfc: add R8A77980 PFC support

2018-02-25 Thread Sergei Shtylyov
Add the PFC support for the R8A77980 SoC including pin groups for some on-chip devices such as AVB, CAN-FD, GETHER, [H]SCIF, I2C, INTC-EX, MMC, MSIOF, PWM, and VIN... Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov

[PATCH 1/2] pinctrl: sh-pfc: add PORT_GP_CFG_25() helper macro

2018-02-25 Thread Sergei Shtylyov
They follow the style of the existing PORT_GP_CFG_() macros and will be used by a follow-up patch for the R8A77980 SoC. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- drivers/pinctrl/sh-pfc/sh_pfc.h |8

[PATCH 0/2] Add Renesas R8A77970 PFC driver

2018-02-25 Thread Sergei Shtylyov
Hello! Here's a set of 2 patches against the 'sh-pfc' branch of Geert Uytterhoeven's 'renesas-drivers.git' repo. These patches add the basic support for the R8A77980 PFC. [1/2] pinctrl: sh-pfc: add PORT_GP_CFG_25() helper macros [2/2] pinctrl: sh-pfc: add R8A77980 PFC support MBR, Sergei

Re: [PATCH] DT: net: renesas,ravb: document R8A77980 bindings

2018-02-25 Thread Sergei Shtylyov
On 02/25/2018 11:48 AM, Sergei Shtylyov wrote: >>>> Renesas R-Car V3H (R8A77980) SoC has the R-Car gen3 compatible EtherAVB >>>> >>> device, so document the SoC specific bindings.>>>>>> Signed-off-by: > Sergei Shtylyov >>>>&

Re: [PATCH net-next] sh_eth: TSU_QTAG0/1 registers the same as TSU_QTAGM0/1

2018-02-25 Thread Sergei Shtylyov
thus >> there's no need to make a difference in sh_eth_tsu_init() between those >> controllers. Unfortunately, we can't just remove TSU_QTAG0/1 from the >> register *enum* because that would break the ethtool register dump... >> >> Fixes: b0ca2a21f769 ("sh_

Re: [PATCH] DT: net: renesas,ravb: document R8A77980 bindings

2018-02-25 Thread Sergei Shtylyov
Hello! On 2/25/2018 5:53 AM, David Miller wrote: Renesas R-Car V3H (R8A77980) SoC has the R-Car gen3 compatible EtherAVB >>> device, so document the SoC specific bindings.>>>>>> Signed-off-by: Sergei Shtylyov >>>>>> --->>> The patch is a

[PATCH net-next] sh_eth: fix TSU init on SH7734/R8A7740

2018-02-24 Thread Sergei Shtylyov
port' flag and use it as a new criterion for taking a "short path" in the TSU init sequence in order to avoid writing to the non-existant registers... Fixes: f0e81fecd4f8 ("net: sh_eth: Add support SH7734") Fixes: 73a0d907301e ("net: sh_eth: add support R8A7740") Si

Re: [PATCH] DT: net: renesas,ravb: document R8A77980 bindings

2018-02-24 Thread Sergei Shtylyov
On 02/01/2018 11:13 PM, Sergei Shtylyov wrote: > Renesas R-Car V3H (R8A77980) SoC has the R-Car gen3 compatible EtherAVB > device, so document the SoC specific bindings. > > Signed-off-by: Sergei Shtylyov > > --- > The patch is against DaveM's 'net-next.git&#x

[PATCH net-next] sh_eth: TSU_QTAG0/1 registers the same as TSU_QTAGM0/1

2018-02-24 Thread Sergei Shtylyov
those controllers. Unfortunately, we can't just remove TSU_QTAG0/1 from the register *enum* because that would break the ethtool register dump... Fixes: b0ca2a21f769 ("sh_eth: Add support of SH7763 to sh_eth") Signed-off-by: Sergei Shtylyov --- drivers/net/ethernet/ren

Re: [PATCH 4/4] arm64: dts: r8a7795: Add PWM device nodes

2018-02-23 Thread Sergei Shtylyov
On 2/23/2018 1:09 PM, Sergei Shtylyov wrote: From: Ryo Kodama Signed-off-by: Ryo Kodama Signed-off-by: Harunobu Kurokawa [uli: adapted to new MSTP clock scheme] Signed-off-by: Ulrich Hecht Sorry, I didn't realize I was replying to a month-old patch (with the A/B issue al

Re: [PATCH 4/4] arm64: dts: r8a7795: Add PWM device nodes

2018-02-23 Thread Sergei Shtylyov
Hello! On 1/19/2016 3:18 PM, Ulrich Hecht wrote: From: Ryo Kodama Signed-off-by: Ryo Kodama Signed-off-by: Harunobu Kurokawa [uli: adapted to new MSTP clock scheme] Signed-off-by: Ulrich Hecht [...] diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/r

Re: [PATCH v4 11/16] ARM: dts: r8a7791: Convert to new LVDS DT bindings

2018-02-23 Thread Sergei Shtylyov
On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Signed-off-by: Laurent Pinchart [...] diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 008a260f86a5

Re: [PATCH v4 11/16] ARM: dts: r8a7791: Convert to new LVDS DT bindings

2018-02-23 Thread Sergei Shtylyov
Hello! On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Signed-off-by: Laurent Pinchart --- Changes since v3: - Added power-domains and resets properties to LVDS nodes Changes since

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-22 Thread Sergei Shtylyov
Hello! On 02/22/2018 06:54 PM, Simon Horman wrote: >>> ... >>> >> +clocks = <&cpg CPG_MOD 812>; >> +power-domains = <&sysc 32>; >> +resets = <&cpg 812>; >> +phy-mode = "rgmii-txid"; >>>

Re: [PATCH v4] v4l: vsp1: Fix video output on R8A77970

2018-02-22 Thread Sergei Shtylyov
On 02/22/2018 09:46 PM, Laurent Pinchart wrote: >>> From: Sergei Shtylyov >>> >>> Commit d455b45f8393 ("v4l: vsp1: Add support for new VSP2-BS, VSP2-DL, >>> and VSP2-D instances") added support for the VSP2-D found in the R-Car >>> V3M (R8A

Re: [PATCH v3] vsp1: fix video output on R8A77970

2018-02-22 Thread Sergei Shtylyov
On 02/22/2018 07:26 PM, Laurent Pinchart wrote: > Hi Sergei, > > Thank you for the patch. > > On Thursday, 18 January 2018 16:05:51 EET Sergei Shtylyov wrote: >> Commit d455b45f8393 ("v4l: vsp1: Add support for new VSP2-BS, VSP2-DL, >> and VSP2-D instances")

Re: [PATCH v4] v4l: vsp1: Fix video output on R8A77970

2018-02-22 Thread Sergei Shtylyov
On 02/22/2018 07:32 PM, Laurent Pinchart wrote: > From: Sergei Shtylyov > > Commit d455b45f8393 ("v4l: vsp1: Add support for new VSP2-BS, VSP2-DL, > and VSP2-D instances") added support for the VSP2-D found in the R-Car > V3M (R8A77970) but the video output that

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-21 Thread Sergei Shtylyov
On 02/21/2018 09:23 PM, Simon Horman wrote: > ... > + clocks = <&cpg CPG_MOD 812>; + power-domains = <&sysc 32>; + resets = <&cpg 812>; + phy-mode = "rgmii-txid"; >>> >>

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-21 Thread Sergei Shtylyov
On 02/21/2018 08:38 PM, Sergei Shtylyov wrote: >>>>>> Populate the ethernet@e680 device node to enable Ethernet interface >>>>>> for R-Car M3-N (r8a77965) SoC. >>>>>> >>>>>> Signed-off-by: Jacopo Mondi &

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-21 Thread Sergei Shtylyov
On 02/21/2018 08:31 PM, Simon Horman wrote: > Populate the ethernet@e680 device node to enable Ethernet interface > for R-Car M3-N (r8a77965) SoC. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > > --- > v1 -> v2: > - Replace ALWAYS_ON p

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-21 Thread Sergei Shtylyov
Hello! On 02/21/2018 01:07 PM, jacopo mondi wrote: >>> Populate the ethernet@e680 device node to enable Ethernet interface >>> for R-Car M3-N (r8a77965) SoC. >>> >>> Signed-off-by: Jacopo Mondi >>> Reviewed-by: Geert Uytterhoeven >>> >>> --- >>> v1 -> v2: >>> - Replace ALWAYS_ON power area

Re: [PATCH v4 01/16] dt-bindings: display: renesas: Add R-Car LVDS encoder DT bindings

2018-02-21 Thread Sergei Shtylyov
On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The Renesas R-Car Gen2 and Gen3 SoCs have internal LVDS encoders. Add corresponding device tree bindings. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Herring --- Changes since v1: - Move the SoC name before the IP name in compatible strings

Re: [PATCH v4 14/16] ARM: dts: r8a7794: Convert to new DU DT bindings

2018-02-21 Thread Sergei Shtylyov
Hello! On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The DU DT bindings have been updated to drop the reg-names property. Update the r8a7792 device tree accordingly. Apparently r8a7794. Signed-off-by: Laurent Pinchart [...] MBR, Sergei

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-20 Thread Sergei Shtylyov
On 02/20/2018 06:12 PM, Jacopo Mondi wrote: > Populate the ethernet@e680 device node to enable Ethernet interface > for R-Car M3-N (r8a77965) SoC. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > > --- > v1 -> v2: > - Replace ALWAYS_ON power area identifier with numeric

Re: [PATCH v2 4/5] arm64: dts: renesas: initial Condor board device tree

2018-02-19 Thread Sergei Shtylyov
>> Based on the original (and large) patch by Vladimir Barinov. >>>> >>>> Signed-off-by: Vladimir Barinov >>>> Signed-off-by: Sergei Shtylyov >>>> Reviewed-by: Geert Uytterhoeven >>>> >>>> --- >>>> C

Re: [PATCH v2 4/5] arm64: dts: renesas: initial Condor board device tree

2018-02-19 Thread Sergei Shtylyov
. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - removed the useless "status" property from the SCIF_CLK node; - fixed the memory size; - added Geert's tag. --- /dev/null +++ renesas/arch/arm64/boot/dts/r

[PATCH] sh_eth: simplify sh_eth_check_reset()

2018-02-18 Thread Sergei Shtylyov
The *while* loop in this function can be turned into a normal *for* loop. And getting rid of the single return point saves us a few more LoCs... Signed-off-by: Sergei Shtylyov --- The patch is against DaveM's 'net-next.git' repo. drivers/net/ethernet/renesas/

Re: [PATCH] soc: renesas: r8a77970-sysc: fix power area parents

2018-02-17 Thread Sergei Shtylyov
On 02/16/2018 11:09 PM, Sergei Shtylyov wrote: > According to the figure 9.2(b) of the R-Car Series, 3rd Generation User’s > Manual: Hardware Rev. 0.80 the A2IRn and A2SCn power areas in R8A77970 have > the A3IR area as a parent, thus the SYSC driver has those parents wrong... &

Re: [PATCH v2] ravb: add support for changing MTU

2018-02-17 Thread Sergei Shtylyov
Hello! On 2/16/2018 7:10 PM, Niklas Söderlund wrote: Allow for changing the MTU within the limit of the maximum size of a descriptor (2048 bytes). Add the callback to change MTU from user-space and take the configurable MTU into account when configuring the hardware. Signed-off-by: Niklas Söde

[PATCH] soc: renesas: r8a77970-sysc: fix power area parents

2018-02-16 Thread Sergei Shtylyov
pport") Signed-off-by: Sergei Shtylyov --- drivers/soc/renesas/r8a77970-sysc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: renesas/drivers/soc/renesas/r8a77970-sysc.c === --- renesas.orig/drivers/s

Re: [PATCH v2] ravb: add support for changing MTU

2018-02-16 Thread Sergei Shtylyov
Hello! On 02/16/2018 10:42 PM, Florian Fainelli wrote: >> Allow for changing the MTU within the limit of the maximum size of a >> descriptor (2048 bytes). Add the callback to change MTU from user-space >> and take the configurable MTU into account when configuring the >> hardware. >> >> Signed-of

[PATCH v2 5/5] arm64: dts: renesas: condor: add EtherAVB support

2018-02-16 Thread Sergei Shtylyov
Define the Condor board dependent part of the EtherAVB device node. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - added the "renesas,no-ether-link" property; - overrode the

[PATCH v2 4/5] arm64: dts: renesas: initial Condor board device tree

2018-02-16 Thread Sergei Shtylyov
Add the initial device tree for the R8A77980 SoC based Condor board. The board has 1 debug serial port (SCIF0); include support for it, so that the serial console can work. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei

[PATCH v2 3/5] arm64: dts: renesas: r8a77980: add EtherAVB support

2018-02-16 Thread Sergei Shtylyov
Define the generic R8A77980 part of the EtherAVB device node. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - removed the 2nd address/size tuple from the "reg" property; - change

[PATCH v2 2/5] arm64: dts: renesas: r8a77980: add [H]SCIF support

2018-02-16 Thread Sergei Shtylyov
Describe [H]SCIF ports in the R8A77980 device tree. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - fixed the internal BRG clock to S3D1 for all ports

[PATCH v2 1/5] soc: renesas: rcar-sysc: add R8A77980 support

2018-02-16 Thread Sergei Shtylyov
Add support for R-Car V3H (R8A77980) SoC power areas to the R-Car SYSC driver. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- Changes in version 2

[PATCH v2 0/5] Add R8A77980/Condor board support

2018-02-16 Thread Sergei Shtylyov
Hello! Here's the set of 11 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180216-v4.16-rc1' tag. I'm adding the device tree support for the R8A77980-based Condor board (note that NFS root would only work on the Condor boards [re]wired for booting from EtherAVB -- we haven't

[PATCH v2 2/2] clk: renesas: cpg-mssr: add R8A77980 support

2018-02-15 Thread Sergei Shtylyov
Add R-Car V3H (R8A77980) Clock Pulse Generator / Module Standby and Software Reset support, using the CPG/MSSR driver core and the common R-Car Gen3 code. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by

[PATCH v2 1/2] dt-bindings: clock: add R8A77980 CPG core clock definitions

2018-02-15 Thread Sergei Shtylyov
8.1e... Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - wrapped the SPDX license ID in its own comment; - added Geert's tag. include/dt-bindings/cloc

[PATCH v2 0/2] Renesas R8A77980 CPG/MSSR clock support

2018-02-15 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against the 'clk-renesas' branch of Geert Uytterhoeven's 'renesas-drivers.git' repo. We're adding the CPG/MSSR driver support for R8A77980... [1/2] dt-bindings: clock: add R8A77980 CPG core clock definitions [2/2] clk: renesas: cpg-mssr: add R8A77980 support

Re: [PATCH v2 2/2] arm64: dts: renesas: eagle: specify EtherAVB PHY IRQ

2018-02-15 Thread Sergei Shtylyov
Hello! On 2/14/2018 1:02 PM, Geert Uytterhoeven wrote: Specify EtherAVB PHY IRQ in the Eagle board's device tree, now that we have the GPIO support (previously phylib had to resort to polling). Signed-off-by: Sergei Shtylyov You've dropped my: Reviewed-by: Geert Uytterhoeven

Re: [PATCH v2 3/3] drm: rcar-du: lvds: Refactor LVDS startup

2018-02-14 Thread Sergei Shtylyov
On 02/14/2018 09:13 PM, Laurent Pinchart wrote: > From: Sergei Shtylyov > > After the recent corrections to the R-Car gen2/3 LVDS startup code, already > similar enough at their ends rcar_lvds_enable_gen{2|3}() started asking for > a merge and it's becoming actually necessa

Re: [PATCH] drm: rcar-du: lvds: Fix LVDS clock frequency range

2018-02-14 Thread Sergei Shtylyov
rt them yet anyway... > SoCs. Update the driver accordingly. > > Signed-off-by: Laurent Pinchart [...] Acked-by: Sergei Shtylyov MBR, Sergei

Re: [PATCH 13/15] Documentation: devicetree: ravb: Add r8a77965

2018-02-14 Thread Sergei Shtylyov
Hello! You need to send this patch to netdev and Cc me as well... On 02/13/2018 12:46 PM, Jacopo Mondi wrote: > Add documentation for r8a77965 compatible string to renesas ravb device > tree bindings documentation. > > Signed-off-by: Jacopo Mondi [...] Acked-by: Sergei Sh

Re: [PATCH] ravb: add support for changing MTU

2018-02-14 Thread Sergei Shtylyov
Hello! On 02/13/2018 04:12 PM, Niklas Söderlund wrote: >> On 02/12/2018 11:00 PM, Niklas Söderlund wrote: >> >>> Allow for chancing the MTU within the limit of the maximum size of a >> >>Changing. :-) > > Yes :-) > >>> descriptor (2048 bytes). Add the callback to change MTU from user-space

[PATCH v2 2/2] arm64: dts: renesas: eagle: specify EtherAVB PHY IRQ

2018-02-13 Thread Sergei Shtylyov
Specify EtherAVB PHY IRQ in the Eagle board's device tree, now that we have the GPIO support (previously phylib had to resort to polling). Signed-off-by: Sergei Shtylyov --- arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |2 ++ 1 file changed, 2 insertions(+) Index: renesas/arch/

[PATCH v2 1/2] arm64: dts: renesas: r8a77970: add GPIO support

2018-02-13 Thread Sergei Shtylyov
Describe all 6 GPIO controllers in the R8A77970 device tree. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes in version 2: - made use of the SYSC power domain #define's; - mentioned the original

[PATCH v2 0/2] Add R8A77970/Eagle GPIO support

2018-02-13 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180213-v4.16-rc1' tag. We're adding the R8A77970 GPIO nodes and then describing the PHY IRQ for EtherAVB device declared earlier. [1/2] arm64: dts: renesas: r8a77970: add GPIO support [2/2] arm64: dts:

Re: [PATCH 0/3] Add R8A77970/Eagle PFC support

2018-02-13 Thread Sergei Shtylyov
On 02/13/2018 10:52 AM, Simon Horman wrote: > Here's the set of 3 patches against Simon Horman's 'renesas.git' repo's > 'renesas-devel-20171110-v4.14-rc8' tag. We're adding the R8A77970 PFC > node > and then describing the pins for SCIF0 and EtherAVB devices declared > earli

Re: [PATCH] ravb: add support for changing MTU

2018-02-13 Thread Sergei Shtylyov
Hello! On 02/12/2018 11:00 PM, Niklas Söderlund wrote: > Allow for chancing the MTU within the limit of the maximum size of a Changing. :-) > descriptor (2048 bytes). Add the callback to change MTU from user-space > and take the configurable MTU into account when configuring the > hardware.

Re: [PATCH 0/3] Add R8A77970/Eagle PFC support

2018-02-12 Thread Sergei Shtylyov
On 01/19/2018 01:48 PM, Kieran Bingham wrote: >>> Here's the set of 3 patches against Simon Horman's 'renesas.git' repo's >>> 'renesas-devel-20171110-v4.14-rc8' tag. We're adding the R8A77970 PFC node >>> and then describing the pins for SCIF0 and EtherAVB devices declared >>> earlier. >>> These

Re: [PATCH v2 4/5] arm64: dts: renesas: r8a77970: add the LVDS instance

2018-02-08 Thread Sergei Shtylyov
Hello! On 02/08/2018 06:47 PM, Niklas Söderlund wrote: > Add the LVDS device to r8a77970.dtsi in a disabled state. Also connect > the it to the LVDS output of the DU. While at it align the endpoint name > of the du to du_out_lvds0 which is used in other Renesas DTS files to > describe this link.

Re: [PATCH 07/11] arm64: dts: renesas: r8a77980: add [H]SCIF support

2018-02-06 Thread Sergei Shtylyov
On 02/06/2018 02:58 PM, Geert Uytterhoeven wrote: >> Describe [H]SCIF ports in the R8A77980 device tree. >> >> Based on the original (and large) patch by Vladimir Barinov. >> >> Signed-off-by: Vladimir Barinov >> Signed-off-by: Sergei Shtylyov > > Tha

Re: [PATCH 01/11] soc: renesas: identify R-Car V3H

2018-02-06 Thread Sergei Shtylyov
On 02/06/2018 03:44 PM, Simon Horman wrote: >>> Add support for identifying the R-Car V3H (R8A77980) SoC. >>> >>> Signed-off-by: Sergei Shtylyov >> >> Reviewed-by: Geert Uytterhoeven > > Thanks, applied. Not seeing that when fetching from your repo. Haven't pushed? MBR, Sergei

Re: [PATCH 08/11] arm64: dts: renesas: r8a77980: add EtherAVB support

2018-02-06 Thread Sergei Shtylyov
On 02/06/2018 03:04 PM, Geert Uytterhoeven wrote: >> Define the generic R8A77980 part of the EtherAVB device node. >> >> Based on the original (and large) patch by Vladimir Barinov. >> >> Signed-off-by: Vladimir Barinov >> Signed-off-by: Sergei

Re: [PATCH 1/3] dt-bindings: net: renesas-ravb: Make stream buffer optional

2018-02-06 Thread Sergei Shtylyov
ot;ravb: document R8A77970 bindings") > Fixes: f231c4178a655b09 ("dt-bindings: net: renesas-ravb: Add support for > R8A77995 RAVB") > Signed-off-by: Geert Uytterhoeven Acked-by: Sergei Shtylyov > --- > Documentation/devicetree/bindings/net/renesas,ravb.txt | 5 - >

Re: [PATCH 05/11] arm64: dts: renesas: initial R8A77980 SoC device tree

2018-02-05 Thread Sergei Shtylyov
On 2/5/2018 4:32 PM, Geert Uytterhoeven wrote: The initial R8A77980 SoC device tree including Cortex-A53 CPU, GIC, timer, CPG, RST, and SYSC. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Thanks for your patch

Re: [PATCH/RFT v3] sata_rcar: Reset SATA PHY when Salvator-X board resumes

2018-02-05 Thread Sergei Shtylyov
Hello! On 2/4/2018 10:18 PM, Yoshihiro Kaneko wrote: From: Khiem Nguyen Because power of Salvator-X board is cut off in suspend, it needs to reset SATA PHY state in resume. Otherwise, SATA partition could not be accessed anymore. Signed-off-by: Khiem Nguyen Signed-off-by: Hien Dang [reinit

[PATCH 11/11] arm64: dts: renesas: condor: add EtherAVB support

2018-02-02 Thread Sergei Shtylyov
Define the Condor board dependent part of the EtherAVB 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-condor.dts | 11 +++ 1 file changed, 11

[PATCH 10/11] arm64: dts: renesas: initial Condor board device tree

2018-02-02 Thread Sergei Shtylyov
Add the initial device tree for the R8A77980 SoC based Condor board. The board has 1 debug serial port (SCIF0); include support for it, so that the serial console can work. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei

[PATCH 09/11] DT: arm: shmobile: document Condor board bindings

2018-02-02 Thread Sergei Shtylyov
Document the Condor device tree bindings, listing it as a supported board. This allows to use checkpatch.pl to validate .dts files referring to the Condor board. Signed-off-by: Sergei Shtylyov --- Documentation/devicetree/bindings/arm/shmobile.txt |2 ++ 1 file changed, 2 insertions

[PATCH 08/11] arm64: dts: renesas: r8a77980: add EtherAVB support

2018-02-02 Thread Sergei Shtylyov
Define the generic R8A77980 part of the EtherAVB 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 | 44 ++ 1 file changed, 44

[PATCH 07/11] arm64: dts: renesas: r8a77980: add [H]SCIF support

2018-02-02 Thread Sergei Shtylyov
Describe [H]SCIF ports in the R8A77980 device tree. 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 | 151 ++ 1 file changed, 151 insertions

[PATCH 06/11] arm64: dts: renesas: r8a77980: add SYS-DMAC support

2018-02-02 Thread Sergei Shtylyov
Describe SYS-DMAC1/2 in the R8A77980 device tree. 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 | 68 ++ 1 file changed, 68 insertions

[PATCH 05/11] arm64: dts: renesas: initial R8A77980 SoC device tree

2018-02-02 Thread Sergei Shtylyov
The initial R8A77980 SoC device tree including Cortex-A53 CPU, GIC, timer, CPG, RST, and SYSC. 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 | 122

[PATCH 03/11] dt-bindings: power: add R8A77980 SYSC power domain definitions

2018-02-02 Thread Sergei Shtylyov
Add macros usable by the device tree sources to reference R8A77980 SYSC power domains by index. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- include/dt-bindings/power/r8a77980-sysc.h | 43

<    2   3   4   5   6   7   8   9   10   11   >