Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1296449imu; Wed, 16 Jan 2019 16:38:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN4BVJc1xeFDp5dtN0p4x/FslCxaGjFU0TwrjzGxNxhDyoiTPyW50xwCJh7coZQXuFI+KJGm X-Received: by 2002:a17:902:6113:: with SMTP id t19mr12451367plj.248.1547685509810; Wed, 16 Jan 2019 16:38:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547685509; cv=none; d=google.com; s=arc-20160816; b=tlsrc+oVhr/QEdY7Ku5MrwnzRYjHCw2KgOdAPmxvvUrHUxhU9KHl/XcavD1PRKkUL+ ITJo6IMVXCeFRYAolpUqGDwacK4VjwNF9mX5MdUw7YV2ZYoO7KVI9vMWq8TNEJekx9gk 1F4WNS2Om4FmXTH+GnDoJ7mfMNsNW83oo4db41y37qawwPdk1/1G5GBIqLkvQP4+s1rV g9RpMMoT0LliBnASPOTEgR+7Qszlt1n1M+JsYUSxSZKuNlvaesLFhUeJ8/maBjTDnmSS hJSypOImNFJayn4X1bJrbQjyZYwsGSbj4G4mvzFZ3vUxvw0g0uLu8EQpRdTlplRigs42 9eWg== 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=wMvltuEb67wibfY2D2ojfW+tDYLhRAe2UHf8TZ4RuI0=; b=PgVCC5054CHK9D6fiJcDU56TNJnONY6UOufsrblHzIrsEt+Fv82BRltS9ZCNxE4v3H CZb1PSA4LU7uD5SnqTsBt/HrvQGZXwpQLW2lE24iLk6XKveTs6kse9c6+IM5QIyrAckn jGECwumQZNi8Jb63ZcfoBc5uCU1SEy3Xqt6AkmcG1siAM1lqj30vp3Rczn8TYtRK1VvV VUiqCO3iFKfV/Vdr0Ex/ylM1CFGVIF+5vW7z1XTtthzKUBbXk47kbWdJ8Guc+7ZookYd iHRdjKjhAbAXZcBxqD/QfZe8l6Nszw4on2VghQRnDBSBjpg24ZnpSJp5BZFx+JZxmjBZ r1OA== 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; dmarc=fail (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 r2si7257372pgo.483.2019.01.16.16.38.14; Wed, 16 Jan 2019 16:38:29 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727390AbfAPVIJ (ORCPT + 99 others); Wed, 16 Jan 2019 16:08:09 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:43670 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbfAPVII (ORCPT ); Wed, 16 Jan 2019 16:08:08 -0500 Received: by mail-ot1-f65.google.com with SMTP id a11so9071070otr.10; Wed, 16 Jan 2019 13:08:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wMvltuEb67wibfY2D2ojfW+tDYLhRAe2UHf8TZ4RuI0=; b=rApDNUSYuVLJ2ZaRNdEtfR6ijf4qUzkHqScqjSP3Dxf0uFqsYEcwZGl+N0X2TG385L jQYl64D1G1q+9FZZDfKkqMEgHpTfpySTeV8evUxOoNkYQ7TcLmq52l1w0pjG/ercXx8e +0eMrz2bWSQzE5p5Ye/oUfFxNbDJN9z7/8S5uXDzuGQFeNS4yYU2bwRaZcvyz27i011/ qul/vF56qMjuVf3WPlNsY2Z3cXVmuqBn2BY03dcmHFTXRq0WFBEx/wA1FtuYjCKPIgmk PyuflWmhqBC6UOYuLzmf82i9xuf8i1bFiGV0+tXP8z1Iccf1htEQxCn4BZ1papIsCL63 dDwg== X-Gm-Message-State: AJcUukcUAYt8XDCD81KO7BmujySrUVLEK4GZByKRAH68YzMtX/tmEbkz 63YtuVWUhrc///dTvVF80A== X-Received: by 2002:a05:6830:134a:: with SMTP id r10mr6741543otq.195.1547672887417; Wed, 16 Jan 2019 13:08:07 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id j5sm4371074otc.54.2019.01.16.13.08.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 13:08:06 -0800 (PST) Date: Wed, 16 Jan 2019 15:08:06 -0600 From: Rob Herring To: Jan Kotas Cc: a.zummo@towertech.it, alexandre.belloni@bootlin.com, mark.rutland@arm.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: rtc: Add bindings for Cadence RTC Message-ID: <20190116210806.GA21535@bogus> References: <20190111151401.25047-1-jank@cadence.com> <20190111151401.25047-2-jank@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190111151401.25047-2-jank@cadence.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 11, 2019 at 03:14:00PM +0000, Jan Kotas wrote: > This patch adds a DT binding documentation for > Cadence RTC controller. > > Signed-off-by: Jan Kotas > --- > Documentation/devicetree/bindings/rtc/cdns,rtc.txt | 25 ++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/cdns,rtc.txt > > diff --git a/Documentation/devicetree/bindings/rtc/cdns,rtc.txt b/Documentation/devicetree/bindings/rtc/cdns,rtc.txt > new file mode 100644 > index 000000000..40713bbbe > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/cdns,rtc.txt > @@ -0,0 +1,25 @@ > +Cadence Real Time Clock > + > +The Cadence RTC controller with date, time and alarm capabilities. > +The alarm may wake the system from low-power state. > + > +Required properties: > +- compatible: Should be "cdns,rtc-r109v3" > +- reg: Specifies base physical address and size of the register area. > +- interrupts: A single interrupt specifier. > +- clocks: Must contain two entries: > + - pclk: APB registers clock > + - ref_clk: reference 1Hz of 100Hz clock, depending on IP configuration 1Hz OR 100Hz? > + See ../clocks/clock-bindings.txt for details. > + > +Example: > + rtc0: rtc@fd080000 { > + compatible = "cdns,rtc-r109v3"; > + reg = <0xfd080000 0x1000>; > + > + clock-names = "pclk", "ref_clk"; > + clocks = <&sysclock>, <&refclock>; > + > + interrupt-parent = <&gic>; > + interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; > + }; > -- > 2.15.0 >