diff mbox series

[v2,1/2] ACPI: LPSS: Advertise number of chip selects via property

Message ID 20240404120856.4109303-2-andriy.shevchenko@linux.intel.com
State Accepted
Commit 07b73ee599428b41d0240f2f7b31b524eba07dd0
Headers show
Series ACPI: LPSS: Prepare for SPI code cleanup | expand

Commit Message

Andy Shevchenko April 4, 2024, 12:06 p.m. UTC
Advertise number of chip selects via property for Intel Braswell.

Fixes: 620c803f42de ("ACPI: LPSS: Provide an SSP type to the driver")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/acpi/acpi_lpss.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
index 04e273167e92..8e01792228d1 100644
--- a/drivers/acpi/acpi_lpss.c
+++ b/drivers/acpi/acpi_lpss.c
@@ -325,6 +325,7 @@  static const struct lpss_device_desc bsw_i2c_dev_desc = {
 
 static const struct property_entry bsw_spi_properties[] = {
 	PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BSW_SSP),
+	PROPERTY_ENTRY_U32("num-cs", 2),
 	{ }
 };