[alsa-devel] [PATCH v2 0/2] Patches to add support pdm controller for rk3328
These patches to add support pdm for rk3328 socs.
Changes in v2: - separate pinctrl pins remove unused fsync clk, it's debug pins
Sugar Zhang (2): arm64: dts: rockchip: add rk3328 pdm node ASoC: rockchip: separate pinctrl pins from each other
.../devicetree/bindings/sound/rockchip,pdm.txt | 7 +- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 77 ++++++++++++++++++++++ 2 files changed, 82 insertions(+), 2 deletions(-)
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 ---
Changes in v2: None
Documentation/devicetree/bindings/sound/rockchip,pdm.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/rockchip,pdm.txt b/Documentation/devicetree/bindings/sound/rockchip,pdm.txt index 921729d..2ad66f6 100644 --- a/Documentation/devicetree/bindings/sound/rockchip,pdm.txt +++ b/Documentation/devicetree/bindings/sound/rockchip,pdm.txt @@ -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"; };
Am Montag, 21. August 2017, 16:25:07 CEST schrieb Sugar Zhang:
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
Reviewed-by: Heiko Stuebner heiko@sntech.de
But you might want to adapt the subject a bit and include that you're actually only change the example in the devicetree binding.
Heiko
On Mon, Aug 21, 2017 at 04:25:07PM +0800, Sugar Zhang wrote:
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
Changes in v2: None
Documentation/devicetree/bindings/sound/rockchip,pdm.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Acked-by: Rob Herring robh@kernel.org
participants (3)
-
Heiko Stuebner
-
Rob Herring
-
Sugar Zhang