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

dt-bindings: serial: Move renesas,rzn1-uart into the snps-dw-apb-uart binding

The renesas,rzn1-uart binding only differs in compatible string from the
snps-dw-apb-uart binding. Move it there, converting it to json-schema in
the process.

Cc: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-serial@vger.kernel.org
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rob Herring and committed by
Greg Kroah-Hartman
896efccf df230079

+5 -10
-10
Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt
··· 1 - Renesas RZ/N1 UART 2 - 3 - This controller is based on the Synopsys DesignWare ABP UART and inherits all 4 - properties defined in snps-dw-apb-uart.txt except for the compatible property. 5 - 6 - Required properties: 7 - - compatible : The device specific string followed by the generic RZ/N1 string. 8 - Therefore it must be one of: 9 - "renesas,r9a06g032-uart", "renesas,rzn1-uart" 10 - "renesas,r9a06g033-uart", "renesas,rzn1-uart"
+5
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
··· 17 17 oneOf: 18 18 - items: 19 19 - enum: 20 + - renesas,r9a06g032-uart 21 + - renesas,r9a06g033-uart 22 + - const: renesas,rzn1-uart 23 + - items: 24 + - enum: 20 25 - rockchip,px30-uart 21 26 - rockchip,rk3036-uart 22 27 - rockchip,rk3066-uart