Messages in this thread | | | From | Alexander Shiyan <> | Subject | Re: [PATCH] added device tree support to gpio -generic driver | Date | Fri, 05 Jun 2015 10:17:27 +0300 |
| |
Пятница, 5 июня 2015, 8:51 +02:00 от Romain Baeriswyl <romain.baeriswyl@alitech.com>: > --- > .../devicetree/bindings/gpio/gpio-generic.txt | 19 +++++ > drivers/gpio/gpio-generic.c | 81 ++++++++++++++----- > 2 files changed, 78 insertions(+), 22 deletions(-) > create mode 100644 Documentation/devicetree/bindings/gpio/gpio-generic.txt
Hello.
... > diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c ... > + if (of_property_read_u32(dev->of_node, "base", &pdata->base)) > + pdata->base = -1;
The "base" property is excessive for DT.
---
| |