RE: [PATCH 2/3] phy: renesas: rcar-gen3-usb2: Add support for R7S9210

2018-11-14 Thread Yoshihiro Shimoda
Hi Chris-san, Thank you for the patch! > From: Chris Brandt, Sent: Thursday, November 8, 2018 2:36 AM > > The RZ/A2 has the same USB2 host controller as R-Car Gen3 with only some > minor differences. > > Signed-off-by: Chris Brandt > --- > drivers/phy/renesas/Kconfig | 2 +- >

Re: [PATCH 3/3] dt-bindings: rcar-gen3-phy-usb2: Add r7s9210 support

2018-11-14 Thread Geert Uytterhoeven
Hi Chris, On Wed, Nov 7, 2018 at 6:36 PM Chris Brandt wrote: > Document RZ/A2 (R7S9210) SoC bindings. > > Signed-off-by: Chris Brandt > --- > Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH v2 1/2] arm64: dts: renesas: Add CPU topology on R-Car Gen3 SoCs

2018-11-14 Thread Geert Uytterhoeven
Hi Inami-san, On Thu, Nov 8, 2018 at 8:25 AM Gaku Inami wrote: > This patch adds the "cpu-map" into r8a7795/r8a7796 composed of > multi-cluster. This definition is used to parse the cpu topology. > > Signed-off-by: Gaku Inami Thanks for your patch! Next time, please collect tags provided by

RE: [PATCH 3/3] dt-bindings: rcar-gen3-phy-usb2: Add r7s9210 support

2018-11-14 Thread Chris Brandt
Hi Geert, On Wednesday, November 14, 2018, Geert Uytterhoeven wrote: > > Required properties: > > -- compatible: "renesas,usb2-phy-r8a774a1" if the device is a part of an > R8A774A1 > > +- compatible: "renesas,usb2-phy-r7s9210" if the device is a part of an > R7S9210 > > + SoC. > > +

RE: [PATCH 3/3] dt-bindings: rcar-gen3-phy-usb2: Add r7s9210 support

2018-11-14 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, November 14, 2018 8:03 PM > > Hi Chris, > > On Wed, Nov 7, 2018 at 6:36 PM Chris Brandt wrote: > > @@ -16,8 +18,8 @@ Required properties: > > R8A77990 SoC. > > "renesas,usb2-phy-r8a77995" if the device is a

RE: [PATCH 2/3] phy: renesas: rcar-gen3-usb2: Add support for R7S9210

2018-11-14 Thread Chris Brandt
Hi Shimoda-san, > From: Yoshihiro Shimoda > Sent: Wednesday, November 14, 2018 5:50 AM > > config PHY_RCAR_GEN3_USB2 > > tristate "Renesas R-Car generation 3 USB 2.0 PHY driver" > > depends on ARCH_RENESAS > > - depends on EXTCON > > + depends on EXTCON || ARCH_R7S9210 > > Does this

RE: [PATCH/RFC] iommu/ipmmu-vmsa: R-Car M3-N/V3H/E3 AVB whitelist prototype

2018-11-14 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Monday, November 12, 2018 6:08 PM > > Hi Shimoda-san, > > On Mon, Nov 12, 2018 at 9:53 AM Yoshihiro Shimoda > wrote: > > > From: Geert Uytterhoeven, Sent: Monday, November 12, 2018 5:19 PM > > > On Mon, Nov 12, 2018 at 8:24 AM Yoshihiro Shimoda >

RE: [PATCH 2/3] phy: renesas: rcar-gen3-usb2: Add support for R7S9210

2018-11-14 Thread Yoshihiro Shimoda
Hi Chris-san, > From: Chris Brandt, Sent: Wednesday, November 14, 2018 8:18 PM > > Hi Shimoda-san, > > > From: Yoshihiro Shimoda > > Sent: Wednesday, November 14, 2018 5:50 AM > > > config PHY_RCAR_GEN3_USB2 > > > tristate "Renesas R-Car generation 3 USB 2.0 PHY driver" > > > depends on

Re: [PATCH v2] gpio: rcar: Request GPIO while enabling interrupt

2018-11-14 Thread Geert Uytterhoeven
Hi Fabrizio, On Tue, Nov 6, 2018 at 8:19 PM Fabrizio Castro wrote: > There are cases when the bootloader configures a pin to work > as a function rather than GPIO, and other cases when the pin > is configured as a function at POR. > This commit makes sure the pin is configured as a GPIO the >

Re: [PATCH v2 2/2] arm64: dts: renesas: Add CPU capacity-dmips-mhz

