Re: [PATCH] added device tree support to gpio-generic driver
From: Alexander Shiyan
Date: Fri Jun 05 2015 - 03:41:13 EST
ÐÑÑÐÐÑÐ, 5 ÐÑÐÑ 2015, 8:51 +02:00 ÐÑ Romain Baeriswyl <romain.baeriswyl@xxxxxxxxxxx>:
> ---
> .../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.
---
N§²æ¸yú²X¬¶ÇvØ)Þ{.nÇ·¥{±êX§¶¡Ü}©²ÆzÚj:+v¨¾«êZ+Êzf£¢·h§~Ûÿû®w¥¢¸?¨è&¢)ßfùy§m
á«a¶Úÿ0¶ìå