linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: bcm: brcmstb: Match additional compatible strings
@ 2017-02-15  0:41 Florian Fainelli
  2017-02-15  0:41 ` Florian Fainelli
  2017-02-28 20:29 ` Florian Fainelli
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Fainelli @ 2017-02-15  0:41 UTC (permalink / raw)
  To: linux-mips
  Cc: Florian Fainelli, Brian Norris, Gregory Fong,
	maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, Justin Chen,
	Scott Branden, Arnd Bergmann,
	moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE, open list

From: Florian Fainelli <f.fainelli@gmail.com>

Match all known sun-top-ctrl compatible strings from our MIPS chips
counterparts. This allows us to properly report the SoC information to
user-space through our SoC driver.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Ralf, James,

I usually take patches touching this file through an ARM SoC pull request,
posting to linux-mips for people working on BMIPS STB to get a chance to review
this.

Thanks!

 drivers/soc/bcm/brcmstb/common.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/soc/bcm/brcmstb/common.c b/drivers/soc/bcm/brcmstb/common.c
index 94e7335553f4..b6195fdf0d00 100644
--- a/drivers/soc/bcm/brcmstb/common.c
+++ b/drivers/soc/bcm/brcmstb/common.c
@@ -41,6 +41,15 @@ bool soc_is_brcmstb(void)
 }
 
 static const struct of_device_id sun_top_ctrl_match[] = {
+	{ .compatible = "brcm,bcm7125-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7346-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7358-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7360-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7362-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7420-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7425-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7429-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7425-sun-top-ctrl", },
 	{ .compatible = "brcm,brcmstb-sun-top-ctrl", },
 	{ }
 };
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] soc: bcm: brcmstb: Match additional compatible strings
  2017-02-15  0:41 [PATCH] soc: bcm: brcmstb: Match additional compatible strings Florian Fainelli
@ 2017-02-15  0:41 ` Florian Fainelli
  2017-02-28 20:29 ` Florian Fainelli
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2017-02-15  0:41 UTC (permalink / raw)
  To: linux-mips
  Cc: Florian Fainelli, Brian Norris, Gregory Fong,
	maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, Justin Chen,
	Scott Branden, Arnd Bergmann,
	moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE, open list

From: Florian Fainelli <f.fainelli@gmail.com>

Match all known sun-top-ctrl compatible strings from our MIPS chips
counterparts. This allows us to properly report the SoC information to
user-space through our SoC driver.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Ralf, James,

I usually take patches touching this file through an ARM SoC pull request,
posting to linux-mips for people working on BMIPS STB to get a chance to review
this.

Thanks!

 drivers/soc/bcm/brcmstb/common.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/soc/bcm/brcmstb/common.c b/drivers/soc/bcm/brcmstb/common.c
index 94e7335553f4..b6195fdf0d00 100644
--- a/drivers/soc/bcm/brcmstb/common.c
+++ b/drivers/soc/bcm/brcmstb/common.c
@@ -41,6 +41,15 @@ bool soc_is_brcmstb(void)
 }
 
 static const struct of_device_id sun_top_ctrl_match[] = {
+	{ .compatible = "brcm,bcm7125-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7346-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7358-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7360-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7362-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7420-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7425-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7429-sun-top-ctrl", },
+	{ .compatible = "brcm,bcm7425-sun-top-ctrl", },
 	{ .compatible = "brcm,brcmstb-sun-top-ctrl", },
 	{ }
 };
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: bcm: brcmstb: Match additional compatible strings
  2017-02-15  0:41 [PATCH] soc: bcm: brcmstb: Match additional compatible strings Florian Fainelli
  2017-02-15  0:41 ` Florian Fainelli
@ 2017-02-28 20:29 ` Florian Fainelli
  2017-02-28 20:29   ` Florian Fainelli
  1 sibling, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2017-02-28 20:29 UTC (permalink / raw)
  To: linux-mips
  Cc: Brian Norris, Gregory Fong,
	maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, Justin Chen,
	Scott Branden, Arnd Bergmann,
	moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE, open list

On 02/14/2017 04:41 PM, Florian Fainelli wrote:
> From: Florian Fainelli <f.fainelli@gmail.com>
> 
> Match all known sun-top-ctrl compatible strings from our MIPS chips
> counterparts. This allows us to properly report the SoC information to
> user-space through our SoC driver.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied.

> ---
> Ralf, James,
> 
> I usually take patches touching this file through an ARM SoC pull request,
> posting to linux-mips for people working on BMIPS STB to get a chance to review
> this.
> 
> Thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: bcm: brcmstb: Match additional compatible strings
  2017-02-28 20:29 ` Florian Fainelli
@ 2017-02-28 20:29   ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2017-02-28 20:29 UTC (permalink / raw)
  To: linux-mips
  Cc: Brian Norris, Gregory Fong,
	maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, Justin Chen,
	Scott Branden, Arnd Bergmann,
	moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE, open list

On 02/14/2017 04:41 PM, Florian Fainelli wrote:
> From: Florian Fainelli <f.fainelli@gmail.com>
> 
> Match all known sun-top-ctrl compatible strings from our MIPS chips
> counterparts. This allows us to properly report the SoC information to
> user-space through our SoC driver.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied.

> ---
> Ralf, James,
> 
> I usually take patches touching this file through an ARM SoC pull request,
> posting to linux-mips for people working on BMIPS STB to get a chance to review
> this.
> 
> Thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-28 20:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15  0:41 [PATCH] soc: bcm: brcmstb: Match additional compatible strings Florian Fainelli
2017-02-15  0:41 ` Florian Fainelli
2017-02-28 20:29 ` Florian Fainelli
2017-02-28 20:29   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).