All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c
@ 2017-10-12  2:17 Lei YU
  2017-10-13  4:38 ` Joel Stanley
  2017-10-13  5:23 ` Andrew Jeffery
  0 siblings, 2 replies; 3+ messages in thread
From: Lei YU @ 2017-10-12  2:17 UTC (permalink / raw)
  To: openbmc; +Cc: Lei YU, andrew

1. Use updated p8 occ driver;
2. Enable i2c buses that are used.

Signed-off-by: Lei YU <mine260309@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
index d52b528..93ad3ea 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
@@ -117,6 +117,7 @@
 
 &i2c2 {
 	// i2c mux
+	status = "okay";
 };
 
 &i2c3 {
@@ -217,8 +218,8 @@
 	status = "okay";
 
 	// turismo
-	occ@50 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon@50 {
+		compatible = "ibm,p8-occ-hwmon";
 		reg = <0x50>;
 	};
 
@@ -232,9 +233,9 @@
 	status = "okay";
 
 	// turismo
-	occ@50 {
-		compatible = "ibm,occ-i2c";
-		reg = <0x50>;
+	occ-hwmon@51 {
+		compatible = "ibm,p8-occ-hwmon";
+		reg = <0x51>;
 	};
 
 	tmp423@4c {
@@ -260,10 +261,12 @@
 
 &i2c9 {
 	// 4 way mux
+	status = "okay";
 };
 
 &i2c10 {
 	// 4 way mux
+	status = "okay";
 };
 
 &i2c11 {
@@ -304,10 +307,12 @@
 
 &i2c12 {
 	// i2c hub PCA9516A
+	status = "okay";
 };
 
 &i2c13 {
 	// i2c hub PCA9516A
+	status = "okay";
 };
 
 &gpio {
-- 
1.9.1

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

* Re: [PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c
  2017-10-12  2:17 [PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c Lei YU
@ 2017-10-13  4:38 ` Joel Stanley
  2017-10-13  5:23 ` Andrew Jeffery
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Stanley @ 2017-10-13  4:38 UTC (permalink / raw)
  To: Lei YU; +Cc: OpenBMC Maillist, Andrew Jeffery

On Thu, Oct 12, 2017 at 10:17 AM, Lei YU <mine260309@gmail.com> wrote:
> 1. Use updated p8 occ driver;
> 2. Enable i2c buses that are used.
>
> Signed-off-by: Lei YU <mine260309@gmail.com>

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

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

* Re: [PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c
  2017-10-12  2:17 [PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c Lei YU
  2017-10-13  4:38 ` Joel Stanley
@ 2017-10-13  5:23 ` Andrew Jeffery
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Jeffery @ 2017-10-13  5:23 UTC (permalink / raw)
  To: Lei YU, openbmc

[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]

On Thu, 2017-10-12 at 10:17 +0800, Lei YU wrote:
> 1. Use updated p8 occ driver;
> 2. Enable i2c buses that are used.
> 
> Signed-off-by: Lei YU <mine260309@gmail.com>

Applied to dev-4.10 with a typo fix for 'firstone' in the subject

Cheers,

Andrew

> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> index d52b528..93ad3ea 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> @@ -117,6 +117,7 @@
>  
>  &i2c2 {
>  	// i2c mux
> +	status = "okay";
>  };
>  
>  &i2c3 {
> @@ -217,8 +218,8 @@
>  	status = "okay";
>  
>  	// turismo
> -	occ@50 {
> -		compatible = "ibm,occ-i2c";
> +	occ-hwmon@50 {
> +		compatible = "ibm,p8-occ-hwmon";
>  		reg = <0x50>;
>  	};
>  
> @@ -232,9 +233,9 @@
>  	status = "okay";
>  
>  	// turismo
> -	occ@50 {
> -		compatible = "ibm,occ-i2c";
> -		reg = <0x50>;
> +	occ-hwmon@51 {
> +		compatible = "ibm,p8-occ-hwmon";
> +		reg = <0x51>;
>  	};
>  
>  	tmp423@4c {
> @@ -260,10 +261,12 @@
>  
>  &i2c9 {
>  	// 4 way mux
> +	status = "okay";
>  };
>  
>  &i2c10 {
>  	// 4 way mux
> +	status = "okay";
>  };
>  
>  &i2c11 {
> @@ -304,10 +307,12 @@
>  
>  &i2c12 {
>  	// i2c hub PCA9516A
> +	status = "okay";
>  };
>  
>  &i2c13 {
>  	// i2c hub PCA9516A
> +	status = "okay";
>  };
>  
>  &gpio {

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

end of thread, other threads:[~2017-10-13  5:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-12  2:17 [PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c Lei YU
2017-10-13  4:38 ` Joel Stanley
2017-10-13  5:23 ` Andrew Jeffery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.