]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: mediatek: mt8195: add reset property
authorTrevor Wu <trevor.wu@mediatek.com>
Tue, 8 Mar 2022 07:24:32 +0000 (15:24 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 11 Mar 2022 13:41:13 +0000 (13:41 +0000)
Add required properties "resets" and "reset_names", which are used to
specify audiosys hw reset for mt8195 afe driver.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20220308072435.22460-3-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mt8195-afe-pcm.yaml

index 6d0975b33d1564a66d899fa7df7b0c31bb5f9cee..4452a4070eff8a4e15e62fa90ff5665285bab45e 100644 (file)
@@ -19,6 +19,12 @@ properties:
   interrupts:
     maxItems: 1
 
+  resets:
+    maxItems: 1
+
+  reset-names:
+    const: audiosys
+
   memory-region:
     maxItems: 1
     description: |
@@ -127,6 +133,8 @@ required:
   - compatible
   - reg
   - interrupts
+  - resets
+  - reset-names
   - mediatek,topckgen
   - power-domains
   - clocks
@@ -144,6 +152,8 @@ examples:
         compatible = "mediatek,mt8195-audio";
         reg = <0x10890000 0x10000>;
         interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0>;
+        resets = <&watchdog 14>;
+        reset-names = "audiosys";
         mediatek,topckgen = <&topckgen>;
         power-domains = <&spm 7>; //MT8195_POWER_DOMAIN_AUDIO
         memory-region = <&snd_dma_mem_reserved>;