Re: [PATCH v3 09/20] ARM: shmobile: r8a7790: Add GPIO controller devices to device tree
From: Guennadi Liakhovetski <hidden>
Date: 2013-05-18 07:50:20
Also in:
linux-arm-kernel, linux-sh
On Sat, 18 May 2013, Laurent Pinchart wrote:
Hi Guennadi, On Saturday 18 May 2013 08:57:41 Guennadi Liakhovetski wrote:quoted
On Sat, 18 May 2013, Laurent Pinchart wrote:quoted
On Friday 17 May 2013 14:26:48 Guennadi Liakhovetski wrote:quoted
On Wed, 15 May 2013, Laurent Pinchart wrote:quoted
Add GPIO controller nodes to the r8a7790 core device tree. Signed-off-by: Laurent Pinchart [off-list ref] --- arch/arm/boot/dts/r8a7790.dtsi | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)Also here a couple of things are missing (presumably, for other SoCs you need the same):Thank you for testing the patch set. I'll integrate the modification in the next version for r8a7778, r8a7779 and r8a7790. As the gpio-ranges property specifies the number of GPIOs handled by the controller, what's your opinion on dropping the #gpio-lines property from the bindings ?Well, gpio-ranges can contain several ranges, so, in a generic case you would have to sum them up to get a total count. But if you're ok with that or if your platforms only have 1 gpio gange per controller, of course, that property seems redundant.The gpio-rcar driver exposes a single range on all the current platforms. I don't really foresee any change there in the future, but I might be overlooking something. Magnus, any opinion ?quoted
OTOH it is already used in r8a7779.dtsi, and thus already belongs to the ABI... Not sure whether removing it would be accepted.It's only used in my DT bindings proposal that haven't been merged yet, so that shouldn't be an issue :-)
Then yes, sure, you can add it any time in the future if needed, removing is more difficult ;-) Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/