spi: dw: Add ACPI ID for the Sophgo SG2044 SoC SPI
PATCH 1/1 spi: dw: Add ACPI ID for the Sophgo SG2044 SoC SPI
The Sophgo SG2044 SoC can enumerated its SPI device via ACPI. Add ACPI ID for it.
Signed-off-by Inochi Amaoto <[email protected]>
--- drivers/spi/spi-dw-mmio.c | 1 + 1 file changed, 1 insertion(+)
drivers/spi/spi-dw-mmio.c +1 -0
@@ -426,6 +426,7 @@ MODULE_DEVICE_TABLE(of, dw_spi_mmio_of_match);#ifdef CONFIG_ACPI static const struct acpi_device_id dw_spi_mmio_acpi_match[] = { {"HISI0173" , (kernel_ulong_t )dw_spi_pssi_init}, + {"SOPHO004" , (kernel_ulong_t )dw_spi_pssi_init}, {}, };MODULE_DEVICE_TABLE (acpi, dw_spi_mmio_acpi_match);
Signature · 1 line
2.48.1
Quoted 23 lines · Inochi Amaoto
The Sophgo SG2044 SoC can enumerated its SPI device via ACPI. Add ACPI ID for it.
Signed-off-by Inochi Amaoto <[email protected]>--- drivers/spi/spi-dw-mmio.c | 1 + 1 file changed, 1 insertion(+)drivers/spi/spi-dw-mmio.c +1
-0@@ -426,6 +426,7 @@ MODULE_DEVICE_TABLE(of, dw_spi_mmio_of_match);#ifdef CONFIG_ACPI static const struct acpi_device_id dw_spi_mmio_acpi_match[] = { {"HISI0173" , (kernel_ulong_t )dw_spi_pssi_init}, + {"SOPHO004" , (kernel_ulong_t )dw_spi_pssi_init}, {}, };MODULE_DEVICE_TABLE (acpi, dw_spi_mmio_acpi_match);Signature · 1 line
2.48.1
Drop this patch for now as the ACPI id is not registed.
Regards,
Inochi
Quoted 3 lines · Inochi Amaoto
Quoted 2 lines · Inochi Amaoto
The Sophgo SG2044 SoC can enumerated its SPI device via ACPI. Add ACPI ID for it.
...
Quoted 7 lines
drivers/spi/spi-dw-mmio.c MODULE_DEVICE_TABLE(of, dw_spi_mmio_of_match); · line 431
Quoted 5 lines
static const struct
acpi_device_iddw_spi_mmio_acpi_match[] = {drivers/spi/spi-dw-mmio.c +1
-0{"HISI0173", (kernel_ulong_t)dw_spi_pssi_init}, + {"SOPHO004", (kernel_ulong_t)dw_spi_pssi_init}, {}, };Drop this patch for now as the ACPI id is not registed.
Right, more details are in another thread:
https://lore.kernel.org/r/[email protected]
And here is a formal NAK from me.
Thanks, Inochi, to take this into account!
Signature · 2 lines
With Best Regards, Andy Shevchenko