* [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor
@ 2024-05-17 12:51 Krzysztof Kozlowski
2024-05-17 21:27 ` Rob Herring
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-17 12:51 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
Broadcom internal kernel review list, Stefan Wahren, devicetree,
linux-rpi-kernel, linux-arm-kernel, linux-kernel
Cc: Krzysztof Kozlowski
Document alreasdy used binding for Syscon / AVS monitor:
brcm,bcm2711-avs-monitor to fix dt_binding_check and dtbs_check warnings
like:
brcm,avs-ro-thermal.example.dtb: /example-0/avs-monitor@7d5d2000: failed to match any schema with compatible: ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd']
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../soc/bcm/brcm,bcm2711-avs-monitor.yaml | 44 +++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
new file mode 100644
index 000000000000..e02d9d7e7d9a
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2711-avs-monitor.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom AVS Monitor
+
+maintainers:
+ - Stefan Wahren <wahrenst@gmx.net>
+
+properties:
+ compatible:
+ items:
+ - const: brcm,bcm2711-avs-monitor
+ - const: syscon
+ - const: simple-mfd
+
+ reg:
+ maxItems: 1
+
+ thermal:
+ $ref: /schemas/thermal/brcm,avs-ro-thermal.yaml
+ description: Broadcom AVS ring oscillator thermal
+
+required:
+ - compatible
+ - reg
+ - thermal
+
+additionalProperties: false
+
+examples:
+ - |
+ avs-monitor@7d5d2000 {
+ compatible = "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd";
+ reg = <0x7d5d2000 0xf00>;
+
+ thermal: thermal {
+ compatible = "brcm,bcm2711-thermal";
+ #thermal-sensor-cells = <0>;
+ };
+ };
+...
--
2.43.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor
2024-05-17 12:51 [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor Krzysztof Kozlowski
@ 2024-05-17 21:27 ` Rob Herring
2024-05-17 22:00 ` Florian Fainelli
2024-05-23 7:24 ` Stefan Wahren
2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2024-05-17 21:27 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
Broadcom internal kernel review list, Stefan Wahren, devicetree,
linux-rpi-kernel, linux-arm-kernel, linux-kernel
On Fri, May 17, 2024 at 02:51:38PM +0200, Krzysztof Kozlowski wrote:
> Document alreasdy used binding for Syscon / AVS monitor:
> brcm,bcm2711-avs-monitor to fix dt_binding_check and dtbs_check warnings
> like:
>
> brcm,avs-ro-thermal.example.dtb: /example-0/avs-monitor@7d5d2000: failed to match any schema with compatible: ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd']
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../soc/bcm/brcm,bcm2711-avs-monitor.yaml | 44 +++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
I was about to start just deleting the remaining examples causing
warnings.
Reviewed-by: Rob Herring <robh@kernel.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor
2024-05-17 12:51 [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor Krzysztof Kozlowski
2024-05-17 21:27 ` Rob Herring
@ 2024-05-17 22:00 ` Florian Fainelli
2024-05-23 7:24 ` Stefan Wahren
2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2024-05-17 22:00 UTC (permalink / raw)
To: bcm-kernel-feedback-list, Krzysztof Kozlowski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
Stefan Wahren, devicetree, linux-rpi-kernel, linux-arm-kernel,
linux-kernel
Cc: Florian Fainelli
From: Florian Fainelli <f.fainelli@gmail.com>
On Fri, 17 May 2024 14:51:38 +0200, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
> Document alreasdy used binding for Syscon / AVS monitor:
> brcm,bcm2711-avs-monitor to fix dt_binding_check and dtbs_check warnings
> like:
>
> brcm,avs-ro-thermal.example.dtb: /example-0/avs-monitor@7d5d2000: failed to match any schema with compatible: ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd']
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor
2024-05-17 12:51 [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor Krzysztof Kozlowski
2024-05-17 21:27 ` Rob Herring
2024-05-17 22:00 ` Florian Fainelli
@ 2024-05-23 7:24 ` Stefan Wahren
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Wahren @ 2024-05-23 7:24 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Florian Fainelli,
Broadcom internal kernel review list, devicetree,
linux-rpi-kernel, linux-arm-kernel, linux-kernel
Hi,
Am 17.05.24 um 14:51 schrieb Krzysztof Kozlowski:
> Document alreasdy used binding for Syscon / AVS monitor:
s/alreasdy/already excepted of that: Reviewed-by: Stefan Wahren
<wahrenst@gmx.net> Thanks
> brcm,bcm2711-avs-monitor to fix dt_binding_check and dtbs_check warnings
> like:
>
> brcm,avs-ro-thermal.example.dtb: /example-0/avs-monitor@7d5d2000: failed to match any schema with compatible: ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd']
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../soc/bcm/brcm,bcm2711-avs-monitor.yaml | 44 +++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
>
> diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
> new file mode 100644
> index 000000000000..e02d9d7e7d9a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml
> @@ -0,0 +1,44 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2711-avs-monitor.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom AVS Monitor
> +
> +maintainers:
> + - Stefan Wahren <wahrenst@gmx.net>
> +
> +properties:
> + compatible:
> + items:
> + - const: brcm,bcm2711-avs-monitor
> + - const: syscon
> + - const: simple-mfd
> +
> + reg:
> + maxItems: 1
> +
> + thermal:
> + $ref: /schemas/thermal/brcm,avs-ro-thermal.yaml
> + description: Broadcom AVS ring oscillator thermal
> +
> +required:
> + - compatible
> + - reg
> + - thermal
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + avs-monitor@7d5d2000 {
> + compatible = "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd";
> + reg = <0x7d5d2000 0xf00>;
> +
> + thermal: thermal {
> + compatible = "brcm,bcm2711-thermal";
> + #thermal-sensor-cells = <0>;
> + };
> + };
> +...
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-23 7:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17 12:51 [PATCH] dt-bindings: soc: bcm: document brcm,bcm2711-avs-monitor Krzysztof Kozlowski
2024-05-17 21:27 ` Rob Herring
2024-05-17 22:00 ` Florian Fainelli
2024-05-23 7:24 ` Stefan Wahren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox