Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1000556ybn; Wed, 2 Oct 2019 09:21:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/YAjaEPVLaC6h8j1NOKOGXqbj1NoEaw8p+0r77gw0IpAa9Z9Y659LYo1Pw9SvkvSpO5l9 X-Received: by 2002:a50:908c:: with SMTP id c12mr4810375eda.45.1570033282757; Wed, 02 Oct 2019 09:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570033282; cv=none; d=google.com; s=arc-20160816; b=yfotFDM7gEExyvDevx0hzgECQ+S54T9Bzmh/oiJ2DubMt7F1OHQuMp3QV9Pd48X7FL jgK3edexvClSb1Z8F6UbPrsGf2j4GuDRBzDbm3ojEWBIMZivkVc+rFqPDknJ4QTodcTp Am43tsZrwbMAv9lNTsvzj5zE/dRQi35GUGmz5ofHgabDNVb9aChV7YZNm6+YEta4eYtc BVJpiGDtGaxysZ6h3h5IOpvgn863rqYo6vymoBTfj3YVshjx7n9iehy+M5xi+DiS9vis MLAS/upGZi5dCenPzdoR7KcZgYd0mJwoKLFNw2zi4/SDWD/pS+dBIGKUNZ2g2J0K+MHP c/jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:dkim-signature; bh=ux22la5XGndsEodzQvjLx50i82vb77TbOVFTFZSQqZg=; b=DMt+sg9faAFn6FMNiLLFkz9cfBJKgk4c64DKq5XIToGT9DwO0yzisxlXoGNc+vG7Zf tyaXlfLcHSskxvtUBGG4/A1pHk5eVdQ+itTLXWeWnTaC2iBFXUWfUeV4TRtTjdUvhy7e 15WKlHnd/hX5b30YC+NfCjGWCPjh1K1CvBHTjluiaxsYSn024AXurdZ2SSr5lsELPlL2 7bCFgzNygHbR9CMb4B4DzVnXSuAZsS4AyZJHJqt6IAztSeZyB6UEMV9/9Cx2gVva63yp Lk9lx8vnyNQDXfaXb6UhKYOljMunmIQsmqGJCJ+fBEI7JcfAqT4pQLkS7ifc8O1fUR+m 80MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bYxG6pWc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si11974598edb.394.2019.10.02.09.20.57; Wed, 02 Oct 2019 09:21:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bYxG6pWc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729285AbfJBQIU (ORCPT + 99 others); Wed, 2 Oct 2019 12:08:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:37248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727737AbfJBQIU (ORCPT ); Wed, 2 Oct 2019 12:08:20 -0400 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- .../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>; -- 2.17.1