Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577696 > unrolled thread

Re: [PATCH v3 1/3] of: Support parsing phandle argument lists through a nexus node

Started byRussell King - ARM Linux <linux@armlinux.org.uk>
First post2017-02-09 16:40 +0100
Last post2017-02-09 16:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3 1/3] of: Support parsing phandle argument lists  through a nexus node Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-02-09 16:40 +0100

#1577696 — Re: [PATCH v3 1/3] of: Support parsing phandle argument lists through a nexus node

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2017-02-09 16:40 +0100
SubjectRe: [PATCH v3 1/3] of: Support parsing phandle argument lists through a nexus node
Message-ID<t8YZc-7Tl-17@gated-at.bofh.it>
On Mon, Jan 23, 2017 at 12:48:49PM -0800, Stephen Boyd wrote:
> 	connector: connector {
> 		#gpio-cells = <2>;
> 		gpio-map = <0 0 &soc_gpio1 1 0>,
> 			   <1 0 &soc_gpio2 4 0>,
> 			   <2 0 &soc_gpio1 3 0>,
> 			   <3 0 &soc_gpio2 2 0>;
> 		gpio-map-mask = <0xf 0x0>;
> 		gpio-map-pass-thru = <0x0 0x1>

This -map-mask and -map-pass-thru mechanism needs documentation in
Documentation/devicetree.  There's a bunch of users of -map-mask
(eg, interrupt-map-mask) but there's nothing that actually describes
how this works.

The "-map-pass-thru" thing also seems to be a new, undocumented idea.

So, NAK until this stuff goes through the same level of review WRT
DT documentation as other bindings are required to.

I'm not saying that it's a bad idea, but it's important for consistency
that this stuff is well documented, and people don't end up having to
interpret the code when writing their DT descriptions.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web