Re: [PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-11 Thread Joel Stanley
On Mon, Dec 11, 2017 at 6:26 PM, Arnd Bergmann wrote: > On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: >> These are used to by the device tree to map pin numbers to constants >> required by the GPIO bindings. >> + >> +#define ASPEED_GPIO_PORT_A 0 >> +#define

Re: [PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-11 Thread Joel Stanley
On Mon, Dec 11, 2017 at 6:26 PM, Arnd Bergmann wrote: > On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: >> These are used to by the device tree to map pin numbers to constants >> required by the GPIO bindings. >> + >> +#define ASPEED_GPIO_PORT_A 0 >> +#define ASPEED_GPIO_PORT_B 1 >>

Re: [PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-10 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: > These are used to by the device tree to map pin numbers to constants > required by the GPIO bindings. > + > +#define ASPEED_GPIO_PORT_A 0 > +#define ASPEED_GPIO_PORT_B 1 > +#define ASPEED_GPIO_PORT_C 2 > +#define

Re: [PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-10 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 6:06 AM, Joel Stanley wrote: > These are used to by the device tree to map pin numbers to constants > required by the GPIO bindings. > + > +#define ASPEED_GPIO_PORT_A 0 > +#define ASPEED_GPIO_PORT_B 1 > +#define ASPEED_GPIO_PORT_C 2 > +#define ASPEED_GPIO_PORT_D 3 >

[PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-10 Thread Joel Stanley
These are used to by the device tree to map pin numbers to constants required by the GPIO bindings. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + include/dt-bindings/gpio/aspeed-gpio.h | 49

[PATCH 02/20] dt-bindings: gpio: Add ASPEED constants

2017-12-10 Thread Joel Stanley
These are used to by the device tree to map pin numbers to constants required by the GPIO bindings. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + include/dt-bindings/gpio/aspeed-gpio.h | 49