diff mbox series

[1/5] dt-bindings: mfd: rk809: Use correct compatible in the example

Message ID 20240619-rk809-fixes-v1-1-fa93bc5313f4@collabora.com (mailing list archive)
State New, archived
Headers show
Series DT fixes for Rockchip RK809 audio codec support | expand

Commit Message

Cristian Ciocaltea June 19, 2024, 11:23 a.m. UTC
The example is not able to actually test the schema since it uses a
wrong compatible 'rockchip,rk808' instead of 'rockchip,rk809'.

Use the correct compatible and drop the wrong properties in the
example section so that dt_binding_check passes.

Fixes: 6c38ca03406e ("dt-bindings: mfd: rk808: Convert bindings to yaml")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
 Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Comments

Heiko Stuebner June 19, 2024, 12:05 p.m. UTC | #1
Am Mittwoch, 19. Juni 2024, 13:23:30 CEST schrieb Cristian Ciocaltea:
> The example is not able to actually test the schema since it uses a
> wrong compatible 'rockchip,rk808' instead of 'rockchip,rk809'.
> 
> Use the correct compatible and drop the wrong properties in the
> example section so that dt_binding_check passes.
> 
> Fixes: 6c38ca03406e ("dt-bindings: mfd: rk808: Convert bindings to yaml")
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Krzysztof Kozlowski June 21, 2024, 10:14 a.m. UTC | #2
On 19/06/2024 13:23, Cristian Ciocaltea wrote:
> The example is not able to actually test the schema since it uses a
> wrong compatible 'rockchip,rk808' instead of 'rockchip,rk809'.
> 
> Use the correct compatible and drop the wrong properties in the
> example section so that dt_binding_check passes.
> 
> Fixes: 6c38ca03406e ("dt-bindings: mfd: rk808: Convert bindings to yaml")
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
index 839c0521f1e5..a327d73f3c43 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
@@ -126,11 +126,10 @@  examples:
         #address-cells = <1>;
         #size-cells = <0>;
 
-        rk808: pmic@1b {
-            compatible = "rockchip,rk808";
+        pmic@1b {
+            compatible = "rockchip,rk809";
             reg = <0x1b>;
             #clock-cells = <1>;
-            clock-output-names = "xin32k", "rk808-clkout2";
             interrupt-parent = <&gpio3>;
             interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
             pinctrl-names = "default";
@@ -146,9 +145,6 @@  examples:
             vcc7-supply = <&vcc_sysin>;
             vcc8-supply = <&vcc3v3_sys>;
             vcc9-supply = <&vcc_sysin>;
-            vcc10-supply = <&vcc_sysin>;
-            vcc11-supply = <&vcc_sysin>;
-            vcc12-supply = <&vcc3v3_sys>;
 
             regulators {
                 vdd_center: DCDC_REG1 {