On Mon, Aug 31, 2015 at 5:43 PM, Rob Herring <robherring2@xxxxxxxxx> wrote: > On Thu, Aug 27, 2015 at 12:37 PM, Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx> wrote: >> This documents a device tree binding for exposing the Qualcomm Shared >> Memory State Machine as a set of gpio- and interrupt-controllers. >> >> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx> >> +This document defines the binding for a driver that implements and exposes this >> +a GPIO controller and a set of interrupt controllers. > > I imagine Linus will have thoughts about that. Yeah you bet :D I wrote a lengthy answer to patch 0. Point being: if we insist on this being modeled as "a kind of GPIO", then *BSD and Windows also has to think of it as "a kind of GPIO" meaning we put Linux implementation details into the DT bindings. At least the idea Rob had about register-bit-* bindings should be respected see for example: Documentation/devicetree/bindings/leds/register-bit-led.txt That naming is neutral, even if we end up solving it in Linux with a GPIO abstraction, it doesn't enforce that on $OTHER_OS. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html