From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Carlos Menin <menin@carlosaurelio.net>,
linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org
Cc: Alessandro Zummo <a.zummo@towertech.it>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Sergio Prado <sergio.prado@e-labworks.com>
Subject: Re: [PATCH v2 2/2] dt-bindings: rtc: add pcf85053a
Date: Sun, 5 Nov 2023 14:39:19 +0100 [thread overview]
Message-ID: <8eefb91f-7947-4a0e-b47d-0044b6ce60bd@linaro.org> (raw)
In-Reply-To: <20231103125106.78220-2-menin@carlosaurelio.net>
On 03/11/2023 13:51, Carlos Menin wrote:
> Add YAML bindings for NXP's PCF85053A RTC chip.
>
> Signed-off-by: Carlos Menin <menin@carlosaurelio.net>
> Reviewed-by: Sergio Prado <sergio.prado@e-labworks.com>
Thank you for your patch. There is something to discuss/improve.
> + quartz-load-femtofarads:
> + description:
> + The capacitive load of the crystal, expressed in femto Farad (fF).
> + enum: [6000, 7000, 12500]
> + default: 12500
> +
> + nxp,quartz-drive-control:
> + description:
> + The oscillator is designed to be used with quartz with a series resistance
> + up to 100 kOhms. This covers the typical range of 32.768 kHz quartz
> + crystals. A low drive mode is available for low series resistance quartz
> + (up to 60 kOhms). This reduces the current consumption. For very high
> + series resistance quartz (up to 500 kOhms), there is a high drive mode.
> + Current consumption increases substantially in this mode.
> + enum: [low, normal, high]
> + default: normal
> +
> + nxp,low-jitter-mode:
> + description:
> + If set to true, will decrease the CLK output jitter, at the cost of
> + increasing the current consumption.
> + type: boolean
> + default: false
Drop this line.
> +
> + nxp,clk-inverted:
> + description:
> + Invert clock output. Normally, the low jitter mode reduces jitter on the
> + rising edge of the output clock. If this property is set to true, then the
> + low jitter mode will affect the falling edge of the output clock.
> + type: boolean
> + default: false
> +
> +required:
> + - compatible
> + - reg
> +
> +allOf:
> + - $ref: rtc.yaml#
> +
> +additionalProperties: false
This should be rather unevaluatedProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + rtc@6f {
> + compatible = "nxp,pcf85053a";
> + reg = <0x6f>;
Please extend the example to include all or almost all properties (which
make sense).
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-11-05 13:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 12:51 [PATCH v2 1/2] rtc: add pcf85053a Carlos Menin
2023-11-03 12:51 ` [PATCH v2 2/2] dt-bindings: " Carlos Menin
2023-11-05 13:39 ` Krzysztof Kozlowski [this message]
2023-11-03 14:09 ` [PATCH v2 1/2] " Guenter Roeck
2023-11-05 20:17 ` Carlos Menin
2023-11-05 22:31 ` Guenter Roeck
2023-11-03 14:28 ` Alexandre Belloni
2023-11-05 20:49 ` Carlos Menin
2023-11-17 22:21 ` Alexandre Belloni
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=8eefb91f-7947-4a0e-b47d-0044b6ce60bd@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=menin@carlosaurelio.net \
--cc=robh+dt@kernel.org \
--cc=sergio.prado@e-labworks.com \
/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;
as well as URLs for NNTP newsgroup(s).