diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2017-08-18 04:28:49 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-18 14:35:38 +0300 |
commit | 57127d9b8bcbecaac9470f62361570939dde49fd (patch) | |
tree | 5d2c866d3e267e667f3c5560251218e2bbeee82d /Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | |
parent | 549acff975c9245ea8d469c0defa50e52489227c (diff) | |
download | linux-57127d9b8bcbecaac9470f62361570939dde49fd.tar.xz |
ASoC: mediatek: Add interrupt-names property in binding text
Add interrupt-names property in DT - if future revisions of the IP
have different sets of interrupts the binding can adapt gracefully.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
CC: Garlic Tseng <garlic.tseng@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt b/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt index 9800a560e0c2..77a57f84bed4 100644 --- a/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt +++ b/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt @@ -3,7 +3,8 @@ Mediatek AFE PCM controller for mt2701 Required properties: - compatible = "mediatek,mt2701-audio"; - reg: register location and size -- interrupts: Should contain AFE interrupt +- interrupts: should contain AFE and ASYS interrupts +- interrupt-names: should be "afe" and "asys" - power-domains: should define the power domain - clock-names: should have these clock names: "infra_sys_audio_clk", @@ -59,6 +60,7 @@ Example: <0 0x112A0000 0 0x20000>; interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>, <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "afe", "asys"; power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; clocks = <&infracfg CLK_INFRA_AUDIO>, <&topckgen CLK_TOP_AUD_MUX1_SEL>, |