Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1602236ybt; Sat, 20 Jun 2020 15:46:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrDlCG9BsFO6GVrLlUNnWdXoWZs0hJ0mBRrpUT/uXlH2jOW090mUzNRH68wv+tTfMcBlEJ X-Received: by 2002:aa7:cb4a:: with SMTP id w10mr9601482edt.46.1592693174880; Sat, 20 Jun 2020 15:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592693174; cv=none; d=google.com; s=arc-20160816; b=e1NKIFMSfAPXZi0wSHmrQNVII2rJXa8HYd9hX/gjdbmDbR4p3evDHuTPK/o74Ln0f3 XtAIM86mibY4w87hV4nqOGLxErC9X6LXqZOQo51MbL+t9SMLYcGe+Q4nI120L0GLBZO8 ecQDPNBJUY7t3tdTtzxz7QwoUjwDMieP/jfcYLWZuCrF8jJoNPHhhlig60mIgYqjAsI+ Bje+VUNEZTmIozkyk0lcIFRiSQE3B2lGC1RFFMW7C7L1Wt5hxuJwHrbdruoKXzu1Zwp+ o/KNw9DkfpWipiqnv/pzC9nmsvBqvlKmH3YFx7Zs3SMmHbRMmcTN8SQecbbw4tjuTNUh 6X1A== 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:date:subject:cc:to:from :dkim-signature; bh=KWvliYBVtciYbIgEWScOqXmCjE2ErLBRzNkWaiPp9Vw=; b=QhqrFpFHqo5xDqe50XWXSNm/cmPJ4pAFCoZiEQToUgEFjAPVNVgiLB+GOYNLVx9eLL KtEz4BuWuAdlIUS3btrmh1K2SNZQ35XbE1LTcvp456MVDSmWWU9QslUVsEWnCdyzkmFy QGz7L+M5nsSirKvgYYJ4T18nVSN7G9GInhloMeO7LRwExn9L8VX2KiMD76uL1SJVqvD1 EeStuilRka0MZwtHagwuYpzlVvhVTsfoG4OoCh0ODobGqByc1W21uErI3+dB1vgTM4Sy zzGE5LYTWvOqF2VB6dKsaM1v+jgEfWJD+S3I5v6iPjcfFsj6rrWrOpkHn8h725Wxr6ph WKKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jXPADqgs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si6562160edt.9.2020.06.20.15.45.52; Sat, 20 Jun 2020 15:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jXPADqgs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729111AbgFTWns (ORCPT + 99 others); Sat, 20 Jun 2020 18:43:48 -0400 Received: from mout.gmx.net ([212.227.17.20]:40865 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728401AbgFTWne (ORCPT ); Sat, 20 Jun 2020 18:43:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1592692960; bh=quWpSURYzI37HAY+ZRXyoXMx0x6xymIR9XadTNWbOm0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jXPADqgsQRfGRq3jn39dE8CWtm9UG80OHy4kt1PrelCzVkXkybJYMQphTkqHVBJPP YLLnHZSdABYy1qBb26AMLiEERbuGCVV7DGKhldESZJ8O/um3jRfTMWYVgUr0dpqXBl H2aQzH9d7skrZZ34gaihGa/eIu/8MAeG72wXESfI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([5.146.194.186]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MybGX-1ixHWs3fLx-00yvXe; Sun, 21 Jun 2020 00:42:40 +0200 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-kernel@vger.kernel.org Cc: Lee Jones , Rob Herring , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Alessandro Zummo , Alexandre Belloni , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Heiko Stuebner , Josua Mayer , Andreas Kemnade Subject: [RFC PATCH 07/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC Date: Sun, 21 Jun 2020 00:42:18 +0200 Message-Id: <20200620224222.1312520-6-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200620224222.1312520-1-j.neuschaefer@gmx.net> References: <20200620224222.1312520-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:kINr04vGH8PFK0WI4mNxqdxrk/BTSB+q42S51+k3h8qzZN+MKBg 39ozPRxm1iOnsGPo7aKAazPj9u1koqGdtnXsm0yBV2EzCMz/snPFdqb96BNKl5DiZ3SZSWJ 3jTi+1yoxznDEVo2nCsnqKjZJ5DlIrdVICxcD6GJxhXyxEKFNkXUFUVbcUNMK2GZCU0rg3t 5RQbWuraPRT5G7Q6GQWaA== X-Spam-Flag: NO X-UI-Out-Filterresults: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dD WEt/jx1rTFj0Dldgk1uWPcevCtU3UelskVKKc0pzRDK9Q39xZd5CjZzFDNqBtKDYUC6w8PwlZ qkIrrp4Jc/NstteeqCcs4awLU2EZ672W7G1LV8+9vJYa2s2JM/kpCX0DAD71Lxpp96gIEPpfD pU/2wcDHBPnAISBOBHp6Ufn9BUzpo3Q9Hxp2YrvQ/KK+f2VauYs9yfaxcpTFj3rbhZytMLMS3 4kXQD+CJkowm3JN8x Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Netronix EC implements an RTC with the following functionality: - Calendar-based time keeping with single-second resolution - Automatic power-on with single-minute resolution - Alarm at single-second resolution This binding only supports timekeeping for now. Signed-off-by: Jonathan Neusch=C3=A4fer =2D-- .../bindings/mfd/netronix,ntxec.yaml | 7 +++++ .../bindings/rtc/netronix,ntxec-rtc.yaml | 27 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/netronix,ntxec-r= tc.yaml diff --git a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml b/D= ocumentation/devicetree/bindings/mfd/netronix,ntxec.yaml index 6562c41c5a9a9..f6a32f46f47bb 100644 =2D-- a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml +++ b/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml @@ -34,6 +34,9 @@ properties: pwm: $ref: ../pwm/netronix,ntxec-pwm.yaml + rtc: + $ref: ../rtc/netronix,ntxec-rtc.yaml + required: - compatible - reg @@ -61,6 +64,10 @@ examples: compatible =3D "netronix,ntxec-pwm"; #pwm-cells =3D <1>; }; + + rtc { + compatible =3D "netronix,ntxec-rtc"; + }; }; }; diff --git a/Documentation/devicetree/bindings/rtc/netronix,ntxec-rtc.yaml= b/Documentation/devicetree/bindings/rtc/netronix,ntxec-rtc.yaml new file mode 100644 index 0000000000000..4b301ef7319c8 =2D-- /dev/null +++ b/Documentation/devicetree/bindings/rtc/netronix,ntxec-rtc.yaml @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/netronix,ntxec-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RTC functionality in Netronix embedded controller + +maintainers: + - Jonathan Neusch=C3=A4fer + +description: | + See also Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml + + The Netronix EC contains an RTC, which can be used for time-keeping, al= arm, + and automatic power-on. Note that not all of this functionality is curr= ently + supported in this binding. + +allOf: + - $ref: "rtc.yaml#" + +properties: + compatible: + const: netronix,ntxec-rtc + +required: + - compatible =2D- 2.27.0