Re: [PATCH] clk: fix false-positive Wmaybe-uninitialized warning

2018-03-16 Thread Stephen Boyd
Quoting Arnd Bergmann (2018-02-16 07:27:47) > When we build this driver with on x86-32, gcc produces a false-positive > warning: > > drivers/clk/renesas/clk-sh73a0.c: In function 'sh73a0_cpg_clocks_init': > drivers/clk/renesas/clk-sh73a0.c:155:10: error: 'parent_name' may be used > uninitialized

[PATCH v6 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

2018-03-16 Thread Jacopo Mondi
The R-Car V3M Eagle board includes a transparent THC63LVD1024 LVDS decoder, connected to the on-chip LVDS encoder output on one side and to HDMI encoder ADV7511w on the other one. As the decoder does not need any configuration it has been so-far omitted from DTS. Now that a driver is available, de

[PATCH 05/47] ARM: dts: iwg20m: Enable cmt0

2018-03-16 Thread Simon Horman
From: Fabrizio Castro This patch enables cmt0 support from within the iwg20m SoM dtsi. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743-

[PATCH 12/47] ARM: dts: r8a7791: consistently use single space after =

2018-03-16 Thread Simon Horman
Consistently use a single space after a =. This patch removes instances where a tab or multiple spaces are used instead. It also avoids running over 80 columns in width in one of the lines where whitespace is updated. This patch should not introduce any functional change. Signed-off-by: Simon H

[PATCH 15/47] ARM: dts: r8a7792: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterho

[PATCH 04/47] ARM: dts: lager: Add CEC clock for HDMI transmitter

2018-03-16 Thread Simon Horman
From: Niklas Söderlund The adv7511 on the Lager board has a 12 MHz fixed clock for the CEC block. Specify this in the dts to enable CEC support. Based on a similar patch for Koelsch by Hans Verkuil. Signed-off-by: Niklas Söderlund Tested-by: Laurent Pinchart Signed-off-by: Simon Horman ---

[PATCH 01/47] ARM: dts: r8a7790: Reduce size of thermal registers

2018-03-16 Thread Simon Horman
Reduce size of thermal registers in DT for r8a7790 (R-Car H2) SoC. According to the "User's Manual: Hardware" v2.00 the registers at base 0xe61f extend to an offset of 0x10, rather than 0x14 which is the case on the r8a73a4 (R-Mobile APE6). This should not have any runtime affect as mapping g

[PATCH 06/47] ARM: dts: iwg22m: Enable cmt0

2018-03-16 Thread Simon Horman
From: Fabrizio Castro This patch enables cmt0 support from within the iwg22m SoM dtsi. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745-

[PATCH 21/47] ARM: dts: r8a7794: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 35/47] ARM: dts: koelsch: use demuxer for I2C2

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C2 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, fixed aliases, switched to named GPIOs, sorted by SCL pins] Signed-off-by: Wolfram Sang --- arch/arm/bo

[PATCH 33/47] ARM: dts: lager: use demuxer for IIC2/I2C2

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C slaves. Based on work by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, removed typo in comment, fixed aliases, switched to named GPIOS, sort SCL pins first] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7790-lage

[PATCH 40/47] ARM: dts: gose: use demuxer for I2C2

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C2 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, corrected board name in subject, fixed aliases, switched to named GPIOs] Signed-off-by: Wolfram Sang ---

[PATCH 39/47] ARM: dts: silk: use demuxer for I2C1

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C1 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, fixed aliases, switched to named GPIOs] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7794-silk.

[PATCH 36/47] ARM: dts: koelsch: use demuxer for I2C4

2018-03-16 Thread Simon Horman
From: Wolfram Sang Make it possible to fallback to GPIO for I2C4 on the EXIO-E connector. This is based on reference work for the I2C0 core of the lager/r8a7790 by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, fixed aliases, switched to named GPIOS, fixed pinmux for I2C4] Signed-off

