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

dt-bindings: auxdisplay: arm-charlcd: Convert to json-schema

Convert the ARM Versatile Character LCD Device Tree binding documentation
to json-schema.

Correct compatible value.
Document missing properties.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/4a63caa4136e8a31e82c7d75bb6f273498e8cccf.1627402256.git.geert@linux-m68k.org
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Geert Uytterhoeven and committed by
Rob Herring
869ab62c 9c407378

+45 -19
+44
Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/auxdisplay/arm,versatile-lcd.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ARM Versatile Character LCD 8 + 9 + maintainers: 10 + - Linus Walleij <linus.walleij@linaro.org> 11 + - Rob Herring <robh@kernel.org> 12 + 13 + description: 14 + This binding defines the character LCD interface found on ARM Versatile AB 15 + and PB reference platforms. 16 + 17 + properties: 18 + compatible: 19 + const: arm,versatile-lcd 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + clocks: 25 + maxItems: 1 26 + 27 + clock-names: 28 + maxItems: 1 29 + 30 + interrupts: 31 + maxItems: 1 32 + 33 + required: 34 + - compatible 35 + - reg 36 + 37 + additionalProperties: false 38 + 39 + examples: 40 + - | 41 + lcd@10008000 { 42 + compatible = "arm,versatile-lcd"; 43 + reg = <0x10008000 0x1000>; 44 + };
-18
Documentation/devicetree/bindings/auxdisplay/arm-charlcd.txt
··· 1 - ARM Versatile Character LCD 2 - ----------------------------------------------------- 3 - This binding defines the character LCD interface found on ARM Versatile AB 4 - and PB reference platforms. 5 - 6 - Required properties: 7 - - compatible : "arm,versatile-clcd" 8 - - reg : Location and size of character LCD registers 9 - 10 - Optional properties: 11 - - interrupts - single interrupt for character LCD. The character LCD can 12 - operate in polled mode without an interrupt. 13 - 14 - Example: 15 - lcd@10008000 { 16 - compatible = "arm,versatile-lcd"; 17 - reg = <0x10008000 0x1000>; 18 - };
+1 -1
MAINTAINERS
··· 1381 1381 F: Documentation/devicetree/bindings/arm/arm,realview.yaml 1382 1382 F: Documentation/devicetree/bindings/arm/arm,versatile.yaml 1383 1383 F: Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml 1384 - F: Documentation/devicetree/bindings/auxdisplay/arm-charlcd.txt 1384 + F: Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml 1385 1385 F: Documentation/devicetree/bindings/clock/arm,syscon-icst.yaml 1386 1386 F: Documentation/devicetree/bindings/i2c/i2c-versatile.txt 1387 1387 F: Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt