aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
AgeCommit message (Expand)AuthorFilesLines
11 daysMerge tag 'gpio-updates-for-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+1
11 daysMerge tag 'spi-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds1-0/+4
2024-05-07gpiolib: Discourage to use formatting strings in line namesAndy Shevchenko1-3/+1
2024-04-17gpiolib: swnode: Remove wrong header inclusionAndy Shevchenko1-1/+0
2024-04-16gpio: swnode: Add ability to specify native chip selects for SPICharles Keepax1-0/+4
2024-03-26gpiolib: Add stubs for GPIO lookup functionsMark Brown1-2/+15
2024-03-14Merge tag 'pinctrl-v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-0/+294
2024-03-12drivers/gpio/nomadik: move dummy nmk_gpio_dbg_show_one() to headerMax Kellermann1-0/+15
2024-03-05Merge tag 'v6.8-rc7' into gpio/for-nextBartosz Golaszewski1-0/+18
2024-03-03gpio: nomadik: Finish conversion to use firmware node APIsAndy Shevchenko1-1/+3
2024-02-29gpio: nomadik: support mobileye,eyeq5-gpioThéo Lebrun1-0/+1
2024-02-29gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/Théo Lebrun1-0/+276
2024-02-26gpio: provide for_each_hwgpio()Bartosz Golaszewski1-0/+15
2024-02-17gpio: constify opaque pointer "data" in gpio_device_find()Krzysztof Kozlowski1-1/+1
2024-02-13gpiolib: add gpio_device_get_label() stub for !GPIOLIBKrzysztof Kozlowski1-0/+6
2024-02-13gpiolib: add gpio_device_get_base() stub for !GPIOLIBKrzysztof Kozlowski1-0/+6
2024-02-13gpiolib: add gpiod_to_gpio_device() stub for !GPIOLIBKrzysztof Kozlowski1-0/+6
2024-02-12gpio: constify opaque pointer in gpio_device_find() match functionKrzysztof Kozlowski1-1/+2
2024-01-29gpio: improve the API contract for setting directionBartosz Golaszewski1-4/+6
2024-01-29gpio: unexport GPIO irq domain functions only used internallyBartosz Golaszewski1-12/+0
2024-01-15gpiolib: Fix scope-based gpio_device refcountingLukas Wunner1-1/+1
2023-12-18gpiolib: remove duplicate inclusionsWang Jinchao1-3/+0
2023-12-08Merge tag 'gpio-remove-gpiochip_is_requested-for-v6.8-rc1' into gpio/for-nextBartosz Golaszewski1-9/+30
2023-12-08gpiolib: remove gpiochip_is_requested()Bartosz Golaszewski1-1/+0
2023-12-08gpiolib: use gpiochip_dup_line_label() in for_each helpersBartosz Golaszewski1-8/+29
2023-12-08gpiolib: provide gpiochip_dup_line_label()Bartosz Golaszewski1-0/+1
2023-11-24gpiolib: provide gpio_device_get_label()Bartosz Golaszewski1-0/+1
2023-11-04gpiolib: remove gpiochip_find()Bartosz Golaszewski1-3/+0
2023-10-13gpiolib: provide gpio_device_get_base()Bartosz Golaszewski1-0/+3
2023-10-13gpiolib: provide gpiod_to_gpio_device()Bartosz Golaszewski1-0/+1
2023-10-13gpiolib: provide gpio_device_to_device()Bartosz Golaszewski1-0/+2
2023-10-12gpiolib: provide gpio_device_find_by_fwnode()Andy Shevchenko1-0/+1
2023-10-09gpio: acpi: remove acpi_get_and_request_gpiod()Bartosz Golaszewski1-8/+0
2023-10-04gpiolib: reluctantly provide gpio_device_get_chip()Bartosz Golaszewski1-0/+2
2023-10-04gpiolib: provide gpio_device_get_desc()Bartosz Golaszewski1-0/+2
2023-10-04gpiolib: provide gpio_device_find_by_label()Bartosz Golaszewski1-0/+1
2023-10-04gpiolib: provide gpio_device_find()Bartosz Golaszewski1-0/+3
2023-10-04gpiolib: add support for scope-based management to gpio_deviceBartosz Golaszewski1-0/+5
2023-10-04gpiolib: make gpio_device_get() and gpio_device_put() publicBartosz Golaszewski1-0/+3
2023-09-12gpiolib: make gpiochip_get_desc() publicBartosz Golaszewski1-0/+2
2023-09-11gpiolib: remove unnecessary extern specifiers from the driver headerBartosz Golaszewski1-11/+10
2023-09-11gpiolib: remove stray newline in gpio/driver.hBartosz Golaszewski1-1/+0
2023-09-11gpiolib: unexport gpiod_set_transitory()Bartosz Golaszewski1-8/+0
2023-06-29Merge tag 'gpio-updates-for-v6.5' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-7/+0
2023-06-19gpiolib: Drop unused domain_ops memeber of GPIO IRQ chipAndy Shevchenko1-7/+0
2023-06-19gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain()Michael Walle1-0/+8
2023-03-06gpiolib: Clean up headersAndy Shevchenko2-11/+33
2023-03-06gpiolib: Group forward declarations in consumer.hAndy Shevchenko1-2/+1
2023-03-06gpiolib: Deduplicate forward declarations in consumer.hAndy Shevchenko1-6/+1
2023-03-06gpiolib: Drop unused forward declaration from driver.hAndy Shevchenko1-1/+0
2023-03-06gpiolib: split of_mm_gpio_chip out of linux/of_gpio.hArnd Bergmann1-0/+36
2023-02-22Merge tag 'pinctrl-v6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-12/+0
2023-01-30gpiolib: Do not mention legacy API in the codeAndy Shevchenko1-1/+1
2023-01-30gpiolib: Get rid of not used of_node memberAndy Shevchenko1-7/+0
2023-01-30gpiolib: of: remove [devm_]gpiod_get_from_of_node() APIsDmitry Torokhov1-48/+0
2023-01-26Revert "gpiolib: of: Introduce hook for missing gpio-ranges"Andy Shevchenko1-12/+0
2022-12-15Merge tag 'gpio-updates-for-v6.2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-21/+11
2022-12-13Merge tag 'pinctrl-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds4-2/+9
2022-11-17genirq: Get rid of GENERIC_MSI_IRQ_DOMAINThomas Gleixner1-1/+1
2022-11-15gpiolib: add support for software nodesDmitry Torokhov1-0/+11
2022-11-09gpiolib: remove devm_fwnode_get_[index_]gpiod_from_child()Dmitry Torokhov1-21/+0
2022-10-24gpiolib: Clean up headersAndy Shevchenko2-2/+1
2022-10-24gpio: reg: Add missing header(s)Andy Shevchenko1-0/+4
2022-10-19gpio: aspeed: Add missing header(s)Andy Shevchenko1-0/+4
2022-09-04gpiolib: make fwnode_get_named_gpiod() staticDmitry Torokhov1-13/+0
2022-08-04Merge tag 'gpio-updates-for-v6.0-rc1' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2022-08-01Merge tag 'irq-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-23/+19
2022-07-19gpiolib: add support for bias pull disableNuno Sá1-0/+1
2022-07-10gpio: Remove dynamic allocation from populate_parent_alloc_arg()Marc Zyngier1-23/+19
2022-06-23gpio: Fix kernel-doc comments to nested unionAkira Yokosawa1-13/+16
2022-06-05Merge tag 'hte/for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-2/+24
2022-06-02Merge tag 'arm-multiplatform-5.19-2' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+12
2022-05-28Merge tag 'pinctrl-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+12
2022-05-26Merge tag 'gpio-updates-for-v5.19' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+28
2022-05-07ARM/pxa/mfd/power/sound: Switch Tosa to GPIO descriptorsLinus Walleij1-0/+12
2022-05-05Merge branch 'irq/gpio-immutable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Walleij1-0/+16
2022-05-05Merge branch 'irq/gpio-immutable' of git://git.kernel.org/pub/scm/linux/kerne...Bartosz Golaszewski1-0/+16
2022-05-04Merge tag 'intel-gpio-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Walleij1-1/+27
2022-05-04gpiolib: Add HTE supportDipen Patel2-2/+24
2022-05-02Merge tag 'intel-gpio-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/g...Bartosz Golaszewski2-2/+34
2022-05-01Merge tag 'v5.18-rc5' into develLinus Walleij2-1/+16
2022-04-25gpio: use raw spinlock for gpio chip shadowed dataSchspa Shi1-1/+1
2022-04-21gpiolib: of: Introduce hook for missing gpio-rangesStefan Wahren1-0/+12
2022-04-19Merge branch irq/gpio-immutable into irq/irqchip-nextMarc Zyngier1-0/+16
2022-04-19gpio: Add helpers to ease the transition towards immutable irq_chipMarc Zyngier1-0/+12
2022-04-19gpio: Expose the gpiochip_irq_re[ql]res helpersMarc Zyngier1-0/+4
2022-04-16Merge tag 'intel-gpio-v5.18-2' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Bartosz Golaszewski1-1/+7
2022-04-14gpiolib: Introduce a helper to get first GPIO controller nodeAndy Shevchenko1-0/+10
2022-04-08gpiolib: Introduce gpiochip_node_count() helperAndy Shevchenko1-0/+11
2022-04-08gpiolib: Introduce for_each_gpiochip_node() loop helperAndy Shevchenko1-1/+6
2022-04-08gpiolib: acpi: Convert type for pin to be unsignedAndy Shevchenko1-1/+7
2022-04-04gpio: Restrict usage of GPIO chip irq members before initializationShreeya Patel1-0/+9
2022-04-01Merge tag 'gpio-fixes-for-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-5/+8
2022-03-31gpio: Properly document parent data unionJoey Gouly1-5/+8
2022-02-09gpiolib: make struct comments into real kernel docsBartosz Golaszewski1-19/+16
2021-12-17Merge tag 'intel-gpio-v5.17-1' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Bartosz Golaszewski1-2/+0
2021-12-17gpiolib: allow to specify the firmware node in struct gpio_chipBartosz Golaszewski1-0/+2
2021-12-17gpiolib: provide gpiod_remove_hogs()Bartosz Golaszewski1-0/+2
2021-11-15gpiolib: acpi: Remove never used devm_acpi_dev_remove_driver_gpios()Andy Shevchenko1-2/+0
2021-10-27gpio: Allow per-parent interrupt dataMarc Zyngier1-2/+17
2021-08-13Merge tag 'intel-gpio-v5.15-1' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Bartosz Golaszewski1-4/+2
2021-08-11gpiolib: Deduplicate forward declaration in the consumer.h headerAndy Shevchenko1-4/+2
2021-08-05gpiolib: constify passed device_node pointerKrzysztof Kozlowski1-4/+4
2021-07-29gpiolib: convert 'devprop_gpiochip_set_names' to support multiple gpiochip ba...Sergio Paracuellos1-0/+4
2021-07-05Merge tag 'gpio-updates-for-v5.14' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+5
2021-06-07gpio: regmap: move drvdata to config dataMichael Walle1-1/+5
2021-06-04gpiolib: acpi: Introduce acpi_get_and_request_gpiod() helperDaniel Scally1-0/+2
2021-05-05Merge tag 'gpio-updates-for-v5.13-v2' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-6/+6
2021-04-30Merge tag 'pinctrl-v5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-0/+13
2021-03-29gpio: regmap: set gpio_chip of_nodeÁlvaro Fernández Rojas1-0/+4
2021-03-29gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIPÁlvaro Fernández Rojas1-0/+9
2021-03-26gpiolib: some edits of kernel docs for clarityRandy Dunlap1-6/+6
2021-03-08gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirkAndy Shevchenko1-0/+2
2021-02-15gpio: aggregator: Use compound literal from the headerAndy Shevchenko1-2/+2
2020-11-16gpiolib: Replace unsigned by unsigned intAndy Shevchenko1-2/+2
2020-10-28gpio: Retire the explicit gpio irqchip codeLinus Walleij1-71/+0
2020-09-14gpiolib: unexport devprop_gpiochip_set_names()Bartosz Golaszewski1-2/+0
2020-09-14gpiolib: generalize devprop_gpiochip_set_names() for device propertiesBartosz Golaszewski1-2/+1
2020-08-04gpio: don't use same lockdep class for all devm_gpiochip_add_data usersAhmad Fatoum1-2/+11
2020-07-27gpio: regmap: fix type clashMichael Walle1-1/+1
2020-07-23gpio: Correct kernel-doc inconsistencyColton Lewis1-4/+4
2020-06-30Merge tag 'gpio-updates-for-v5.9-part1' of git://git.kernel.org/pub/scm/linux...Linus Walleij1-1/+1
2020-06-20gpiolib: Introduce for_each_requested_gpio_in_range() macroAndy Shevchenko1-0/+16
2020-06-15gpio: driver.h: fix kernel-doc markupMauro Carvalho Chehab1-1/+1
2020-06-03gpio: add a reusable generic gpio_chip using regmapMichael Walle1-0/+86
2020-06-03gpiolib: Introduce gpiochip_irqchip_add_domain()Michael Walle1-0/+3
2020-05-28gpio: gpiolib: Allow GPIO IRQs to lazy disableMaulik Shah1-0/+13
2020-05-18Merge branch 'ib-gpio-aggregator' into develLinus Walleij1-7/+10
2020-05-18gpiolib: Add support for GPIO lookup by line nameGeert Uytterhoeven1-7/+10
2020-04-29gpio: Make "offset" and "unsigned int", not just "unsigned"Douglas Anderson1-13/+13
2020-04-29gpio: Document proper return value for gpio driversDouglas Anderson1-3/+3
2020-03-31gpio: Rename variable in core APIsLinus Walleij1-69/+69
2020-03-27gpiolib: Introduce gpiod_set_config()Geert Uytterhoeven1-0/+8
2020-03-25gpio: mmio: introduce BGPIOF_NO_SET_ON_INPUTChuanhong Guo1-0/+1
2020-02-10gpio: Avoid kernel.h inclusion where it's possibleAndy Shevchenko1-1/+4
2020-01-29Merge tag 'pinctrl-v5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-5/+0
2020-01-29Merge tag 'gpio-v5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-14/+12
2020-01-23gpio: Drop the chained IRQ handler assign functionLinus Walleij1-5/+0
2020-01-17Merge branch 'fixup-thunderx-hierarchy' into develLinus Walleij1-13/+10
2020-01-16gpio: Fix the no return statement warningKevin Hao1-0/+2
2020-01-15gpiolib: Add support for the irqdomain which doesn't use irq_fwspec as argKevin Hao1-13/+8
2020-01-07gpiolib: convert the type of hwnum to unsigned int in gpiochip_get_desc()Bartosz Golaszewski1-1/+2
2019-12-18gpio: add gpiod_toggle_active_low()Michał Mirosław1-0/+7
2019-11-13gpiolib: Introduce ->add_pin_ranges() callbackAndy Shevchenko1-0/+5
2019-11-07gpio: Add definition for GPIO directionMatti Vaittinen1-0/+3
2019-11-05Merge tag 'v5.4-rc6' into develLinus Walleij1-0/+8
2019-10-15gpiolib: Initialize the hardware with a callbackAndy Shevchenko1-0/+8
2019-10-03gpiolib: introduce fwnode_gpiod_get_index()Dmitry Torokhov1-0/+13
2019-10-03gpiolib: introduce devm_fwnode_gpiod_get_index()Dmitry Torokhov1-10/+31
2019-09-11gpio: Initialize the irqchip valid_mask with a callbackLinus Walleij1-4/+10
2019-09-05Merge tag 'v5.3-rc7' into develLinus Walleij1-32/+32
2019-09-05gpio: Fix up merge collision in include fileLinus Walleij1-1/+2
2019-09-03Merge tag 'gpio-v5.4-updates-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Walleij1-21/+7
2019-08-23gpio: Move gpiochip_lock/unlock_as_irq to gpio/driver.hYueHaibing1-3/+16
2019-08-20gpio: Use callback presence to determine need of valid_maskLinus Walleij1-9/+0
2019-08-20gpio: Pass mask and size with the init_valid_mask()Linus Walleij1-1/+3
2019-08-20gpio: stubs in headers should be inlineStephen Rothwell1-2/+2
2019-08-15gpio: Add support for hierarchical IRQ domainsLinus Walleij1-0/+111
2019-07-31gpiolib-acpi: Move acpi_dev_add_driver_gpios() et al to consumer.hAndy Shevchenko1-0/+57
2019-07-31gpiolib: of: Reshuffle contents of consumer.h for new library layoutAndy Shevchenko1-30/+48
2019-07-30gpio: remove less important #ifdef around declarationsMasahiro Yamada1-19/+8
2019-07-28gpio: don't WARN() on NULL descs if gpiolib is disabledBartosz Golaszewski1-32/+32
2019-07-13Merge tag 'pinctrl-v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-0/+2
2019-07-04gpiolib: Document new gpio_chip.init_valid_mask fieldGeert Uytterhoeven1-0/+2
2019-06-27gpio: Add comments on #if/#else/#endifEnrico Weigelt3-11/+11
2019-06-14gpio: Drop the parent_irq from gpio_irq_chipLinus Walleij1-7/+0
2019-06-13gpio: Fix build warnings on undefined struct pinctrl_devEnrico Weigelt1-0/+2
2019-06-07gpio: pass lookup and descriptor flags to request_ownLinus Walleij1-1/+3
2019-05-11Merge tag 'gpio-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds2-18/+23
2019-04-23gpiolib: Introduce GPIO_LOOKUP_FLAGS_DEFAULTAndy Shevchenko1-0/+2
2019-04-23gpiolib: Make use of enum gpio_lookup_flags consistentAndy Shevchenko1-4/+4
2019-04-23gpiolib: Indent entry values of enum gpio_lookup_flagsAndy Shevchenko1-8/+8
2019-04-08gpio: mmio: Drop bgpio_dir_invertedLinus Walleij1-4/+0
2019-04-05gpio: mmio: Support two direction registersLinus Walleij1-4/+11
2019-03-24gpiolib: export devprop_gpiochip_set_names()Jan Kundrát1-0/+3
2019-02-14Merge branch 'ib-pca953x-config' into develLinus Walleij1-0/+2
2019-02-13gpio: add core support for pull-up/pull-down configurationThomas Petazzoni1-0/+2
2019-01-24gpio: add irq domain activate/deactivate functionsBrian Masney1-0/+5
2018-12-28Merge tag 'gpio-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds2-10/+8
2018-12-14gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIBKrzysztof Kozlowski1-1/+1
2018-12-14gpio: Pass a flag to gpiochip_request_own_desc()Linus Walleij1-1/+3
2018-12-11gpio: Add devm_gpiod_unhinge()Linus Walleij1-0/+10
2018-12-11gpio: Export gpiod_get_from_of_node()Linus Walleij1-0/+13
2018-11-16gpio: drop broken to_gpio_irq_chip() helperJohan Hovold1-5/+0
2018-11-05gpiolib: Fix possible use after free on labelMuchun Song1-2/+4
2018-11-05gpio: drop devm_gpiochip_remove()Uwe Kleine-König1-1/+0
2018-10-23Merge tag 'gpio-v4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds2-28/+90
2018-10-21Merge branch 'regulator-4.20' into regulator-nextMark Brown1-0/+1
2018-10-12regulator/gpio: Allow nonexclusive GPIO accessLinus Walleij1-0/+1
2018-10-10gpio: Assign gpio_irq_chip::parents to non-stack pointerStephen Boyd1-0/+7
2018-10-10gpiolib: Add init_valid_mask exported functionRicardo Ribalda Delgado1-1/+6
2018-10-01gpio: Restore indentation of continued linesGeert Uytterhoeven1-9/+9
2018-10-01gpio: Propagate errors from gpiod_set_array_value_complex()Geert Uytterhoeven1-13/+15
2018-09-25gpio: Add comments on single direction chipsLinus Walleij1-1/+5
2018-09-20Merge branch 'ib-array-bitmaps' into develLinus Walleij1-16/+43
2018-09-13gpiolib: Pass array info to get/set array functionsJanusz Krzysztofik1-0/+16
2018-09-13gpiolib: Identify arrays matching GPIO hardwareJanusz Krzysztofik1-0/+9
2018-09-13gpiolib: Pass bitmaps, not integer arrays, to get/set arrayJanusz Krzysztofik1-16/+18
2018-09-10gpiolib: override irq_enable/disableHans Verkuil1-0/+14
2018-09-10gpiolib: add flag to indicate if the irq is disabledHans Verkuil1-0/+2