ASoC: rockchip: separate pinctrl pins from each other
authorSugar Zhang <sugar.zhang@rock-chips.com>
Mon, 21 Aug 2017 08:25:07 +0000 (16:25 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:09:33 +0000 (17:09 +0100)
pdm sdi0~3 pins are optional, for example, if 4ch required,
only sdi0~1 need to be enabled.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rockchip,pdm.txt

index 921729de7346eb659f4bceba0a71f97d3922b577..2ad66f649a28fabed59c28e518a3b68f6d7c2973 100644 (file)
@@ -29,11 +29,14 @@ pdm: pdm@ff040000 {
        dma-names = "rx";
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&pdmm0_clk
-                    &pdmm0_fsync
                     &pdmm0_sdi0
                     &pdmm0_sdi1
                     &pdmm0_sdi2
                     &pdmm0_sdi3>;
-       pinctrl-1 = <&pdmm0_sleep>;
+       pinctrl-1 = <&pdmm0_clk_sleep
+                    &pdmm0_sdi0_sleep
+                    &pdmm0_sdi1_sleep
+                    &pdmm0_sdi2_sleep
+                    &pdmm0_sdi3_sleep>;
        status = "disabled";
 };