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

dt-bindings: serial: snps-dw-apb-uart: add compatible property for rk3308 uart

A test with the command below gives these errors:

arch/arm64/boot/dts/rockchip/rk3308-evb.dt.yaml: serial@ff0d0000: compatible:
['rockchip,rk3308-uart', 'snps,dw-apb-uart']
is not valid under any of the given schemas
arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dt.yaml: serial@ff0a0000: compatible:
['rockchip,rk3308-uart', 'snps,dw-apb-uart']
is not valid under any of the given schemas

The compatible property for the Rockchip rk3308 uart was somehow never
added to the documention. Fix this error by adding 'rockchip,rk3308-uart'
to snps-dw-apb-uart.yaml.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/serial/
snps-dw-apb-uart.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Johan Jonker and committed by
Rob Herring
ae9fdd23 eb32d1e4

+1
+1
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
··· 27 27 - rockchip,rk3066-uart 28 28 - rockchip,rk3188-uart 29 29 - rockchip,rk3288-uart 30 + - rockchip,rk3308-uart 30 31 - rockchip,rk3328-uart 31 32 - rockchip,rk3368-uart 32 33 - rockchip,rk3399-uart