Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: move tca9554 from pcf857x to pca953x

The TCA9554 doesn't work with the pcf857x driver, trying to change the direction
gives a NAK bailout error.

TCA9554 is similar to the PCA9554, thus change the driver.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Anders Darander and committed by
Linus Walleij
1b9a0c25 64c6a711

+2 -3
+1 -1
drivers/gpio/Kconfig
··· 752 752 4 bits: pca9536, pca9537 753 753 754 754 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, 755 - pca9556, pca9557, pca9574, tca6408, xra1202 755 + pca9556, pca9557, pca9574, tca6408, tca9554, xra1202 756 756 757 757 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, 758 758 tca6416
+1
drivers/gpio/gpio-pca953x.c
··· 82 82 { "tca6416", 16 | PCA953X_TYPE | PCA_INT, }, 83 83 { "tca6424", 24 | PCA953X_TYPE | PCA_INT, }, 84 84 { "tca9539", 16 | PCA953X_TYPE | PCA_INT, }, 85 + { "tca9554", 8 | PCA953X_TYPE | PCA_INT, }, 85 86 { "xra1202", 8 | PCA953X_TYPE }, 86 87 { } 87 88 };
-2
drivers/gpio/gpio-pcf857x.c
··· 46 46 { "pca9675", 16 }, 47 47 { "max7328", 8 }, 48 48 { "max7329", 8 }, 49 - { "tca9554", 8 }, 50 49 { } 51 50 }; 52 51 MODULE_DEVICE_TABLE(i2c, pcf857x_id); ··· 65 66 { .compatible = "nxp,pca9675" }, 66 67 { .compatible = "maxim,max7328" }, 67 68 { .compatible = "maxim,max7329" }, 68 - { .compatible = "ti,tca9554" }, 69 69 { } 70 70 }; 71 71 MODULE_DEVICE_TABLE(of, pcf857x_of_table);