aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.h
AgeCommit message (Expand)AuthorFilesLines
2025-09-12gpiolib: add a common prefix to GPIO descriptor flagsBartosz Golaszewski1-18/+18
2025-06-20gpio: sysfs: remove the mockdev pointer from struct gpio_deviceBartosz Golaszewski1-3/+0
2025-03-17Merge tag 'v6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/torval...Bartosz Golaszewski1-1/+4
2025-03-13gpio: cdev: use raw notifier for line state eventsBartosz Golaszewski1-1/+4
2025-03-05gpio: Hide valid_mask from direct assignmentsMatti Vaittinen1-0/+3
2025-03-04gpiolib: Align FLAG_* definitions in the struct gpio_descAndy Shevchenko1-18/+18
2025-02-18gpiolib: protect gpio_chip with SRCU in array_info paths in multi get/setBartosz Golaszewski1-2/+2
2024-10-22gpiolib: notify user-space about in-kernel line state changesBartosz Golaszewski1-0/+3
2024-10-22gpiolib: switch the line state notifier to atomicBartosz Golaszewski1-1/+1
2024-10-22gpiolib: add a per-gpio_device line state notification workqueueBartosz Golaszewski1-0/+4
2024-10-22gpio: cdev: go back to storing debounce period in the GPIO descriptorBartosz Golaszewski1-0/+5
2024-08-20gpiolib: Replace gpio_suffix_count with NULL-terminated arrayAndy Shevchenko1-6/+5
2024-08-20gpiolib: Introduce for_each_gpio_property_name() helperAndy Shevchenko1-0/+13
2024-07-02gpiolib: unexport gpiochip_get_desc()Bartosz Golaszewski1-0/+1
2024-06-14gpiolib: put gpio_suffixes in a single compilation unitBartosz Golaszewski1-1/+2
2024-05-14Merge tag 'gpio-updates-for-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2024-05-09gpiolib: use a single SRCU struct for all GPIO descriptorsBartosz Golaszewski1-5/+5
2024-05-07gpiolib: fix the speed of descriptor label setting with SRCUBartosz Golaszewski1-1/+6
2024-04-17gpiolib: Get rid of never false gpio_is_valid() callsAndy Shevchenko1-1/+1
2024-02-27gpiolib: Pass consumer device through to core in devm_fwnode_gpiod_get_index()Stephen Boyd1-0/+8
2024-02-15gpio: use srcu_dereference() with SRCU-protected pointersBartosz Golaszewski1-1/+2
2024-02-12gpio: remove the RW semaphore from the GPIO deviceBartosz Golaszewski1-5/+0
2024-02-12gpio: protect the pointer to gpio_chip in gpio_device with SRCUBartosz Golaszewski1-1/+21
2024-02-12gpio: add SRCU infrastructure to struct gpio_deviceBartosz Golaszewski1-0/+2
2024-02-12gpio: add the can_sleep flag to struct gpio_deviceBartosz Golaszewski1-0/+3
2024-02-12gpio: remove gpio_lockBartosz Golaszewski1-2/+0
2024-02-12gpio: sysfs: use gpio_device_find() to iterate over existing devicesBartosz Golaszewski1-1/+0
2024-02-12gpio: protect the descriptor label with SRCUBartosz Golaszewski1-10/+24
2024-02-12gpio: add SRCU infrastructure to struct gpio_descBartosz Golaszewski1-0/+3
2024-02-12gpio: provide and use gpiod_get_label()Bartosz Golaszewski1-0/+1
2024-02-12gpio: remove unused logging helpersBartosz Golaszewski1-13/+0
2024-01-17gpiolib: revert the attempt to protect the GPIO device list with an rwsemBartosz Golaszewski1-2/+0
2024-01-04gpiolib: replace the GPIO device mutex with a read-write semaphoreBartosz Golaszewski1-1/+1
2023-12-19gpiolib: remove debounce_period_us from struct gpio_descKent Gibson1-5/+0
2023-12-18gpiolib: use a mutex to protect the list of GPIO devicesBartosz Golaszewski1-0/+2
2023-10-04gpiolib: make gpio_device_get() and gpio_device_put() publicBartosz Golaszewski1-10/+0
2023-09-12gpiolib: make gpiochip_get_desc() publicBartosz Golaszewski1-2/+0
2023-09-11gpiolib: unexport gpiod_set_transitory()Bartosz Golaszewski1-0/+2
2023-08-22gpiolib: provide and use gpiod_line_state_notify()Bartosz Golaszewski1-0/+1
2023-08-21gpiolib: add a second blocking notifier to struct gpio_deviceBartosz Golaszewski1-0/+3
2023-08-21gpiolib: rename the gpio_device notifierBartosz Golaszewski1-3/+3
2023-07-18gpio: mmio: handle "ngpios" properly in bgpio_init()Asmaa Mnebhi1-0/+1
2023-07-13gpiolib: order includes alphabetically in gpiolib.hBartosz Golaszewski1-4/+4
2023-07-10gpiolib: add missing includeBartosz Golaszewski1-0/+1
2023-01-30gpiolib: Introduce gpio_device_get() and gpio_device_put()Andy Shevchenko1-0/+10
2022-12-07gpiolib: protect the GPIO device against being dropped while in use by user-s...Bartosz Golaszewski1-0/+5
2022-11-29gpiolib: Provide to_gpio_device() helperAndy Shevchenko1-2/+7
2022-06-05Merge tag 'hte/for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2022-05-04gpiolib: Add HTE supportDipen Patel1-0/+1
2022-04-09gpiolib: Split out for_each_gpio_desc() macroAndy Shevchenko1-1/+4
2022-04-09gpiolib: Embed iterator variable into for_each_gpio_desc_with_flag()Andy Shevchenko1-4/+4
2022-03-25Merge tag 'gpio-updates-for-v5.18' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+41
2022-02-09gpiolib: make struct comments into real kernel docsBartosz Golaszewski1-0/+34
2022-02-08gpiolib: Introduce for_each_gpio_desc_with_flag() macroAndy Shevchenko1-0/+7
2022-02-08gpiolib: Never return internal error codes to user spaceAndy Shevchenko1-0/+12
2020-12-09Merge tag 'gpio-updates-for-v5.11' of git://git.kernel.org/pub/scm/linux/kern...Linus Walleij1-0/+2
2020-12-05gpiolib: cdev: allow edge event timestamps to be configured as REALTIMEKent Gibson1-0/+1
2020-11-16gpiolib: Introduce gpio_set_debounce_timeout() for internal useAndy Shevchenko1-0/+1
2020-10-26gpiolib: Extract gpiod_not_found() helperAndy Shevchenko1-0/+2
2020-09-30gpiolib: cdev: support setting debounceKent Gibson1-0/+4
2020-09-30gpiolib: cdev: support edge detection for uAPI v2Kent Gibson1-0/+2
2020-07-12gpiolib: cdev: use blocking notifier call chain instead of atomicKent Gibson1-1/+1
2020-07-12gpiolib: move gpiolib-sysfs function declarations into their own headerKent Gibson1-18/+0
2020-04-28gpiolib: Rename "chip" variables to "gc" in core header fileGeert Uytterhoeven1-14/+13
2020-02-21gpio: of: Add DT overlay support for GPIO hogsGeert Uytterhoeven1-0/+3
2020-02-12gpiolib: add new ioctl() for monitoring changes in line infoBartosz Golaszewski1-0/+1
2020-01-07Merge tag 'gpio-updates-for-v5.6-part1' of git://git.kernel.org/pub/scm/linux...Linus Walleij1-1/+2
2020-01-07gpiolib: convert the type of hwnum to unsigned int in gpiochip_get_desc()Bartosz Golaszewski1-1/+2
2019-12-12gpiolib: Add GPIOCHIP_NAME definitionGeert Uytterhoeven1-0/+2
2019-11-12gpiolib: add support for disabling line biasKent Gibson1-0/+1
2019-07-31gpiolib: acpi: Split ACPI stuff to gpiolib-acpi.hAndy Shevchenko1-93/+0
2019-07-28gpio: of: Break out OF-only codeLinus Walleij1-27/+0
2019-07-06gpiolib: Use spinlock_t instead of struct spinlockSebastian Andrzej Siewior1-1/+1
2019-05-11Merge tag 'gpio-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-5/+14
2019-04-23gpiolib: acpi: Respect pin bias settingAndy Shevchenko1-0/+2
2019-04-23gpiolib: acpi: Add acpi_gpio_update_gpiod_lookup_flags() helperAndy Shevchenko1-0/+8
2019-04-23gpiolib: Make use of enum gpio_lookup_flags consistentAndy Shevchenko1-5/+4
2019-03-24gpiolib: export devprop_gpiochip_set_names()Jan Kundrát1-3/+0
2019-02-13gpio: add core support for pull-up/pull-down configurationThomas Petazzoni1-0/+2
2018-12-11gpio: Export gpiod_get_from_of_node()Linus Walleij1-6/+0
2018-10-01gpio: Restore indentation of continued linesGeert Uytterhoeven1-4/+4
2018-09-25gpio: Use SPDX header for core libraryLinus Walleij1-4/+1
2018-09-20Merge branch 'ib-array-bitmaps' into develLinus Walleij1-2/+13
2018-09-13gpiolib: Pass array info to get/set array functionsJanusz Krzysztofik1-0/+2
2018-09-13gpiolib: Identify arrays matching GPIO hardwareJanusz Krzysztofik1-0/+9
2018-09-13gpiolib: Pass bitmaps, not integer arrays, to get/set arrayJanusz Krzysztofik1-2/+2
2018-09-10gpiolib: add flag to indicate if the irq is disabledHans Verkuil1-0/+1
2018-07-13gpiolib: Mark gpio_suffixes array with __maybe_unusedAndy Shevchenko1-1/+1
2018-05-23gpio: Remove VLA from gpiolibLaura Abbott1-1/+1
2018-02-22gpio: include consumer header in gpiolib.hLinus Walleij1-1/+1
2018-01-31Merge tag 'gpio-v4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-4/+14
2018-01-12gpio: Export devm_gpiod_get_from_of_node() for consumersLinus Walleij1-0/+6
2017-12-22gpio: fix "gpio-line-names" property retrievalChristophe Leroy1-1/+2
2017-12-20gpiolib: constify label in gpio_deviceBartosz Golaszewski1-1/+1
2017-12-02gpio: gpiolib: Generalise state persistence beyond sleepAndrew Jeffery1-1/+1
2017-11-30gpiolib: acpi: Add quirks field to struct acpi_gpio_mappingAndy Shevchenko1-0/+2
2017-11-30gpiolib: acpi: Consolidate debug output in acpi_gpio_update_gpiod_flags()Andy Shevchenko1-2/+2
2017-11-30gpiolib: acpi: Move adev member to struct acpi_gpio_infoAndy Shevchenko1-0/+2
2017-10-20gpio: Fix loose spellingAndrew Jeffery1-1/+1
2017-10-19gpio: Introduce ->get_multiple callbackLukas Wunner1-0/+4
2017-08-14gpio: replace __maybe_unused in gpiolib.h with static inlineMasahiro Yamada1-1/+1
2017-05-29gpio: acpi: Override GPIO initialization flagsAndy Shevchenko1-2/+13
2017-05-29gpiolib: Export gpiod_configure_flags() to internal usersAndy Shevchenko1-0/+2
2017-05-29gpio: Add new flags to control sleep status of GPIOsCharles Keepax1-0/+1
2017-01-11gpiolib: Update documentation of struct acpi_gpio_infoAndy Shevchenko1-1/+2
2016-10-24gpio: Rework of_gpiochip_set_names() to use device property accessorsMika Westerberg1-0/+2
2016-10-03gpio: add missing static inlineLinus Walleij1-3/+7
2016-10-03gpio: OF: localize some gpiochip init functionsLinus Walleij1-0/+4
2016-10-03gpio: acpi: separation of concernsLinus Walleij1-6/+9
2016-10-03gpio: OF: separation of concernsLinus Walleij1-0/+16
2016-04-26gpio: move gpiod_set_array_value_priv()Linus Walleij1-0/+4
2016-02-19gpio: store reflect the label to userspaceLinus Walleij1-0/+3
2016-02-16gpio: move the subdriver data pointer into gpio_deviceLinus Walleij1-0/+2
2016-02-16gpio: move the pin ranges into gpio_deviceLinus Walleij1-0/+10
2016-02-11gpio: reflect base and ngpio into gpio_deviceLinus Walleij1-2/+8
2016-02-11gpio: move descriptors into gpio_deviceLinus Walleij1-1/+3
2016-02-11gpio: move sysfs mock device to the gpio_deviceLinus Walleij1-4/+7
2016-02-09gpio: add a userspace chardev ABI for GPIOsLinus Walleij1-0/+2
2016-02-09gpio: refer to gpio device in prints and debugfsLinus Walleij1-6/+6
2016-02-09gpio: make the gpiochip a real deviceLinus Walleij1-1/+26
2016-01-17Merge tag 'gpio-v4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-1/+1
2016-01-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...Linus Torvalds1-0/+8
2016-01-01ACPI / gpio: Add irq_type when a GPIO is used as an interruptChristophe RICARD1-1/+2
2015-12-13gpiolib: tighten up ACPI legacy gpio lookupsDmitry Torokhov1-0/+8
2015-12-11gpio: forward-declare enum gpiod_flagsLinus Walleij1-1/+1
2015-11-19gpiolib: tighten up ACPI legacy gpio lookupsDmitry Torokhov1-0/+8
2015-11-04Merge tag 'pm+acpi-4.4-rc1-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+9
2015-09-24gpio: Introduce gpio descriptor 'name'Markus Pargmann1-0/+3
2015-09-15ACPI / property: Extend device_get_next_child_node() to data-only nodesRafael J. Wysocki1-1/+9
2015-05-12gpio: sysfs: move irq trigger flags to class-device dataJohan Hovold1-4/+0
2015-05-12gpio: sysfs: remove FLAG_SYSFS_DIRJohan Hovold1-1/+0
2015-05-12gpio: sysfs: clean up interrupt-interface implementationJohan Hovold1-3/+0
2015-05-12gpio: sysfs: rename gpiochip registration functionsJohan Hovold1-4/+4
2015-04-18Merge tag 'gpio-v4.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+13
2015-03-16driver core / ACPI: Represent ACPI companions using fwnode_handleRafael J. Wysocki1-0/+2
2015-03-05gpiolib: add gpiod_get_array and gpiod_put_array functionsRojhalat Ibrahim1-0/+7
2015-03-05gpiolib: define gpio suffixes globallyRojhalat Ibrahim1-0/+3
2015-03-04gpio: add GPIO hogging mechanismBenoit Parrot1-0/+3
2015-01-15gpio: sysfs: fix gpio attribute-creation raceJohan Hovold1-0/+1
2014-11-04gpio / ACPI: Add support for _DSD device propertiesMika Westerberg1-3/+4
2014-07-28gpio / ACPI: Move event handling registration to gpiolib irqchip helpersMika Westerberg1-0/+9
2014-07-24gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_descGuenter Roeck1-3/+0
2014-07-23gpio: make gpiochip_get_desc() gpiolib-privateAlexandre Courbot1-0/+2
2014-07-09gpio: move sysfs support to its own fileAlexandre Courbot1-0/+91
2014-05-21gpio: make of_get_named_gpiod_flags() privateAlexandre Courbot1-0/+5
2014-03-13gpiolib: Allow GPIO chips to request their own GPIOsMika Westerberg1-0/+3
2014-01-08gpio / ACPI: get rid of acpi_gpio.hMika Westerberg1-0/+23
2014-01-08gpio / ACPI: register to ACPI events automaticallyMika Westerberg1-0/+23