linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: msm: add PDC device bindings for sdm845
@ 2018-08-14 17:30 Lina Iyer
  2018-08-15 15:28 ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Lina Iyer @ 2018-08-14 17:30 UTC (permalink / raw)
  To: bjorn.andersson, andy.gross
  Cc: marc.zyngier, rplsssn, linux-kernel, linux-arm-msm, rnayak,
	devicetree, david.brown, sboyd, evgreen, dianders, Lina Iyer

Add PDC interrupt controller device bindings for SDM845.

Signed-off-by: Lina Iyer <ilina@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 24e254efb9d1..399bfbd52c5b 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1106,6 +1106,15 @@
 			};
 		};
 
+		pdc: interrupt-controller@b220000 {
+			compatible = "qcom,sdm845-pdc";
+			reg = <0xb220000 0x30000>;
+			qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
+			#interrupt-cells = <2>;
+			interrupt-parent = <&intc>;
+			interrupt-controller;
+		};
+
 		timer@17c90000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: msm: add PDC device bindings for sdm845
  2018-08-14 17:30 [PATCH] arm64: dts: msm: add PDC device bindings for sdm845 Lina Iyer
@ 2018-08-15 15:28 ` Stephen Boyd
  2018-08-15 15:40   ` Lina Iyer
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2018-08-15 15:28 UTC (permalink / raw)
  To: Lina Iyer, andy.gross, bjorn.andersson
  Cc: marc.zyngier, rplsssn, linux-kernel, linux-arm-msm, rnayak,
	devicetree, david.brown, evgreen, dianders, Lina Iyer

Quoting Lina Iyer (2018-08-14 10:30:58)
> Add PDC interrupt controller device bindings for SDM845.
> 
> Signed-off-by: Lina Iyer <ilina@codeaurora.org>
> ---
>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 24e254efb9d1..399bfbd52c5b 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -1106,6 +1106,15 @@
>                         };
>                 };
>  
> +               pdc: interrupt-controller@b220000 {

Please sort this by unit address within the SoC node.

> +                       compatible = "qcom,sdm845-pdc";
> +                       reg = <0xb220000 0x30000>;
> +                       qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
> +                       #interrupt-cells = <2>;
> +                       interrupt-parent = <&intc>;
> +                       interrupt-controller;
> +               };
> +
>                 timer@17c90000 {
>                         #address-cells = <1>;
>                         #size-cells = <1>;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: msm: add PDC device bindings for sdm845
  2018-08-15 15:28 ` Stephen Boyd
@ 2018-08-15 15:40   ` Lina Iyer
  0 siblings, 0 replies; 3+ messages in thread
From: Lina Iyer @ 2018-08-15 15:40 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: andy.gross, bjorn.andersson, marc.zyngier, rplsssn, linux-kernel,
	linux-arm-msm, rnayak, devicetree, david.brown, evgreen,
	dianders

On Wed, Aug 15 2018 at 09:28 -0600, Stephen Boyd wrote:
>Quoting Lina Iyer (2018-08-14 10:30:58)
>> Add PDC interrupt controller device bindings for SDM845.
>>
>> Signed-off-by: Lina Iyer <ilina@codeaurora.org>
>> ---
>>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
>> index 24e254efb9d1..399bfbd52c5b 100644
>> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
>> @@ -1106,6 +1106,15 @@
>>                         };
>>                 };
>>
>> +               pdc: interrupt-controller@b220000 {
>
>Please sort this by unit address within the SoC node.
>
Ah, didn't realize that. Will fix.

-- Lina

>> +                       compatible = "qcom,sdm845-pdc";
>> +                       reg = <0xb220000 0x30000>;
>> +                       qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
>> +                       #interrupt-cells = <2>;
>> +                       interrupt-parent = <&intc>;
>> +                       interrupt-controller;
>> +               };
>> +
>>                 timer@17c90000 {
>>                         #address-cells = <1>;
>>                         #size-cells = <1>;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-15 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 17:30 [PATCH] arm64: dts: msm: add PDC device bindings for sdm845 Lina Iyer
2018-08-15 15:28 ` Stephen Boyd
2018-08-15 15:40   ` Lina Iyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).