diff mbox series

ipmi: bt: Add ast2600 compatible string

Message ID 20210903015314.177987-1-joel@jms.id.au
State Accepted
Commit cd921b9f0c8d0a198eaeb897fc4124a73b742b4b
Headers show
Series ipmi: bt: Add ast2600 compatible string | expand

Commit Message

Joel Stanley Sept. 3, 2021, 1:53 a.m. UTC
The AST2600 has the same register set as the previous generation SoCs.

Signed-off-by: Joel Stanley <joel@jms.id.au>

---
 .../devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt          | 1 +
 drivers/char/ipmi/bt-bmc.c                                       | 1 +
 2 files changed, 2 insertions(+)

-- 
2.33.0

Comments

Rob Herring (Arm) Sept. 7, 2021, 7:09 p.m. UTC | #1
On Fri, 03 Sep 2021 11:23:14 +0930, Joel Stanley wrote:
> The AST2600 has the same register set as the previous generation SoCs.

> 

> Signed-off-by: Joel Stanley <joel@jms.id.au>

> ---

>  .../devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt          | 1 +

>  drivers/char/ipmi/bt-bmc.c                                       | 1 +

>  2 files changed, 2 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
Joel Stanley Oct. 7, 2021, 6:37 a.m. UTC | #2
On Tue, 7 Sept 2021 at 19:09, Rob Herring <robh@kernel.org> wrote:
>

> On Fri, 03 Sep 2021 11:23:14 +0930, Joel Stanley wrote:

> > The AST2600 has the same register set as the previous generation SoCs.

> >

> > Signed-off-by: Joel Stanley <joel@jms.id.au>

> > ---

> >  .../devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt          | 1 +

> >  drivers/char/ipmi/bt-bmc.c                                       | 1 +

> >  2 files changed, 2 insertions(+)

> >

>

> Acked-by: Rob Herring <robh@kernel.org>


Corey, can you please merge this one?

Cheers,

Joel
Corey Minyard Oct. 7, 2021, 7:03 p.m. UTC | #3
On Thu, Oct 07, 2021 at 06:37:00AM +0000, Joel Stanley wrote:
> On Tue, 7 Sept 2021 at 19:09, Rob Herring <robh@kernel.org> wrote:

> >

> > On Fri, 03 Sep 2021 11:23:14 +0930, Joel Stanley wrote:

> > > The AST2600 has the same register set as the previous generation SoCs.

> > >

> > > Signed-off-by: Joel Stanley <joel@jms.id.au>

> > > ---

> > >  .../devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt          | 1 +

> > >  drivers/char/ipmi/bt-bmc.c                                       | 1 +

> > >  2 files changed, 2 insertions(+)

> > >

> >

> > Acked-by: Rob Herring <robh@kernel.org>

> 

> Corey, can you please merge this one?


Ok, it's in my linux-next branch.

Thanks,

-corey

> 

> Cheers,

> 

> Joel
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt b/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt
index 028268fd99ee..c9902fd4b38b 100644
--- a/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt
+++ b/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt
@@ -9,6 +9,7 @@  Required properties:
 - compatible : should be one of
 	"aspeed,ast2400-ibt-bmc"
 	"aspeed,ast2500-ibt-bmc"
+	"aspeed,ast2600-ibt-bmc"
 - reg: physical address and size of the registers
 
 Optional properties:
diff --git a/drivers/char/ipmi/bt-bmc.c b/drivers/char/ipmi/bt-bmc.c
index 6e3d247b55d1..d16516be9ac9 100644
--- a/drivers/char/ipmi/bt-bmc.c
+++ b/drivers/char/ipmi/bt-bmc.c
@@ -508,6 +508,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" },
 	{ },
 };