File tree 6 files changed +1464
-0
lines changed
Documentation/devicetree/bindings/i2c
6 files changed +1464
-0
lines changed Original file line number Diff line number Diff line change
1
+ HWMON i2c driver for IBM POWER CPU OCC (On Chip Controller)
2
+
3
+ Required properties:
4
+ - compatible: must be "ibm,power8-occ-i2c"
5
+ - reg: physical address
6
+
7
+ Example:
8
+ i2c3: i2c-bus@100 {
9
+ occ@50 {
10
+ compatible = "ibm,occ-i2c";
11
+ reg = <0x50>;
12
+ };
13
+ };
Original file line number Diff line number Diff line change 60
60
reg = <0x4a>;
61
61
};
62
62
};
63
+ i2c3: i2c-bus@100 {
64
+ occ@50 {
65
+ compatible = "ibm,occ-i2c";
66
+ reg = <0x50>;
67
+ };
68
+ occ@51 {
69
+ compatible = "ibm,occ-i2c";
70
+ reg = <0x51>;
71
+ };
72
+ };
63
73
64
74
i2c6: i2c-bus@1c0 {
65
75
nct7904@2d {
Original file line number Diff line number Diff line change 64
64
reg = <0x4c>;
65
65
};
66
66
};
67
+
68
+ i2c3: i2c-bus@100 {
69
+ occ@50 {
70
+ compatible = "ibm,occ-i2c";
71
+ reg = <0x50>;
72
+ };
73
+ };
67
74
};
68
75
};
69
76
};
Original file line number Diff line number Diff line change @@ -1167,6 +1167,19 @@ config SENSORS_NCT7904
1167
1167
This driver can also be built as a module. If so, the module
1168
1168
will be called nct7904.
1169
1169
1170
+ config SENSORS_POWER8_OCC_I2C
1171
+ tristate "Power8 On Chip Controller i2c driver"
1172
+ depends on I2C
1173
+ help
1174
+ If you say yes here you get support to monitor Power8 CPU
1175
+ sensors via the On Chip Controller (OCC) over the i2c bus.
1176
+
1177
+ Generally this is used by management controllers such as a BMC
1178
+ on an OpenPower system.
1179
+
1180
+ This driver can also be built as a module. If so, the module
1181
+ will be called power8_occ_i2c.
1182
+
1170
1183
config SENSORS_PCF8591
1171
1184
tristate "Philips PCF8591 ADC/DAC"
1172
1185
depends on I2C
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ obj-$(CONFIG_SENSORS_NCT6775) += nct6775.o
123
123
obj-$(CONFIG_SENSORS_NCT7802) += nct7802.o
124
124
obj-$(CONFIG_SENSORS_NCT7904) += nct7904.o
125
125
obj-$(CONFIG_SENSORS_NTC_THERMISTOR) += ntc_thermistor.o
126
+ obj-$(CONFIG_SENSORS_POWER8_OCC_I2C) += power8_occ_i2c.o
126
127
obj-$(CONFIG_SENSORS_PC87360) += pc87360.o
127
128
obj-$(CONFIG_SENSORS_PC87427) += pc87427.o
128
129
obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
You can’t perform that action at this time.
0 commit comments