Re: [PATCH v2 1/3] dt-bindings: power: Add MediaTek MT6858 power domain controller

Krzysztof Kozlowski <[email protected]>
Newsgroups org.infradead.lists.linux-mediatek,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
Message-ID <[email protected]>
On 20/07/2026 21:09, Nikolai Burov wrote:
> On 7/20/26 8:05 AM, Krzysztof Kozlowski wrote:
>> On Wed, Jul 15, 2026 at 04:54:05PM +0300, Nikolai Burov wrote:
>>> Add a new compatible and document bindings for the power domain
>>> controller of the MT6858 SoC.
>>>
>>> Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
>>
>> To provide review, please open and read the entire file.
>>
>>> Signed-off-by: Nikolai Burov <[email protected]>
>>> ---
>>>  .../bindings/power/mediatek,power-controller.yaml  | 21 +++++++++++++++++++-
>>>  include/dt-bindings/power/mediatek,mt6858-power.h  | 23 ++++++++++++++++++++++
>>>  2 files changed, 43 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
>>> index 070c6e5666dc..d03e4a925163 100644
>>> --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
>>> +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
>>> @@ -25,6 +25,7 @@ properties:
>>>      enum:
>>>        - mediatek,mt6735-power-controller
>>>        - mediatek,mt6795-power-controller
>>> +      - mediatek,mt6858-power-controller
>>>        - mediatek,mt6893-power-controller
>>>        - mediatek,mt8167-power-controller
>>>        - mediatek,mt8173-power-controller
>>> @@ -56,7 +57,7 @@ properties:
>>>        faults while enabling or disabling a power domain.
>>>        For example, this may hold phandles to INFRACFG and SMI.
>>>      minItems: 1
>>> -    maxItems: 3
>>> +    maxItems: 6
>>
>> And the rest? Why does this device have flexible number of access
>> controllers?
> 
> For mt6858, the "items" list I provided already overrides both minItems 
> and maxItems, so it has a fixed number (6) of access controllers.

Correct, somehow I missed that part of the diff for this file.

Best regards,
Krzysztof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.