[PATCH 28/47] ARM: dts: r8a7745: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together and sorted alphabetically. Minor whitespace and line-wrapping changes are also made to match the formatting of R-Car Gen2 SoCs. This patch shou

[PATCH 26/47] ARM: dts: r8a7793: consistently use single space before =

2018-03-16 Thread Simon Horman
Consistently use a single space before a =. This patch fixes instances where a tab is used instead. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7793.dtsi | 10 +- 1 file changed, 5 insertio

[PATCH 17/47] ARM: dts: r8a7793: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 31/47] ARM: dts: r8a7743: Add VSP support

2018-03-16 Thread Simon Horman
From: Biju Das Add VSP support to SoC DT. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7743.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a

[PATCH 45/47] ARM: dts: marzen: Add SDHI0 VCCQ Regulator

2018-03-16 Thread Simon Horman
From: Magnus Damm Add support for the on-board voltage regulator hooked up to GPIO3_20 on r8a7779 Marzen. The board schematics describes the regulator as U4 TPS2110A. Input wise, U4 has D0 fixed to ground, D1 tied to GPIO3_20 while IN1 is fixed to 3.3V and IN2 is fixed to 1.8V. OUT goes to the pu

[PATCH 29/47] ARM: dts: r8a7743: Add IPMMU DT nodes

2018-03-16 Thread Simon Horman
From: Biju Das Add the six IPMMU instances found in the r8a7743 to DT with a disabled status. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7743.dtsi | 58 ++ 1 file changed, 58 insertions(+)

[PATCH 46/47] ARM: dts: silk: Add r1ex24002 EEPROM to DT

2018-03-16 Thread Simon Horman
From: Magnus Damm Extend the Silk board support to include U14 which is an I2C based EEPROM hooked up to the I2C1 bus. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-silk.dts | 6 ++ 1 file changed, 6 insertions(+) di

[PATCH 18/47] ARM: dts: r8a7793: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterho

[PATCH 22/47] ARM: dts: r8a7794: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterho

[PATCH 27/47] ARM: dts: r8a7743: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together and sorted alphabetically. Minor whitespace and line-wrapping changes are also made to match the formatting of R-Car Gen2 SoCs. This patch shou

[PATCH 47/47] ARM: dts: silk: Add GPIO keys to DT

2018-03-16 Thread Simon Horman
From: Magnus Damm Extend the Silk board support to include SW3, SW4, SW6 and SW12. They are all connected via GPIO lines and handled by the gpio-keys driver. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-silk.dts | 55 +++

[PATCH 24/47] ARM: dts: r8a7790: consistently use single space before =

2018-03-16 Thread Simon Horman
Consistently use a single space before a =. This patch fixes instances where a tab is used instead. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7790.dtsi | 10 +- 1 file changed, 5 insertio

[PATCH 44/47] ARM: dts: stout: Initial r8a7790 Stout board support

2018-03-16 Thread Simon Horman
From: Marek Vasut Stout base board support making use of 1 GiB of memory, the Renesas H2 r8a7790 SoC with the SCIFA0 serial port and CA15 with ARM architected timer. Furthermore, this device tree contains entries for: - 4x LEDs - SDHI SD/MMC controller - Display unit with HDMI output - S

[PATCH 43/47] ARM: dts: lager: Move cec_clock to root node

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven cec-clock is a fixed clock generator that is not controlled by i2c-12 and thus should not be a child of the i2c-12 bus node. Rather, it should be a child of the root node of the DT. Fixes: c5aa87977626e778 ("ARM: dts: lager: Add CEC clock for HDMI transmitter") Signed-of

[PATCH 41/47] ARM: dts: gose: use demuxer for I2C4

2018-03-16 Thread Simon Horman
From: Wolfram Sang Make it possible to fallback to GPIO for I2C4 on the EXIO-E connector. This is based on reference work for the I2C0 core of the lager/r8a7790 by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, corrected board name in subject, fixed aliases, switched to named GPIOs,

