* [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
@ 2025-11-30 0:08 David Heidelberg via B4 Relay
2025-12-01 12:48 ` Konrad Dybcio
0 siblings, 1 reply; 7+ messages in thread
From: David Heidelberg via B4 Relay @ 2025-11-30 0:08 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Casey Connolly
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
David Heidelberg
From: David Heidelberg <david@ixit.cz>
The lab and ibb regulators aren't used here. Disable them.
Removes following warnings:
qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
Signed-off-by: David Heidelberg <david@ixit.cz>
---
I assume this is right approach, as OLEDs on both devices are driven by
different regulators.
Question is, if should be labibb nodes enabled by default?
---
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index db6dd04c51bb5..78a835bdfe3b4 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -419,6 +419,10 @@ rmi4_f12: rmi4-f12@12 {
};
};
+&ibb {
+ status = "disabled";
+};
+
&ipa {
qcom,gsi-loader = "self";
memory-region = <&ipa_fw_mem>;
@@ -426,6 +430,10 @@ &ipa {
status = "okay";
};
+&lab {
+ status = "disabled";
+};
+
&mdss {
status = "okay";
};
---
base-commit: 7d31f578f3230f3b7b33b0930b08f9afd8429817
change-id: 20251130-oneplus-labibb-05bdd6d6d2b1
Best regards,
--
David Heidelberg <david@ixit.cz>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
2025-11-30 0:08 [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T David Heidelberg via B4 Relay
@ 2025-12-01 12:48 ` Konrad Dybcio
2025-12-01 12:50 ` Casey Connolly
0 siblings, 1 reply; 7+ messages in thread
From: Konrad Dybcio @ 2025-12-01 12:48 UTC (permalink / raw)
To: david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Casey Connolly
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 11/30/25 1:08 AM, David Heidelberg via B4 Relay wrote:
> From: David Heidelberg <david@ixit.cz>
>
> The lab and ibb regulators aren't used here. Disable them.
>
> Removes following warnings:
> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
These are only vaguely related, as there's nothing to be wary about that's
specific to these devices - it's just devlink being grumpy
> Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> I assume this is right approach, as OLEDs on both devices are driven by
> different regulators.
>
> Question is, if should be labibb nodes enabled by default?
They're onboard. I'd rather keep them predictably parked than left in
whatever (potentially ON) state the bootloader may leave them at
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
2025-12-01 12:48 ` Konrad Dybcio
@ 2025-12-01 12:50 ` Casey Connolly
2025-12-01 12:55 ` Konrad Dybcio
0 siblings, 1 reply; 7+ messages in thread
From: Casey Connolly @ 2025-12-01 12:50 UTC (permalink / raw)
To: Konrad Dybcio, david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 01/12/2025 13:48, Konrad Dybcio wrote:
> On 11/30/25 1:08 AM, David Heidelberg via B4 Relay wrote:
>> From: David Heidelberg <david@ixit.cz>
>>
>> The lab and ibb regulators aren't used here. Disable them.
>>
>> Removes following warnings:
>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
>
> These are only vaguely related, as there's nothing to be wary about that's
> specific to these devices - it's just devlink being grumpy
>
>> Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
>> Signed-off-by: David Heidelberg <david@ixit.cz>
>> ---
>> I assume this is right approach, as OLEDs on both devices are driven by
>> different regulators.
>>
>> Question is, if should be labibb nodes enabled by default?
>
> They're onboard. I'd rather keep them predictably parked than left in
> whatever (potentially ON) state the bootloader may leave them at
Shouldn't they be default disabled in the pmic dtsi and only enabled on
the devices that actually use them? Many SDM845 devices with OLED panels
don't use these regulators.
>
> Konrad
--
// Casey (she/her)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
2025-12-01 12:50 ` Casey Connolly
@ 2025-12-01 12:55 ` Konrad Dybcio
2025-12-01 12:57 ` Casey Connolly
0 siblings, 1 reply; 7+ messages in thread
From: Konrad Dybcio @ 2025-12-01 12:55 UTC (permalink / raw)
To: Casey Connolly, david, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 12/1/25 1:50 PM, Casey Connolly wrote:
>
>
> On 01/12/2025 13:48, Konrad Dybcio wrote:
>> On 11/30/25 1:08 AM, David Heidelberg via B4 Relay wrote:
>>> From: David Heidelberg <david@ixit.cz>
>>>
>>> The lab and ibb regulators aren't used here. Disable them.
>>>
>>> Removes following warnings:
>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
>>
>> These are only vaguely related, as there's nothing to be wary about that's
>> specific to these devices - it's just devlink being grumpy
>>
>>> Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
>>> Signed-off-by: David Heidelberg <david@ixit.cz>
>>> ---
>>> I assume this is right approach, as OLEDs on both devices are driven by
>>> different regulators.
>>>
>>> Question is, if should be labibb nodes enabled by default?
>>
>> They're onboard. I'd rather keep them predictably parked than left in
>> whatever (potentially ON) state the bootloader may leave them at
>
> Shouldn't they be default disabled in the pmic dtsi and only enabled on
> the devices that actually use them? Many SDM845 devices with OLED panels
> don't use these regulators.
As I said, I wouldn't be surprised if they were enabled by the bootloader
as part of some reference/common routine and left hanging. Linux will
switch them off if they're never used and I'm fairly sure the users won't
mind the odd couple dozen bytes of runtime kernel memory usage (which if
we go that route probably balance out with the added couple characters for
status=disabled in the resulting DTB)
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
2025-12-01 12:55 ` Konrad Dybcio
@ 2025-12-01 12:57 ` Casey Connolly
2025-12-01 21:55 ` David Heidelberg
0 siblings, 1 reply; 7+ messages in thread
From: Casey Connolly @ 2025-12-01 12:57 UTC (permalink / raw)
To: Konrad Dybcio, david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 01/12/2025 13:55, Konrad Dybcio wrote:
> On 12/1/25 1:50 PM, Casey Connolly wrote:
>>
>>
>> On 01/12/2025 13:48, Konrad Dybcio wrote:
>>> On 11/30/25 1:08 AM, David Heidelberg via B4 Relay wrote:
>>>> From: David Heidelberg <david@ixit.cz>
>>>>
>>>> The lab and ibb regulators aren't used here. Disable them.
>>>>
>>>> Removes following warnings:
>>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
>>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
>>>
>>> These are only vaguely related, as there's nothing to be wary about that's
>>> specific to these devices - it's just devlink being grumpy
>>>
>>>> Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
>>>> Signed-off-by: David Heidelberg <david@ixit.cz>
>>>> ---
>>>> I assume this is right approach, as OLEDs on both devices are driven by
>>>> different regulators.
>>>>
>>>> Question is, if should be labibb nodes enabled by default?
>>>
>>> They're onboard. I'd rather keep them predictably parked than left in
>>> whatever (potentially ON) state the bootloader may leave them at
>>
>> Shouldn't they be default disabled in the pmic dtsi and only enabled on
>> the devices that actually use them? Many SDM845 devices with OLED panels
>> don't use these regulators.
>
> As I said, I wouldn't be surprised if they were enabled by the bootloader
> as part of some reference/common routine and left hanging. Linux will
> switch them off if they're never used and I'm fairly sure the users won't
> mind the odd couple dozen bytes of runtime kernel memory usage (which if
> we go that route probably balance out with the added couple characters for
> status=disabled in the resulting DTB)
Ahh yeah I understand, the DT node has to be enabled for the driver to
load and actually turn off the regulators if they're unused. Makes sense.
Thanks,>
> Konrad
--
// Casey (she/her)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
2025-12-01 12:57 ` Casey Connolly
@ 2025-12-01 21:55 ` David Heidelberg
2025-12-02 10:40 ` Konrad Dybcio
0 siblings, 1 reply; 7+ messages in thread
From: David Heidelberg @ 2025-12-01 21:55 UTC (permalink / raw)
To: Casey Connolly, Konrad Dybcio, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 01/12/2025 13:57, Casey Connolly wrote:
>
>
> On 01/12/2025 13:55, Konrad Dybcio wrote:
>> On 12/1/25 1:50 PM, Casey Connolly wrote:
>>>
>>>
>>> On 01/12/2025 13:48, Konrad Dybcio wrote:
>>>> On 11/30/25 1:08 AM, David Heidelberg via B4 Relay wrote:
>>>>> From: David Heidelberg <david@ixit.cz>
>>>>>
>>>>> The lab and ibb regulators aren't used here. Disable them.
>>>>>
>>>>> Removes following warnings:
>>>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
>>>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
>>>>
>>>> These are only vaguely related, as there's nothing to be wary about that's
>>>> specific to these devices - it's just devlink being grumpy
>>>>
>>>>> Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
>>>>> Signed-off-by: David Heidelberg <david@ixit.cz>
>>>>> ---
>>>>> I assume this is right approach, as OLEDs on both devices are driven by
>>>>> different regulators.
>>>>>
>>>>> Question is, if should be labibb nodes enabled by default?
>>>>
>>>> They're onboard. I'd rather keep them predictably parked than left in
>>>> whatever (potentially ON) state the bootloader may leave them at
>>>
>>> Shouldn't they be default disabled in the pmic dtsi and only enabled on
>>> the devices that actually use them? Many SDM845 devices with OLED panels
>>> don't use these regulators.
>>
>> As I said, I wouldn't be surprised if they were enabled by the bootloader
>> as part of some reference/common routine and left hanging. Linux will
>> switch them off if they're never used and I'm fairly sure the users won't
>> mind the odd couple dozen bytes of runtime kernel memory usage (which if
>> we go that route probably balance out with the added couple characters for
>> status=disabled in the resulting DTB)
>
> Ahh yeah I understand, the DT node has to be enabled for the driver to
> load and actually turn off the regulators if they're unused. Makes sense.
>
> Thanks,>
>> Konrad
>
Thank you both, now I also understand (and withdrawing the patch).
Should
5dcc6587fde2 ("arm64: dts: qcom: sdm845-tama: Add display nodes")
also get fixed up to not disable the lab & ibb node then?
Thanks
David
--
David Heidelberg
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T
2025-12-01 21:55 ` David Heidelberg
@ 2025-12-02 10:40 ` Konrad Dybcio
0 siblings, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2025-12-02 10:40 UTC (permalink / raw)
To: David Heidelberg, Casey Connolly, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 12/1/25 10:55 PM, David Heidelberg wrote:
> On 01/12/2025 13:57, Casey Connolly wrote:
>>
>>
>> On 01/12/2025 13:55, Konrad Dybcio wrote:
>>> On 12/1/25 1:50 PM, Casey Connolly wrote:
>>>>
>>>>
>>>> On 01/12/2025 13:48, Konrad Dybcio wrote:
>>>>> On 11/30/25 1:08 AM, David Heidelberg via B4 Relay wrote:
>>>>>> From: David Heidelberg <david@ixit.cz>
>>>>>>
>>>>>> The lab and ibb regulators aren't used here. Disable them.
>>>>>>
>>>>>> Removes following warnings:
>>>>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/lab
>>>>>> qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb: Failed to create device link (0x180) with supplier c440000.spmi for /soc@0/spmi@c440000/pmic@3/labibb/ibb
>>>>>
>>>>> These are only vaguely related, as there's nothing to be wary about that's
>>>>> specific to these devices - it's just devlink being grumpy
>>>>>
>>>>>> Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices")
>>>>>> Signed-off-by: David Heidelberg <david@ixit.cz>
>>>>>> ---
>>>>>> I assume this is right approach, as OLEDs on both devices are driven by
>>>>>> different regulators.
>>>>>>
>>>>>> Question is, if should be labibb nodes enabled by default?
>>>>>
>>>>> They're onboard. I'd rather keep them predictably parked than left in
>>>>> whatever (potentially ON) state the bootloader may leave them at
>>>>
>>>> Shouldn't they be default disabled in the pmic dtsi and only enabled on
>>>> the devices that actually use them? Many SDM845 devices with OLED panels
>>>> don't use these regulators.
>>>
>>> As I said, I wouldn't be surprised if they were enabled by the bootloader
>>> as part of some reference/common routine and left hanging. Linux will
>>> switch them off if they're never used and I'm fairly sure the users won't
>>> mind the odd couple dozen bytes of runtime kernel memory usage (which if
>>> we go that route probably balance out with the added couple characters for
>>> status=disabled in the resulting DTB)
>>
>> Ahh yeah I understand, the DT node has to be enabled for the driver to
>> load and actually turn off the regulators if they're unused. Makes sense.
>>
>> Thanks,>
>>> Konrad
>>
>
> Thank you both, now I also understand (and withdrawing the patch).
>
> Should
>
> 5dcc6587fde2 ("arm64: dts: qcom: sdm845-tama: Add display nodes")
>
> also get fixed up to not disable the lab & ibb node then?
Yes
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-12-02 10:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-30 0:08 [PATCH] arm64: dts: qcom: sdm845-oneplus: labibb is not used on OnePlus 6/6T David Heidelberg via B4 Relay
2025-12-01 12:48 ` Konrad Dybcio
2025-12-01 12:50 ` Casey Connolly
2025-12-01 12:55 ` Konrad Dybcio
2025-12-01 12:57 ` Casey Connolly
2025-12-01 21:55 ` David Heidelberg
2025-12-02 10:40 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox