* [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells
@ 2023-03-08 1:17 Konrad Dybcio
2023-03-08 7:24 ` Shawn Guo
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-03-08 1:17 UTC (permalink / raw)
To: linux-arm-msm, andersson, agross
Cc: marijn.suijten, Konrad Dybcio, Thomas Gleixner, Marc Zyngier,
Rob Herring, Krzysztof Kozlowski, Shawn Guo, linux-kernel,
devicetree
MPM provides a single genpd. Allow #power-domain-cells = <0>.
Fixes: 54fc9851c0e0 ("dt-bindings: interrupt-controller: Add Qualcomm MPM support")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
.../devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
index 509d20c091af..4c470dc143e5 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
@@ -62,6 +62,9 @@ properties:
- description: MPM pin number
- description: GIC SPI number for the MPM pin
+ '#power-domain-cells':
+ const: 0
+
required:
- compatible
- reg
--
2.39.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells
2023-03-08 1:17 [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells Konrad Dybcio
@ 2023-03-08 7:24 ` Shawn Guo
2023-03-08 7:45 ` Konrad Dybcio
2023-03-08 9:57 ` Shawn Guo
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Shawn Guo @ 2023-03-08 7:24 UTC (permalink / raw)
To: Konrad Dybcio
Cc: linux-arm-msm, andersson, agross, marijn.suijten,
Thomas Gleixner, Marc Zyngier, Rob Herring, Krzysztof Kozlowski,
linux-kernel, devicetree
On Wed, Mar 8, 2023 at 9:17 AM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>
> MPM provides a single genpd. Allow #power-domain-cells = <0>.
Indeed! It was missing from the initial submission. Thanks for fixing it up!
>
> Fixes: 54fc9851c0e0 ("dt-bindings: interrupt-controller: Add Qualcomm MPM support")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> .../devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
> index 509d20c091af..4c470dc143e5 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
> @@ -62,6 +62,9 @@ properties:
> - description: MPM pin number
> - description: GIC SPI number for the MPM pin
>
> + '#power-domain-cells':
Should we add it to the "required" list and examples?
Shawn
> + const: 0
> +
> required:
> - compatible
> - reg
> --
> 2.39.2
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells
2023-03-08 7:24 ` Shawn Guo
@ 2023-03-08 7:45 ` Konrad Dybcio
0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-03-08 7:45 UTC (permalink / raw)
To: Shawn Guo
Cc: linux-arm-msm, andersson, agross, marijn.suijten,
Thomas Gleixner, Marc Zyngier, Rob Herring, Krzysztof Kozlowski,
linux-kernel, devicetree
On 8.03.2023 08:24, Shawn Guo wrote:
> On Wed, Mar 8, 2023 at 9:17 AM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>>
>> MPM provides a single genpd. Allow #power-domain-cells = <0>.
>
> Indeed! It was missing from the initial submission. Thanks for fixing it up!
>
>>
>> Fixes: 54fc9851c0e0 ("dt-bindings: interrupt-controller: Add Qualcomm MPM support")
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>> ---
>> .../devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
>> index 509d20c091af..4c470dc143e5 100644
>> --- a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
>> +++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml
>> @@ -62,6 +62,9 @@ properties:
>> - description: MPM pin number
>> - description: GIC SPI number for the MPM pin
>>
>> + '#power-domain-cells':
>
> Should we add it to the "required" list and examples?
I was debating it.. it's definitely not *required*, as the
irqchip part works even without it and then on SoCs with MPM
but without PSCI the setup may be tricky..
About the example, both yes/no are okay for me
Konrad
>
> Shawn
>
>> + const: 0
>> +
>> required:
>> - compatible
>> - reg
>> --
>> 2.39.2
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells
2023-03-08 1:17 [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells Konrad Dybcio
2023-03-08 7:24 ` Shawn Guo
@ 2023-03-08 9:57 ` Shawn Guo
2023-03-08 10:28 ` Krzysztof Kozlowski
2023-03-08 10:28 ` Krzysztof Kozlowski
3 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2023-03-08 9:57 UTC (permalink / raw)
To: Konrad Dybcio
Cc: linux-arm-msm, andersson, agross, marijn.suijten,
Thomas Gleixner, Marc Zyngier, Rob Herring, Krzysztof Kozlowski,
linux-kernel, devicetree
On Wed, Mar 8, 2023 at 9:17 AM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>
> MPM provides a single genpd. Allow #power-domain-cells = <0>.
>
> Fixes: 54fc9851c0e0 ("dt-bindings: interrupt-controller: Add Qualcomm MPM support")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells
2023-03-08 1:17 [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells Konrad Dybcio
2023-03-08 7:24 ` Shawn Guo
2023-03-08 9:57 ` Shawn Guo
@ 2023-03-08 10:28 ` Krzysztof Kozlowski
2023-03-08 10:28 ` Krzysztof Kozlowski
3 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-08 10:28 UTC (permalink / raw)
To: Konrad Dybcio, linux-arm-msm, andersson, agross
Cc: marijn.suijten, Thomas Gleixner, Marc Zyngier, Rob Herring,
Krzysztof Kozlowski, Shawn Guo, linux-kernel, devicetree
On 08/03/2023 02:17, Konrad Dybcio wrote:
> MPM provides a single genpd. Allow #power-domain-cells = <0>.
>
> Fixes: 54fc9851c0e0 ("dt-bindings: interrupt-controller: Add Qualcomm MPM support")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> .../devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 3 +++
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells
2023-03-08 1:17 [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells Konrad Dybcio
` (2 preceding siblings ...)
2023-03-08 10:28 ` Krzysztof Kozlowski
@ 2023-03-08 10:28 ` Krzysztof Kozlowski
3 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-08 10:28 UTC (permalink / raw)
To: Konrad Dybcio, linux-arm-msm, andersson, agross
Cc: marijn.suijten, Thomas Gleixner, Marc Zyngier, Rob Herring,
Krzysztof Kozlowski, Shawn Guo, linux-kernel, devicetree
On 08/03/2023 02:17, Konrad Dybcio wrote:
> MPM provides a single genpd. Allow #power-domain-cells = <0>.
>
> Fixes: 54fc9851c0e0 ("dt-bindings: interrupt-controller: Add Qualcomm MPM support")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> .../devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
BTW, this can be also added to the example. Always useful to validate it.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-03-08 10:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 1:17 [PATCH] dt-bindings: interrupt-controller: Allow #power-domain-cells Konrad Dybcio
2023-03-08 7:24 ` Shawn Guo
2023-03-08 7:45 ` Konrad Dybcio
2023-03-08 9:57 ` Shawn Guo
2023-03-08 10:28 ` Krzysztof Kozlowski
2023-03-08 10:28 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®