From patchwork Wed Oct 2 16:07:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11171475 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29B4816B1 for ; Wed, 2 Oct 2019 16:08:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0268021D81 for ; Wed, 2 Oct 2019 16:08:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Erefc+M9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="bYxG6pWc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0268021D81 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qYV2jIByJjfj+/G1m+0ie+jvEKsA6sCF5/7OyP0RpDQ=; b=Erefc+M9VBf5Xf TmoxSE6WkcEnyLO5lkLn14Y+6tWouFwQSlJyBx1C0wrNcs0PEfAwX1YqW3bt+48YUzHb4GEoZmlaQ s3IkP5tMx2yxp8j7CSWUceqH83uJxmNzybov79//GiPG8+2B/yoIjE3ODPwCV8mjHFz2RRBqlqYRM 9jhCQHUEYcYLddo9IyAnZk4lBu+ptNkTuUJU3EO+u/2UTV888nmZNdIqkrvvMGdNnSN6X08/Cdk4A ylq+YTDpHaY9Wg1PN8jS5dyaqWJJB4Ye5qxuWe2T8ZF6MdnuQOWakuctkRc91+ZudprwIy3AB8H7Q /m/9BzyX3Jgl8FywNsZw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFhBK-0002yD-5w; Wed, 02 Oct 2019 16:08:50 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFhAp-0002Rj-QR for linux-arm-kernel@lists.infradead.org; Wed, 02 Oct 2019 16:08:21 +0000 Received: from localhost.localdomain (unknown [194.230.155.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D559222C0; Wed, 2 Oct 2019 16:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570032499; bh=pcFz/sD7PH4IH6xMAtmOeZNqcSRuozele8JXhvaouMc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bYxG6pWcYa6FygTakxRrGwcHOMRAz4V+pzM86VRYTboCOryby7LctXEtGXVNH8jU7 cY1CrmkZh4hg5nf4/G1eiD5+nn+tVV+lofSgIxeL9ay2sfjobdylGRVSXNpicp6W31 9ouUToHfKBDb8nYx2fTmkWwqZi9P1+jgLnQcyclc= From: Krzysztof Kozlowski To: Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Sebastian Reichel , Alessandro Zummo , Alexandre Belloni , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org Subject: [PATCH 4/4] dt-bindings: iio: adc: exynos: Use defines instead of clock numbers Date: Wed, 2 Oct 2019 18:07:44 +0200 Message-Id: <20191002160744.11307-4-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191002160744.11307-1-krzk@kernel.org> References: <20191002160744.11307-1-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191002_090819_902908_36D78679 X-CRM114-Status: GOOD ( 12.38 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Make the examples in Exynos ADC bindings more readable and bring them closer to real DTS by using defines for clocks. Signed-off-by: Krzysztof Kozlowski Acked-by: Jonathan Cameron --- .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml index a0a9b909ac40..a3010e7ea051 100644 --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml @@ -135,6 +135,8 @@ examples: }; - | + #include + adc@126c0000 { compatible = "samsung,exynos3250-adc"; reg = <0x126C0000 0x100>; @@ -142,8 +144,8 @@ examples: #io-channel-cells = <1>; io-channel-ranges; - clocks = <&cmu 0>, // CLK_TSADC - <&cmu 1>; // CLK_SCLK_TSADC + clocks = <&cmu CLK_TSADC>, + <&cmu CLK_SCLK_TSADC>; clock-names = "adc", "sclk"; vdd-supply = <&buck5_reg>;