diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2023-09-14 12:07:59 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-10-16 00:15:49 +0300 |
commit | fdaf4c5acf268bfcc455d8c2ab775cd54317c788 (patch) | |
tree | 66ff48f83929d008c2c3fbd97207889d061b978b /Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | |
parent | f5f4c982f7c8a8cffb2663078a40ecd7d82b534d (diff) | |
download | linux-fdaf4c5acf268bfcc455d8c2ab775cd54317c788.tar.xz |
dt-bindings: rtc: pcf2123: convert to YAML
Convert the existing txt binding to the preferred YAML format.
The pcf2123 node may contain SPI settings such as spi-cs-high and
spi-max-frequency, which keeps it from being added to the trivial-rtc
binding with its current definition. Add a reference to
spi-peripheral-props.yaml to account for that.
The "interrupts" property was missing in the binding although it is
already supported. Add the missing property in the new binding.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230907-topic-pcf2123_yaml-v2-1-ea87a8e12190@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt b/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt deleted file mode 100644 index 7371f525a687..000000000000 --- a/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt +++ /dev/null @@ -1,17 +0,0 @@ -NXP PCF2123 SPI Real Time Clock - -Required properties: -- compatible: should be: "nxp,pcf2123" - or "microcrystal,rv2123" -- reg: should be the SPI slave chipselect address - -Optional properties: -- spi-cs-high: PCF2123 needs chipselect high - -Example: - -pcf2123: rtc@3 { - compatible = "nxp,pcf2123" - reg = <3> - spi-cs-high; -}; |