Re: [PATCH v1 1/1] dt: binding: reword PowerPC 8xxx GPIO documentation
From: Arnd Bergmann <hidden>
Date: 2013-11-21 00:49:43
On Wednesday 20 November 2013, Gerhard Sittig wrote:
re-format and re-word the device tree binding documentation for MPC8xxx and compatibles, reference the common document for interrupt controllers and remove outdated duplicate SoC specific information Cc: Mark Rutland <redacted> Cc: Rob Herring@ <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org> Cc: Pawel Moll <redacted> Cc: Arnd Bergmann <redacted> Cc: <redacted> Signed-off-by: Gerhard Sittig <redacted>
Acked-by: Arnd Bergmann <redacted>
+Optional properties: +- interrupt-controller: Empty boolean property which marks the GPIO + module as an IRQ controller. +- #interrupt-cells: Number of integer cells required to specify an + interrupt within this interrupt controller. The + first cell defines the pin number, the second + cell defines additional flags (trigger type, + trigger polarity). Note that the specific set + of trigger conditions supported by the GPIO + module depends on the actual SoC.
Nitpicking: I think you need to add that #interrupt-cells must be <2> if present. I'd also suggest adding these two to the example section of the binding while you're at it. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html