2018-11-14 Thread Geert Uytterhoeven
Hi Inami-san, On Thu, Nov 8, 2018 at 8:25 AM Gaku Inami wrote: > Set the capacity-dmips-mhz for R-Car Gen3 SoCs, that is based on > dhrystone. The average in 10 times of dhrystone result as follows: [...] > Signed-off-by: Gaku Inami > --- > v1 -> v2: > - Consolidate two patches for r8a7795

RE: [PATCH 3/3] dt-bindings: rcar-gen3-phy-usb2: Add r7s9210 support

2018-11-14 Thread Yoshihiro Shimoda
Hi Chris-san, Thank you for the patch! > From: Chris Brandt, Sent: Thursday, November 8, 2018 2:36 AM > > Document RZ/A2 (R7S9210) SoC bindings. > > Signed-off-by: Chris Brandt > --- > Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 10 ++ > 1 file changed, 6

RE: [PATCH v2 1/2] arm64: dts: renesas: Add CPU topology on R-Car Gen3 SoCs

2018-11-14 Thread Gaku Inami
Hi Geert-san, Thanks for your review. > -Original Message- > From: Geert Uytterhoeven > Sent: Wednesday, November 14, 2018 6:50 PM > To: Gaku Inami > Cc: Simon Horman ; Magnus Damm ; > Rob Herring ; Mark > Rutland ; Linux-Renesas > ; open list:OPEN FIRMWARE AND FLATTENED > DEVICE

RE: [PATCH v4 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-11-14 Thread Chris Brandt
Hi Jacopo, Thank you for your reviewagain ;) On Tuesday, November 13, 2018, jacopo mondi wrote: > I would prefer the reverse xmas order too, but I'm not saying out loud > as I understand is something hard to enforce, as it's a very minor > issue :) The next version will be very festive!

[PATCH v5 0/2] pinctrl: Add RZ/A2 pin and gpio driver

2018-11-14 Thread Chris Brandt
The pin controller in the RZ/A2 is nothing like the pin controller in the RZ/A1. That's a good thing! This pin controller is much more simple and easier to configure. So, this driver is faily simple (I hope). Chris Brandt (2): pinctrl: Add RZ/A2 pin and gpio controller dt-bindings: pinctrl:

[PATCH v5 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-11-14 Thread Chris Brandt
Adds support for the pin and gpio controller found in R7S9210 (RZ/A2) SoCs. Signed-off-by: Chris Brandt Reviewed-by: Jacopo Mondi --- v4: * Mention GPIO in Kconfig * Removed port enum and just define RZA2_NPORTS * Moved gpio_range from global to private data * Condensed and simplify

[PATCH v5 2/2] dt-bindings: pinctrl: Add RZ/A2 pinctrl and GPIO

2018-11-14 Thread Chris Brandt
Add device tree binding documentation and header file for Renesas R7S9210 (RZ/A2) SoCs. Signed-off-by: Chris Brandt Reviewed-by: Rob Herring Reviewed-by: Geert Uytterhoeven Reviewed-by: Jacopo Mondi --- v4: * Converted Px to PORTx because of conflict with "PM" * Rounded up reg range *

RE: [PATCH 2/3] phy: renesas: rcar-gen3-usb2: Add support for R7S9210

2018-11-14 Thread Chris Brandt
Hi Shimoda-san, > From: Yoshihiro Shimoda > Sent: Wednesday, November 14, 2018 7:24 AM > > > > config PHY_RCAR_GEN3_USB2 > > > > tristate "Renesas R-Car generation 3 USB 2.0 PHY driver" > > > > depends on ARCH_RENESAS > > > > - depends on EXTCON > > > > + depends on

Re: [PATCH v4 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-11-14 Thread Geert Uytterhoeven
Hi Chris, On Thu, Nov 15, 2018 at 12:41 AM Chris Brandt wrote: > > > + gpio_range.id = of_args.args[0]; > > > > Do you think of_args need to be validated? > > As I understand them, id and pin_base are fixed at 0, while the pin > > number depends on the soc version/revision. > > > > Now I

Re: [PATCH] arm64: defconfig: Enable CONFIG_PHY_RCAR_GEN3_PCIE

2018-11-14 Thread Marek Vasut
On 11/13/2018 04:22 PM, Geert Uytterhoeven wrote: > Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function > on the Renesas Condor board. > > Signed-off-by: Geert Uytterhoeven This helps Reviewed-by: Marek Vasut > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed,

RE: [PATCH v4 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-11-14 Thread Chris Brandt
Hi Geert, Just in case you were wondering... On Monday, November 12, 2018, Geert Uytterhoeven wrote: > > + "PJ_0", "PJ_1", "PJ_2", "PJ_3", "PJ_4", "PJ_5", "PJ_6", "PJ_7", > > + "PK_0", "PK_1", "PK_2", "PK_3", "PK_4", "PK_5", "PK_6", "PK_7", > > + "PL_0", "PL_1", "PL_2", "PL_3",