aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
AgeCommit message (Expand)AuthorFilesLines
13 daysMerge tag 'intel-gpio-v6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Bartosz Golaszewski1-3/+6
2024-04-24gpio: tegra186: Fix tegra186_gpio_is_accessible() checkPrathamesh Shete1-9/+11
2024-04-12gpio: tangier: Use correct type for the IRQ chip dataAndy Shevchenko1-3/+6
2024-04-12gpio: lpc32xx: fix module autoloadingKrzysztof Kozlowski1-0/+1
2024-04-08Merge tag 'intel-gpio-v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Bartosz Golaszewski2-2/+2
2024-04-05gpio: crystalcove: Use -ENOTSUPP consistentlyAndy Shevchenko1-1/+1
2024-04-05gpio: wcove: Use -ENOTSUPP consistentlyAndy Shevchenko1-1/+1
2024-04-04gpio: cdev: fix missed label sanitizing in debounce_setup()Kent Gibson1-21/+28
2024-04-04gpio: cdev: check for NULL labels when sanitizing them for irqsBartosz Golaszewski1-5/+14
2024-04-03gpiolib: Fix triggering "kobject: 'gpiochipX' is not initialized, yet" kobjec...Hans de Goede1-0/+3
2024-03-26gpiolib: Fix debug messaging in gpiod_find_and_request()Andy Shevchenko1-14/+18
2024-03-26gpio: cdev: sanitize the label before requesting the interruptBartosz Golaszewski1-6/+32
2024-03-14Merge tag 'pinctrl-v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds3-0/+743
2024-03-13Merge tag 'gpio-updates-for-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds15-648/+1015
2024-03-13Merge tag 'pwm/for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+9
2024-03-12drivers/gpio/nomadik: move dummy nmk_gpio_dbg_show_one() to headerMax Kellermann1-8/+0
2024-03-12gpio: nomadik: remove BUG_ON() in nmk_gpio_populate_chip()Dan Carpenter1-1/+5
2024-03-08gpio: sysfs: repair export returning -EPERM on 1st attemptAlexander Sverdlin1-1/+1
2024-03-06gpio: nomadik: Back out some managed resourcesLinus Walleij1-11/+24
2024-03-05gpiolib: Deduplicate cleanup for-loop in gpiochip_add_data_with_key()Andy Shevchenko1-15/+11
2024-03-05Merge tag 'v6.8-rc7' into gpio/for-nextBartosz Golaszewski2-7/+12
2024-03-03gpio: nomadik: Finish conversion to use firmware node APIsAndy Shevchenko2-8/+6
2024-03-01gpio: nomadik: fix Kconfig dependencies inbetween pinctrl & GPIOThéo Lebrun1-1/+1
2024-03-01gpio: fix resource unwinding order in error pathBartosz Golaszewski1-4/+4
2024-03-01gpio: acpi: Make acpi_gpio_count() take firmware node as a parameterAndy Shevchenko3-10/+10
2024-03-01gpio: of: Make of_gpio_get_count() take firmware node as a parameterAndy Shevchenko3-10/+12
2024-03-01gpiolib: Fix the error path order in gpiochip_add_data_with_key()Andy Shevchenko1-1/+1
2024-03-01gpio: 74x164: Enable output pins after registers are resetArturas Moskvinas1-2/+2
2024-02-29gpio: nomadik: grab optional reset control and deassert it at probeThéo Lebrun1-0/+21
2024-02-29gpio: nomadik: support mobileye,eyeq5-gpioThéo Lebrun2-8/+39
2024-02-29gpio: nomadik: handle variadic GPIO countThéo Lebrun1-2/+7
2024-02-29gpio: nomadik: support shared GPIO IRQsThéo Lebrun1-32/+36
2024-02-29gpio: nomadik: change driver name from gpio to nomadik-gpioThéo Lebrun1-1/+1
2024-02-29gpio: nomadik: make clock optionalThéo Lebrun1-1/+1
2024-02-29gpio: nomadik: request dynamic ID allocationThéo Lebrun1-1/+1
2024-02-29gpio: nomadik: use devres version of clk_get*()Théo Lebrun1-1/+1
2024-02-29gpio: nomadik: use devm_platform_ioremap_resource() helperThéo Lebrun1-3/+1
2024-02-29gpio: nomadik: replace of_property_read_*() by device_property_read_*()Théo Lebrun1-2/+2
2024-02-29gpio: nomadik: replace of_find_*() by bus_find_device_by_of_node()Théo Lebrun1-5/+8
2024-02-29gpio: nomadik: add #include <linux/slab.h>Théo Lebrun1-0/+1
2024-02-29gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/Théo Lebrun3-0/+673
2024-02-27gpiolib: Pass consumer device through to core in devm_fwnode_gpiod_get_index()Stephen Boyd3-8/+16
2024-02-26gpio: sim: use for_each_hwgpio()Bartosz Golaszewski1-2/+2
2024-02-26gpio: don't warn about removing GPIO chips with active users anymoreBartosz Golaszewski1-18/+2
2024-02-26gpio: sim: delimit the fwnode name with a ":" when generating labelsBartosz Golaszewski1-2/+2
2024-02-26gpio: sim: add lockdep assertsBartosz Golaszewski1-17/+24
2024-02-26gpio: Add ChromeOS EC GPIO driverStephen Boyd3-0/+220
2024-02-22gpio: mvebu: Make use of devm_pwmchip_alloc() functionUwe Kleine-König1-9/+9
2024-02-20gpiolib: Handle no pin_ranges in gpiochip_generic_config()Emil Renner Berthing1-0/+5
2024-02-20gpio: constify of_phandle_args in of_find_gpio_device_by_xlate()Krzysztof Kozlowski1-1/+1
2024-02-19gpio: fix memory leak in gpiod_request_commit()Xiaolei Wang1-6/+0
2024-02-17gpio: constify opaque pointer "data" in gpio_device_find()Krzysztof Kozlowski1-1/+1
2024-02-16gpio: cdev: fix a NULL-pointer dereference with DEBUG enabledBartosz Golaszewski1-2/+2
2024-02-15gpio: sysfs: fix inverted pointer logicBartosz Golaszewski1-1/+1
2024-02-15gpio: don't let lockdep complain about inherently dangerous RCU usageBartosz Golaszewski1-2/+3
2024-02-15gpio: use srcu_dereference() with SRCU-protected pointersBartosz Golaszewski3-11/+13
2024-02-15gpio: cdev: use correct pointer accessors with SRCUBartosz Golaszewski1-13/+12
2024-02-15gpio: take the SRCU read lock in gpiod_hog()Bartosz Golaszewski1-4/+7
2024-02-14gpio: initialize descriptor SRCU structure before adding OF-based chipsBartosz Golaszewski1-9/+9
2024-02-12gpio: mark unsafe gpio_chip manipulators as deprecatedBartosz Golaszewski1-0/+6
2024-02-12gpio: remove the RW semaphore from the GPIO deviceBartosz Golaszewski2-9/+0
2024-02-12gpio: protect the pointer to gpio_chip in gpio_device with SRCUBartosz Golaszewski4-129/+271
2024-02-12gpio: add SRCU infrastructure to struct gpio_deviceBartosz Golaszewski2-3/+12
2024-02-12gpio: add the can_sleep flag to struct gpio_deviceBartosz Golaszewski2-5/+9
2024-02-12gpio: remove unnecessary checks from gpiod_to_chip()Bartosz Golaszewski1-2/+2
2024-02-12gpio: reduce the functionality of validate_desc()Bartosz Golaszewski1-15/+3
2024-02-12gpio: don't dereference gdev->chip in gpiochip_setup_dev()Bartosz Golaszewski1-1/+1
2024-02-12gpio: sysfs: don't access gdev->chip if it's not neededBartosz Golaszewski1-3/+3
2024-02-12gpio: cdev: don't access gdev->chip if it's not neededBartosz Golaszewski1-1/+1
2024-02-12gpio: cdev: replace gpiochip_get_desc() with gpio_device_get_desc()Bartosz Golaszewski1-5/+5
2024-02-12gpio: sysfs: pass the GPIO device - not chip - to sysfs callbacksBartosz Golaszewski1-7/+7
2024-02-12gpio: sysfs: extend the critical section for unregistering sysfs devicesBartosz Golaszewski1-7/+8
2024-02-12gpio: remove unneeded code from gpio_device_get_desc()Bartosz Golaszewski1-10/+0
2024-02-12gpio: reinforce desc->flags handlingBartosz Golaszewski1-17/+25
2024-02-12gpio: remove gpio_lockBartosz Golaszewski4-98/+47
2024-02-12gpio: sysfs: use gpio_device_find() to iterate over existing devicesBartosz Golaszewski3-25/+24
2024-02-12gpio: protect the descriptor label with SRCUBartosz Golaszewski3-30/+61
2024-02-12gpio: add SRCU infrastructure to struct gpio_descBartosz Golaszewski2-2/+19
2024-02-12gpio: don't set label from irq helpersBartosz Golaszewski1-13/+8
2024-02-12gpio: provide and use gpiod_get_label()Bartosz Golaszewski3-4/+10
2024-02-12gpio: remove unused logging helpersBartosz Golaszewski1-13/+0
2024-02-12gpio: of: assign and read the hog pointer atomicallyBartosz Golaszewski2-3/+3
2024-02-12gpio: protect the list of GPIO devices with SRCUBartosz Golaszewski1-112/+135
2024-02-12gpio: constify opaque pointer in gpio_device_find() match functionKrzysztof Kozlowski3-7/+8
2024-02-12Merge tag 'v6.8-rc4' into gpio/for-nextBartosz Golaszewski3-8/+46
2024-02-08gpio: set device type for GPIO chipsBartosz Golaszewski1-4/+9
2024-02-08gpio: remove GPIO device from the list unconditionally in error pathBartosz Golaszewski1-4/+4
2024-02-05gpio: gpiolib: make gpio_bus_type constRicardo B. Marliere1-1/+1
2024-02-02gpio: vf610: enable COMPILE_TESTMartin Kaiser1-1/+1
2024-02-02gpio: vf610: allow disabling the vf610 driverMartin Kaiser1-1/+2
2024-01-29gpio: unexport GPIO irq domain functions only used internallyBartosz Golaszewski1-51/+42
2024-01-29gpio: cdev: remove leftover function pointer typedefsBartosz Golaszewski1-5/+0
2024-01-22gpio: eic-sprd: Clear interrupt after set the interrupt typeWenhua Lin1-4/+28
2024-01-22gpio: eic-sprd: Optimize the calculation method of eic numberWenhua Lin1-6/+4
2024-01-22gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04Mario Limonciello1-0/+14
2024-01-22gpio: legacy: mark old interfaces as deprecated in kernel docsBartosz Golaszewski2-0/+14
2024-01-18Merge tag 'gpio-fixes-for-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds7-98/+111
2024-01-18Merge tag 'backlight-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2024-01-17gpiolib: revert the attempt to protect the GPIO device list with an rwsemBartosz Golaszewski4-89/+97
2024-01-15gpio: EN7523: fix kernel-doc warningsRandy Dunlap1-3/+3
2024-01-15gpio: mlxbf3: add an error code check in mlxbf3_gpio_probeSu Hui1-0/+2
2024-01-15gpio: rtd: Fix signedness bug in probeDan Carpenter1-6/+9
2024-01-04gpiolib: replace the GPIO device mutex with a read-write semaphoreBartosz Golaszewski3-11/+11
2024-01-04gpiolib: remove the GPIO device from the list when it's unregisteredBartosz Golaszewski1-3/+3
2024-01-03gpio: nuvoton: Add Nuvoton NPCM sgpio driverJim Liu3-0/+627
2024-01-03gpio: rtd: Add support for Realtek DHC(Digital Home Center) RTD SoCsTzuyi Chang3-0/+618
2024-01-03gpio: pmic-eic-sprd: Configure the bit corresponding to the EIC through offsetWenhua Lin1-9/+10
2024-01-02gpio: dwapb: Use generic request, free and set_configEmil Renner Berthing1-4/+9
2023-12-27gpio: sysfs: drop tabs from local variable declarationsBartosz Golaszewski1-33/+32
2023-12-27gpiolib: drop tabs from local variable declarationsBartosz Golaszewski1-20/+18
2023-12-27gpiolib: remove extra_checksBartosz Golaszewski1-22/+9
2023-12-27gpio: tps65219: don't use CONFIG_DEBUG_GPIOBartosz Golaszewski1-9/+9
2023-12-27gpiolib: cdev: replace locking wrappers for gpio_device with guardsKent Gibson1-158/+47
2023-12-27gpiolib: cdev: replace locking wrappers for config_mutex with guardsKent Gibson1-39/+24
2023-12-27gpiolib: cdev: allocate linereq using kvzalloc()Kent Gibson1-2/+2
2023-12-27gpiolib: cdev: include overflow.hKent Gibson1-0/+1
2023-12-27Merge tag 'v6.7-rc7' into gpio/for-nextBartosz Golaszewski3-14/+29
2023-12-21gpio: dwapb: mask/unmask IRQ when disable/enale itxiongxin1-4/+8
2023-12-21gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()Kent Gibson1-4/+12
2023-12-19gpiolib: cdev: reduce locking in gpio_desc_to_lineinfo()Kent Gibson1-38/+36
2023-12-19gpiolib: cdev: improve documentation of get/set valuesKent Gibson1-1/+23
2023-12-19gpiolib: cdev: fully adopt guard() and scoped_guard()Kent Gibson1-86/+57
2023-12-19gpiolib: remove debounce_period_us from struct gpio_descKent Gibson2-8/+0
2023-12-19gpiolib: cdev: relocate debounce_period_us from struct gpio_descKent Gibson1-23/+142
2023-12-18Merge tag 'intel-gpio-v6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Bartosz Golaszewski3-59/+22
2023-12-18gpio: mmio: Clean up headersAndy Shevchenko1-13/+11
2023-12-18gpio: mmio: Make use of device propertiesAndy Shevchenko1-18/+7
2023-12-18gpiolib: use a mutex to protect the list of GPIO devicesBartosz Golaszewski4-100/+90
2023-12-18gpiolib: rename static functions that are called with the lock takenBartosz Golaszewski1-4/+4
2023-12-18gpio: xilinx: remove excess kernel docBartosz Golaszewski1-1/+0
2023-12-15gpiolib: allocate memory atomically with a spinlock heldBartosz Golaszewski1-1/+9
2023-12-13backlight: hx8357: Convert to agnostic GPIO APIAndy Shevchenko1-2/+2
2023-12-08gpio: sim: implement the dbg_show() callbackBartosz Golaszewski1-0/+22
2023-12-08Merge tag 'gpio-remove-gpiochip_is_requested-for-v6.8-rc1' into gpio/for-nextBartosz Golaszewski4-25/+43
2023-12-08gpiolib: remove gpiochip_is_requested()Bartosz Golaszewski1-35/+13
2023-12-08gpio: stmpe: use gpiochip_dup_line_label()Bartosz Golaszewski1-1/+5
2023-12-08gpio: wm8994: use gpiochip_dup_line_label()Bartosz Golaszewski1-5/+8
2023-12-08gpio: wm831x: use gpiochip_dup_line_label()Bartosz Golaszewski1-5/+9
2023-12-08gpiolib: provide gpiochip_dup_line_label()Bartosz Golaszewski1-0/+29
2023-12-07gpio: sim: fix the email address in MODULE_AUTHOR()Bartosz Golaszewski1-1/+1
2023-12-07gpio: max730x: don't use kernel-doc marker for regular commentRandy Dunlap1-1/+1
2023-12-01gpio: ixp4xx: Handle clock output on pin 14 and 15Linus Walleij1-1/+50
2023-12-01gpiolib: sysfs: Fix error handling on failed exportBoerge Struempfel1-6/+9
2023-11-28gpio: sysfs: fix forward declaration of struct gpio_deviceBartosz Golaszewski1-2/+2
2023-11-24Merge branch 'gpio/device_get_label_for_pinctrl' into gpio/for-nextBartosz Golaszewski1-0/+14
2023-11-24gpiolib: provide gpio_device_get_label()Bartosz Golaszewski1-0/+14
2023-11-20gpio: mockup: initialize a managed pointer in placeBartosz Golaszewski1-2/+1
2023-11-20gpio: tangier: simplify locking using cleanup helpersRaag Jadav1-40/+14
2023-11-15gpio: sifive: remove unneeded call to platform_set_drvdata()Andrei Coardos1-1/+0
2023-11-13gpio: tangier: unexport suspend/resume handlesRaag Jadav2-7/+2
2023-11-13gpio: elkhartlake: reuse pm_ops from Intel Tangier driverRaag Jadav1-13/+1
2023-11-13gpio: tangier: use EXPORT_NS_GPL_SIMPLE_DEV_PM_OPS() helperRaag Jadav2-0/+6
2023-11-09Merge tag 'pwm/for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2023-11-04pinctrl: tegra: drop the wrapper around pinctrl_gpio_request()Bartosz Golaszewski1-6/+1
2023-11-04pinctrl: em: drop the wrapper around pinctrl_gpio_request()Bartosz Golaszewski1-6/+1
2023-11-04treewide: rename pinctrl_gpio_set_config_new()Bartosz Golaszewski2-2/+2
2023-11-04treewide: rename pinctrl_gpio_direction_output_new()Bartosz Golaszewski5-5/+5
2023-11-04treewide: rename pinctrl_gpio_direction_input_new()Bartosz Golaszewski5-5/+5
2023-11-04treewide: rename pinctrl_gpio_free_new()Bartosz Golaszewski5-5/+5
2023-11-04treewide: rename pinctrl_gpio_request_new()Bartosz Golaszewski5-5/+5
2023-11-04treewide: rename pinctrl_gpio_can_use_line_new()Bartosz Golaszewski1-1/+1
2023-11-04gpio: vf610: use new pinctrl GPIO helpersBartosz Golaszewski1-2/+2
2023-11-04gpio: rockchip: use new pinctrl GPIO helpersBartosz Golaszewski1-2/+2
2023-11-04gpio: pxa: use new pinctrl GPIO helpersBartosz Golaszewski1-2/+2
2023-11-04gpio: mvebu: use new pinctrl GPIO helpersBartosz Golaszewski1-2/+2
2023-11-04gpio: aspeed: use new pinctrl GPIO helpersBartosz Golaszewski1-3/+3
2023-11-04gpio: em: use new pinctrl GPIO helpersBartosz Golaszewski1-2/+2
2023-11-04gpio: tegra: use new pinctrl GPIO helpersBartosz Golaszewski1-4/+4
2023-11-04gpio: rcar: use new pinctrl GPIO helpersBartosz Golaszewski1-2/+2
2023-11-04gpio: cdev: use pinctrl_gpio_can_use_line_new()Bartosz Golaszewski1-2/+1
2023-11-04gpiolib: generic: use new pinctrl GPIO helpersBartosz Golaszewski1-3/+3
2023-11-04gpiolib: remove gpiochip_find()Bartosz Golaszewski1-22/+0
2023-11-03Merge tag 'usb-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds2-105/+146
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-31Merge tag 'gpio-updates-for-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds44-603/+933
2023-10-23ASoC: Merge up v6.6-rc7Mark Brown8-44/+39
2023-10-20gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data()Andy Shevchenko1-0/+1
2023-10-18gpio: vf610: set value before the direction to avoid a glitchHaibo Chen1-2/+2
2023-10-18gpio: vf610: mask the gpio irq in system suspend and support wakeupHaibo Chen1-1/+2
2023-10-16Merge 6.6-rc6 into usb-nextGreg Kroah-Hartman2-1/+2
2023-10-13pwm: Manage owner assignment implicitly for driversUwe Kleine-König1-1/+0
2023-10-13gpiolib: provide gpio_device_get_base()Bartosz Golaszewski1-0/+13
2023-10-13gpiolib: provide gpiod_to_gpio_device()Bartosz Golaszewski1-0/+21
2023-10-13gpiolib: provide gpio_device_to_device()Bartosz Golaszewski1-0/+17
2023-10-13gpio: hisi: Fix format specifierDevyn Liu1-1/+1
2023-10-12gpiolib: provide gpio_device_find_by_fwnode()Andy Shevchenko1-0/+20
2023-10-11gpio: update Intel LJCA USB GPIO driverWentong Wu2-105/+145
2023-10-09gpiolib: of: Add quirk for mt2701-cs42448 ASoC soundLinus Walleij1-0/+4
2023-10-09gpio: acpi: remove acpi_get_and_request_gpiod()Bartosz Golaszewski1-28/+0
2023-10-09gpio: Use device_get_match_data()Rob Herring3-15/+8
2023-10-09gpio: vf610: update comment for i.MX8ULP and i.MX93 legacy compatiblesPeng Fan1-1/+4
2023-10-05gpio: vf610: simplify code by dropping data checkPeng Fan1-3/+3
2023-10-05gpio: vf610: add i.MX8ULP of_device_id entryPeng Fan1-7/+40
2023-10-05gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()Bartosz Golaszewski1-1/+1
2023-10-04gpio: sysfs: drop the mention of gpiochip_find() from sysfs codeBartosz Golaszewski1-1/+1
2023-10-04gpio: swnode: replace gpiochip_find() with gpio_device_find_by_label()Bartosz Golaszewski1-17/+16
2023-10-04gpio: acpi: replace gpiochip_find() with gpio_device_find()Bartosz Golaszewski1-4/+8
2023-10-04gpio: of: replace gpiochip_find_* with gpio_device_find_*Bartosz Golaszewski1-16/+17
2023-10-04gpiolib: replace find_chip_by_name() with gpio_device_find_by_label()Bartosz Golaszewski1-22/+11
2023-10-04gpiolib: reluctantly provide gpio_device_get_chip()Bartosz Golaszewski1-0/+21