]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: visconti-pcie: Fix interrupts array max constraints
authorBaikal Electronics <support@baikalelectronics.ru>
Sun, 13 Nov 2022 19:12:43 +0000 (22:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:33 +0000 (13:32 +0100)
commit40e3e3bb72a1bf304c703b36b2f07497b0090b13
tree2bd99f1a6de475dac2aa5d3b43cf6745b1ea8176
parentefccd5854fa7c887ca0baec06e114ab85138b7c4
dt-bindings: visconti-pcie: Fix interrupts array max constraints

[ Upstream commit 85444dfde19191196f036f3ed3f4653db9823abd ]

In accordance with the way the device DT-node is actually defined in
arch/arm64/boot/dts/toshiba/tmpv7708.dtsi and the way the device is probed
by the DW PCIe driver there are two IRQs it actually has. It's MSI IRQ the
DT-bindings lack. Let's extend the interrupts property constraints then
and fix the schema example so one would be acceptable by the actual device
DT-bindings.

Link: https://lore.kernel.org/r/20221113191301.5526-3-Sergey.Semin@baikalelectronics.ru
Fixes: b84ddc5d4d2f ("dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller")
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.yaml