[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1456129925-24569-1-git-send-email-jay.xu@rock-chips.com>
Date: Mon, 22 Feb 2016 16:32:05 +0800
From: "jianqun.xu" <jay.xu@...k-chips.com>
To: heiko@...ech.de, robh+dt@...nel.org, pawel.moll@....com,
mark.rutland@....com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, broonie@...nel.org, perex@...ex.cz,
tiwai@...e.com, sugar.zhang@...k-chips.com
Cc: huangtao@...k-chips.com, jay.xu@...k-chips.com,
alsa-devel@...a-project.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, dianders@...omium.org,
davidriley@...omium.org, smbarber@...omium.org
Subject: [PATCH] ASoC: rockchip: add bindings for rk3399 i2s
From: Jianqun Xu <jay.xu@...k-chips.com>
Add devicetree bindings for i2s controller found on rk3399
processors from rockchip.
It's helpful to add full set of compatible strings for serials
of Rockchip SoCs (rk3066, rk3188, rk3288, rk3399).
Acked-by: Rob Herring <robh@...nel.org>
Signed-off-by: Jianqun Xu <jay.xu@...k-chips.com>
---
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 +
sound/soc/rockchip/rockchip_i2s.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
index b7f3a93..6e86d8a 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
@@ -9,6 +9,7 @@ Required properties:
- "rockchip,rk3066-i2s": for rk3066
- "rockchip,rk3188-i2s", "rockchip,rk3066-i2s": for rk3188
- "rockchip,rk3288-i2s", "rockchip,rk3066-i2s": for rk3288
+ - "rockchip,rk3399-i2s", "rockchip,rk3066-i2s": for rk3399
- reg: physical base address of the controller and length of memory mapped
region.
- interrupts: should contain the I2S interrupt.
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c
index 6561c4c..531a6d2 100644
--- a/sound/soc/rockchip/rockchip_i2s.c
+++ b/sound/soc/rockchip/rockchip_i2s.c
@@ -575,6 +575,9 @@ static int rockchip_i2s_remove(struct platform_device *pdev)
static const struct of_device_id rockchip_i2s_match[] = {
{ .compatible = "rockchip,rk3066-i2s", },
+ { .compatible = "rockchip,rk3188-i2s", },
+ { .compatible = "rockchip,rk3288-i2s", },
+ { .compatible = "rockchip,rk3399-i2s", },
{},
};
--
1.9.1
Powered by blists - more mailing lists