浏览代码

ipmi: bt-bmc: Add ast2500 compatible string

The ast2500 SoCs contain the same IPMI BT device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Joel Stanley 8 年之前
父节点
当前提交
7ecaff7733
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 1
      Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt
  2. 1 0
      drivers/char/ipmi/bt-bmc.c

+ 3 - 1
Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt

@@ -6,7 +6,9 @@ perform in-band IPMI communication with their host.
 
 Required properties:
 
-- compatible : should be "aspeed,ast2400-ibt-bmc"
+- compatible : should be one of
+	"aspeed,ast2400-ibt-bmc"
+	"aspeed,ast2500-ibt-bmc"
 - reg: physical address and size of the registers
 
 Optional properties:

+ 1 - 0
drivers/char/ipmi/bt-bmc.c

@@ -523,6 +523,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" },
 	{ },
 };