Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3022702ybp; Sun, 6 Oct 2019 03:05:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAZKvWj042EdrRhuGXqqSPDxQYaOFmpW1/vbJX6Cct+HyLAefPad23Ekp+xcJcRa88A+Ns X-Received: by 2002:a50:be87:: with SMTP id b7mr24252096edk.37.1570356358230; Sun, 06 Oct 2019 03:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570356358; cv=none; d=google.com; s=arc-20160816; b=fO7aJVxBE4n0fFoqBCkfjCK5mZM1QDMYXeXWQmikkwKRsmGNbmY5w+bqGXsK2Xh91j JXRl+0dsybQbdG/I15qvINMDL0wFIpZBWPKzyyzo8MF8bAzbdpakeqAo+YLSAWhZzbZf 4ol+8tZDhS7ZSkRk+U69VnwsltHu1ltEsLc4tLvHNniJLc1qC97lqbXVpNFl+kjdlTLb ZtR8pUraQL7MeNwEpzne9PMks8JwnZrGm+AzCYUBYcIz9gbHQB2IRmXYGgEKwB9oIv+g U+E0qtvxfD9H0CfEi+n76h9ripvWIy8YelUeMUHYQ68jLS9fC6DZmUGvp2yDuQYWpZOK /Eig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ztLRixnxFiX2lqygAhbvT6EjaEzW/h+5omC8c/TGqj4=; b=Awj4ZCI7+e7VCwyVhnMNEuVnrPEAsr6CNfO9/Gs9oyzWJfgko02vJagemhXna7UiZJ mDik8Iy/t1pa5k0qiMLhre6cGBENM0sdWRl31H7VgGzKXlFuH+o/A5Vtb66MT0w9xuaL Er1j186pUd4LeERyMUZASGCjklPkV5q7SEwwfgqJo+CKtimBcrBXNqwoetpyCHeOC83I UpdPHUQ/ubUpM1JG9Hrod09dMrLlpIhoF7tv6AETbUKzwa80SvDoPmHtT4He/nTW1OyL lb8RNRbeQYmXPiaqbZN5TQexgvJegwSB3ICnisayk1GBSQz1pQT5ScREF5ftXnFNqTiX 9qSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qXeNzunK; 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 z16si6863639edb.420.2019.10.06.03.05.34; Sun, 06 Oct 2019 03:05:58 -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=qXeNzunK; 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 S1726529AbfJFKCU (ORCPT + 99 others); Sun, 6 Oct 2019 06:02:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:57604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbfJFKCT (ORCPT ); Sun, 6 Oct 2019 06:02:19 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 77A352087E; Sun, 6 Oct 2019 10:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570356138; bh=WoWzz39cjtCzCBsaJMsfzp2UsQsEkwZw/OfDAiF+O6I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qXeNzunK/8EmIm8JxKPKzqkJ4VlMw4VuwJgpXwDkKaidkpxGSo3bRNW4gnWxblqae MrGTom/yIde5y8P8MclKhvLK9qC2xFxxQpyj5p0aYp+txlb3T1xgSpVus0TSzx9y5Z t1WFjkL7Rum72VkyaKs67wUpMHR7WZvajvdbidyM= Date: Sun, 6 Oct 2019 11:02:12 +0100 From: Jonathan Cameron To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Kukjin Kim , 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: Re: [PATCH 4/4] dt-bindings: iio: adc: exynos: Use defines instead of clock numbers Message-ID: <20191006110212.4e6fe30e@archlinux> In-Reply-To: <20191002160744.11307-4-krzk@kernel.org> References: <20191002160744.11307-1-krzk@kernel.org> <20191002160744.11307-4-krzk@kernel.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Oct 2019 18:07:44 +0200 Krzysztof Kozlowski wrote: > 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>;