[PATCH 42/47] ARM: dts: kzm9d: Fix "debounce-interval" property misspelling

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven "debounce_interval" was never supported. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/emev2-kzm9d.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/

[PATCH 09/47] ARM: dts: r8a7790: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 38/47] ARM: dts: alt: use demuxer for I2C1

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C1 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, fixed aliases, switched to named GPIOs] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7794-alt.d

[PATCH 37/47] ARM: dts: porter: use demuxer for I2C2

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C2 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, fixed aliases, switched to named GPIOs] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7791-porte

[PATCH 30/47] ARM: dts: r8a7745: Add IPMMU DT nodes

2018-03-16 Thread Simon Horman
From: Biju Das Add the six IPMMU instances found in the r8a7745 to DT with a disabled status. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745.dtsi | 58 ++ 1 file changed, 58 insertions(+)

[PATCH 23/47] ARM: dts: r8a7794: sort subnodes of root node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. Also re-align comment of audio_clka to match other R-Car SoCs. This patch should not introduce any functional change. Signed-off-by: Simon Ho

[PATCH 34/47] ARM: dts: lager: use demuxer for IIC3/I2C3

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for da9063 PMIC and da9210 regulator related I2C slaves. Based on similar work for HDMI by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, corrected chip name in commit msg, updated aliases] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r

[PATCH 32/47] ARM: dts: r8a7745: Add VSP support

2018-03-16 Thread Simon Horman
From: Biju Das Add VSP support to SoC DT. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi

[PATCH 13/47] ARM: dts: r8a7791: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 25/47] ARM: dts: r8a7791: consistently use single space before =

2018-03-16 Thread Simon Horman
Consistently use a single space before a =. This patch fixes instances where a tab is used instead. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7791.dtsi | 10 +- 1 file changed, 5 insertio

[PATCH 10/47] ARM: dts: r8a7790: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the addresss on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterh

[PATCH 16/47] ARM: dts: r8a7793: consistently use single space after =

2018-03-16 Thread Simon Horman
Consistently use a single space after a =. This patch removes instances where a tab is used instead. It also avoids running over 80 columns in width in one of the lines where whitespace is updated. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by:

[PATCH 03/47] ARM: dts: r8a7793: Reduce size of thermal registers

2018-03-16 Thread Simon Horman
Reduce size of thermal registers in DT for r8a7793 (R-Car M3-N) SoC. According to the "User's Manual: Hardware" v2.00 the registers at base 0xe61f extend to an offset of 0x10, rather than 0x14 which is the case on the r8a73a4 (R-Mobile APE6). This should not have any runtime affect as mapping

[PATCH 07/47] ARM: dts: porter: Fix HDMI output routing

2018-03-16 Thread Simon Horman
From: Laurent Pinchart The HDMI encoder is connected to the RGB output of the DU, which is port@0, not port@1. Fix the incorrect DT description. Fixes: c5af8a4248d3 ("ARM: dts: porter: add DU DT support") Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a779

[PATCH 08/47] ARM: dts: r8a7790: consistently use single space after =

2018-03-16 Thread Simon Horman
Consistently use a single space after a =. This patch removes instances where a tab or multiple spaces are used instead. It also avoids running over 80 columns in width in one of the lines where whitespace is updated. This patch should not introduce any functional change. Signed-off-by: Simon H

[PATCH 14/47] ARM: dts: r8a7791: sort subnodes of root node

2018-03-16 Thread Simon Horman
Sort subnodes of root node to aid maintenance. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7791.dtsi | 134 - 1 file changed, 6

[PATCH 20/47] ARM: dts: r8a7794: consistently use single space after =

2018-03-16 Thread Simon Horman
Consistently use a single space after a =. This patch removes instances where a tab is used instead. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7794.dtsi | 38 ++

[PATCH 11/47] ARM: dts: r8a7790: sort subnodes of root node

