linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192
@ 2021-04-09  8:19 Nina Wu
  2021-04-09  8:19 ` [PATCH v3 2/7] soc: mediatek: devapc: get 'vio_idx_num' info from DT Nina Wu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Nina Wu @ 2021-04-09  8:19 UTC (permalink / raw)
  To: Rob Herring, Matthias Brugger
  Cc: Nina Wu, Zhen Lei, Neal Liu, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, srv_heupstream,
	Jackson-kt.Chang

From: Nina Wu <Nina-CM.Wu@mediatek.com>

For new ICs, there are multiple devapc HWs for different subsys.
We add a field 'vio-idx-num' in DT to indicate the number of
devices controlled by each devapc.
To be backward compatible with old ICs which have only one devapc
HW, this field is not required. The 'vio-idx-num' info will be set
in compatible data instead.

Signed-off-by: Nina Wu <Nina-CM.Wu@mediatek.com>
---
 Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
index 31e4d3c..909e524 100644
--- a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
+++ b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
@@ -20,11 +20,17 @@ properties:
   compatible:
     enum:
       - mediatek,mt6779-devapc
+      - mediatek,mt8192-devapc
 
   reg:
     description: The base address of devapc register bank
     maxItems: 1
 
+  mediatek,vio-idx-num:
+    description: The number of the devices controlled by devapc
+    $ref: /schemas/types.yaml#/definitions/uint32
+    maxItems: 1
+
   interrupts:
     description: A single interrupt specifier
     maxItems: 1
-- 
2.6.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-12 16:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09  8:19 [PATCH v3 1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192 Nina Wu
2021-04-09  8:19 ` [PATCH v3 2/7] soc: mediatek: devapc: get 'vio_idx_num' info from DT Nina Wu
2021-04-09  8:19 ` [PATCH v3 3/7] soc: mediatek: devapc: add shared flag to IRQ Nina Wu
2021-04-09  8:19 ` [PATCH v3 4/7] soc: mediatek: devapc: rename register variable infra_base Nina Wu
2021-04-09  8:19 ` [PATCH v3 5/7] soc: mediatek: devapc: add debug register for new IC support Nina Wu
2021-04-09  8:19 ` [PATCH v3 6/7] soc: mediatek: devapc: support mt8192 Nina Wu
2021-04-09  8:19 ` [PATCH v3 7/7] arm64: dts: mt8192: Add devapc node Nina Wu
2021-04-12 15:59 ` [PATCH v3 1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192 Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).