[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5df7b3fa.1c69fb81.fa080.21a7@mx.google.com>
Date: Mon, 16 Dec 2019 08:42:33 -0800
From: Stephen Boyd <swboyd@...omium.org>
To: Akash Asthana <akashast@...eaurora.org>, agross@...nel.org,
bjorn.andersson@...aro.org, mark.rutland@....com,
robh+dt@...nel.org
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, mgautam@...eaurora.org,
Akash Asthana <akashast@...eaurora.org>
Subject: Re: [PATCH] dt-bindings: geni-se: Convert QUP geni-se bindings to YAML
Quoting Akash Asthana (2019-12-16 01:25:51)
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
> new file mode 100644
> index 0000000..2c3b911
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
> @@ -0,0 +1,196 @@
[...]
> +
> + "serial@[0-9]+$":
> + type: object
> + description: GENI Serial Engine based UART Controller.
> +
> + properties:
> + compatible:
> + enum:
> + - qcom,geni-uart
> + - qcom,geni-debug-uart
> +
> + reg:
> + description: GENI Serial Engine register address and length.
> +
> + interrupts:
> + description: Contains UART core and wakeup interrupts for wakeup
> + capable UART devices. We configure wakeup interrupt
> + on UART RX line using TLMM interrupt controller.
> + maxItems: 2
Shouldn't there be a minItems: 1 here? And then you should specify the order?
Presumably something like
interrupts:
minItems: 1
maxItems: 2
items:
- description: UART core irq
- description: Wakeup irq (RX GPIO)
Powered by blists - more mailing lists