From patchwork Thu Mar 16 17:51:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Brandt X-Patchwork-Id: 739930 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pg0-x23d.google.com (mail-pg0-x23d.google.com [IPv6:2607:f8b0:400e:c05::23d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vkbdM19WJz9s2Q for ; Fri, 17 Mar 2017 04:51:51 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="CzxEqNQ+"; dkim-atps=neutral Received: by mail-pg0-x23d.google.com with SMTP id 37sf30803915pgx.0 for ; Thu, 16 Mar 2017 10:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=3eYcyf9snnWN8Ut+e45fptx/Hy2wptlHIUcpk8hFedk=; b=CzxEqNQ+V7tsnAy/xNfohsVd1r/zLr6h42gKiesKh1aCF3WTLPovUKRpeIWXldX1+o CrpQMxqiYqluCUAzSjNdm35CC3x7bdXqkriwlNTcEO7cN83nwb4FibQ8y4OqVf3+Faty 83et0MMCNS5kMHOZ2osuVaWJcpoCDpk23u4qf40uhy/HD0g7UmYBc13VUsI687N/8OL7 ZTmEdk5Scz0EBgzYBV065IityXWguFKqIbGums4oxJydPfcVLARCz0J8hLVkjlEgBEjh OfgJVBkN7T3L3eYBC98h8cb9NGKuwaZcJr+zmr1HlOztcuL2ygZNMyHFI02QNq5WxcH4 BhRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=3eYcyf9snnWN8Ut+e45fptx/Hy2wptlHIUcpk8hFedk=; b=nHbBVk/ZB3lWSVEiH1dls47bMzHbYNPcJ84j0pxBTq9A7KGGwphPGnyUFpOBgfQu2J gY6JOtjmxwVt5vrwxvnyZ1nbR9mhTvAHlDCH8zIJbH75wA6Gx7kmV/iKPGsYNhWwLmF3 tQkZ7lB89gZgDZfpeLqBlSg9yE42sn4VPQbhvOrX9lXZnSk0KeUDqJt+pytJRuve234N QnPrSEkTVv46KF9CtdyBQeefB41RdtOCfFpBTFD+5mB+qniq8ixoBrAahmiPouySe5jX 7YSLW17YHrvfLwe5ehejGb8zWVSK49DJ/4MVFEo00OGab+dQHVJCSoYiIlO0B3AHIUYi cwhw== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: AFeK/H3bx5mIbMNAJXU+ZU/L0pLLgJwz/C6xyRDAUkiHryz8dohWJ+qO+dP+RZLn/N/ckw== X-Received: by 10.157.36.105 with SMTP id p96mr1259777ota.15.1489686709523; Thu, 16 Mar 2017 10:51:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.157.9.185 with SMTP id q54ls5488141otd.11.gmail; Thu, 16 Mar 2017 10:51:49 -0700 (PDT) X-Received: by 10.129.91.214 with SMTP id p205mr5530492ywb.163.1489686709294; Thu, 16 Mar 2017 10:51:49 -0700 (PDT) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com. [210.160.252.173]) by gmr-mx.google.com with ESMTP id g82si1022444pfb.5.2017.03.16.10.51.48 for ; Thu, 16 Mar 2017 10:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of chris.brandt@renesas.com designates 210.160.252.173 as permitted sender) client-ip=210.160.252.173; Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 17 Mar 2017 02:51:48 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 5B5A14604F; Fri, 17 Mar 2017 02:51:48 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 405D428076; Fri, 17 Mar 2017 02:51:48 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 3A69628070; Fri, 17 Mar 2017 02:51:48 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id CAC11433; Fri, 17 Mar 2017 02:51:48 +0900 X-IronPort-AV: E=Sophos;i="5.36,173,1486393200"; d="scan'208";a="237732551" Received: from unknown (HELO rtamta01.rta.renesas.com) ([143.103.48.75]) by relmlii2.idc.renesas.com with ESMTP; 17 Mar 2017 02:51:46 +0900 Received: from localhost.localdomain (unknown [143.103.58.85]) by rtamta01.rta.renesas.com (Postfix) with ESMTP id BA0E95D2; Thu, 16 Mar 2017 17:51:40 +0000 (UTC) From: Chris Brandt To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Mark Rutland , Simon Horman , Geert Uytterhoeven Cc: rtc-linux@googlegroups.com, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Brandt Subject: [rtc-linux] [PATCH 2/5] rtc: Add rtc-sh Date: Thu, 16 Mar 2017 13:51:09 -0400 Message-Id: <20170316175112.27913-3-chris.brandt@renesas.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20170316175112.27913-1-chris.brandt@renesas.com> References: <20170316175112.27913-1-chris.brandt@renesas.com> X-Original-Sender: chris.brandt@renesas.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of chris.brandt@renesas.com designates 210.160.252.173 as permitted sender) smtp.mailfrom=chris.brandt@renesas.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , rtc-sh is a RTC for SuperH and RZ/A SoCs. Signed-off-by: Chris Brandt --- Documentation/devicetree/bindings/rtc/rtc-sh.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-sh.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-sh.txt b/Documentation/devicetree/bindings/rtc/rtc-sh.txt new file mode 100644 index 0000000..2f0dc6c --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-sh.txt @@ -0,0 +1,19 @@ +* Real Time Clock for Renesas SH and ARM SoCs + +Required properties: +- compatible: Should be "renesas,r7s72100-rtc" or "renesas,sh-rtc" as a + fallback. +- reg: physical base address and length of memory mapped region. +- interrupts: 3 interrupts for alarm, period, and carry. +- clocks: the clock source for the RTC controller. + +Example: +rtc: rtc@fcff1000 { + compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc"; + reg = <0xfcff1000 0x2e>; + interrupts = ; + clocks = <&mstp6_clks R7S72100_CLK_RTC>; + power-domains = <&cpg_clocks>; +};