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

dt-bindings: serial: Convert rda,8810pl-uart to YAML

Convert RDA Micro UART bindings to DT schema format.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220109170321.GA12989@standask-GA-A55M-S2HP

authored by

Stanislav Jakubek and committed by
Rob Herring
066aef69 e783362e

+47 -18
-17
Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
··· 1 - RDA Micro UART 2 - 3 - Required properties: 4 - - compatible : "rda,8810pl-uart" for RDA8810PL SoCs. 5 - - reg : Offset and length of the register set for the device. 6 - - interrupts : Should contain UART interrupt. 7 - - clocks : Phandle to the input clock. 8 - 9 - 10 - Example: 11 - 12 - uart2: serial@20a90000 { 13 - compatible = "rda,8810pl-uart"; 14 - reg = <0x20a90000 0x1000>; 15 - interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 16 - clocks = <&uart_clk>; 17 - };
+46
Documentation/devicetree/bindings/serial/rda,8810pl-uart.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/rda,8810pl-uart.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RDA Micro UART Interface 8 + 9 + maintainers: 10 + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 + 12 + allOf: 13 + - $ref: serial.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: rda,8810pl-uart 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + interrupts: 23 + maxItems: 1 24 + 25 + clocks: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupts 32 + - clocks 33 + 34 + unevaluatedProperties: false 35 + 36 + examples: 37 + - | 38 + #include <dt-bindings/interrupt-controller/irq.h> 39 + 40 + uart3: serial@20a90000 { 41 + compatible = "rda,8810pl-uart"; 42 + reg = <0x20a90000 0x1000>; 43 + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 44 + clocks = <&uart_clk>; 45 + }; 46 + ...
+1 -1
MAINTAINERS
··· 2503 2503 F: Documentation/devicetree/bindings/arm/rda.yaml 2504 2504 F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml 2505 2505 F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt 2506 - F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt 2506 + F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml 2507 2507 F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt 2508 2508 F: arch/arm/boot/dts/rda8810pl-* 2509 2509 F: drivers/clocksource/timer-rda.c