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

2018-10-18 Thread Chris Brandt
Hi Jacopo, On Thursday, October 18, 2018, jacopo mondi wrote: > Here you define bindings that allows you to have only one > gpio-controller node for the whole system. Correct. Since DT describes HW, we do only have one gpio-controller for the entire chip. It is one piece of hardware, not many

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

2018-10-18 Thread Chris Brandt
Hi Jacopo, On Thursday, October 18, 2018, jacopo mondi wrote: > > + Example: Assigning a GPIO: > > + > > + leds { > > + status = "okay"; > > + compatible = "gpio-leds"; > > + > > + led0 { > > + /* P6_0 */ > > + gpios = <

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

2018-10-18 Thread jacopo mondi
Hi Chris, On Tue, Oct 16, 2018 at 05:47:00PM -0500, Rob Herring wrote: > On Fri, Oct 05, 2018 at 10:09:51AM -0500, Chris Brandt wrote: > > Add device tree binding documentation and header file for Renesas R7S9210 > > (RZ/A2) SoCs. > > > > Signed-off-by: Chris Brandt > > --- > >

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

2018-10-18 Thread jacopo mondi
Hi Chris, On Fri, Oct 05, 2018 at 10:09:51AM -0500, Chris Brandt wrote: > Add device tree binding documentation and header file for Renesas R7S9210 > (RZ/A2) SoCs. > > Signed-off-by: Chris Brandt > --- > .../bindings/pinctrl/renesas,rza2-pinctrl.txt | 76 > ++ >

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

2018-10-18 Thread Rob Herring
On Tue, Oct 16, 2018 at 7:53 PM Chris Brandt wrote: > > On Tuesday, October 16, 2018, Rob Herring wrote: > > > +Optional properties: > > > + - gpio-controller > > > +Include this in order to enable GPIO functionality. When included, > > both > > > +gpio_cells and gpio_ranges are then

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

2018-10-16 Thread Chris Brandt
On Tuesday, October 16, 2018, Rob Herring wrote: > > +Optional properties: > > + - gpio-controller > > +Include this in order to enable GPIO functionality. When included, > both > > +gpio_cells and gpio_ranges are then required. > > + - #gpio-cells > > +Must be 2 > > + - gpio-ranges

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

2018-10-16 Thread Rob Herring
On Fri, Oct 05, 2018 at 10:09:51AM -0500, Chris Brandt wrote: > Add device tree binding documentation and header file for Renesas R7S9210 > (RZ/A2) SoCs. > > Signed-off-by: Chris Brandt > --- > .../bindings/pinctrl/renesas,rza2-pinctrl.txt | 76 > ++ >