dt-bindings: serial: Convert microchip,pic32mzda-uart to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH v2 1/1 dt-bindings: serial: Convert microchip,pic32mzda-uart to DT schema
Convert the Microchip PIC32 UART binding to DT schema. The binding was unclear there are 3 interrupts. The functions were determined from the driver. The 'cts-gpios' property is covered by serial.yaml schema.
---
v2:
- Fix $id path and serial.yaml path
--- .../bindings/serial/microchip,pic32-uart.txt | 29 ---------- .../serial/microchip,pic32mzda-uart.yaml | 53 +++++++++++++++++++ 2 files changed, 53 insertions(+), 29 deletions(-) delete mode 100644 Documentation/devicetree/bindings/serial/microchip,pic32-uart.txt create mode 100644 Documentation/devicetree/bindings/serial/microchip,pic32mzda-uart.yaml
Documentation/devicetree/bindings/serial/microchip,pic32-uart.txt deleted +0 -29
@@ -1,29 +0,0 @@ -* Microchip Universal Asynchronous Receiver Transmitter (UART) - -Required properties: -- compatible: Should be "microchip,pic32mzda-uart" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt -- clocks: Phandle to the clock. - See: Documentation/devicetree/bindings/clock/clock-bindings.txt -- pinctrl-names: A pinctrl state names "default" must be defined. -- pinctrl-0: Phandle referencing pin configuration of the UART peripheral. - See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt - -Optional properties: -- cts-gpios: CTS pin for UART - -Example: - uart1: serial@1f822000 { - compatible = "microchip,pic32mzda-uart"; - reg = <0x1f822000 0x50>; - interrupts = <112 IRQ_TYPE_LEVEL_HIGH>, - <113 IRQ_TYPE_LEVEL_HIGH>, - <114 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&rootclk PB2CLK>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart1 - &pinctrl_uart1_cts - &pinctrl_uart1_rts>; - cts-gpios = <&gpio1 15 0>; - };
Documentation/devicetree/bindings/serial/microchip,pic32mzda-uart.yaml new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.47.2
Quoted 5 lines · Rob Herring (Arm)
Convert the Microchip PIC32 UART binding to DT schema. The binding was unclear there are 3 interrupts. The functions were determined from the driver. The 'cts-gpios' property is covered by
serial.yamlschema.Signed-off-by Rob Herring (Arm) <[email protected]>
Although...
Quoted 7 lines
Documentation/devicetree/bindings/serial/microchip,pic32mzda-uart.yaml new file +1
-0@@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Documentation/devicetree/bindings/serial/microchip,pic32mzda-uart.yaml line 11
Quoted 10 lines
Documentation/devicetree/bindings/serial/microchip,pic32mzda-uart.yaml new file +10
-0+%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/microchip,pic32mzda-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip PIC32 UART + +maintainers: + - Andrei Pistirica <[email protected]> + - Purna Chandra Mandal <[email protected]>
I don't think either of these people still work for Microchip. (I don't have any idea actually who works on this device)