From: Marek Vasut <marex@denx.de>
To: devicetree@vger.kernel.org
Cc: Marek Vasut <marex@denx.de>,
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>,
linux-rtc@vger.kernel.org
Subject: [PATCH 2/2] dt-bindings: rtc: m41t80: Mark the clock: subnode as deprecated
Date: Wed, 2 Nov 2022 23:59:43 +0100 [thread overview]
Message-ID: <20221102225943.157344-2-marex@denx.de> (raw)
In-Reply-To: <20221102225943.157344-1-marex@denx.de>
The clock {} subnode seems like it is describing an always-on clock
generated by the PMIC. This should rather be modeled by consumer of
the clock taking phandle to the RTC node itself, since it already
does have clock-cells and all. Since there are no users of the clock
subnode in tree anyway, mark it as deprecated to avoid proliferation
of this approach.
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-rtc@vger.kernel.org
To: devicetree@vger.kernel.org
---
Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml b/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml
index 7f31a22caec9b..ffe1e09f2c56e 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml
@@ -42,6 +42,7 @@ properties:
clock:
type: object
$ref: /schemas/clock/fixed-clock.yaml#
+ deprecated: true
properties:
clock-frequency:
const: 32768
--
2.35.1
next prev parent reply other threads:[~2022-11-02 23:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 22:59 [PATCH 1/2] dt-bindings: rtc: m41t80: Convert text schema to YAML one Marek Vasut
2022-11-02 22:59 ` Marek Vasut [this message]
2022-11-03 13:41 ` [PATCH 2/2] dt-bindings: rtc: m41t80: Mark the clock: subnode as deprecated Krzysztof Kozlowski
2022-11-03 13:40 ` [PATCH 1/2] dt-bindings: rtc: m41t80: Convert text schema to YAML one Krzysztof Kozlowski
2022-11-03 16:44 ` Marek Vasut
2022-11-03 17:13 ` Krzysztof Kozlowski
2022-11-03 16:48 ` Marek Vasut
2022-11-03 17:13 ` Krzysztof Kozlowski
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=20221102225943.157344-2-marex@denx.de \
--to=marex@denx.de \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-rtc@vger.kernel.org \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).