[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211210172605.30618-6-flora.fu@mediatek.com>
Date: Sat, 11 Dec 2021 01:25:53 +0800
From: Flora Fu <flora.fu@...iatek.com>
To: Matthias Brugger <matthias.bgg@...il.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Sumit Semwal <sumit.semwal@...aro.org>,
Yong Wu <yong.wu@...iatek.com>,
Pi-Cheng Chen <pi-cheng.chen@...iatek.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-media@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>,
<linaro-mm-sig@...ts.linaro.org>, Flora Fu <flora.fu@...iatek.com>,
JB Tsai <jb.tsai@...iatek.com>
Subject: [PATCH 05/17] dt-bindings: soc: mediatek: apu: Add apu logger compatible
Add new document for apu logger compatible.
Signed-off-by: Flora Fu <flora.fu@...iatek.com>
---
.../soc/mediatek/mediatek,apu-logger.yaml | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml
diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml b/Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml
new file mode 100644
index 000000000000..9e56fb3b8080
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright 2021 (C) MediaTek Inc.
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/soc/mediatek/mediatek,apu-logger.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: MediaTek APU Logger for debug into microprocessor
+
+description: |
+ The APU logger is for debug usage. The APU remote microprocessor's logs
+ will be output to the mapped memory and application processor can read
+ logs from the dedicated reserved registers.
+
+maintainers:
+ - Flora Fu <flora.fu@...iatek.com>
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - mediatek,apu-sw-logger
+ reg:
+ maxItems: 1
+
+ iommus:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/memory/mt8192-larb-port.h>
+ apusys_sw_logger@...00040 {
+ compatible = "mediatek,apu-sw-logger";
+ reg = <0x19000040 0x10>;
+ iommus = <&iommu_apu IOMMU_PORT_APU_DATA>;
+ };
--
2.18.0
Powered by blists - more mailing lists