Uwe Kleine-König (The Capable Hub)
995832b2ce
Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files)
...
Replace the #include of <linux/mod_devicetable.h> by the more specific
<linux/device-id/*.h> where applicable. For most cases the include
can be dropped completely, only a few drivers need one or two headers
added.
Acked-by: Danilo Krummrich <dakr@kernel.org >
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp >
Acked-by: Bjorn Helgaas <bhelgaas@google.com >
Link: https://patch.msgid.link/1a3f2007c5c5dcf555c09a4035ce3ae8ef1b6c49.1782808461.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com >
2026-07-03 07:38:17 +02:00
Andy Shevchenko
3974a585be
spi: Drop duplicate of_node assignment
...
The SPI core provides the default of_node for the controller,
inherited from the actual (parent) device. No need to repeat it
in the driver.
Acked-by: Heiko Stuebner <heiko@sntech.de >
Reviewed-by: William Zhang <william.zhang@broadcom.com >
Acked-by: Chen-Yu Tsai <wens@kernel.org > # sun4i, sun6i
Reviewed-by: Cédric Le Goater <clg@kaod.org >
Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be > # renesas
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com >
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com >
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Link: https://patch.msgid.link/20260112203534.4186261-3-andriy.shevchenko@linux.intel.com
Tested-by: Prajna Rajendra Kumar <prajna.rajendrakumar@microchip.com >
Reviewed-by: Linus Walleij <linusw@kernel.org >
Signed-off-by: Mark Brown <broonie@kernel.org >
2026-01-19 14:42:52 +00:00
Yang Yingliang
c84036243c
spi: realtek-rtl: switch to use devm_spi_alloc_host()
...
Switch to use modern name function devm_spi_alloc_host().
No functional changed.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com >
Link: https://lore.kernel.org/r/20230818093154.1183529-12-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-08-21 14:29:28 +01:00
Bert Vermeulen
a8af5cc2ff
spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI controllers
...
This driver likely also supports earlier (RTL8196) and later (RTL93xx)
SoCs.
The SPI hardware in these SoCs is specifically intended for connecting NOR
bootflash chips, and only used for that in dozens of examined devices.
However boiled down to basics, it's really just a half-duplex SPI
controller.
The hardware appears to have a vestigial second chip-select control, but
it hasn't been seen in the wild and is thus not supported.
Signed-off-by: Bert Vermeulen <bert@biot.com >
Link: https://lore.kernel.org/r/20210120135928.246054-3-bert@biot.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2021-02-04 18:45:57 +00:00