lkml.org 
[lkml]   [2020]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 09/11] device-tree: bindings: sound: lpass-cpu: Add new compatible soc
Date
SC7180 soc varaints of LPASS uses lpass-cpu node but required few extra
devictree configuration. Update bindings documents with sc7180 compatible
string specific dts properties.

Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
---
.../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 25 +++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
index 727ec03..84bd95c 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
@@ -23,6 +23,7 @@ properties:
enum:
- qcom,lpass-cpu
- qcom,apq8016-lpass-cpu
+ - qcom,lpass-cpu-sc7180

reg:
items:
@@ -68,6 +69,14 @@ properties:
maxItems: 1
description: Phandle for the audio DSP node

+ iommus:
+ maxItems: 1
+ description: Phandle to apps_smmu node with sid mask
+
+ power-domains:
+ maxItems: 1
+ description: Phandle for power domain node
+
'#sound-dai-cells':
const: 1

@@ -108,6 +117,17 @@ required:
optional:
- qcom,adsp

+if:
+ properties:
+ compatible:
+ contains:
+ const: qcom,lpass-cpu-sc7180
+
+then:
+ required:
+ - iommus
+ - power-domains
+
examples:
lpass@28100000 {
compatible = "qcom,lpass-cpu";
@@ -120,7 +140,10 @@ examples:
"mi2s-bit-clk";

interrupts = <0 85 1>;
- interrupt-names = "lpass-irq-lpaif";
+ interrupt-names = "lpass-irq-lpaif";
+
+ iommus = <&apps_smmu 0x1020 0>;
+ power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;

reg = <0x28100000 0x10000>;
reg-names = "lpass-lpaif";
--
1.9.1
\
 
 \ /
  Last update: 2020-04-11 10:05    [W:0.089 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site