diff mbox

[linux,dev-4.10,2/2] ARM: dts: aspeed: romulus: Add Maxim MAX31785

Message ID 20170525074818.7284-2-joel@jms.id.au
State Accepted, archived
Headers show

Commit Message

Joel Stanley May 25, 2017, 7:48 a.m. UTC
From: Nickolaus Gruendler <ngruend@us.ibm.com>

This fan controller is present at 0x52 on i2c-12.

Signed-off-by: Nickolaus Gruendler <ngruend@us.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Lei YU May 31, 2017, 6:56 a.m. UTC | #1
Reviewed-by: Lei YU <mine260309@gmail.com>

On Thu, May 25, 2017 at 3:48 PM, Joel Stanley <joel@jms.id.au> wrote:
> From: Nickolaus Gruendler <ngruend@us.ibm.com>
>
> This fan controller is present at 0x52 on i2c-12.
>
> Signed-off-by: Nickolaus Gruendler <ngruend@us.ibm.com>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> index 5ca0f6e6a6a4..eae406aeb6ce 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -206,8 +206,13 @@
>  &i2c12 {
>         status = "okay";
>
> +       /* Fan Controller */
> +       max31785@52 {
> +               compatible = "maxim,max31785";
> +               reg = <0x52>;
> +       };
> +
>         /* CPLD */
> -       /* Fan Controller 0xa4/a5 */
>         /* Power Supply */
>         /* Temp Sensor */
>         /* Temp Sensor */
> --
> 2.11.0
>
Joel Stanley May 31, 2017, 12:51 p.m. UTC | #2
On Wed, May 31, 2017 at 4:26 PM, Lei YU <mine260309@gmail.com> wrote:
> Reviewed-by: Lei YU <mine260309@gmail.com>

Thanks, applied to dev-4.10.

Cheers,

Joel

>
> On Thu, May 25, 2017 at 3:48 PM, Joel Stanley <joel@jms.id.au> wrote:
>> From: Nickolaus Gruendler <ngruend@us.ibm.com>
>>
>> This fan controller is present at 0x52 on i2c-12.
>>
>> Signed-off-by: Nickolaus Gruendler <ngruend@us.ibm.com>
>> Signed-off-by: Joel Stanley <joel@jms.id.au>
>> ---
>>  arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 7 ++++++-
>>  1 file changed, 6 insertions(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
>> index 5ca0f6e6a6a4..eae406aeb6ce 100644
>> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
>> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
>> @@ -206,8 +206,13 @@
>>  &i2c12 {
>>         status = "okay";
>>
>> +       /* Fan Controller */
>> +       max31785@52 {
>> +               compatible = "maxim,max31785";
>> +               reg = <0x52>;
>> +       };
>> +
>>         /* CPLD */
>> -       /* Fan Controller 0xa4/a5 */
>>         /* Power Supply */
>>         /* Temp Sensor */
>>         /* Temp Sensor */
>> --
>> 2.11.0
>>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index 5ca0f6e6a6a4..eae406aeb6ce 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -206,8 +206,13 @@ 
 &i2c12 {
 	status = "okay";
 
+	/* Fan Controller */
+	max31785@52 {
+		compatible = "maxim,max31785";
+		reg = <0x52>;
+	};
+
 	/* CPLD */
-	/* Fan Controller 0xa4/a5 */
 	/* Power Supply */
 	/* Temp Sensor */
 	/* Temp Sensor */