Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions arch/powerpc/boot/dts/roach2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions drivers/hwmon/max16065.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down