Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: serial: Convert cnxt,cx92755-usart to DT schema

Convert the Conexant Digicolor USART binding to DT schema. It is a
straight-forward conversion.

Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/20250506220025.2545995-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rob Herring (Arm) and committed by
Greg Kroah-Hartman
2ff5d5f6 e3975aa8

+48 -27
+48
Documentation/devicetree/bindings/serial/cnxt,cx92755-usart.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serial/cnxt,cx92755-usart.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Conexant Digicolor USART 8 + 9 + maintainers: 10 + - Baruch Siach <baruch@tkos.co.il> 11 + 12 + description: > 13 + Note: this binding is only applicable for using the USART peripheral as UART. 14 + USART also support synchronous serial protocols like SPI and I2S. 15 + Use the binding that matches the wiring of your system. 16 + 17 + allOf: 18 + - $ref: /schemas/serial/serial.yaml# 19 + 20 + properties: 21 + compatible: 22 + const: cnxt,cx92755-usart 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + clocks: 28 + maxItems: 1 29 + 30 + interrupts: 31 + maxItems: 1 32 + 33 + required: 34 + - compatible 35 + - reg 36 + - clocks 37 + - interrupts 38 + 39 + unevaluatedProperties: false 40 + 41 + examples: 42 + - | 43 + serial@f0000740 { 44 + compatible = "cnxt,cx92755-usart"; 45 + reg = <0xf0000740 0x20>; 46 + clocks = <&main_clk>; 47 + interrupts = <44>; 48 + };
-27
Documentation/devicetree/bindings/serial/digicolor-usart.txt
··· 1 - Binding for Conexant Digicolor USART 2 - 3 - Note: this binding is only applicable for using the USART peripheral as 4 - UART. USART also support synchronous serial protocols like SPI and I2S. Use 5 - the binding that matches the wiring of your system. 6 - 7 - Required properties: 8 - - compatible : should be "cnxt,cx92755-usart". 9 - - reg: Should contain USART controller registers location and length. 10 - - interrupts: Should contain a single USART controller interrupt. 11 - - clocks: Must contain phandles to the USART clock 12 - See ../clocks/clock-bindings.txt for details. 13 - 14 - Note: Each UART port should have an alias correctly numbered 15 - in "aliases" node. 16 - 17 - Example: 18 - aliases { 19 - serial0 = &uart0; 20 - }; 21 - 22 - uart0: uart@f0000740 { 23 - compatible = "cnxt,cx92755-usart"; 24 - reg = <0xf0000740 0x20>; 25 - clocks = <&main_clk>; 26 - interrupts = <44>; 27 - };