From: Hugo Villeneuve <hugo@hugovil.com>
To: gregkh@linuxfoundation.org, jirislaby@kernel.org,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
conor+dt@kernel.org, hvilleneuve@dimonoff.com
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org, hugo@hugovil.com
Subject: [PATCH 2/2] dt-bindings: serial: sc16is7xx: remove 'clock-frequency' property
Date: Fri, 13 Oct 2023 10:19:25 -0400 [thread overview]
Message-ID: <20231013141925.3427158-3-hugo@hugovil.com> (raw)
In-Reply-To: <20231013141925.3427158-1-hugo@hugovil.com>
From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
The 'clock-frequency' property is supported but mainly in ACPI-based
configurations, for example.
This property has therefore no place in the sc16is7xx YAML binding.
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
---
.../devicetree/bindings/serial/nxp,sc16is7xx.yaml | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
index 5dec15b7e7c3..5050176e8b80 100644
--- a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
+++ b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
@@ -28,13 +28,6 @@ properties:
clocks:
maxItems: 1
- clock-frequency:
- description:
- When there is no clock provider visible to the platform, this
- is the source crystal or external clock frequency for the IC in Hz.
- minimum: 1
- maximum: 80000000
-
gpio-controller: true
"#gpio-cells":
@@ -74,18 +67,13 @@ required:
- compatible
- reg
- interrupts
+ - clocks
allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#
- $ref: /schemas/serial/serial.yaml#
- $ref: /schemas/serial/rs485.yaml#
-oneOf:
- - required:
- - clocks
- - required:
- - clock-frequency
-
unevaluatedProperties: false
examples:
--
2.39.2
next prev parent reply other threads:[~2023-10-13 14:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-13 14:19 [PATCH 0/2] serial: sc16is7xx: device tree improvements Hugo Villeneuve
2023-10-13 14:19 ` [PATCH 1/2] dt-bindings: serial: sc16is7xx: move 'allOf' block after 'required' Hugo Villeneuve
2023-10-16 6:11 ` Krzysztof Kozlowski
2023-10-13 14:19 ` Hugo Villeneuve [this message]
2023-10-16 6:09 ` [PATCH 2/2] dt-bindings: serial: sc16is7xx: remove 'clock-frequency' property Krzysztof Kozlowski
2023-10-16 13:58 ` Hugo Villeneuve
2023-10-16 14:18 ` 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=20231013141925.3427158-3-hugo@hugovil.com \
--to=hugo@hugovil.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hvilleneuve@dimonoff.com \
--cc=jirislaby@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@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
all inboxes | Powered by JetHome®