diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-01 13:49:38 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-07 09:31:08 +0200 |
| commit | 094017efe332d411a8d6ac41fd8d0a4f81f72a99 (patch) | |
| tree | 608eb57d636da7ac1867d098bcad8ede756d4e6a /include/linux | |
| parent | 11cd2e582bf4da87b5fc0f9b07e194daaf212651 (diff) | |
ARM: omap1: ams-delta: use generic device properties for gpio-mmio
The two latch GPIO devices in ams-delta are registered with struct
bgpio_pdata passed as platform_data to the gpio-mmio driver. We want to
remove the bgpio_pdata from the kernel and the gpio-mmio driver is now
also able to get the relevant values from the software node. Set up
device properties and switch to using platform_device_info to register
the devices as platform_add_devices() doesn't allow us to pass device
properties to the driver model.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Link: https://lore.kernel.org/r/20250701-gpio-mmio-pdata-v2-4-ebf34d273497@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
