提交 384fdcec 编写于 作者: J Johan Jonker 提交者: Heiko Stuebner

ARM: dts: rockchip: swap clocks and clock-names values for spdif nodes

Current dts files with 'spdif' nodes are manually verified.
In order to automate this process rockchip-spdif.txt
has to be converted to yaml. In the new setup dtbs_check with
rockchip-spdif.yaml expect clocks and clock-names values
in the same order. Fix this for some older Rockchip models.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
Signed-off-by: NJohan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200312172240.21362-2-jbx6244@gmail.comSigned-off-by: NHeiko Stuebner <heiko@sntech.de>
上级 579f52f6
...@@ -184,8 +184,8 @@ ...@@ -184,8 +184,8 @@
compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif"; compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
reg = <0x1011e000 0x2000>; reg = <0x1011e000 0x2000>;
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
clock-names = "hclk", "mclk"; clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF>; clock-names = "mclk", "hclk";
dmas = <&dmac1_s 8>; dmas = <&dmac1_s 8>;
dma-names = "tx"; dma-names = "tx";
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -954,8 +954,8 @@ ...@@ -954,8 +954,8 @@
compatible = "rockchip,rk3288-spdif", "rockchip,rk3066-spdif"; compatible = "rockchip,rk3288-spdif", "rockchip,rk3066-spdif";
reg = <0x0 0xff8b0000 0x0 0x10000>; reg = <0x0 0xff8b0000 0x0 0x10000>;
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
clock-names = "hclk", "mclk"; clocks = <&cru SCLK_SPDIF8CH>, <&cru HCLK_SPDIF8CH>;
clocks = <&cru HCLK_SPDIF8CH>, <&cru SCLK_SPDIF8CH>; clock-names = "mclk", "hclk";
dmas = <&dmac_bus_s 3>; dmas = <&dmac_bus_s 3>;
dma-names = "tx"; dma-names = "tx";
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册