diff options
| author | 2026-07-19 22:37:17 -0700 | |
|---|---|---|
| committer | 2026-09-25 10:24:17 +0530 | |
| commit | 4e3187c830221460f1a7d9389c3e8662ad28d4f4 (patch) | |
| tree | 0d51a5ec0ec51f58c849149e4aa48919e3ec0b62 /scripts/Makefile.thinlto | |
| parent | powerpc/dts: mpc5121: Move GPIO controller properties to SoC dtsi (diff) | |
powerpc/dts: pdm360ng: Convert ADS7845 touchscreen to DT bindings
The PDM360NG board is equipped with an ADS7845 touchscreen controller.
Previously, pdm360ng.dts used "ti,ads7846" as a placeholder and relied
on platform data in pdm360ng.c to override the model to 7845.
Update the ts@0 touchscreen node in pdm360ng.dts to use the correct
"ti,ads7845" compatible string along with pendown-gpio (using
GPIO_ACTIVE_LOW) and interrupt-parent properties referencing gpio_pic.
Note that changing the compatible string to "ti,ads7845" causes the
legacy platform data notifier in pdm360ng.c to skip injecting platform
data, allowing ads7846 to parse DT properties natively. Although
pdm360ng_penirq_init() in pdm360ng.c still runs on boot prior to removing
pdm360ng.c, its direct GPIO register writes are harmless because the
gpio-mpc8xxx driver resets and re-unmasks pin 25 on demand when the
ads7846 driver requests its interrupt.
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260719-ads7846-pdm360ng-v2-2-1198bd108502@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
