From patchwork Tue Jul 12 02:43:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "zhiyong.tao" X-Patchwork-Id: 9224535 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E2BB60871 for ; Tue, 12 Jul 2016 02:43:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 011DD27F17 for ; Tue, 12 Jul 2016 02:43:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E819727F8E; Tue, 12 Jul 2016 02:43:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 650BD27F17 for ; Tue, 12 Jul 2016 02:43:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMnfx-0008R1-DD; Tue, 12 Jul 2016 02:43:57 +0000 Received: from [218.249.47.110] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMnfo-0007ea-QH; Tue, 12 Jul 2016 02:43:49 +0000 Received: from mtkhts31.mediatek.inc [(172.27.4.250)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 173864385; Tue, 12 Jul 2016 10:43:19 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKHTS31.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 14.3.266.1; Tue, 12 Jul 2016 10:43:17 +0800 Message-ID: <1468291396.419.15.camel@mhfsdcap03> Subject: Re: [PATCH v4 1/3] dt-bindings: auxadc: Add binding document for Mediatek auxadc. From: zhiyong tao To: Date: Tue, 12 Jul 2016 10:43:16 +0800 In-Reply-To: <1468219197-9572-2-git-send-email-zhiyong.tao@mediatek.com> References: <1468219197-9572-1-git-send-email-zhiyong.tao@mediatek.com> <1468219197-9572-2-git-send-email-zhiyong.tao@mediatek.com> X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160711_194349_194384_528348DE X-CRM114-Status: GOOD ( 17.93 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, lars@metafoo.de, srv_heupstream@mediatek.com, linux-iio@vger.kernel.org, erin.lo@mediatek.com, dawei.chien@mediatek.com, liguo.zhang@mediatek.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, pmeerw@pmeerw.net, knaack.h@gmx.de, matthias.bgg@gmail.com, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, s.hauer@pengutronix.de, jic23@kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 2016-07-11 at 14:39 +0800, Zhiyong Tao wrote: > The commit adds the device tree binding documentation for the mediatek > auxadc found on Mediatek MT2701. > Thermal gets auxadc sample data by iio device. > So the commit changes auxadc device tree binding documentation from > /soc/mediatek/auxadc.txt to /iio/adc/mt6577_auxadc.txt. > > Signed-off-by: Zhiyong Tao > --- I forgot that I should use the command 'git format-patch -M' to submit this patch. The follow information is the patch after executing the above command. If the patch needs to be resent, please help to notify me. I will resend the patch quickly. The follow information: .../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt => iio/adc/mt6577_auxadc.txt} (50%) The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found @@ -10,12 +10,18 @@ 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 + - compatible: "mediatek,mt2701-auxadc" or "mediatek,mt8173-auxadc" + - reg: Address range of the AUXADC unit. + - clocks: Should contain a clock specifier for each entry in clock-names + - clock-names: Should contain "main". + - #io-channel-cells: Should be 1, see ../iio-bindings.txt Example: -auxadc: auxadc@11001000 { - compatible = "mediatek,mt8173-auxadc"; +auxadc: adc@11001000 { + compatible = "mediatek,mt2701-auxadc"; reg = <0 0x11001000 0 0x1000>; + clocks = <&pericfg CLK_PERI_AUXADC>; + clock-names = "main"; + #io-channel-cells = <1>; }; Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt similarity index 50% rename from Documentation/devicetree/bindings/soc/mediatek/auxadc.txt rename to Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt index bdb7829..bc23792 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt +++ b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt @@ -1,4 +1,4 @@ -MediaTek AUXADC +* Mediatek AUXADC - Analog to Digital Converter on Mediatek mobile soc (mt65xx/mt81xx/mt27xx) ===============