diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2c-mux-gpio.h | 5 | ||||
| -rw-r--r-- | include/linux/i2c-mux.h | 1 | ||||
| -rw-r--r-- | include/linux/i2c.h | 2 | ||||
| -rw-r--r-- | include/linux/i2c/pca954x.h | 1 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 1 |
5 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/i2c-mux-gpio.h b/include/linux/i2c-mux-gpio.h index a36343a37ebc..4406108201fe 100644 --- a/include/linux/i2c-mux-gpio.h +++ b/include/linux/i2c-mux-gpio.h | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | * @values: Array of bitmasks of GPIO settings (low/high) for each | 21 | * @values: Array of bitmasks of GPIO settings (low/high) for each |
| 22 | * position | 22 | * position |
| 23 | * @n_values: Number of multiplexer positions (busses to instantiate) | 23 | * @n_values: Number of multiplexer positions (busses to instantiate) |
| 24 | * @classes: Optional I2C auto-detection classes | ||
| 25 | * @gpio_chip: Optional GPIO chip name; if set, GPIO pin numbers are given | ||
| 26 | * relative to the base GPIO number of that chip | ||
| 24 | * @gpios: Array of GPIO numbers used to control MUX | 27 | * @gpios: Array of GPIO numbers used to control MUX |
| 25 | * @n_gpios: Number of GPIOs used to control MUX | 28 | * @n_gpios: Number of GPIOs used to control MUX |
| 26 | * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used | 29 | * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used |
| @@ -30,6 +33,8 @@ struct i2c_mux_gpio_platform_data { | |||
| 30 | int base_nr; | 33 | int base_nr; |
| 31 | const unsigned *values; | 34 | const unsigned *values; |
| 32 | int n_values; | 35 | int n_values; |
| 36 | const unsigned *classes; | ||
| 37 | char *gpio_chip; | ||
| 33 | const unsigned *gpios; | 38 | const unsigned *gpios; |
| 34 | int n_gpios; | 39 | int n_gpios; |
| 35 | unsigned idle; | 40 | unsigned idle; |
diff --git a/include/linux/i2c-mux.h b/include/linux/i2c-mux.h index c79083830014..40cb05a97b46 100644 --- a/include/linux/i2c-mux.h +++ b/include/linux/i2c-mux.h | |||
| @@ -36,6 +36,7 @@ | |||
| 36 | struct i2c_adapter *i2c_add_mux_adapter(struct i2c_adapter *parent, | 36 | struct i2c_adapter *i2c_add_mux_adapter(struct i2c_adapter *parent, |
| 37 | struct device *mux_dev, | 37 | struct device *mux_dev, |
| 38 | void *mux_priv, u32 force_nr, u32 chan_id, | 38 | void *mux_priv, u32 force_nr, u32 chan_id, |
| 39 | unsigned int class, | ||
| 39 | int (*select) (struct i2c_adapter *, | 40 | int (*select) (struct i2c_adapter *, |
| 40 | void *mux_dev, u32 chan_id), | 41 | void *mux_dev, u32 chan_id), |
| 41 | int (*deselect) (struct i2c_adapter *, | 42 | int (*deselect) (struct i2c_adapter *, |
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 5970266930a2..94aed0c85bb0 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
| @@ -144,7 +144,7 @@ extern s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client, | |||
| 144 | * The driver.owner field should be set to the module owner of this driver. | 144 | * The driver.owner field should be set to the module owner of this driver. |
| 145 | * The driver.name field should be set to the name of this driver. | 145 | * The driver.name field should be set to the name of this driver. |
| 146 | * | 146 | * |
| 147 | * For automatic device detection, both @detect and @address_data must | 147 | * For automatic device detection, both @detect and @address_list must |
| 148 | * be defined. @class should also be set, otherwise only devices forced | 148 | * be defined. @class should also be set, otherwise only devices forced |
| 149 | * with module parameters will be created. The detect function must | 149 | * with module parameters will be created. The detect function must |
| 150 | * fill at least the name field of the i2c_board_info structure it is | 150 | * fill at least the name field of the i2c_board_info structure it is |
diff --git a/include/linux/i2c/pca954x.h b/include/linux/i2c/pca954x.h index 28f1f8d5ab1f..1712677d5904 100644 --- a/include/linux/i2c/pca954x.h +++ b/include/linux/i2c/pca954x.h | |||
| @@ -36,6 +36,7 @@ | |||
| 36 | struct pca954x_platform_mode { | 36 | struct pca954x_platform_mode { |
| 37 | int adap_id; | 37 | int adap_id; |
| 38 | unsigned int deselect_on_exit:1; | 38 | unsigned int deselect_on_exit:1; |
| 39 | unsigned int class; | ||
| 39 | }; | 40 | }; |
| 40 | 41 | ||
| 41 | /* Per mux/switch data, used with i2c_register_board_info */ | 42 | /* Per mux/switch data, used with i2c_register_board_info */ |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 33880f6f4e51..9d36b829533a 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -1427,6 +1427,7 @@ | |||
| 1427 | #define PCI_DEVICE_ID_VIA_CX700_IDE 0x0581 | 1427 | #define PCI_DEVICE_ID_VIA_CX700_IDE 0x0581 |
| 1428 | #define PCI_DEVICE_ID_VIA_VX800 0x8353 | 1428 | #define PCI_DEVICE_ID_VIA_VX800 0x8353 |
| 1429 | #define PCI_DEVICE_ID_VIA_VX855 0x8409 | 1429 | #define PCI_DEVICE_ID_VIA_VX855 0x8409 |
| 1430 | #define PCI_DEVICE_ID_VIA_VX900 0x8410 | ||
| 1430 | #define PCI_DEVICE_ID_VIA_8371_1 0x8391 | 1431 | #define PCI_DEVICE_ID_VIA_8371_1 0x8391 |
| 1431 | #define PCI_DEVICE_ID_VIA_82C598_1 0x8598 | 1432 | #define PCI_DEVICE_ID_VIA_82C598_1 0x8598 |
| 1432 | #define PCI_DEVICE_ID_VIA_838X_1 0xB188 | 1433 | #define PCI_DEVICE_ID_VIA_838X_1 0xB188 |
