Re: [PATCH 1/7] dt-bindings: soc: qcom: Add qcom-pbs bindings

From: Krzysztof Kozlowski
Date: Sat Jul 01 2023 - 07:04:00 EST


On 29/06/2023 03:19, Anjelique Melendez wrote:

>>> +examples:
>>> + - |
>>> + pmic {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
>>> + qcom,pbs@7400 {
>>> + compatible = "qcom,pbs";
>>> + reg = <0x7400>;
>>> + };
>>
>> Why do you need a child node for this? Is there more than 1 instance in
>> a PMIC? Every sub-function of a PMIC doesn't have to have a DT node.
>>
>
> We currently have another downstream driver (which is planned to get upstreamed)
> which also needs a handle to a pbs device in order to properly trigger events.

I don't see how does it answer Rob's concerns. Neither mine about
incomplete binding. You don't need pbs node here for that.

Anyway, whatever you have downstream also does not justify any changes.
Either upstream these so we can see it or drop this binding.

Best regards,
Krzysztof