[PATCH v4 linuux dev-5.3 04/10] ipmi: aspeed-g6: Add compatible strings

Brad Bishop bradleyb at fuzziesquirrel.com
Wed Sep 25 22:56:04 AEST 2019


The AST2600 SoC contains the same IPMI (BT/KCS) devices as the AST2500.

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
v4: add Andrew's review
v3: new for v3
---
 drivers/char/ipmi/bt-bmc.c         | 1 +
 drivers/char/ipmi/kcs_bmc_aspeed.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/char/ipmi/bt-bmc.c b/drivers/char/ipmi/bt-bmc.c
index 40b9927c072c..0e600449931b 100644
--- a/drivers/char/ipmi/bt-bmc.c
+++ b/drivers/char/ipmi/bt-bmc.c
@@ -513,6 +513,7 @@ static int bt_bmc_remove(struct platform_device *pdev)
 static const struct of_device_id bt_bmc_match[] = {
 	{ .compatible = "aspeed,ast2400-ibt-bmc" },
 	{ .compatible = "aspeed,ast2500-ibt-bmc" },
+	{ .compatible = "aspeed,ast2600-ibt-bmc" },
 	{ },
 };
 
diff --git a/drivers/char/ipmi/kcs_bmc_aspeed.c b/drivers/char/ipmi/kcs_bmc_aspeed.c
index 3c955946e647..a0a8bb89c9b3 100644
--- a/drivers/char/ipmi/kcs_bmc_aspeed.c
+++ b/drivers/char/ipmi/kcs_bmc_aspeed.c
@@ -301,6 +301,7 @@ static int aspeed_kcs_remove(struct platform_device *pdev)
 static const struct of_device_id ast_kcs_bmc_match[] = {
 	{ .compatible = "aspeed,ast2400-kcs-bmc" },
 	{ .compatible = "aspeed,ast2500-kcs-bmc" },
+	{ .compatible = "aspeed,ast2600-kcs-bmc" },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, ast_kcs_bmc_match);
-- 
2.21.0


More information about the openbmc mailing list