Re: [PATCH] dt-bindings: rtc: pcf8523: Convert to YAML

From: Krzysztof Kozlowski
Date: Tue Sep 05 2023 - 14:09:04 EST


On 05/09/2023 15:23, Fabio Estevam wrote:
> +allOf:
> + - $ref: rtc.yaml#
> +
> +properties:
> + compatible:
> + const: nxp,pcf8523
> +
> + reg:
> + maxItems: 1
> +
> + quartz-load-femtofarads:
> + description:
> + The capacitive load of the crystal, expressed in femto Farad (fF).
> + Valid values are 7000 and 12500. The default value when this property
> + is absent is 12500fF.
> + enum: [ 7000, 12500 ]

default:
(original binding had it, wasn't it true?)

> +
> + wakeup-source: true

If there is going to be new version:

You can drop it and switch to unevaluatedProperties: false later.


Best regards,
Krzysztof