Hello, Here's the second version of the gpio-rcar driver DT bindings. I've tested the patches on the Marzen board (r8a7779).
Once again I'd appreciate feedback on the DT bindings. I'm particularly wondering whether getting the number of lines through the gpio-ranges property instead of using a dedicated #gpio-lines property as in v1 is a good idea. Changes since v1: - Initialize the gpiochip dev field at probe time. - Add the gpio-ranges property. - Remove the #gpio-lines property. The number of lines is now passed through the gpio-ranges property. Laurent Pinchart (2): gpio-rcar: Make the platform data gpio_base field signed gpio-rcar: Add DT support .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 52 +++++++++++++++++ drivers/gpio/gpio-rcar.c | 66 ++++++++++++++++++---- include/linux/platform_data/gpio-rcar.h | 2 +- 3 files changed, 109 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt -- Regards, Laurent Pinchart _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss