[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57c2ca7c-05be-7fc1-69ad-e06b6e571d60@linaro.org>
Date: Fri, 18 Nov 2022 15:46:26 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Neil Armstrong <neil.armstrong@...aro.org>,
Jakub Kicinski <kuba@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Rob Herring <robh+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>,
Alessandro Zummo <a.zummo@...ertech.it>,
Eric Dumazet <edumazet@...gle.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Kevin Hilman <khilman@...libre.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Heiner Kallweit <hkallweit1@...il.com>,
Vinod Koul <vkoul@...nel.org>,
Russell King <linux@...linux.org.uk>,
Thomas Gleixner <tglx@...utronix.de>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Guenter Roeck <linux@...ck-us.net>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Jerome Brunet <jbrunet@...libre.com>,
Paolo Abeni <pabeni@...hat.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
"David S. Miller" <davem@...emloft.net>
Cc: linux-media@...r.kernel.org, netdev@...r.kernel.org,
linux-amlogic@...ts.infradead.org, linux-mmc@...r.kernel.org,
linux-rtc@...r.kernel.org, linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
linux-watchdog@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH 01/12] dt-bindings: firmware: convert meson_sm.txt to
dt-schema
On 18/11/2022 15:33, Neil Armstrong wrote:
> Convert the Amlogic Secure Monitor bindings to dt-schema.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@...aro.org>
> ---
> .../bindings/firmware/amlogic,meson-gxbb-sm.yaml | 36 ++++++++++++++++++++++
> .../bindings/firmware/meson/meson_sm.txt | 15 ---------
> 2 files changed, 36 insertions(+), 15 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml b/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml
> new file mode 100644
> index 000000000000..33d1408610cf
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml
> @@ -0,0 +1,36 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/firmware/amlogic,meson-gxbb-sm.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Amlogic Secure Monitor (SM)
> +
> +description:
> + In the Amlogic SoCs the Secure Monitor code is used to provide access to the
> + NVMEM, enable JTAG, set USB boot, etc...
> +
> +maintainers:
> + - Neil Armstrong <neil.armstrong@...aro.org>
> +
> +properties:
> + compatible:
> + const: amlogic,meson-gxbb-sm
> +
> +patternProperties:
> + "power-controller":
This looks like a property, not a pattern.
> + type: object
> + $ref: /schemas/power/amlogic,meson-sec-pwrc.yaml#
Would be nice to add it here to example and drop from
amlogic,meson-sec-pwrc.yaml (unless it will be used by more schemas?).
Best regards,
Krzysztof
Powered by blists - more mailing lists