Re: [PATCH v2 10/13] arm64: dts: qcom: sm8450: add spmi node

From: Krzysztof Kozlowski
Date: Mon Oct 24 2022 - 16:05:01 EST


On 24/10/2022 11:06, konrad.dybcio@xxxxxxxxxxxxxx wrote:
> On 2022-10-24 16:56, Krzysztof Kozlowski wrote:
>> On 09/12/2021 05:35, Vinod Koul wrote:
>>> Add the spmi bus as found in the SM8450 SoC
>>>
>>> Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
>>> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
>>> ---
>>> arch/arm64/boot/dts/qcom/sm8450.dtsi | 18 ++++++++++++++++++
>>> 1 file changed, 18 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> b/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> index f75de777f6ea..b80e34fd3fe1 100644
>>> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
>>> @@ -645,6 +645,24 @@ pdc: interrupt-controller@b220000 {
>>> interrupt-controller;
>>> };
>>>
>>> + spmi_bus: spmi@c42d000 {
>>> + compatible = "qcom,spmi-pmic-arb";
>>> + reg = <0x0 0x0c400000 0x0 0x00003000>,
>>> + <0x0 0x0c500000 0x0 0x00400000>,
>>> + <0x0 0x0c440000 0x0 0x00080000>,
>>> + <0x0 0x0c4c0000 0x0 0x00010000>,
>>> + <0x0 0x0c42d000 0x0 0x00010000>;
>>
>> This is a patch from December 2021. Is there anything blocking it from
>> being merged?
> I think it depended on a series of changes to the driver, as 8450 has a
> newer SPMI ver
>

If the new device node in DTS (for new hardware) depends on driver
changes, then something here is completely broken. Probably in the
bindings for Qualcomm SPMI PMIC.

I expect adding DTS independently of driver changes. It anyway goes
always via separate branches.

Best regards,
Krzysztof