Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1000080ybn; Wed, 2 Oct 2019 09:20:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwl415NczFx1q8oguQg7dBqbpU3R3+SrDHevReBLu4Hy0eeSwRlccHHfYRoVtv2oNdnU75M X-Received: by 2002:a50:ce06:: with SMTP id y6mr4597371edi.282.1570033259648; Wed, 02 Oct 2019 09:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570033259; cv=none; d=google.com; s=arc-20160816; b=TZqw8qEl4WVIP7dissQmbg1cyNQkOfHjWJMatXo+Kg6sg932YKicn2LLSqcBYAnLg6 fXUTYOspsXCJ7omKt4agfgLZg7m0WqmVhCHhSbrd9/oBiWTEhm6yxQUj2m5mBc0hHDow nR+SlhIr7LIQFSQBCb/ikJTe7CxaeoRGH4zgyfy3GvjeL5MitkN7UMn4OKgjoFalqMDO FT7SmmAotfmvenbzGGY7haLKaEffDkr82rx7JQE4IxTO7idgIExwkhQN3QGQldGr/ZS3 fo4CNPh6ZXyYuqZPWMSTBHJ7AEmbxqORCAbsB6AayCNobYOjd8JKGcSj9zQe+OCvxQ2w 49KQ== 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=Xf7Afg0Sz8qkFfdkmW7K7bMLr+3NCKSdfQGnRSA6C1w=; b=YDNkDKPYd0TxpsDDvgGkAL0E36l8Rb04Lnk8x3T87jqa6OT9BjrewbtuIspNqmUk7r W0avMGqc+g9fsYCZBf7wf9UOmG2GVVIXotrWS2tQjFNJDuP2mLcChgobgIBoFut4+IgI Wo2nLprI/4JvbnmtK4UPrkZG/3JSCHAVSnsvYCCDev4YclYArASUh7ZhXIOKzeeOlApT hC06FJwh9+1V8xFPPAzhP0d06iqJoT7KGwAE7vKn7Rgkl7dFBgMM+d5apnZrzGibfazc ZXE3DDcKEYuljBSS+1kQI8/FpF+c9Ub/hOgKa8pDLimccvwSb0d1KMGxQq5BGCkQaP9i PANA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yEmU39OE; 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 o22si4649023eju.25.2019.10.02.09.20.35; Wed, 02 Oct 2019 09:20:59 -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=yEmU39OE; 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 S1729248AbfJBQIJ (ORCPT + 99 others); Wed, 2 Oct 2019 12:08:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:36940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728141AbfJBQII (ORCPT ); Wed, 2 Oct 2019 12:08:08 -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 A88A021D82; Wed, 2 Oct 2019 16:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570032487; bh=aTT+KOPtG7lEZoKFjOcg12k7mYDVzqbZ+kRKqJj+Q/Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yEmU39OEZPdIZkciVrsHxumq0dwlb6xYD984LvdxOpFBegUQbYQWY/kqPJNkQB/S/ klHIFe9iE5JLM4gPOXgmmzDpt+3ictm+NdolqN8XcQ+4TvJlyCpK97vjB/H7i3U59c 6CWPL8cy4Ul0kVyv78QOfgaINaaEebGmpqnpqAvk= 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 2/4] dt-bindings: rtc: s3c: Use defines instead of clock numbers Date: Wed, 2 Oct 2019 18:07:42 +0200 Message-Id: <20191002160744.11307-2-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 S3C RTC bindings more readable and bring them closer to real DTS by using defines for clocks. Signed-off-by: Krzysztof Kozlowski --- 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