* [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node
@ 2024-06-12 6:34 Komal Bajaj
2024-06-12 18:25 ` Dmitry Baryshkov
2024-06-13 7:32 ` Konrad Dybcio
0 siblings, 2 replies; 4+ messages in thread
From: Komal Bajaj @ 2024-06-12 6:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, inux-kernel, Komal Bajaj
Add secure qfprom node and also add properties for multi channel
DDR. This is required for LLCC driver to pick the correct LLCC
configuration.
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
Changes in v2:
* Minor correction in commit message
* Link to v1: https://lore.kernel.org/linux-arm-msm/20240607113445.2909-1-quic_kbajaj@quicinc.com/
---
arch/arm64/boot/dts/qcom/qdu1000.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
index 7a77f7a55498..d8df1bab63d5 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
+++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
@@ -1584,6 +1584,21 @@ system-cache-controller@19200000 {
reg-names = "llcc0_base",
"llcc_broadcast_base";
interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
+
+ nvmem-cell-names = "multi-chan-ddr";
+ nvmem-cells = <&multi_chan_ddr>;
+ };
+
+ sec_qfprom: efuse@221c8000 {
+ compatible = "qcom,qdu1000-sec-qfprom", "qcom,sec-qfprom";
+ reg = <0 0x221c8000 0 0x1000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ multi_chan_ddr: multi-chan-ddr@12b {
+ reg = <0x12b 0x1>;
+ bits = <0 2>;
+ };
};
};
--
2.42.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node
2024-06-12 6:34 [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node Komal Bajaj
@ 2024-06-12 18:25 ` Dmitry Baryshkov
2024-06-13 7:32 ` Konrad Dybcio
1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2024-06-12 18:25 UTC (permalink / raw)
To: Komal Bajaj
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, inux-kernel
On Wed, Jun 12, 2024 at 12:04:24PM +0530, Komal Bajaj wrote:
> Add secure qfprom node and also add properties for multi channel
> DDR. This is required for LLCC driver to pick the correct LLCC
> configuration.
>
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
> Changes in v2:
> * Minor correction in commit message
> * Link to v1: https://lore.kernel.org/linux-arm-msm/20240607113445.2909-1-quic_kbajaj@quicinc.com/
> ---
>
> arch/arm64/boot/dts/qcom/qdu1000.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
Fixes: 6209038f131f ("arm64: dts: qcom: qdu1000: Add LLCC/system-cache-controller")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> index 7a77f7a55498..d8df1bab63d5 100644
> --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> @@ -1584,6 +1584,21 @@ system-cache-controller@19200000 {
> reg-names = "llcc0_base",
> "llcc_broadcast_base";
> interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
> +
> + nvmem-cell-names = "multi-chan-ddr";
> + nvmem-cells = <&multi_chan_ddr>;
> + };
> +
> + sec_qfprom: efuse@221c8000 {
> + compatible = "qcom,qdu1000-sec-qfprom", "qcom,sec-qfprom";
> + reg = <0 0x221c8000 0 0x1000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + multi_chan_ddr: multi-chan-ddr@12b {
> + reg = <0x12b 0x1>;
> + bits = <0 2>;
> + };
> };
> };
>
> --
> 2.42.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node
2024-06-12 6:34 [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node Komal Bajaj
2024-06-12 18:25 ` Dmitry Baryshkov
@ 2024-06-13 7:32 ` Konrad Dybcio
2024-06-13 11:19 ` Komal Bajaj
1 sibling, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2024-06-13 7:32 UTC (permalink / raw)
To: Komal Bajaj, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, inux-kernel
On 6/12/24 08:34, Komal Bajaj wrote:
> Add secure qfprom node and also add properties for multi channel
> DDR. This is required for LLCC driver to pick the correct LLCC
> configuration.
>
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
> Changes in v2:
> * Minor correction in commit message
> * Link to v1: https://lore.kernel.org/linux-arm-msm/20240607113445.2909-1-quic_kbajaj@quicinc.com/
> ---
>
> arch/arm64/boot/dts/qcom/qdu1000.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> index 7a77f7a55498..d8df1bab63d5 100644
> --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> @@ -1584,6 +1584,21 @@ system-cache-controller@19200000 {
> reg-names = "llcc0_base",
> "llcc_broadcast_base";
> interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
> +
> + nvmem-cell-names = "multi-chan-ddr";
> + nvmem-cells = <&multi_chan_ddr>;
property
property-names
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node
2024-06-13 7:32 ` Konrad Dybcio
@ 2024-06-13 11:19 ` Komal Bajaj
0 siblings, 0 replies; 4+ messages in thread
From: Komal Bajaj @ 2024-06-13 11:19 UTC (permalink / raw)
To: Konrad Dybcio, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, inux-kernel
On 6/13/2024 1:02 PM, Konrad Dybcio wrote:
>
>
> On 6/12/24 08:34, Komal Bajaj wrote:
>> Add secure qfprom node and also add properties for multi channel
>> DDR. This is required for LLCC driver to pick the correct LLCC
>> configuration.
>>
>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
>> ---
>> Changes in v2:
>> * Minor correction in commit message
>> * Link to v1:
>> https://lore.kernel.org/linux-arm-msm/20240607113445.2909-1-quic_kbajaj@quicinc.com/
>> ---
>>
>> arch/arm64/boot/dts/qcom/qdu1000.dtsi | 15 +++++++++++++++
>> 1 file changed, 15 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
>> b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
>> index 7a77f7a55498..d8df1bab63d5 100644
>> --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
>> @@ -1584,6 +1584,21 @@ system-cache-controller@19200000 {
>> reg-names = "llcc0_base",
>> "llcc_broadcast_base";
>> interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
>> +
>> + nvmem-cell-names = "multi-chan-ddr";
>> + nvmem-cells = <&multi_chan_ddr>;
>
> property
> property-names
>
Will do like that.
Thanks
Komal
> Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-13 11:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 6:34 [PATCH v2] arm64: dts: qcom: qdu1000: Add secure qfprom node Komal Bajaj
2024-06-12 18:25 ` Dmitry Baryshkov
2024-06-13 7:32 ` Konrad Dybcio
2024-06-13 11:19 ` Komal Bajaj
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).