-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Cavium as7512-32x related kernel driver patches
- Loading branch information
Rostyslav Spolyak
committed
Sep 13, 2016
1 parent
9794d29
commit 105691f
Showing
7 changed files
with
50,108 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
|
||
accton driver config, i2c_mux_pca954x and pmbus. | ||
From: roy_lee <[email protected]> | ||
|
||
--- | ||
debian/build/build_amd64_none_amd64/.config | 23 ++++++++++++++++++++--- | ||
1 file changed, 20 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/debian/build/build_amd64_none_amd64/.config b/debian/build/build_amd64_none_amd64/.config | ||
index c0b11a1..df010e7 100644 | ||
--- a/debian/build/build_amd64_none_amd64/.config | ||
+++ b/debian/build/build_amd64_none_amd64/.config | ||
@@ -1788,6 +1788,8 @@ CONFIG_EEPROM_LEGACY=m | ||
CONFIG_EEPROM_MAX6875=m | ||
CONFIG_EEPROM_93CX6=m | ||
# CONFIG_EEPROM_93XX46 is not set | ||
+CONFIG_EEPROM_ACCTON_AS7512_32x_SFP=m | ||
+CONFIG_EEPROM_SFF_8436=m | ||
CONFIG_CB710_CORE=m | ||
# CONFIG_CB710_DEBUG is not set | ||
CONFIG_CB710_DEBUG_ASSUMPTIONS=y | ||
@@ -3146,7 +3148,7 @@ CONFIG_I2C_MUX=m | ||
# | ||
# CONFIG_I2C_MUX_GPIO is not set | ||
# CONFIG_I2C_MUX_PCA9541 is not set | ||
-# CONFIG_I2C_MUX_PCA954x is not set | ||
+CONFIG_I2C_MUX_PCA954x=m | ||
# CONFIG_I2C_MUX_PINCTRL is not set | ||
CONFIG_I2C_HELPER_AUTO=y | ||
CONFIG_I2C_SMBUS=m | ||
@@ -3397,6 +3399,10 @@ CONFIG_HWMON_VID=m | ||
# | ||
CONFIG_SENSORS_ABITUGURU=m | ||
CONFIG_SENSORS_ABITUGURU3=m | ||
+CONFIG_SENSORS_ACCTON_I2C_CPLD=m | ||
+CONFIG_SENSORS_ACCTON_AS7512_32x_FAN=m | ||
+CONFIG_SENSORS_ACCTON_AS7512_32x_PSU=m | ||
+CONFIG_SENSORS_YM2651Y=m | ||
# CONFIG_SENSORS_AD7314 is not set | ||
CONFIG_SENSORS_AD7414=m | ||
CONFIG_SENSORS_AD7418=m | ||
@@ -3480,7 +3486,18 @@ CONFIG_SENSORS_NTC_THERMISTOR=m | ||
CONFIG_SENSORS_NCT6683=m | ||
CONFIG_SENSORS_NCT6775=m | ||
CONFIG_SENSORS_PCF8591=m | ||
-# CONFIG_PMBUS is not set | ||
+CONFIG_PMBUS=m | ||
+CONFIG_SENSORS_PMBUS=m | ||
+# CONFIG_SENSORS_ADM1275 is not set | ||
+# CONFIG_SENSORS_LM25066 is not set | ||
+# CONFIG_SENSORS_LTC2978 is not set | ||
+# CONFIG_SENSORS_MAX16064 is not set | ||
+# CONFIG_SENSORS_MAX34440 is not set | ||
+CONFIG_SENSORS_DNI_DPS460=m | ||
+# CONFIG_SENSORS_MAX8688 is not set | ||
+# CONFIG_SENSORS_UCD9000 is not set | ||
+# CONFIG_SENSORS_UCD9200 is not set | ||
+# CONFIG_SENSORS_ZL6100 is not set | ||
# CONFIG_SENSORS_SHT15 is not set | ||
CONFIG_SENSORS_SHT21=m | ||
# CONFIG_SENSORS_SHTC1 is not set | ||
@@ -5131,7 +5148,7 @@ CONFIG_LEDS_LT3593=m | ||
CONFIG_LEDS_DELL_NETBOOKS=m | ||
# CONFIG_LEDS_TCA6507 is not set | ||
# CONFIG_LEDS_LM355x is not set | ||
- | ||
+CONFIG_LEDS_ACCTON_AS7512_32x=m | ||
# | ||
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM) | ||
# | ||
|
23 changes: 23 additions & 0 deletions
23
patch/cavm-as7512/driver-i2c-muxes-pca954x-always-deselect.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Always deselect channel after transaction for PCA954x. | ||
|
||
Roy <[email protected]> | ||
|
||
--- | ||
drivers/i2c/muxes/i2c-mux-pca954x.c | 3 +-- | ||
1 file changed, 1 insertion(+), 2 deletions(-) | ||
|
||
diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c | ||
index 9bd4212..01c205b 100644 | ||
--- a/drivers/i2c/muxes/i2c-mux-pca954x.c | ||
+++ b/drivers/i2c/muxes/i2c-mux-pca954x.c | ||
@@ -233,8 +233,7 @@ static int pca954x_probe(struct i2c_client *client, | ||
data->virt_adaps[num] = | ||
i2c_add_mux_adapter(adap, &client->dev, client, | ||
force, num, class, pca954x_select_chan, | ||
- (pdata && pdata->modes[num].deselect_on_exit) | ||
- ? pca954x_deselect_mux : NULL); | ||
+ pca954x_deselect_mux); | ||
|
||
if (data->virt_adaps[num] == NULL) { | ||
ret = -ENODEV; | ||
|
Oops, something went wrong.