Skip to content

Commit aaf162d

Browse files
Neal Liumbgg
authored andcommitted
dt-bindings: devapc: add bindings for mtk-devapc
Add bindings for mtk-devapc. Signed-off-by: Neal Liu <neal.liu@mediatek.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/1602732039-12179-2-git-send-email-neal.liu@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent a69dcdf commit aaf162d

File tree

1 file changed

+58
-0
lines changed
  • Documentation/devicetree/bindings/soc/mediatek

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
# # Copyright 2020 MediaTek Inc.
3+
%YAML 1.2
4+
---
5+
$id: "http://devicetree.org/schemas/soc/mediatek/devapc.yaml#"
6+
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7+
8+
title: MediaTek Device Access Permission Control driver
9+
10+
description: |
11+
MediaTek bus fabric provides TrustZone security support and data
12+
protection to prevent slaves from being accessed by unexpected masters.
13+
The security violation is logged and sent to the processor for further
14+
analysis and countermeasures.
15+
16+
maintainers:
17+
- Neal Liu <neal.liu@mediatek.com>
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- mediatek,mt6779-devapc
23+
24+
reg:
25+
description: The base address of devapc register bank
26+
maxItems: 1
27+
28+
interrupts:
29+
description: A single interrupt specifier
30+
maxItems: 1
31+
32+
clocks:
33+
description: Contains module clock source and clock names
34+
maxItems: 1
35+
36+
clock-names:
37+
description: Names of the clocks list in clocks property
38+
maxItems: 1
39+
40+
required:
41+
- compatible
42+
- reg
43+
- interrupts
44+
- clocks
45+
- clock-names
46+
47+
examples:
48+
- |
49+
#include <dt-bindings/interrupt-controller/arm-gic.h>
50+
#include <dt-bindings/clock/mt6779-clk.h>
51+
52+
devapc: devapc@10207000 {
53+
compatible = "mediatek,mt6779-devapc";
54+
reg = <0x10207000 0x1000>;
55+
interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
56+
clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
57+
clock-names = "devapc-infra-clock";
58+
};

0 commit comments

Comments
 (0)