.../devicetree/bindings/rtc/epson,rx6110.yaml | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-)
Convert the Epson RX6110 Real Time Clock devicetree binding
from the legacy text format to DT schema.
Signed-off-by: Udaya Kiran Challa <challauday369@gmail.com>
---
Changelog:
Changes since v1:
- Reuse common SPI peripheral properties
- Drop redundant SPI-specific comment
- Remove unused labels from examples
Link to v1:https://lore.kernel.org/all/20260504183728.27412-1-challauday369@gmail.com/
---
.../devicetree/bindings/rtc/epson,rx6110.yaml | 23 +++++++------------
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/rtc/epson,rx6110.yaml b/Documentation/devicetree/bindings/rtc/epson,rx6110.yaml
index 32d15a014f91..b51d39ef75e4 100644
--- a/Documentation/devicetree/bindings/rtc/epson,rx6110.yaml
+++ b/Documentation/devicetree/bindings/rtc/epson,rx6110.yaml
@@ -14,6 +14,9 @@ description: |
maintainers:
- Alexandre Belloni <alexandre.belloni@bootlin.com>
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
properties:
compatible:
const: epson,rx6110
@@ -21,24 +24,14 @@ properties:
reg:
maxItems: 1
- # SPI-specific properties
- spi-cs-high:
- type: boolean
- description: RX6110 needs chipselect high
-
- spi-cpha:
- type: boolean
- description: RX6110 works with SPI shifted clock phase
-
- spi-cpol:
- type: boolean
- description: RX6110 works with SPI inverse clock polarity
+ spi-cpha: true
+ spi-cpol: true
required:
- compatible
- reg
-additionalProperties: false
+unevaluatedProperties: false
examples:
# I2C mode
@@ -47,7 +40,7 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
- rtc1: rtc@32 {
+ rtc@32 {
compatible = "epson,rx6110";
reg = <0x32>;
};
@@ -59,7 +52,7 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
- rtc2: rtc@3 {
+ rtc@3 {
compatible = "epson,rx6110";
reg = <3>;
spi-cs-high;
--
2.43.0
On Sat, May 09, 2026 at 02:30:51PM +0530, Udaya Kiran Challa wrote: > Convert the Epson RX6110 Real Time Clock devicetree binding > from the legacy text format to DT schema. > > Signed-off-by: Udaya Kiran Challa <challauday369@gmail.com> > --- > Changelog: > Changes since v1: > - Reuse common SPI peripheral properties > - Drop redundant SPI-specific comment > - Remove unused labels from examples > > Link to v1:https://lore.kernel.org/all/20260504183728.27412-1-challauday369@gmail.com/ Seemingly there are 2 v2s of this. pw-bot: not-applicable
© 2016 - 2026 Red Hat, Inc.