2018-03-16 Thread Simon Horman
Sort subnodes of root node to aid maintenance. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7790.dtsi | 104 - 1 file changed, 5

[PATCH 19/47] ARM: dts: r8a7793: sort subnodes of root node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterho

[GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.17

2018-03-16 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC DT updates for v4.17. Changes since v1 * Dropped r7s72100 to avoid conflict, I will see about resubmitting those still relevant for v4.18 The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Lin

[PATCH 02/47] ARM: dts: r8a7791: Reduce size of thermal registers

2018-03-16 Thread Simon Horman
Reduce size of thermal registers in DT for r8a7791 (R-Car M3-W) SoC. According to the "User's Manual: Hardware" v2.00 the registers at base 0xe61f extend to an offset of 0x10, rather than 0x14 which is the case on the r8a73a4 (R-Mobile APE6). This should not have any runtime affect as mapping

Re: [GIT PULL] Renesas ARM Based SoC DT Updates for v4.17

2018-03-16 Thread Simon Horman
On Fri, Mar 16, 2018 at 03:53:09PM +0100, Simon Horman wrote: > Hi Olof, Hi Kevin, Hi Arnd, > > Please consider these Renesas ARM based SoC DT updates for v4.17. Unfortunately there seems to be a small problem with this pull request. "ARM: dts: r7s72100: add USB device to device tree" is already

Re: [PATCH 0/8] clk: renesas: Always use readl()/writel()

2018-03-16 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2018-03-16 06:40:14) > Hi Mike, Stephen, > > On arm32/arm64, there is no reason to use the (soon deprecated) > clk_readl()/clk_writel(), and the generic readl()/writel() should be > used in instead. > > Commit 30ad3cf00e94f4a7 ("clk: renesas: rcar-gen3-cpg: Alw

Re: [PATCH 42/52] ARM: dts: r7s72100: add USB device to device tree

2018-03-16 Thread Simon Horman
On Fri, Mar 16, 2018 at 03:02:13PM +, Chris Brandt wrote: > Hi Simon, > > On Friday, March 16, 2018 1, Simon Horman wrote: > > From: Chris Brandt > > > > Add USB device support. > > > > Signed-off-by: Chris Brandt > > Reviewed-by: Geert Uytterhoeven > > Signed-off-by: Simon Horman > > T

[PATCH v6 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-16 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund --- drivers/gpu/drm/bridge/Kconfig| 6 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/

[PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-16 Thread Jacopo Mondi
Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund --- .../bindings/display/bridge/thine,thc63lvd1024.txt | 66 ++ 1 file changed, 66 insertions(+) create mode 100644 Document

[PATCH v6 0/3] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-03-16 Thread Jacopo Mondi
Hi, (hopefully) last iteration, with Niklas' Reviewed-by tags. Simply drop an un-necessary #ifdef guard for CONFIG_OF in driver's code as suggested by Niklas. Time to talk how this series will go in? I assume bindings and driver through DRM tree, while Simon is to pick up the Eagle DTS update

RE: [PATCH 42/52] ARM: dts: r7s72100: add USB device to device tree

2018-03-16 Thread Chris Brandt
Hi Simon, On Friday, March 16, 2018 1, Simon Horman wrote: > From: Chris Brandt > > Add USB device support. > > Signed-off-by: Chris Brandt > Reviewed-by: Geert Uytterhoeven > Signed-off-by: Simon Horman This patch is already in mainline: https://git.kernel.org/pub/scm/linux/kernel/git/tor

[PATCH 17/52] ARM: dts: r8a7793: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 2/8] dt-bindings: arm: document Condor board bindings

2018-03-16 Thread Simon Horman
From: 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 Reviewed-by: Rob Herring Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon

[GIT PULL] Renesas ARM Based SoC DT Updates for v4.17

2018-03-16 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC DT updates for v4.17. The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linu

[PATCH 3/3] arm64: defconfig: enable R8A77965 SoC

2018-03-16 Thread Simon Horman
Enable the Renesas R-Car M3-N (R8A77965) SoC in the ARM64 defconfig. Signed-off-by: Simon Horman Acked-by: Geert Uytterhoeven --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ceafd26f0fab..c8b5

[PATCH 66/69] arm64: dts: renesas: r8a77970: sort subnodes of root node alphabetically

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven Sort root sub-nodes alphabetically for allow for easier maintenance of this file. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

[PATCH 69/69] arm64: dts: renesas: v3msk: add SCIF0 pins

2018-03-16 Thread Simon Horman
From: Sergei Shtylyov Add the (previously omitted) SCIF0 pin data to the V3M Starter Kit board's device tree. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts | 10 ++ 1 file changed, 10 inse

[PATCH 2/3] arm64: defconfig: Enable PWM and USB for R-Car

2018-03-16 Thread Simon Horman
From: Yoshihiro Shimoda Enables PWM controller, USB-DMAC that is used by HS-USB, USB 3.0 peripheral controller and USB 3.0 PHY for R-Car SoCs. Signed-off-by: Yoshihiro Shimoda Acked-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/configs/defconfig | 4 1 file changed,

[PATCH 02/52] ARM: dts: r8a7791: Reduce size of thermal registers

2018-03-16 Thread Simon Horman
Reduce size of thermal registers in DT for r8a7791 (R-Car M3-W) SoC. According to the "User's Manual: Hardware" v2.00 the registers at base 0xe61f extend to an offset of 0x10, rather than 0x14 which is the case on the r8a73a4 (R-Mobile APE6). This should not have any runtime affect as mapping

[GIT PULL] Renesas ARM Based SoC Defconfig Updates for v4.17

2018-03-16 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC defconfig updates for v4.17. The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the git repository at: https://git.kernel.org/pub/s

[PATCH 03/52] ARM: dts: r8a7793: Reduce size of thermal registers

2018-03-16 Thread Simon Horman
Reduce size of thermal registers in DT for r8a7793 (R-Car M3-N) SoC. According to the "User's Manual: Hardware" v2.00 the registers at base 0xe61f extend to an offset of 0x10, rather than 0x14 which is the case on the r8a73a4 (R-Mobile APE6). This should not have any runtime affect as mapping

[PATCH 48/52] ARM: dts: lager: Move cec_clock to root node

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven cec-clock is a fixed clock generator that is not controlled by i2c-12 and thus should not be a child of the i2c-12 bus node. Rather, it should be a child of the root node of the DT. Fixes: c5aa87977626e778 ("ARM: dts: lager: Add CEC clock for HDMI transmitter") Signed-of

[PATCH 44/52] ARM: dts: r7s72100: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together and sorted alphabetically. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven

[PATCH 13/14] ARM: shmobile: Add watchdog support

2018-03-16 Thread Simon Horman
From: Fabrizio Castro On R-Car Gen2 and RZ/G1 platforms, we use the SBAR registers to make non boot CPUs run a routine designed to bring up SMP and deal with hot plug. The value contained in the SBAR registers is not initialized by a WDT triggered reset, which means that after a WDT triggered res

[PATCH 25/52] ARM: dts: r8a7791: consistently use single space before =

2018-03-16 Thread Simon Horman
Consistently use a single space before a =. This patch fixes instances where a tab is used instead. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7791.dtsi | 10 +- 1 file changed, 5 insertio

[PATCH 09/14] soc: renesas: rcar-sysc: Add R-Car M3-N support

2018-03-16 Thread Simon Horman
From: Jacopo Mondi Add support for R-Car M3-N (R8A77965) power areas. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- .../bindings/power/renesas,rcar-sysc.txt | 1 + drivers/soc/renesas/Kconfig| 5 +++ drivers/so

[PATCH 14/14] ARM: shmobile: rcar-gen2: Add watchdog support

2018-03-16 Thread Simon Horman
From: Fabrizio Castro This patch adds watchdog support by installing shmobile_boot_vector_gen2 to ICRAM1 when enough memory is available, in which case we also keep a copy of MPIDR to complete the reset vector logic. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Signed-

[PATCH 10/14] ARM: shmobile: stout: enable R-Car Gen2 regulator quirk

2018-03-16 Thread Simon Horman
From: Marek Vasut Regulator setup is suboptimal on H2 Stout too. The Stout newly has two DA9210 regulators, so the quirk is extended to handle another DA9210 at i2c address 0x70. Signed-off-by: Marek Vasut Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 23

[PATCH 02/14] soc: renesas: identify R-Car V3H

2018-03-16 Thread Simon Horman
From: Sergei Shtylyov Add support for identifying the R-Car V3H (R8A77980) SoC. Signed-off-by: Sergei Shtylyov 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/soc/renesas/ren

[PATCH 49/52] ARM: dts: stout: Initial r8a7790 Stout board support

2018-03-16 Thread Simon Horman
From: Marek Vasut Stout base board support making use of 1 GiB of memory, the Renesas H2 r8a7790 SoC with the SCIFA0 serial port and CA15 with ARM architected timer. Furthermore, this device tree contains entries for: - 4x LEDs - SDHI SD/MMC controller - Display unit with HDMI output - S

[PATCH 07/14] soc: renesas: rcar-sysc: add R8A77980 support

2018-03-16 Thread Simon Horman
From: 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 Signed-off-by: Simon Horman --- .

[PATCH 12/14] ARM: shmobile: rcar-gen2: Fix error check in regulator quirk

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven On systems with two regulators, a bogus error message is printed on success: i2c 6-0058: i2c error 2 While adding support for Stout, the number of messages to send was made variable, but the corresponding return value check of i2c_transfer() wasn't updated. Fixes:

[PATCH 06/14] dt-bindings: power: add R8A77980 SYSC power domain definitions

2018-03-16 Thread Simon Horman
From: 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 Reviewed-by: Geert Uytterhoeven Signed-off-by: Sim

[PATCH 11/14] soc: renesas: rcar-rst: Add support for R-Car M3-N

2018-03-16 Thread Simon Horman
From: Jacopo Mondi Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + drivers/soc/renesas/Kconfig | 4 ++-- drivers/soc/renesas/rcar-rst.c

[PATCH 01/14] soc: renesas: rcar-sysc: Mark rcar_sysc_matches[] __initconst

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven rcar_sysc_matches[] is used only by rcar_sysc_pd_init(), which is __init. Hence mark rcar_sysc_matches[] __initconst. This frees another 1764 bytes (arm32/shmobile_defconfig) or 1000 bytes (arm64/renesas_defconfig) of memory after kernel init. Signed-off-by: Geert Uytt

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

2018-03-16 Thread Simon Horman
From: Sergei Shtylyov 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... Fixes: bab9b2a74fe9 ("soc: renesas: rcar-sysc: ad

[PATCH 04/14] soc: renesas: rcar-rst: Enable watchdog as reset trigger for Gen2

2018-03-16 Thread Simon Horman
From: Fabrizio Castro This patch allows for platform specific quirks as some of the SoC need further customization for the watchdog to work properly, like for R-Car Gen2 and for RZ/G. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Signed-off-by: Simon Horman --- driver

[PATCH 51/52] ARM: dts: silk: Add r1ex24002 EEPROM to DT

2018-03-16 Thread Simon Horman
From: Magnus Damm Extend the Silk board support to include U14 which is an I2C based EEPROM hooked up to the I2C1 bus. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-silk.dts | 6 ++ 1 file changed, 6 insertions(+) di

[PATCH 47/52] ARM: dts: kzm9d: Fix "debounce-interval" property misspelling

2018-03-16 Thread Simon Horman
From: Geert Uytterhoeven "debounce_interval" was never supported. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/emev2-kzm9d.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/

[PATCH 03/14] soc: renesas: rcar-rst: add R8A77980 support

2018-03-16 Thread Simon Horman
From: Sergei Shtylyov Add support for R-Car V3H (R8A77980) to the R-Car RST driver -- this driver is needed for the clock driver to work. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1

[PATCH 43/52] ARM: dts: r7s72100: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3 and Gen2 SoCs in mainline. It is intended to migrate other Renesas ARM-based SoCs to this scheme. The ordering is derived from simply moving each node with an add

[PATCH 38/52] ARM: dts: alt: use demuxer for I2C1

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C1 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, fixed aliases, switched to named GPIOs] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7794-alt.d

[GIT PULL] Renesas ARM Based SoC Updates for v4.17

2018-03-16 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC updates for v4.17. The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linux/k

[PATCH 09/52] ARM: dts: r8a7790: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 08/14] soc: renesas: Identify R-Car M3-N

2018-03-16 Thread Simon Horman
From: Jacopo Mondi Add support for indentifying R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi 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/soc/renesas/renesas-soc

[PATCH 40/52] ARM: dts: gose: use demuxer for I2C2

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for HDMI related I2C2 and provide fallback to GPIO. Based on work for the r8a7790/lager by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, corrected board name in subject, fixed aliases, switched to named GPIOs] Signed-off-by: Wolfram Sang ---

[PATCH 50/52] ARM: dts: marzen: Add SDHI0 VCCQ Regulator

2018-03-16 Thread Simon Horman
From: Magnus Damm Add support for the on-board voltage regulator hooked up to GPIO3_20 on r8a7779 Marzen. The board schematics describes the regulator as U4 TPS2110A. Input wise, U4 has D0 fixed to ground, D1 tied to GPIO3_20 while IN1 is fixed to 3.3V and IN2 is fixed to 1.8V. OUT goes to the pu

[PATCH 32/52] ARM: dts: r8a7745: Add VSP support

2018-03-16 Thread Simon Horman
From: Biju Das Add VSP support to SoC DT. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi

[PATCH 10/52] ARM: dts: r8a7790: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the addresss on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterh

[PATCH 24/52] ARM: dts: r8a7790: consistently use single space before =

2018-03-16 Thread Simon Horman
Consistently use a single space before a =. This patch fixes instances where a tab is used instead. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7790.dtsi | 10 +- 1 file changed, 5 insertio

[PATCH 21/52] ARM: dts: r8a7794: add soc node

2018-03-16 Thread Simon Horman
Add soc node to represent the bus and move all nodes with a base address into this node. This is consistent with handling of R-Car Gen3, RZ/G1, and R-Car V2H (R8A77920) SoCs upstream. It is intended to migrate other R-Car Gen2 SoCs to this scheme. The ordering is derived from simply moving each no

[PATCH 34/52] ARM: dts: lager: use demuxer for IIC3/I2C3

2018-03-16 Thread Simon Horman
From: Wolfram Sang Create a separate bus for da9063 PMIC and da9210 regulator related I2C slaves. Based on similar work for HDMI by Wolfram Sang. Signed-off-by: Simon Horman [wsa: rebased, corrected chip name in commit msg, updated aliases] Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r

[PATCH 30/52] ARM: dts: r8a7745: Add IPMMU DT nodes

2018-03-16 Thread Simon Horman
From: Biju Das Add the six IPMMU instances found in the r8a7745 to DT with a disabled status. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745.dtsi | 58 ++ 1 file changed, 58 insertions(+)

[PATCH 22/52] ARM: dts: r8a7794: sort subnodes of soc node

2018-03-16 Thread Simon Horman
Sort the subnodes of the soc node to improve maintainability. The sort key is the address on the bus with instances of the same IP block grouped together. This patch should not introduce any functional change. Signed-off-by: Simon Horman Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterho

  1   2   3   >