Re: [PATCH v3 1/6] dt-bindings: mfd: rn5t618: Document optional property interrupts

From: Lee Jones
Date: Tue Dec 10 2019 - 03:52:55 EST


On Fri, 29 Nov 2019, Andreas Kemnade wrote:

> These chips use interrupts for various things like rtc alarm.
>
> Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mfd/rn5t618.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/rn5t618.txt b/Documentation/devicetree/bindings/mfd/rn5t618.txt
> index b74e5e94d1cb..05650e1ab28a 100644
> --- a/Documentation/devicetree/bindings/mfd/rn5t618.txt
> +++ b/Documentation/devicetree/bindings/mfd/rn5t618.txt
> @@ -15,6 +15,7 @@ Required properties:
> - reg: the I2C slave address of the device
>
> Optional properties:
> + - interrupts: interrupt mapping for IRQ

Please link to the document that describes it, as below.

NB: Relative paths are usually preferred.

> - system-power-controller:
> See Documentation/devicetree/bindings/power/power-controller.txt
>
> @@ -32,6 +33,8 @@ Example:
> pmic@32 {
> compatible = "ricoh,rn5t618";
> reg = <0x32>;
> + interrupt-parent = <&gpio5>;
> + interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
> system-power-controller;
>
> regulators {

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog