From patchwork Mon Jul 11 03:09:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "zhiyong.tao" X-Patchwork-Id: 9222869 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 BFE4B60572 for ; Mon, 11 Jul 2016 03:10:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3E962793A for ; Mon, 11 Jul 2016 03:10:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7A662793D; Mon, 11 Jul 2016 03:10:39 +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=ham 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 340A22715B for ; Mon, 11 Jul 2016 03:10:39 +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 1bMRcE-0005hs-Af; Mon, 11 Jul 2016 03:10:38 +0000 Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMRc5-0005eM-QE; Mon, 11 Jul 2016 03:10:30 +0000 Received: from mtkhts09.mediatek.inc [(172.21.101.70)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 26003917; Mon, 11 Jul 2016 11:10:04 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkhts09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.266.1; Mon, 11 Jul 2016 11:10:02 +0800 From: Zhiyong Tao To: , , , , Subject: [PATCH v3 1/2] dt-bindings: auxadc: Add binding document for Mediatek auxadc. Date: Mon, 11 Jul 2016 11:09:55 +0800 Message-ID: <1468206596-13792-2-git-send-email-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1468206596-13792-1-git-send-email-zhiyong.tao@mediatek.com> References: <1468206596-13792-1-git-send-email-zhiyong.tao@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160710_201030_041804_19950BCA X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. 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, srv_heupstream@mediatek.com, linux-iio@vger.kernel.org, Zhiyong Tao , erin.lo@mediatek.com, dawei.chien@mediatek.com, liguo.zhang@mediatek.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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/mt65xx_auxadc.txt. Signed-off-by: Zhiyong Tao --- .../devicetree/bindings/iio/adc/mt65xx_auxadc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt b/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt index 47fcd1b..bc23792 100644 --- a/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt +++ b/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt @@ -14,11 +14,11 @@ Required properties: - 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 + - #io-channel-cells: Should be 1, see ../iio-bindings.txt Example: -auxadc: auxadc@11001000 { +auxadc: adc@11001000 { compatible = "mediatek,mt2701-auxadc"; reg = <0 0x11001000 0 0x1000>; clocks = <&pericfg CLK_PERI_AUXADC>;