Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4288623ybp; Mon, 7 Oct 2019 06:19:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEV7bz6nT5WwWF2afVh5WYCjcAalfn9prkEGwexRVo5Lv6ziZVZeaNpAN6bnF54gqdjjUy X-Received: by 2002:a05:6402:1f4:: with SMTP id i20mr28960686edy.137.1570454362692; Mon, 07 Oct 2019 06:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570454362; cv=none; d=google.com; s=arc-20160816; b=ohYv3IADSp2+RE0oC40/wjTIsrqbD3D+6wnRBTQ5F5jbR7ecKSag84ugZSJLmaHOnN bS7uqiWJ/cdbdR2el2MsfZ/BZ9MUTHT7cjrD7flxLZqRNTQyIaz+PA5WkAsEJzZB5LJk IXa6jj0r4cr3x8l2QGdaumIAHzH2ip7KRPOjbGvbV9KG/GbBg+AXaPvLCfeQX84qtua/ F+8V+P1i+LRl577tbc1v6p5D2uu3PMrNbyVvS/XZ0+iheLfsgEfAtyEUNvl2+83eXfcV QXCiPfHodLpTVjCBVAOmud/0aIj0F7DtvY0RyC4sHh6N/E8fSZuIsI1YyFgV4UG6396R BnZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1OFZW9rrxCQ9FUt2y2XhX7yqHHFodI5flsrzn6Ax1mM=; b=ebbHSXctUKm13e+jN7VJFF2WEwvGNe53bgUzUvOR/ThZaNOICu7XsXSehr0QP1S3Ce qEYquvvwB24OovQyVamrGrugs2taLiv8i//aRTmxP7RYkdNrXqMyWzu1GO6jiDYUmn2X W4V6FXl3L/fWmH8lqC6ns0nKolMB7bJR6MPhkaCxNZeHApwcLEVYKkL9WK00geGSLqUa OZ0/LFKkaMGQLGvpr2WjJZZXQGovBtSq1t07EDkmDoh47b0MX0GQ8CGA8Kriob+Dt9uu v35A2ypb9uqLvbrDe0UF4fG96lqeD+ly6D8htAhxlv7I4vEnCG4F3TU5aMdoXGIY2Usk 8K6g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j4si6892398ejv.67.2019.10.07.06.18.58; Mon, 07 Oct 2019 06:19: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728377AbfJGNRn (ORCPT + 99 others); Mon, 7 Oct 2019 09:17:43 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55463 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727490AbfJGNRm (ORCPT ); Mon, 7 Oct 2019 09:17:42 -0400 X-Originating-IP: 86.207.98.53 Received: from localhost (aclermont-ferrand-651-1-259-53.w86-207.abo.wanadoo.fr [86.207.98.53]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B7BFE1C001A; Mon, 7 Oct 2019 13:17:38 +0000 (UTC) Date: Mon, 7 Oct 2019 15:17:36 +0200 From: Alexandre Belloni To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Kukjin Kim , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Sebastian Reichel , Alessandro Zummo , 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 2/4] dt-bindings: rtc: s3c: Use defines instead of clock numbers Message-ID: <20191007131736.GJ4254@piout.net> References: <20191002160744.11307-1-krzk@kernel.org> <20191002160744.11307-2-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191002160744.11307-2-krzk@kernel.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/10/2019 18:07:42+0200, Krzysztof Kozlowski wrote: > Make the examples in S3C RTC bindings more readable and bring them > closer to real DTS by using defines for clocks. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > index 95570d7e19eb..4d91cdc9b998 100644 > --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > @@ -75,11 +75,14 @@ allOf: > > examples: > - | > + #include > + #include > + > rtc@10070000 { > compatible = "samsung,s3c6410-rtc"; > reg = <0x10070000 0x100>; > interrupts = <0 44 4>, <0 45 4>; > - clocks = <&clock 0>, // CLK_RTC > - <&s2mps11_osc 0>; // S2MPS11_CLK_AP > + clocks = <&clock CLK_RTC>, > + <&s2mps11_osc S2MPS11_CLK_AP>; > clock-names = "rtc", "rtc_src"; > }; > -- > 2.17.1 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com