]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: zynq: Fix compatible string for adi,adxl345 chip
authorMichal Simek <michal.simek@xilinx.com>
Thu, 26 Nov 2020 13:25:00 +0000 (14:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 9 Dec 2020 14:18:21 +0000 (15:18 +0100)
commit23ab93a1480002fd289071e08f7b4960fdfa76d8
tree5ea22491c498766e43c9982bbfebad7f11537c7e
parent1f4079b626eb6d38cfc638fd88903c1a943d2d2d
ARM: zynq: Fix compatible string for adi,adxl345 chip

The commit e359a29225dd ("dt-bindings: iio: accel: adxl345: switch to YAML
bindings") switched binding to yaml and the following error pop up:
../zynq-zturn-v5.dt.yaml: accelerometer@53: compatible: 'oneOf' conditional
failed, one must be
fixed:
['adi,adxl345', 'adxl345', 'adi,adxl34x', 'adxl34x'] is too long
Additional items are not allowed ('adi,adxl34x', 'adxl34x' were unexpected)
Additional items are not allowed ('adxl345', 'adi,adxl34x', 'adxl34x' were
unexpected)
'adi,adxl346' was expected
'adi,adxl345' was expected

Use only one compatible string to be aligned with the binding.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/a9075ab54df13461380e46d3002302d3672325b5.1606397101.git.michal.simek@xilinx.com
arch/arm/boot/dts/zynq-zturn-common.dtsi