Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 610175b7 authored by Sascha Hauer's avatar Sascha Hauer Committed by Matthias Brugger
Browse files

dt-bindings: MediaTek: Add binding document for the AUXADC

parent e16cb8c2
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
MediaTek AUXADC
===============

The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found
in some Mediatek SoCs which among other things measures the temperatures
in the SoC. It can be used directly with register accesses, but it is also
used by thermal controller which reads the temperatures from the AUXADC
directly via its own bus interface. See
Documentation/devicetree/bindings/thermal/mediatek-thermal.txt
for the Thermal Controller which holds a phandle to the AUXADC.

Required properties:
- compatible: Must be "mediatek,mt8173-auxadc"
- reg: Address range of the AUXADC unit

Example:

auxadc: auxadc@11001000 {
	compatible = "mediatek,mt8173-auxadc";
	reg = <0 0x11001000 0 0x1000>;
};