Re: [PATCH v2 01/10] dt-bindings: hwmon: Describe Qualcomm BCL hardware

Daniel Lezcano <[email protected]> Thu, 30 Jul 2026 13:35:00 +0200
Newsgroups org.kernel.vger.linux-hwmon,dev.linux.lists.mfd,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi Krzystof,


On 7/23/26 10:11, Krzysztof Kozlowski wrote:
> On Wed, Jul 22, 2026 at 12:00:06AM +0530, Manaf Meethalavalappu Pallikunhi wrote:
>> +properties:
>> +  compatible:
>> +    enum:
>> +      - qcom,pm7250b-bcl
>> +      - qcom,pm8350c-bcl
>> +      - qcom,pm8550-bcl
>> +      - qcom,pmh0101-bcl
>> +      - qcom,pmih0108-bcl
>> +      - qcom,smb2360-bcl
>> +      - qcom,smb2370-bcl
>> +
>> +  reg:
>> +    maxItems: 1
>> +
>> +  interrupts:
>> +    maxItems: 2
>> +
>> +  interrupt-names:
>> +    items:
>> +      - const: max-min
>> +      - const: critical
>> +
> 
> Binding looks in general ok, but feels incomplete. If this is battery
> limiting hardware, does it actually need any battery data through
> monitored-battery property?

I'm not sure it is relevant here. The BCL is not a power supply neither 
a charger. It monitors a power supply output which can be a battery or 
another source of power AFAIU.

The monitored-battery property is used by chargers or fuel gauges if I 
refer to the documentation.

The BCL monitors the output of the power supply while the chargers 
monitors the input for the battery.

Manaf, does it sound correct ?