[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68d60eb6-605d-153b-3074-37d1777ea6d8@linaro.org>
Date: Tue, 12 Jul 2022 10:31:36 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>, robh+dt@...nel.org
Cc: krzysztof.kozlowski+dt@...aro.org, matthias.bgg@...il.com,
chun-jie.chen@...iatek.com, weiyi.lu@...iatek.com,
mbrugger@...e.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, kernel@...labora.com,
nfraprado@...labora.com
Subject: Re: [PATCH 1/3] dt-bindings: power: mediatek: Document phandle to
SCPSYS syscon node
On 11/07/2022 14:25, AngeloGioacchino Del Regno wrote:
> Add a phandle to the syscon block providing access to SCPSYS registers:
> this allows us to avoid using simple-mfd for the SCPSYS node and
> nesting the System Power Manager node inside.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
> ---
> .../devicetree/bindings/power/mediatek,power-controller.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
> index 135c6f722091..848fdff7c9d8 100644
> --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
> +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
> @@ -39,6 +39,11 @@ properties:
> '#size-cells':
> const: 0
>
> + syscon:
This is not a generic property. You need vendor prefix and property name
(can be followed by -syscon).
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description:
> + Phandle to the syscon block providing access to SCPSYS registers
> +
> patternProperties:
> "^power-domain@[0-9a-f]+$":
> type: object
Best regards,
Krzysztof
Powered by blists - more mailing lists