Message ID | 20190814125012.8700-23-vkoul@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | arm64: dts: qcom: sm8150: Add SM8150 DTS | expand |
Quoting Vinod Koul (2019-08-14 05:50:12) > @@ -338,6 +339,16 @@ > #interrupt-cells = <2>; > }; > > + aoss_qmp: qmp@c300000 { Node name of 'clock-controller', or 'power-controller'? > + compatible = "qcom,sm8150-aoss-qmp"; > + reg = <0x0c300000 0x100000>; > + interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; > + mboxes = <&apss_shared 0>;
On 14-08-19, 10:17, Stephen Boyd wrote: > Quoting Vinod Koul (2019-08-14 05:50:12) > > @@ -338,6 +339,16 @@ > > #interrupt-cells = <2>; > > }; > > > > + aoss_qmp: qmp@c300000 { > > Node name of 'clock-controller', or 'power-controller'? The orignal entry for sdm845 has no such statement, but yes it doesn makes sense. I am thinking power-controller.. Bjorn?
Hey Vinod, There seems to be a mismatch between the commit description and the dt node (This is the aoss qmp node not the APPS shared node). On 2019-08-19 23:11, Vinod Koul wrote: > On 14-08-19, 10:17, Stephen Boyd wrote: >> Quoting Vinod Koul (2019-08-14 05:50:12) >> > @@ -338,6 +339,16 @@ >> > #interrupt-cells = <2>; >> > }; >> > >> > + aoss_qmp: qmp@c300000 { >> >> Node name of 'clock-controller', or 'power-controller'? > > The orignal entry for sdm845 has no such statement, but yes it doesn > makes sense. I am thinking power-controller.. Bjorn? aoss_qmp registers both pd and clock providers.
On 20-08-19, 11:50, Sibi Sankar wrote: > Hey Vinod, > > There seems to be a mismatch > between the commit description > and the dt node (This is the > aoss qmp node not the APPS > shared node). Thanks for pointing, I have squashed this and other into single patch and updated the description > > > On 2019-08-19 23:11, Vinod Koul wrote: > > On 14-08-19, 10:17, Stephen Boyd wrote: > > > Quoting Vinod Koul (2019-08-14 05:50:12) > > > > @@ -338,6 +339,16 @@ > > > > #interrupt-cells = <2>; > > > > }; > > > > > > > > + aoss_qmp: qmp@c300000 { > > > > > > Node name of 'clock-controller', or 'power-controller'? > > > > The orignal entry for sdm845 has no such statement, but yes it doesn > > makes sense. I am thinking power-controller.. Bjorn? > > aoss_qmp registers both pd and > clock providers. Thats correct, I chatted with Bjorn and he recommended we use power-controller
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5df3f335272a..88cbab4a9297 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -5,6 +5,7 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/qcom,gcc-sm8150.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> +#include <dt-bindings/clock/qcom,rpmh.h> / { interrupt-parent = <&intc>; @@ -338,6 +339,16 @@ #interrupt-cells = <2>; }; + aoss_qmp: qmp@c300000 { + compatible = "qcom,sm8150-aoss-qmp"; + reg = <0x0c300000 0x100000>; + interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; + mboxes = <&apss_shared 0>; + + #clock-cells = <0>; + #power-domain-cells = <1>; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; interrupt-controller;