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

dt-bindings: serial: Add bindings doc for Sunplus SoC UART Driver

Add bindings doc for Sunplus SoC UART Driver

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hammer Hsieh <hammerh0314@gmail.com>
Link: https://lore.kernel.org/r/1645522563-17183-2-git-send-email-hammerh0314@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Hammer Hsieh and committed by
Greg Kroah-Hartman
b48b9f6d dedab69f

+61
+56
Documentation/devicetree/bindings/serial/sunplus,sp7021-uart.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright (C) Sunplus Co., Ltd. 2021 3 + %YAML 1.2 4 + --- 5 + $id: "http://devicetree.org/schemas/serial/sunplus,sp7021-uart.yaml#" 6 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 + 8 + title: Sunplus SoC SP7021 UART Controller Device Tree Bindings 9 + 10 + maintainers: 11 + - Hammer Hsieh <hammerh0314@gmail.com> 12 + 13 + allOf: 14 + - $ref: serial.yaml# 15 + 16 + properties: 17 + compatible: 18 + const: sunplus,sp7021-uart 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + resets: 30 + maxItems: 1 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - interrupts 36 + - clocks 37 + - resets 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + #include <dt-bindings/interrupt-controller/irq.h> 44 + aliases { 45 + serial0 = &uart0; 46 + }; 47 + 48 + uart0: serial@9c000900 { 49 + compatible = "sunplus,sp7021-uart"; 50 + reg = <0x9c000900 0x80>; 51 + interrupt-parent = <&intc>; 52 + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; 53 + clocks = <&clkc 0x28>; 54 + resets = <&rstc 0x18>; 55 + }; 56 + ...
+5
MAINTAINERS
··· 18549 18549 F: Documentation/devicetree/bindings/rtc/sunplus,sp7021-rtc.yaml 18550 18550 F: drivers/rtc/rtc-sunplus.c 18551 18551 18552 + SUNPLUS UART DRIVER 18553 + M: Hammer Hsieh <hammerh0314@gmail.com> 18554 + S: Maintained 18555 + F: Documentation/devicetree/bindings/serial/sunplus,sp7021-uart.yaml 18556 + 18552 18557 SUPERH 18553 18558 M: Yoshinori Sato <ysato@users.sourceforge.jp> 18554 18559 M: Rich Felker <dalias@libc.org>