aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-of.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-26gpio: of: support gpio-ranges for multiple gpiochip devicesDoug Berger1-2/+21
2024-03-01gpio: of: Make of_gpio_get_count() take firmware node as a parameterAndy Shevchenko1-7/+7
2024-02-20gpio: constify of_phandle_args in of_find_gpio_device_by_xlate()Krzysztof Kozlowski1-1/+1
2024-02-12gpio: of: assign and read the hog pointer atomicallyBartosz Golaszewski1-2/+2
2024-02-12gpio: constify opaque pointer in gpio_device_find() match functionKrzysztof Kozlowski1-3/+4
2024-01-22gpio: legacy: mark old interfaces as deprecated in kernel docsBartosz Golaszewski1-0/+2
2023-12-13backlight: hx8357: Convert to agnostic GPIO APIAndy Shevchenko1-2/+2
2023-11-02Merge tag 'sound-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-0/+4
2023-10-09gpiolib: of: Add quirk for mt2701-cs42448 ASoC soundLinus Walleij1-0/+4
2023-10-04gpio: of: replace gpiochip_find_* with gpio_device_find_*Bartosz Golaszewski1-16/+17
2023-10-02gpiolib: of: Allow "trigger-sources" to reference a GPIOLinus Walleij1-0/+28
2023-09-27mtd: rawnand: ingenic: move the GPIO quirk to gpiolib-of.cBartosz Golaszewski1-0/+9
2023-09-11gpio: of: correct notifier return codesBartosz Golaszewski1-8/+8
2023-08-29Merge tag 'gpio-updates-for-v6.6' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2023-08-25mmc: atmel-mci: Move card detect gpio polarity quirk to gpiolibBalamanikandan Gunasundar1-2/+18
2023-07-10gpiolib: of: Don't use GPIO chip fwnode in of_gpiochip_*()Andy Shevchenko1-3/+3
2023-03-06gpiolib: Clean up headersAndy Shevchenko1-2/+4
2023-03-06gpiolib: split of_mm_gpio_chip out of linux/of_gpio.hArnd Bergmann1-0/+3
2023-02-22Merge tag 'pinctrl-v6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-5/+0
2023-01-30gpiolib: of: Move enum of_gpio_flags to its only userAndy Shevchenko1-0/+15
2023-01-30gpiolib: Get rid of not used of_node memberAndy Shevchenko1-20/+5
2023-01-30gpiolib: of: remove [devm_]gpiod_get_from_of_node() APIsDmitry Torokhov1-46/+0
2023-01-30gpiolib: of: remove of_get_gpio[_flags]() and of_get_named_gpio_flags()Dmitry Torokhov1-4/+13
2023-01-30gpiolib: of: remove obsolete comment for of_gpio_get_count()Dmitry Torokhov1-6/+0
2023-01-30gpiolib: of: stop exporting of_gpio_named_count()Dmitry Torokhov1-0/+26
2023-01-26Revert "gpiolib: of: Introduce hook for missing gpio-ranges"Andy Shevchenko1-5/+0
2022-11-15gpiolib: of: Use correct fwnode for DT-probed chipsThierry Reding1-1/+1
2022-11-15gpiolib: of: Drop redundant check in of_mm_gpiochip_remove()Andy Shevchenko1-3/+0
2022-11-15gpiolib: of: Prepare of_mm_gpiochip_add_data() for fwnodeAndy Shevchenko1-2/+2
2022-11-15gpiolib: of: change of_find_gpio() to accept device nodeDmitry Torokhov1-4/+3
2022-11-09gpiolib: of: Integrate of_gpiochip_init_valid_mask() into gpiochip_init_valid...Andy Shevchenko1-42/+0
2022-11-09gpiolib: of: Prepare of_gpiochip_add() / of_gpiochip_remove() for fwnodeAndy Shevchenko1-4/+6
2022-11-04gpiolib: of: add polarity quirk for Freescale PCIe controllerDmitry Torokhov1-0/+9
2022-11-04gpiolib: of: factor out quirk setting polarity via separate propertyDmitry Torokhov1-45/+53
2022-11-04gpiolib: of: Make use of device_match_of_node()Andy Shevchenko1-1/+1
2022-10-20gpiolib: of: add a quirk for reset line polarity for Himax LCDsDmitry Torokhov1-0/+36
2022-10-20gpiolib: of: add quirk for phy reset polarity for Freescale EthernetDmitry Torokhov1-0/+27
2022-10-20gpiolib: of: factor out code overriding gpio line polarityDmitry Torokhov1-20/+28
2022-10-20gpiolib: of: add a quirk for legacy names in MOXA ART RTCDmitry Torokhov1-0/+5
2022-10-20gpiolib: of: add a quirk for reset line for Cirrus CS42L56 codecDmitry Torokhov1-0/+3
2022-10-20gpiolib: of: add a quirk for reset line for Marvell NFC controllerDmitry Torokhov1-0/+10
2022-10-20gpiolib: of: add quirk for locating reset lines with legacy bindingsDmitry Torokhov1-0/+16
2022-10-20gpiolib: of: tighten selection of gpio renaming quirksDmitry Torokhov1-2/+10
2022-10-20gpiolib: of: consolidate simple renames into a single quirkDmitry Torokhov1-112/+71
2022-10-20gpiolib: of: add a quirk for legacy names in Mediatek mt2701-cs42448Dmitry Torokhov1-0/+33
2022-09-20gpiolib: fix OOB access in quirk callbacksMichael Walle1-0/+1
2022-09-15gpiolib: of: factor out conversion from OF flagsDmitry Torokhov1-66/+37
2022-09-15gpiolib: rework quirk handling in of_find_gpio()Dmitry Torokhov1-36/+26
2022-09-15gpiolib: of: make Freescale SPI quirk similar to all othersDmitry Torokhov1-8/+4
2022-09-15gpiolib: of: do not ignore requested index when applying quirksDmitry Torokhov1-13/+19
2022-07-19gpiolib: of: support bias pull disableNuno Sá1-0/+7
2022-07-19gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()Liang He1-1/+3
2022-07-19gpiolib: of: Use device_match_of_node() helperAndy Shevchenko1-1/+1
2022-05-28Merge tag 'pinctrl-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+5
2022-05-26Merge tag 'gpio-updates-for-v5.19' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+1
2022-05-02gpiolib: of: fix bounds check for 'gpio-reserved-ranges'Andrei Lalaev1-1/+1
2022-04-21gpiolib: of: Introduce hook for missing gpio-rangesStefan Wahren1-0/+5
2022-04-09gpiolib: Embed iterator variable into for_each_gpio_desc_with_flag()Andy Shevchenko1-2/+1
2022-02-08gpiolib: Introduce for_each_gpio_desc_with_flag() macroAndy Shevchenko1-6/+4
2021-12-17gpiolib: of: make fwnode take precedence in struct gpio_chipBartosz Golaszewski1-0/+3
2021-08-05gpiolib: of: constify few local device_node variablesKrzysztof Kozlowski1-4/+4
2021-08-05gpiolib: constify passed device_node pointerKrzysztof Kozlowski1-4/+4
2021-03-26gpiolib: Move of_node operations to gpiolib-of and correct fwnode useAndy Shevchenko1-2/+4
2021-01-27gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by defaultSaravana Kannan1-0/+11
2020-10-26gpiolib: of: Use named item for enum gpiod_flags variableAndy Shevchenko1-1/+1
2020-10-26gpiolib: Extract gpiod_not_found() helperAndy Shevchenko1-6/+6
2020-09-14gpiolib: generalize devprop_gpiochip_set_names() for device propertiesBartosz Golaszewski1-5/+0
2020-08-05Merge tag 'gpio-v5.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+3
2020-07-22spi: ppc4xx: Convert to use GPIO descriptorsLinus Walleij1-4/+6
2020-07-08gpio: gpiolib-of: Provide documentation for of_gpio_spi_cs_get_count()Lee Jones1-0/+3
2020-06-07Merge tag 'usb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-0/+21
2020-04-16usb: fusb302: Convert to use GPIO descriptorsLinus Walleij1-0/+21
2020-04-15gpiolib: of: improve gpiolib-of support of pull up/down on expandersAdam Ford1-0/+10
2020-02-21gpio: of: Add DT overlay support for GPIO hogsGeert Uytterhoeven1-0/+90
2020-02-21gpio: of: Extract of_gpiochip_add_hog()Geert Uytterhoeven1-16/+33
2020-02-04treewide: remove redundant IS_ERR() before error code checkMasahiro Yamada1-4/+4
2020-01-27Merge tag 'mmc-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmcLinus Torvalds1-21/+0
2019-12-18mmc: core: Rework cd-gpio handlingMichał Mirosław1-17/+0
2019-12-18mmc: core: Rework wp-gpio handlingMichał Mirosław1-4/+0
2019-12-17Merge tag 'spi-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+27
2019-12-03gpiolib: of: Make of_gpio_spi_cs_get_count staticYueHaibing1-1/+1
2019-11-28gpio: Handle counting of Freescale chipselectsLinus Walleij1-0/+27
2019-11-22gpio: of: Fix bogus reference to gpiod_get_count()Geert Uytterhoeven1-1/+1
2019-11-07gpiolib: No need to call gpiochip_remove_pin_ranges() twiceAndy Shevchenko1-4/+1
2019-11-05Merge tag 'v5.4-rc6' into develLinus Walleij1-1/+1
2019-10-23Merge tag 'gpio-v5.5-updates-for-linus-part-1' of git://git.kernel.org/pub/sc...Linus Walleij1-2/+4
2019-10-18gpio: of: don't warn if ignored GPIO flag matches the behaviorLucas Stach1-2/+4
2019-10-09gpio: fix kernel-doc for of_gpio_need_valid_mask()Randy Dunlap1-2/+3
2019-10-01gpio: fix getting nonexclusive gpiods from DTMarco Felsch1-1/+1
2019-09-16Merge tag 'gpio-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-14/+144
2019-09-12gpiolib: of: add a fallback for wlf,reset GPIO nameDmitry Torokhov1-0/+16
2019-09-11gpio: of: Switch to EXPORT_SYMBOL_GPL()Geert Uytterhoeven1-4/+4
2019-09-11gpio: of: Make of_gpio_simple_xlate() privateGeert Uytterhoeven1-3/+3
2019-09-11gpio: of: Make of_get_named_gpiod_flags() privateGeert Uytterhoeven1-1/+1
2019-09-10gpiolib: of: fix fallback quirks handlingDmitry Torokhov1-18/+9
2019-09-05Merge tag 'v5.3-rc7' into develLinus Walleij1-1/+1
2019-09-04gpio: of: Normalize return code variable nameLinus Walleij1-7/+7
2019-08-17gpio: of: fix Freescale SPI CS quirk handlingAndreas Kemnade1-1/+1
2019-08-01gpio: of: Fix hard-assigned valid_mask for OF caseStephen Boyd1-1/+1
2019-07-28gpio: of: Break out OF-only codeLinus Walleij1-0/+114
2019-07-16Merge tag 'gpio-v5.3-rc1-fixes-for-linus' of git://git.kernel.org/pub/scm/lin...Linus Walleij1-0/+1
2019-07-16Revert "gpio/spi: Fix spi-gpio regression on active high CS"Linus Walleij1-8/+1
2019-07-15gpiolib: of: fix a memory leak in of_gpio_flags_quirks()Nishka Dasgupta1-0/+1
2019-07-09Merge tag 'gpio-v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+43
2019-07-02gpio/spi: Fix spi-gpio regression on active high CSLinus Walleij1-1/+8
2019-06-12Merge branch 'ib-snps-reset-gpio' into develLinus Walleij1-0/+6
2019-06-12gpio: of: parse stmmac PHY reset line specific active-low propertyMartin Blumenstingl1-0/+6
2019-05-31gpio: of: Handle the Freescale SPI CSLinus Walleij1-0/+37
2019-04-23gpiolib: Introduce GPIO_LOOKUP_FLAGS_DEFAULTAndy Shevchenko1-1/+1
2019-04-23gpiolib: Make use of enum gpio_lookup_flags consistentAndy Shevchenko1-6/+5
2019-04-08gpio: of: Optimize quirk checksGeert Uytterhoeven1-6/+5
2019-03-28gpio: of: Fix of_gpiochip_add() error pathGeert Uytterhoeven1-1/+7
2019-03-28gpio: of: Check for "spi-cs-high" in child instead of parent nodeAndrey Smirnov1-3/+3
2019-03-28gpio: of: Check propname before applying "cs-gpios" quirksAndrey Smirnov1-1/+2
2019-03-08Merge tag 'gpio-v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-1/+8
2019-02-21gpio: of: Handle both enable-gpio{,s}Marek Vasut1-1/+2
2019-02-21gpio: of: Restrict enable-gpio quirk to regulator-gpioThierry Reding1-2/+2
2019-02-17gpio: of: Apply regulator-gpio quirk only to enable-gpiosMarek Vasut1-0/+1
2019-02-13gpio: add core support for pull-up/pull-down configurationThomas Petazzoni1-0/+5
2019-01-24gpio: of: Fix logic inversionLinus Walleij1-1/+1
2018-12-17gpio/mmc/of: Respect polarity in the device treeLinus Walleij1-33/+16
2018-11-29gpio: OF: Parse MMC-specific CD and WP propertiesLinus Walleij1-0/+39
2018-11-26gpio: restore original GPLv2+ license of gpiolib-of.c sourcesVladimir Zapolskiy1-1/+1
2018-10-23Merge tag 'gpio-v4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-9/+51
2018-09-25gpio: Use SPDX header for core libraryLinus Walleij1-5/+1
2018-09-11gpio: of: Handle SPI chipselect legacy bindingsLinus Walleij1-2/+48
2018-08-31gpio: Fix crash due to registration raceVincent Whitchurch1-0/+1
2018-08-29gpio: Convert to using %pOFn instead of device_node.nameRob Herring1-2/+2
2018-08-15Merge tag 'gpio-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-3/+0
2018-08-10gpiolib: Fix of_node inconsistencyBiju Das1-3/+0
2018-07-23gpio: of: Handle fixed regulator flags properlyLinus Walleij1-1/+2
2018-05-16gpio: Convert to use match_string() helperAndy Shevchenko1-5/+2
2018-04-05Merge tag 'devicetree-for-4.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2018-03-27gpiolib: Support 'gpio-reserved-ranges' propertyStephen Boyd1-0/+24
2018-02-27gpio: Handle deferred probing in of_find_gpio() properlyChen-Yu Tsai1-1/+1
2018-02-27gpiolib: Keep returning EPROBE_DEFER when we shouldMaxime Ripard1-0/+13
2018-02-12gpio: Support gpio nexus dt bindingsStephen Boyd1-2/+2
2018-01-31Merge tag 'gpio-v4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-2/+117
2018-01-17gpio: of: Fix NPE from OF flagsLinus Walleij1-1/+2
2018-01-12gpio: of: Add special quirk to parse regulator flagsLinus Walleij1-0/+38
2018-01-12gpio: of: Support regulator nonstandard GPIO propertiesLinus Walleij1-0/+39
2018-01-08gpio: of: Support SPI nonstandard GPIO propertiesLinus Walleij1-0/+35
2017-12-22gpio: fix "gpio-line-names" property retrievalChristophe Leroy1-1/+2
2017-12-02gpio: gpiolib: Generalise state persistence beyond sleepAndrew Jeffery1-2/+4
2017-10-20gpio: Fix loose spellingAndrew Jeffery1-2/+2
2017-08-14gpio: of: Improve kerneldocThierry Reding1-4/+3
2017-08-14gpio: Convert to using %pOF instead of full_nameRob Herring1-15/+14
2017-06-16gpio: of: Spelling: s/retures/returns/Geert Uytterhoeven1-1/+1
2017-05-29gpio: Add new flags to control sleep status of GPIOsCharles Keepax1-0/+3
2017-04-07gpio: core: Decouple open drain/source flag with active low/highLaxman Dewangan1-1/+1
2016-12-30gpio: of: Add support for multiple GPIOs in a single GPIO hogGeert Uytterhoeven1-11/+20
2016-12-13Merge tag 'gpio-v4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-47/+4
2016-10-31gpio: of: fix GPIO drivers with multiple gpio_chip for a single nodeMasahiro Yamada1-5/+9
2016-10-31gpio: of: add missing of_node_put() in of_gpiochip_scan_gpios()Wei Yongjun1-1/+3
2016-10-24gpio: Rework of_gpiochip_set_names() to use device property accessorsMika Westerberg1-46/+1
2016-10-05Merge tag 'gpio-v4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+39
2016-10-03gpio: OF: separation of concernsLinus Walleij1-0/+39
2016-09-08Revert "gpio: include <linux/io-mapping.h> in gpiolib-of"Linus Walleij1-1/+0
2016-07-26Merge tag 'gpio-v4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-68/+59
2016-06-23gpio: of: factor out common code to a new helper functionMasahiro Yamada1-19/+18
2016-06-23gpio: of: remove of_gpiochip_and_xlate() and struct gg_dataMasahiro Yamada1-46/+35
2016-06-23gpio: of: move chip->of_gpio_n_cells checking to of_gpiochip_add()Masahiro Yamada1-1/+4
2016-06-23gpio: of: drop needless gpio_chip look-up in of_parse_own_gpio()Masahiro Yamada1-19/+20
2016-06-23gpio: of: optimize "gpios" property parsing of of_parse_own_gpio()Masahiro Yamada1-7/+5
2016-06-08gpio: include <linux/io-mapping.h> in gpiolib-ofLinus Walleij1-0/+1
2016-06-07gpio: of: add missing of_node_put() to of_gpiochip_add_pin_range()Masahiro Yamada1-0/+1
2016-05-10gpio: of: make it possible to name GPIO linesLinus Walleij1-0/+49
2016-04-14gpio: of: Scan available child node for gpio-hogLaxman Dewangan1-1/+1
2016-04-13gpio: of: Return error if gpio hog configuration failedLaxman Dewangan1-6/+9
2016-01-05gpio: of: provide optional of_mm_gpiochip_add_data() functionLinus Walleij1-5/+7
2015-11-19gpio: change member .dev to .parentLinus Walleij1-2/+2
2015-09-24gpiolib-of: Rename gpio_hog functions to be genericMarkus Pargmann1-10/+10
2015-07-28gpio: defer probe if pinctrl cannot be foundTomeu Vizoso1-9/+18
2015-07-16gpiolib: remove unneeded assignationLaurent Navet1-1/+1
2015-07-16gpio: of: remove unnecessary variable in of_get_gpio_hog()Masahiro Yamada1-4/+1
2015-05-19Drivers: gpio: Fix spelling errorsColin Cronin1-1/+1
2015-04-18Merge tag 'gpio-v4.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+111
2015-03-04gpio: add GPIO hogging mechanismBenoit Parrot1-0/+111
2015-02-23gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per ...Hans Holmberg1-4/+5
2015-02-11Merge tag 'gpio-v3.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-0/+17
2015-01-15gpiolib: of: Correct error handling in of_get_named_gpiod_flagsHans Holmberg1-2/+8
2015-01-15gpio/gpiolib-of: Create of_mm_gpiochip_removeRicardo Ribalda Delgado1-0/+17
2014-08-17gpio: delete unneeded test before of_node_putJulia Lawall1-3/+1
2014-07-23gpio: make gpiochip_get_desc() gpiolib-privateAlexandre Courbot1-1/+1
2014-07-23gpio: remove export of private of_get_named_gpio_flags()Alexandre Courbot1-1/+0
2014-07-09gpiolib: of: Update debug messages for of_get_named_gpiod_flagsTushar Behera1-3/+4
2014-05-21gpio: make of_get_named_gpiod_flags() privateAlexandre Courbot1-0/+14
2014-04-28gpiolib: of: remove gpio_to_desc() usageLinus Walleij1-1/+1
2014-02-06gpio: gpiolib-of: Use PTR_ERR_OR_ZEROSachin Kamat1-1/+2
2013-11-12Merge tag 'gpio-v3.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-11/+17
2013-10-19gpiolib: port of_ functions to use gpiodAlexandre Courbot1-11/+17
2013-10-16pinctrl/gpio: non-linear GPIO ranges accesible from gpiolibChristian Ruppert1-8/+55
2013-09-10Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-2/+2
2013-08-29gpio: implement gpio-ranges binding document fixStephen Warren1-2/+2
2013-08-16gpio: gpiolib-of.c: make error message more meaningful by adding the node nam...Lothar Waßmann1-1/+2
2013-05-06Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-1/+1
2013-04-03Merge tag 'v3.9-rc5' into develLinus Walleij1-3/+2
2013-03-27gpio: gpiolib-of.c: fix checkpatch errorLaurent Navet1-1/+1
2013-03-07gpio: add gpio offset in gpio range cells propertyHaojian Zhuang1-13/+2
2013-03-07gpio: fix wrong checking condition for gpio rangeHaojian Zhuang1-3/+2