[d-kernel] [PATCH 05/39] AHCI SATA: Add support for Baikal BE-M1000
Daniil Gnusarev
gnusarevda на basealt.ru
Пн Окт 14 17:01:46 MSK 2024
Add compatible string for AHCI SATA Baikal BE-M1000
Signed-off-by: Daniil Gnusarev <gnusarevda на basealt.ru>
Co-developed-by: Baikal Electronics <info на baikalelectronics.ru>
---
drivers/ata/ahci_dwc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/ata/ahci_dwc.c b/drivers/ata/ahci_dwc.c
index ed263de3fd706..37cb631a08518 100644
--- a/drivers/ata/ahci_dwc.c
+++ b/drivers/ata/ahci_dwc.c
@@ -468,10 +468,15 @@ static struct ahci_dwc_plat_data ahci_bt1_plat = {
.init = ahci_bt1_init,
};
+static struct ahci_dwc_plat_data ahci_bm1000_plat = {
+ .pflags = AHCI_PLATFORM_GET_RESETS | AHCI_PLATFORM_RST_TRIGGER,
+};
+
static const struct of_device_id ahci_dwc_of_match[] = {
{ .compatible = "snps,dwc-ahci", &ahci_dwc_plat },
{ .compatible = "snps,spear-ahci", &ahci_dwc_plat },
{ .compatible = "baikal,bt1-ahci", &ahci_bt1_plat },
+ { .compatible = "baikal,bm1000-ahci", &ahci_bm1000_plat },
{},
};
MODULE_DEVICE_TABLE(of, ahci_dwc_of_match);
--
2.42.2
Подробная информация о списке рассылки devel-kernel