* [PATCH v2 0/2] Add support for NXP PCA6408 @ 2022-05-04 22:29 Justin Chen 2022-05-04 22:29 ` [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 Justin Chen ` (2 more replies) 0 siblings, 3 replies; 7+ messages in thread From: Justin Chen @ 2022-05-04 22:29 UTC (permalink / raw) To: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt Cc: linux-gpio, devicetree, linux-kernel, f.fainelli, justinpopo6 The NXP PCA6408 is the 8 bit/8 GPIO version of the NXP PCA6416. Justin Chen (2): gpio: pca953xx: Add support for pca6408 dt-bindings: gpio: pca95xx: add entry for pca6408 Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 + drivers/gpio/gpio-pca953x.c | 2 ++ 2 files changed, 3 insertions(+) -- 2.7.4 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 2022-05-04 22:29 [PATCH v2 0/2] Add support for NXP PCA6408 Justin Chen @ 2022-05-04 22:29 ` Justin Chen 2022-05-05 3:50 ` Florian Fainelli 2022-05-04 22:29 ` [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry " Justin Chen 2022-05-05 12:53 ` [PATCH v2 0/2] Add support for NXP PCA6408 Bartosz Golaszewski 2 siblings, 1 reply; 7+ messages in thread From: Justin Chen @ 2022-05-04 22:29 UTC (permalink / raw) To: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt Cc: linux-gpio, devicetree, linux-kernel, f.fainelli, justinpopo6 Add support for pca6408 which is the 8-bit version of the pca6416. https://www.nxp.com/docs/en/data-sheet/PCA6408A.pdf Signed-off-by: Justin Chen <justinpopo6@gmail.com> --- drivers/gpio/gpio-pca953x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index d2fe76f..4909175 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -71,6 +71,7 @@ #define PCA_CHIP_TYPE(x) ((x) & PCA_TYPE_MASK) static const struct i2c_device_id pca953x_id[] = { + { "pca6408", 8 | PCA953X_TYPE | PCA_INT, }, { "pca6416", 16 | PCA953X_TYPE | PCA_INT, }, { "pca9505", 40 | PCA953X_TYPE | PCA_INT, }, { "pca9506", 40 | PCA953X_TYPE | PCA_INT, }, @@ -1198,6 +1199,7 @@ static int pca953x_resume(struct device *dev) #define OF_957X(__nrgpio, __int) (void *)(__nrgpio | PCA957X_TYPE | __int) static const struct of_device_id pca953x_dt_ids[] = { + { .compatible = "nxp,pca6408", .data = OF_953X(8, PCA_INT), }, { .compatible = "nxp,pca6416", .data = OF_953X(16, PCA_INT), }, { .compatible = "nxp,pca9505", .data = OF_953X(40, PCA_INT), }, { .compatible = "nxp,pca9506", .data = OF_953X(40, PCA_INT), }, -- 2.7.4 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 2022-05-04 22:29 ` [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 Justin Chen @ 2022-05-05 3:50 ` Florian Fainelli 0 siblings, 0 replies; 7+ messages in thread From: Florian Fainelli @ 2022-05-05 3:50 UTC (permalink / raw) To: Justin Chen, linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt Cc: linux-gpio, devicetree, linux-kernel On 5/4/2022 3:29 PM, Justin Chen wrote: > Add support for pca6408 which is the 8-bit version of the pca6416. > > https://www.nxp.com/docs/en/data-sheet/PCA6408A.pdf > > Signed-off-by: Justin Chen <justinpopo6@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry for pca6408 2022-05-04 22:29 [PATCH v2 0/2] Add support for NXP PCA6408 Justin Chen 2022-05-04 22:29 ` [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 Justin Chen @ 2022-05-04 22:29 ` Justin Chen 2022-05-05 3:50 ` Florian Fainelli 2022-05-05 8:14 ` Krzysztof Kozlowski 2022-05-05 12:53 ` [PATCH v2 0/2] Add support for NXP PCA6408 Bartosz Golaszewski 2 siblings, 2 replies; 7+ messages in thread From: Justin Chen @ 2022-05-04 22:29 UTC (permalink / raw) To: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt Cc: linux-gpio, devicetree, linux-kernel, f.fainelli, justinpopo6 The NXP PCA5608 is the 8-bit version of PCA5616. Signed-off-by: Justin Chen <justinpopo6@gmail.com> --- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml index dc0fc8f..977b14d 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml @@ -30,6 +30,7 @@ properties: - maxim,max7325 - maxim,max7326 - maxim,max7327 + - nxp,pca6408 - nxp,pca6416 - nxp,pca9505 - nxp,pca9506 -- 2.7.4 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry for pca6408 2022-05-04 22:29 ` [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry " Justin Chen @ 2022-05-05 3:50 ` Florian Fainelli 2022-05-05 8:14 ` Krzysztof Kozlowski 1 sibling, 0 replies; 7+ messages in thread From: Florian Fainelli @ 2022-05-05 3:50 UTC (permalink / raw) To: Justin Chen, linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt Cc: linux-gpio, devicetree, linux-kernel On 5/4/2022 3:29 PM, Justin Chen wrote: > The NXP PCA5608 is the 8-bit version of PCA5616. > > Signed-off-by: Justin Chen <justinpopo6@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry for pca6408 2022-05-04 22:29 ` [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry " Justin Chen 2022-05-05 3:50 ` Florian Fainelli @ 2022-05-05 8:14 ` Krzysztof Kozlowski 1 sibling, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2022-05-05 8:14 UTC (permalink / raw) To: Justin Chen, linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt Cc: linux-gpio, devicetree, linux-kernel, f.fainelli On 05/05/2022 00:29, Justin Chen wrote: > The NXP PCA5608 is the 8-bit version of PCA5616. > > Signed-off-by: Justin Chen <justinpopo6@gmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 0/2] Add support for NXP PCA6408 2022-05-04 22:29 [PATCH v2 0/2] Add support for NXP PCA6408 Justin Chen 2022-05-04 22:29 ` [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 Justin Chen 2022-05-04 22:29 ` [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry " Justin Chen @ 2022-05-05 12:53 ` Bartosz Golaszewski 2 siblings, 0 replies; 7+ messages in thread From: Bartosz Golaszewski @ 2022-05-05 12:53 UTC (permalink / raw) To: Justin Chen Cc: Linus Walleij, Rob Herring, Krzysztof Kozlowski, open list:GPIO SUBSYSTEM, devicetree, Linux Kernel Mailing List, Florian Fainelli On Thu, May 5, 2022 at 12:30 AM Justin Chen <justinpopo6@gmail.com> wrote: > > The NXP PCA6408 is the 8 bit/8 GPIO version of the NXP PCA6416. > > Justin Chen (2): > gpio: pca953xx: Add support for pca6408 > dt-bindings: gpio: pca95xx: add entry for pca6408 > > Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 + > drivers/gpio/gpio-pca953x.c | 2 ++ > 2 files changed, 3 insertions(+) > > -- > 2.7.4 > Both applied, thanks! Bart ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-05-05 12:53 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-05-04 22:29 [PATCH v2 0/2] Add support for NXP PCA6408 Justin Chen 2022-05-04 22:29 ` [PATCH v2 1/2] gpio: pca953xx: Add support for pca6408 Justin Chen 2022-05-05 3:50 ` Florian Fainelli 2022-05-04 22:29 ` [PATCH v2 2/2] dt-bindings: gpio: pca95xx: add entry " Justin Chen 2022-05-05 3:50 ` Florian Fainelli 2022-05-05 8:14 ` Krzysztof Kozlowski 2022-05-05 12:53 ` [PATCH v2 0/2] Add support for NXP PCA6408 Bartosz Golaszewski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).