15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/mediatek,mt2701-auxadc.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Mediatek AUXADC - ADC on Mediatek mobile SoC (mt65xx/mt81xx/mt27xx) 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Zhiyong Tao <zhiyong.tao@mediatek.com> 115def4c47SEmmanuel Vadot - Matthias Brugger <matthias.bgg@gmail.com> 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel Vadotdescription: | 145def4c47SEmmanuel Vadot The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found 155def4c47SEmmanuel Vadot in some Mediatek SoCs which among other things measures the temperatures 165def4c47SEmmanuel Vadot in the SoC. It can be used directly with register accesses, but it is also 175def4c47SEmmanuel Vadot used by thermal controller which reads the temperatures from the AUXADC 185def4c47SEmmanuel Vadot directly via its own bus interface. See mediatek-thermal bindings 195def4c47SEmmanuel Vadot for the Thermal Controller which holds a phandle to the AUXADC. 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadotproperties: 225def4c47SEmmanuel Vadot compatible: 235def4c47SEmmanuel Vadot oneOf: 245def4c47SEmmanuel Vadot - enum: 255def4c47SEmmanuel Vadot - mediatek,mt2701-auxadc 265def4c47SEmmanuel Vadot - mediatek,mt2712-auxadc 275def4c47SEmmanuel Vadot - mediatek,mt6765-auxadc 285def4c47SEmmanuel Vadot - mediatek,mt7622-auxadc 29*f126890aSEmmanuel Vadot - mediatek,mt7986-auxadc 305def4c47SEmmanuel Vadot - mediatek,mt8173-auxadc 315def4c47SEmmanuel Vadot - items: 325def4c47SEmmanuel Vadot - enum: 335def4c47SEmmanuel Vadot - mediatek,mt7623-auxadc 345def4c47SEmmanuel Vadot - const: mediatek,mt2701-auxadc 355def4c47SEmmanuel Vadot - items: 365def4c47SEmmanuel Vadot - enum: 375def4c47SEmmanuel Vadot - mediatek,mt8183-auxadc 38c9ccf3a3SEmmanuel Vadot - mediatek,mt8186-auxadc 39b97ee269SEmmanuel Vadot - mediatek,mt8188-auxadc 402eb4d8dcSEmmanuel Vadot - mediatek,mt8195-auxadc 415def4c47SEmmanuel Vadot - mediatek,mt8516-auxadc 425def4c47SEmmanuel Vadot - const: mediatek,mt8173-auxadc 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot reg: 455def4c47SEmmanuel Vadot maxItems: 1 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel Vadot clocks: 485def4c47SEmmanuel Vadot maxItems: 1 495def4c47SEmmanuel Vadot 505def4c47SEmmanuel Vadot clock-names: 515def4c47SEmmanuel Vadot const: main 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel Vadot "#io-channel-cells": 545def4c47SEmmanuel Vadot const: 1 555def4c47SEmmanuel Vadot 565def4c47SEmmanuel VadotadditionalProperties: false 575def4c47SEmmanuel Vadot 585def4c47SEmmanuel Vadotrequired: 595def4c47SEmmanuel Vadot - compatible 605def4c47SEmmanuel Vadot - reg 615def4c47SEmmanuel Vadot - clocks 625def4c47SEmmanuel Vadot - clock-names 635def4c47SEmmanuel Vadot - "#io-channel-cells" 645def4c47SEmmanuel Vadot 655def4c47SEmmanuel Vadotexamples: 665def4c47SEmmanuel Vadot - | 675def4c47SEmmanuel Vadot #include <dt-bindings/clock/mt8183-clk.h> 685def4c47SEmmanuel Vadot soc { 695def4c47SEmmanuel Vadot #address-cells = <2>; 705def4c47SEmmanuel Vadot #size-cells = <2>; 715def4c47SEmmanuel Vadot 725def4c47SEmmanuel Vadot adc@11001000 { 735def4c47SEmmanuel Vadot compatible = "mediatek,mt8183-auxadc", 745def4c47SEmmanuel Vadot "mediatek,mt8173-auxadc"; 755def4c47SEmmanuel Vadot reg = <0 0x11001000 0 0x1000>; 765def4c47SEmmanuel Vadot clocks = <&infracfg CLK_INFRA_AUXADC>; 775def4c47SEmmanuel Vadot clock-names = "main"; 785def4c47SEmmanuel Vadot #io-channel-cells = <1>; 795def4c47SEmmanuel Vadot }; 805def4c47SEmmanuel Vadot }; 815def4c47SEmmanuel Vadot... 82