From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
To: linux-rtc@vger.kernel.org,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>
Cc: linux-amlogic@lists.infradead.org,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-kernel@vger.kernel.org, Heiko Stuebner <heiko@sntech.de>,
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Subject: [PATCH 3/5] dt-bindings: rtc: pcf8563: Add Haoyu HYM8563 compatibility
Date: Wed, 13 Nov 2024 17:53:53 +0900 [thread overview]
Message-ID: <20241113085355.1972607-4-iwamatsu@nigauri.org> (raw)
In-Reply-To: <20241113085355.1972607-1-iwamatsu@nigauri.org>
Haoyu HYM8563 is compatible with pcf8563 with '#clock-cells'.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
.../devicetree/bindings/rtc/nxp,pcf8563.yaml | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml
index 22909a96123e58..54c45bf3075b6a 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml
+++ b/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml
@@ -4,14 +4,11 @@
$id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Philips PCF8563/Epson RTC8564 Real Time Clock
+title: Philips PCF8563/Epson RTC8564, Haoyu Microelectronics HYM8563 Real Time Clock
maintainers:
- Alexandre Belloni <alexandre.belloni@bootlin.com>
-allOf:
- - $ref: rtc.yaml#
-
properties:
compatible:
enum:
@@ -19,6 +16,7 @@ properties:
- microcrystal,rv8564
- nxp,pca8565
- nxp,pcf8563
+ - haoyu,hym8563
reg:
maxItems: 1
@@ -39,6 +37,18 @@ required:
- compatible
- reg
+allOf:
+ - $ref: rtc.yaml#
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: haoyu,hym8563
+ then:
+ required:
+ - "#clock-cells"
+
additionalProperties: false
examples:
--
2.45.2
next prev parent reply other threads:[~2024-11-13 9:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 8:53 [PATCH 0/5] Merge RTC Haoyu HYM8563 into RTC PCF8563 Nobuhiro Iwamatsu
2024-11-13 8:53 ` [PATCH 1/5] ARM: multi_v7_defconfig: Add RTC PCF8563 support Nobuhiro Iwamatsu
2024-11-13 8:53 ` [PATCH 2/5] rtc: pcf8563: Add support Haoyu HYM8563 Nobuhiro Iwamatsu
2024-11-13 8:53 ` Nobuhiro Iwamatsu [this message]
2024-11-13 8:53 ` [PATCH 4/5] rtc: Remove HYM8563 RTC driver Nobuhiro Iwamatsu
2024-11-13 8:53 ` [PATCH 5/5] dt-bindings: rtc: hym8563: Remove hym8563 binding Nobuhiro Iwamatsu
2024-11-13 9:00 ` [PATCH 0/5] Merge RTC Haoyu HYM8563 into RTC PCF8563 Alexandre Belloni
2024-11-14 20:17 ` Conor Dooley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241113085355.1972607-4-iwamatsu@nigauri.org \
--to=iwamatsu@nigauri.org \
--cc=alexandre.belloni@bootlin.com \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=olof@lixom.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox