diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-19 02:18:46 -0500 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-04-20 07:32:57 -0400 |
commit | 610175b7972afc78f0e4a622a17a32b1fccad4bf (patch) | |
tree | 34b23c15a160b2b534b249fda7eea0fbfae38b72 | |
parent | e16cb8c23b51faf23a120feac149e10423b2e37d (diff) |
dt-bindings: MediaTek: Add binding document for the AUXADC
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | Documentation/devicetree/bindings/soc/mediatek/auxadc.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt b/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt new file mode 100644 index 000000000000..bdb782918a72 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | MediaTek AUXADC | ||
2 | =============== | ||
3 | |||
4 | The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found | ||
5 | in some Mediatek SoCs which among other things measures the temperatures | ||
6 | in the SoC. It can be used directly with register accesses, but it is also | ||
7 | used by thermal controller which reads the temperatures from the AUXADC | ||
8 | directly via its own bus interface. See | ||
9 | Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | ||
10 | for the Thermal Controller which holds a phandle to the AUXADC. | ||
11 | |||
12 | Required properties: | ||
13 | - compatible: Must be "mediatek,mt8173-auxadc" | ||
14 | - reg: Address range of the AUXADC unit | ||
15 | |||
16 | Example: | ||
17 | |||
18 | auxadc: auxadc@11001000 { | ||
19 | compatible = "mediatek,mt8173-auxadc"; | ||
20 | reg = <0 0x11001000 0 0x1000>; | ||
21 | }; | ||