ARM: dts: overlays: Add cs_pin and irq_gpio overrides to AD7124 overlays
Some checks failed
Kernel build / checks (push) Failing after 3s
Kernel build / build_gcc_arm (push) Failing after 3s
Kernel build / build_gcc_x86_64 (push) Has been skipped
Kernel build / build_llvm_x86_64 (push) Has been skipped
Kernel build / build_gcc_aarch64 (push) Has been skipped
Kernel build / assert_checks (push) Has been skipped
Kernel build / build_gcc_arm_adi_bcm2709_defconfig (push) Has been skipped
Kernel build / build_gcc_arm_adi_bcm2711_defconfig (push) Has been skipped
Kernel build / build_gcc_arm_adi_bcmrpi_defconfig (push) Has been skipped
Kernel build / build_gcc_aarch64_adi_bcm2711_defconfig (push) Has been skipped
Kernel build / deploy_cloudsmith_checks (push) Has been skipped
Kernel build / build_gcc_aarch64_adi_bcm2712_defconfig (push) Has been skipped
Kernel build / compile_devicetrees (push) Has been skipped
Kernel build / assert_build (push) Has been skipped
Kernel build / deploy_cloudsmith_build (push) Has been skipped

Ensure all AD7124-related overlays expose consistent __overrides__ for
both the SPI chip-select and IRQ GPIO pins:

- rpi-ad7124: add cs_pin (irq_gpio was already present)
- rpi-cn0554: add __overrides__ with cs_pin and irq_gpio
- rpi-cn0556: add __overrides__ with cs_pin and irq_gpio
- rpi-cn0508: add cs_pin and irq_gpio to existing __overrides__

Signed-off-by: Radu Sabau <radu.sabau@analog.com>
This commit is contained in:
Radu Sabau
2026-04-29 12:28:13 +03:00
committed by Radu Bogdan Sabau
parent cbd12a6d9a
commit 52a1e63763
4 changed files with 17 additions and 0 deletions

View File

@@ -115,6 +115,7 @@
};
__overrides__ {
cs_pin = <&ad7124>,"reg:0";
irq_gpio = <&ad7124>,"interrupts:0",
<&ad7124_irq_pin>,"brcm,pins:0";
};

View File

@@ -36,6 +36,10 @@
rotate = <&pitft>,"rotate:0";
fps = <&pitft>,"fps:0";
debug = <&pitft>,"debug:0";
cs_pin = <&ad7124>,"reg:0";
irq_gpio = <&ad7124>,"interrupts:0",
<&cn0508_irq_pin>,"brcm,pins:0";
};
fragment@2 {

View File

@@ -12,6 +12,12 @@
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709", "brcm,bcm2712";
__overrides__ {
cs_pin = <&adc7214>,"reg:0";
irq_gpio = <&adc7214>,"interrupts:0",
<&cn0554_irq_pin>,"brcm,pins:0";
};
};
&{/} {

View File

@@ -13,6 +13,12 @@
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709", "brcm,bcm2712";
__overrides__ {
cs_pin = <&ad7124>,"reg:0";
irq_gpio = <&ad7124>,"interrupts:0",
<&cn0556_irq_pin>,"brcm,pins:0";
};
};
&{/} {