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

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.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Nina Wu <Nina-CM.Wu@mediatek.com>
---
 Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
index 31e4d3c..69abd03 100644
--- a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
+++ b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
@@ -20,11 +20,16 @@ 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
+
   interrupts:
     description: A single interrupt specifier
     maxItems: 1
-- 
2.6.4


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

end of thread, other threads:[~2021-08-09  3:09 UTC | newest]

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

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).