diff --git a/arch/powerpc/boot/dts/roach2.dts b/arch/powerpc/boot/dts/roach2.dts index f6742fb7b79..4ffb5d7d071 100644 --- a/arch/powerpc/boot/dts/roach2.dts +++ b/arch/powerpc/boot/dts/roach2.dts @@ -242,30 +242,40 @@ reg = <0x68>; }; - rtc@18 { + hwmon@18 { compatible = "maxim,max1668"; reg = <0x18>; }; - rtc@48 { + hwmon@48 { compatible = "maxim,max6650"; reg = <0x48>; }; - rtc@4b { + hwmon@4b { compatible = "maxim,max6650"; reg = <0x4b>; }; - rtc@1b { + hwmon@1b { compatible = "maxim,max6650"; reg = <0x1b>; }; - rtc@1f { + hwmon@1f { compatible = "maxim,max6650"; reg = <0x1f>; }; + + hwmon@50 { + compatible = "maxim,max16071"; + reg = <0x50>; + }; + + hwmon@51 { + compatible = "maxim,max16071"; + reg = <0x51>; + }; }; IIC1: i2c@ef600800 { diff --git a/drivers/hwmon/max16065.c b/drivers/hwmon/max16065.c index d94a24fdf4b..03cdc5e59b2 100644 --- a/drivers/hwmon/max16065.c +++ b/drivers/hwmon/max16065.c @@ -550,6 +550,8 @@ static int max16065_probe(struct i2c_client *client, bool have_secondary; /* true if chip has secondary limits */ bool secondary_is_max = false; /* secondary limits reflect max */ + printk(KERN_DEBUG " %s has addr: 0x%02x has name: %s", __func__, client->addr, client->name); + if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_READ_WORD_DATA)) return -ENODEV;