lkml.org 
[lkml]   [2023]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH 2/2] dt-bindings: serial: sc16is7xx: remove 'clock-frequency' property
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
\
 
 \ /
  Last update: 2023-10-13 16:20    [W:0.126 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site