aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pca953x.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-15gpiolib: acpi: Pass con_id instead of property into acpi_dev_gpio_irq_get_by()Andy Shevchenko1-1/+1
2023-10-02gpio: pca953x: Convert to use maple tree register cacheMark Brown1-2/+2
2023-09-11gpio: pca953x: Revisit header inclusionsAndy Shevchenko1-6/+14
2023-09-11gpio: pca953x: Get rid of useless goto labelAndy Shevchenko1-17/+7
2023-09-11gpio: pca953x: Switch to DEFINE_SIMPLE_DEV_PM_OPS()Andy Shevchenko1-5/+3
2023-09-11gpio: pca953x: Utilise temporary variable for struct gpio_chipAndy Shevchenko1-4/+3
2023-09-11gpio: pca953x: Utilise temporary variable for struct deviceAndy Shevchenko1-16/+14
2023-09-11gpio: pca953x: Simplify code with cleanup helpersAndy Shevchenko1-48/+29
2023-09-11gpio: pca953x: Split pca953x_restore_context() and pca953x_save_context()Andy Shevchenko1-15/+29
2023-09-11gpio: pca953x: Utilise dev_err_probe() where it makes senseAndy Shevchenko1-5/+3
2023-09-11gpio: pca953x: Fully convert to device managed resourcesAndy Shevchenko1-33/+35
2023-09-11gpio: pca953x: Drop unused fields in struct pca953x_platform_dataAndy Shevchenko1-29/+8
2023-08-25gpio: pca953x: add support for TCA9538Liam Beguin1-0/+2
2023-08-25gpio: pca953x: Use i2c_get_match_data()Biju Das1-15/+3
2023-05-23gpio: Switch i2c drivers back to use .probe()Uwe Kleine-König1-1/+1
2023-01-30gpio: pca953x: Remove unused PCAL953X_OUT_CONF from pcal6534_recalc_addr()Andy Shevchenko1-1/+0
2023-01-30gpio: pca953x: Clean up pcal6534_check_register()Andy Shevchenko1-12/+9
2023-01-30gpio: pca953x: avoid logically dead codeHaibo Chen1-10/+10
2022-12-30gpio: pca953x: avoid to use uninitialized value pinctrlHaibo Chen1-0/+3
2022-12-15Merge tag 'gpio-updates-for-v6.2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2022-11-24gpio: pca953x: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+3
2022-10-24gpio: pca953x: Add missing header(s)Andy Shevchenko1-1/+2
2022-10-08Merge tag 'gpio-updates-for-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-38/+139
2022-09-16Merge tag 'v6.0-rc5' into i2c/for-mergewindowWolfram Sang1-1/+7
2022-09-15gpio: pca953x: Add support for PCAL6534Martyn Welch1-19/+117
2022-09-15gpio: pca953x: Swap if statements to save later complexityMartyn Welch1-16/+15
2022-09-15gpio: pca953x: Fix pca953x_gpio_set_pull_up_down()Martyn Welch1-3/+5
2022-09-14gpio: pca953x: introduce support for nxp,pcal6408Nate Drude1-0/+2
2022-08-31gpio: pca953x: Add mutex_lock for regcache sync in PMHaibo Chen1-1/+7
2022-08-16i2c: Make remove callback return voidUwe Kleine-König1-3/+1
2022-08-16gpio: pca953x: Make platform teardown callback return voidUwe Kleine-König1-8/+3
2022-07-19gpio: pca953x: use the correct register address when regcache sync during initHaibo Chen1-4/+7
2022-07-19gpio: pca953x: use the correct range when do regmap syncHaibo Chen1-6/+6
2022-07-19gpio: pca953x: only use single read/write for No AI modeHaibo Chen1-0/+3
2022-06-03Merge tag 'gpio-fixes-for-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-8/+11
2022-06-01gpio: pca953x: use the correct register address to do regcache syncHaibo Chen1-8/+11
2022-05-26Merge tag 'gpio-updates-for-v5.19' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-12/+25
2022-05-24gpio: pca953x: Make the irqchip immutableGeert Uytterhoeven1-12/+23
2022-05-06gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)Puyou Lu1-2/+2
2022-05-05gpio: pca953xx: Add support for pca6408Justin Chen1-0/+2
2021-10-06gpio: pca953x: Improve bias settingAndy Shevchenko1-7/+9
2021-09-29gpio: pca953x: do not ignore i2c errorsAndrey Gusakov1-9/+2
2021-06-16gpio: pca953x: Add support for the On Semi pca9655Peter Robinson1-0/+1
2021-03-08gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2Andy Shevchenko1-55/+23
2021-02-15gpio: pca953x: Add support for pca9506Uwe Kleine-König1-0/+2
2020-10-13Merge tag 'gpio-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-6/+5
2020-10-07gpio: pca953x: Survive spurious interruptsMarc Zyngier1-2/+15
2020-10-01gpio: pca953x: Correctly initialize registers 6 and 7 for PCA957xAndy Shevchenko1-1/+4
2020-10-01gpio: pca953x: Use bitmap API over implicit GCC extensionAndy Shevchenko1-1/+3
2020-09-30gpio: pca953x: Add support for the NXP PCAL9554B/CMike Looijmans1-0/+2
2020-09-24gpio: pca953x: Fix uninitialized pending variableYe Li1-1/+1
2020-08-28gpio: pca953x: Simplify with dev_err_probe()Krzysztof Kozlowski1-6/+3
2020-08-04gpio: pca953x: Request IRQ after all initialisation doneAndy Shevchenko1-11/+11
2020-07-20gpio: pca953x: Use irqchip templateLinus Walleij1-12/+13
2020-07-09Merge branch 'devel' into for-nextLinus Walleij1-0/+2
2020-06-22gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2Andy Shevchenko1-1/+6
2020-06-16gpio: pca953x: disable regmap locking for automatic address incrementingAndy Shevchenko1-0/+1
2020-06-16gpio: pca953x: Fix direction setting when configure an IRQAndy Shevchenko1-2/+4
2020-06-16gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2Andy Shevchenko1-0/+79
2020-06-16gpio: pca953x: Synchronize interrupt handler properlyAndy Shevchenko1-3/+5
2020-06-16gpio: pca953x: Add support for the PCAL9535Jan Kiszka1-0/+2
2020-06-03gpio: pca953x: Drop unneeded ACPI_PTR()Andy Shevchenko1-1/+1
2020-05-27Merge tag 'v5.7-rc7' into develLinus Walleij1-1/+1
2020-04-29gpio: pca953x: drop unused parameters of pca953x_recalc_addr()Uwe Kleine-König1-20/+11
2020-04-29gpio: pca953x: fix handling of automatic address incrementingUwe Kleine-König1-16/+28
2020-04-29gpio: pca953x: Rewrite ->get_multiple() functionAndy Shevchenko1-30/+11
2020-04-23gpio: pca953x: Fix pca953x_gpio_set_configAdam Ford1-1/+1
2020-04-17gpio: pca953x: disable regmap lockingBartosz Golaszewski1-0/+1
2020-04-16gpio: gpio-pca953x, Add get_multiple functionPaul Thomas1-0/+37
2020-01-17Merge tag 'v5.5-rc6' into develLinus Walleij1-16/+10
2019-12-11gpio: pca953x: Remove redundant forward declarationAndy Shevchenko1-2/+0
2019-12-11gpio: pca953x: Switch to bitops in IRQ callbacksAndy Shevchenko1-16/+10
2019-12-11gpio: pca953x: Don't hardcode irq trigger typeVignesh Raghavendra1-2/+1
2019-12-04gpio: pca953x: tighten up indentationAndy Shevchenko1-11/+11
2019-12-04gpio: pca953x: convert to use bitmap APIAndy Shevchenko1-94/+70
2019-12-04gpio: pca953x: use input from regs structure in pca953x_irq_pending()Andy Shevchenko1-1/+1
2019-12-04gpio: pca953x: remove redundant variable and check in IRQ handlerAndy Shevchenko1-3/+1
2019-12-04gpio: pca953x: utilize the for_each_set_clump8 macroWilliam Breathitt Gray1-10/+7
2019-11-07gpio: Use new GPIO_LINE_DIRECTIONMatti Vaittinen1-1/+4
2019-09-16Merge tag 'gpio-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-37/+33
2019-08-28gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_readDavid Jander1-6/+3
2019-08-28gpio: pca953x: correct type of reg_directionDavid Jander1-3/+3
2019-08-02gpio: pca953x: Drop %s for constant string literalsAndy Shevchenko1-2/+1
2019-08-02gpio: pca953x: Remove explicit comparison with 0Andy Shevchenko1-8/+8
2019-08-02gpio: pca953x: Use GENMASK() consistentlyAndy Shevchenko1-15/+16
2019-08-02gpio: pca953x: Switch to use device_get_match_data()Andy Shevchenko1-12/+8
2019-07-09Merge tag 'gpio-v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+1
2019-06-14Merge tag 'gpio-v5.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-1/+2
2019-06-08gpio: pca953x: hack to fix 24 bit gpio expandersH. Nikolaus Schaller1-1/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441Thomas Gleixner1-4/+1
2019-06-02gpio: pca953x: Add support for the TI TCA9539Peter Robinson1-0/+1
2019-04-11gpio: pca953x: add support for pca6416Alexandre Belloni1-0/+2
2019-04-11gpio: pca953x: add pcal6416 to the of_device_id tableAlexandre Belloni1-0/+1
2019-04-08Merge tag 'gpio-v5.2-updates-for-linus-part1' of git://git.kernel.org/pub/scm...Linus Walleij1-0/+1
2019-04-08gpio: pca953x: Configure wake-up path when wake-up is enabledGeert Uytterhoeven1-5/+16
2019-03-22gpio: pca953x: Add support for CAT9554Geert Uytterhoeven1-0/+1
2019-03-08gpio: pca953x: Use PCA_LATCH_INTAndy Shevchenko1-5/+5
2019-03-01gpio: pca953x: Fix dereference of irq data in shutdownMark Walton1-1/+2
2019-02-20gpio: pca953x: Add wake-up supportGeert Uytterhoeven1-0/+9
2019-02-17Merge tag 'gpio-v5.1-updates-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Walleij1-1/+2
2019-02-14gpio: pca953x: add support for pcal6416 typeThomas Petazzoni1-0/+1
2019-02-14Merge branch 'ib-pca953x-config' into develLinus Walleij1-2/+64
2019-02-13gpio: pca953x: add ->set_config implementationThomas Petazzoni1-2/+64
2019-01-21gpio: pca953x: use a per instance irq_chip structureThomas Petazzoni1-13/+12
2019-01-21gpio: pca953x: reduce indentation level in pca953x_irq_setup()Thomas Petazzoni1-42/+42
2019-01-11gpio: pca953x: Make symbol 'pca953x_i2c_regmap' staticWei Yongjun1-1/+1
2018-12-28Merge tag 'gpio-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-182/+302
2018-12-17gpio: name PCA953x gpio chips after device nameLinus Walleij1-1/+1
2018-12-14gpio: pca953x: Restore registers after suspend/resume cycleMarek Vasut1-0/+88
2018-12-14gpio: pca953x: Zap single use of pca953x_read_single()Marek Vasut1-17/+5
2018-12-14gpio: pca953x: Zap ad-hoc reg_output cacheMarek Vasut1-50/+15
2018-12-14gpio: pca953x: Zap ad-hoc reg_direction cacheMarek Vasut1-24/+31
2018-12-14gpio: pca953x: Perform basic regmap conversionMarek Vasut1-8/+151
2018-12-14gpio: pca953x: Extract the register address mangling to single functionMarek Vasut1-30/+29
2018-12-14gpio: pca953x: Zap ad-hoc I2C block write in multi GPIO setMarek Vasut1-10/+1
2018-12-14gpio: pca953x: Factor out common code from device_pca95xx_init()Marek Vasut1-23/+12
2018-12-14gpio: pca953x: Unify pca953x_{read,write}_regs_{8,mul}()Marek Vasut1-46/+8
2018-12-14gpio: pca953x: Unify pca953x_{read,write}_regs_{16,24}()Marek Vasut1-31/+18
2018-12-14gpio: pca953x: Unify pca95{3,7}x_write_regs_16()Marek Vasut1-11/+5
2018-12-14gpio: pca953x: Repair multi-byte IO address increment on PCA9575Marek Vasut1-8/+11
2018-12-14gpio: pca953x: Fix AI overflow on PCAL6524Marek Vasut1-1/+1
2018-12-14gpio: pca953x: Deduplicate the bank_shiftMarek Vasut1-7/+11
2018-07-02gpio: pca953x: suppress interrupts warning when not applicableBaruch Siach1-1/+1
2018-05-24gpio: pca953x: Include the right headerLinus Walleij1-1/+1
2018-05-23gpio: pca953x: fix address calculation for pcal6524H. Nikolaus Schaller1-2/+6
2018-05-23gpio: pca953x: define masks for addressing common and extended registersH. Nikolaus Schaller1-0/+4
2018-05-23gpio: pca953x: set the PCA_PCAL flag also when matching by DTH. Nikolaus Schaller1-2/+3
2018-05-23gpio: pca953x: Clear irq trigger type on irq shutdownGrigoryev Denis1-0/+10
2018-05-16gpio: pca953x: add more register definitions for pcal6524H. Nikolaus Schaller1-0/+6
2018-05-16gpio: pca953x: add more register definitions for pcal953xH. Nikolaus Schaller1-0/+4
2018-05-16gpio: pca953x: convert register constants to hexH. Nikolaus Schaller1-16/+16
2018-05-16gpio: pca953x: Use of_device_get_match_data()Thierry Reding1-6/+4
2018-03-27gpio: pca953x: add compatibility for pcal6524 and pcal9555aH. Nikolaus Schaller1-0/+4
2017-12-02gpio: pca953x: fix vendor prefix for PCA9654Sergei Shtylyov1-1/+1
2017-11-08gpio: Move irqdomain into struct gpio_irq_chipThierry Reding1-1/+1
2017-08-14gpio: pca953x: remove incorrect le16_to_cpu callsAndy Shevchenko1-5/+3
2017-04-24gpio: move tca9554 from pcf857x to pca953xAnders Darander1-0/+1
2017-03-23gpio: pca953x: Expand comment for "reset" GPIO in ACPI caseAndy Shevchenko1-1/+7
2017-03-23gpio: pca953x: Sort headers alphabeticallyAndy Shevchenko1-6/+7
2017-03-23gpio: pca953x: Introduce a long awaited ->get_direction()Andy Shevchenko1-0/+16
2017-01-11gpio: pca953x: Add optional reset gpio controlSteve Longerbeam1-0/+9
2016-12-13Merge tag 'gpio-v4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-8/+10
2016-12-07Merge branch 'thread-irq-simpler' into develLinus Walleij1-8/+8
2016-11-25gpio: simplify adding threaded interruptsLinus Walleij1-8/+8
2016-11-08gpio: pca953x: Move memcpy into mutex lock for set multiplePhil Reid1-2/+1
2016-11-08gpio: pca953x: Fix corruption of other gpios in set_multiple.Phil Reid1-0/+1
2016-10-24gpio: pca953x: Add MAX7318 compatibleMarek Vasut1-0/+2
2016-10-11gpio: pca953x: add a comment explaining the need for a lockdep subclassBartosz Golaszewski1-0/+16
2016-10-07Merge branch 'i2c/for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/w...Linus Torvalds1-7/+9
2016-09-24gpio: pca953x: variable 'id' was used twiceWolfram Sang1-7/+7
2016-09-24gpio: pca953x: fix an incorrect lockdep warningBartosz Golaszewski1-0/+2
2016-09-13Revert "gpio: pca953x: initialize ret to zero to avoid returning garbage"Linus Walleij1-1/+1
2016-09-12gpio: pca953x: initialize ret to zero to avoid returning garbageColin Ian King1-1/+1
2016-09-12gpio: pca953x: coding style fixesBartosz Golaszewski1-10/+13
2016-09-12gpio: pca953x: remove an unused variableBartosz Golaszewski1-4/+1
2016-09-12gpio: pca953x: refactor pca953x_read_regs()Bartosz Golaszewski1-14/+35
2016-09-12gpio: pca953x: refactor pca953x_write_regs()Bartosz Golaszewski1-28/+47
2016-09-12gpio: pca953x: code shrinkBartosz Golaszewski1-85/+48
2016-09-07gpio: pca954x: fix undefined error code from removeArnd Bergmann1-0/+2
2016-08-11gpio: pca954x: Add vcc regulator and enable itPhil Reid1-9/+32
2016-06-15gpio: pca953x: enable driver on Intel EdisonAndy Shevchenko1-0/+2
2016-06-13gpio: pca953x: Fix NBANK calculation for PCA9536Vignesh R1-1/+1
2016-06-08gpio: pca953x: enfore type for i2c_smbus_write_word_data()Andy Shevchenko1-3/+6
2016-06-07gpio: pca953x: remove redundant assignmentsAndy Shevchenko1-6/+3
2016-06-07gpio: pca953x: Add support for TI PCA9536Vignesh R1-0/+1
2016-05-17Merge tag 'gpio-v4.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-1/+41
2016-04-09gpio: pca953x: add PCAL9535 interrupt support for Galileo Gen2Yong Li1-1/+41
2016-04-08gpio: pca953x: Use correct u16 value for register word writeYong Li1-1/+2
2016-03-16gpio: pca953x: Fix pca953x_gpio_set_multiple() on 64-bitGeert Uytterhoeven1-2/+4
2016-02-23gpio: pca953x: Use devm_gpiochip_add_data() for gpio registrationLaxman Dewangan1-3/+1
2016-01-05gpio: pca953x: use gpiochip data pointerLinus Walleij1-16/+11
2015-12-10gpio: pca953x: Add set_multiple to allow multiple bits to be set in one write.Phil Reid1-0/+38
2015-12-09gpio: pca953x: make inclusion of <linux/of_platform.h> unconditionalLinus Walleij1-2/+0
2015-12-09gpio: pca935x: fix of-only probed devicesBen Dooks1-32/+44
2015-12-09gpio: pca953x: add onsemi,pca9654 idBen Dooks1-0/+2
2015-11-19gpio: change member .dev to .parentLinus Walleij1-1/+1
2015-10-05gpio: pca953x: support ACPI devices found on Galileo Gen2Andy Shevchenko1-1/+20
2015-10-05gpio: pca953x: store driver_data for future useAndy Shevchenko1-7/+10
2015-10-02gpio: pca953x: Add TI TCA9539 supportThierry Reding1-0/+1
2015-10-02gpio: Fix error checking in the function device_pca957x_initNicholas Krause1-2/+6
2015-07-16gpio: pca953x: fix nested irqs reschedulingGrygorii Strashko1-0/+4
2015-06-01gpio: Prevent an integer overflow in the pca953x driverJoshua Scott1-9/+12
2015-05-19Drivers: gpio: Fix spelling errorsColin Cronin1-1/+1
2014-08-28gpio: pca953x: Drop deprecated DT bindingsMarkus Pargmann1-51/+3
2014-07-22gpio: remove all usage of gpio_remove retval in driver/gpioabdoulaye berthe1-6/+1
2014-05-28gpio: pca953x: use gpiolib irqchip helpersLinus Walleij1-61/+32
2014-05-09gpio: pca953x: request a shared interruptToby Smith1-1/+2
2014-05-09gpio: pca953x: return IRQ_NONE when appropriateToby Smith1-2/+4
2014-02-13gpio: pca953x: Fix gpio_base may not default to -1Aaron Sierra1-1/+2
2014-02-13gpio: pca953x: Add Exar XRA1202Aaron Sierra1-0/+3
2014-02-13gpio: pca953x: Add NXP PCA9698Aaron Sierra1-0/+2
2014-02-13gpio: pca953x: Add devices to Kconfig helpAaron Sierra1-1/+1
2013-12-04gpio/pinctrl: make gpio_chip members typed booleanLinus Walleij1-1/+1
2013-09-23gpio: pca953x: Don't flip bits on PCA957x GPIO expanders when probing them.Graeme Smecher1-11/+0
2013-09-07Merge tag 'gpio-v3.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-3/+3
2013-08-29gpio: (gpio-pca953x) move header to linux/platform_data/Vivien Didelot1-1/+1
2013-08-16gpio: pca953x: fix gpio input on gpio offsets >= 8Andrew Ruder1-1/+1
2013-08-16gpio: use dev_get_platdata()Jingoo Han1-2/+2
2013-05-06Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-2/+1
2013-04-11gpio: pca953x: fix irq_domain_add_simple usageAlexandre Belloni1-1/+1