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

dt-bindings: usb: cypress,cypd4226: Drop Tegra specific GPIO defines

The Tegra GPIO define is a problem for the magic code which extracts
the examples and fixes up the interrupt provider. This was partially
worked around by putting #interrupt-cells in the parent. However,
that's incomplete and causes a warning when dtc "interrupt_provider"
check is enabled. Just drop the Tegra specific define and simplify
the example.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240925173449.1906586-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rob Herring (Arm) and committed by
Greg Kroah-Hartman
669e995f 9a0749d6

+1 -4
+1 -4
Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
··· 61 61 62 62 examples: 63 63 - | 64 - #include <dt-bindings/gpio/tegra194-gpio.h> 65 64 #include <dt-bindings/interrupt-controller/arm-gic.h> 66 65 i2c { 67 66 #address-cells = <1>; 68 67 #size-cells = <0>; 69 - #interrupt-cells = <2>; 70 68 71 69 typec@8 { 72 70 compatible = "cypress,cypd4226"; 73 71 reg = <0x08>; 74 - interrupt-parent = <&gpio_aon>; 75 - interrupts = <TEGRA194_AON_GPIO(BB, 2) IRQ_TYPE_LEVEL_LOW>; 72 + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 76 73 firmware-name = "nvidia,jetson-agx-xavier"; 77 74 #address-cells = <1>; 78 75 #size-cells = <0>;