Pull gpio updates from Bartosz Golaszewski: "Core GPIOLIB: - provide and add users for a macro allowing to iterate over accepted GPIO property names of consumer device nodes - remove legacy definitions that are no longer used - put legacy GPIO devres helpers together with the rest of the deprecated code - implement and use swnode_gpio_get_reference(): a wrapper simplifying the underlying calls to fwnode_property_get_reference_args() - use IS_ERR_OR_NULL() where it makes sense - replace of_find_property() with of_property_present() - simplify code with the scoped variant of OF-node children iterator Documentation: - update GPIO kerneldocs with Return sections - fix "Excess struct member description" warnings now being triggered with W=1 New drivers: - add support for Analog Devices ADP5585 Driver improvements: - add support for wake-on-GPIO to gpio-mpc8xxx - use GPIO_LOOKUP_IDX() in gpio-virtuser - use devm_clk_get_[optional_]enabled() where applicable in several drivers - replace OF-specific functions with provider-agnostic alternatives where possible - drop support for legacy platform data from gpio-ath79 and gpio-davinci - refactor gpio-stmpe - improve error reporting in gpio-pca953x - add support for reading the direction of pins for some models to gpio-vf610 DT bindings: - convert the bindings for nxp,lpc3220 to YAML - add gpio-reserved-ranges to gpio-davinci - simplify the GPIO hog schema - fix a GPIO hog issue in bindings for fcs,fxl6408 Other: - fix format specifiers in user-space tools - remove leftover files on make clean in tools/gpio/" * tag 'gpio-updates-for-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (54 commits) gpio: mpc8xxx: switch to using DEFINE_RUNTIME_DEV_PM_OPS() gpio: xilinx: Use helper function devm_clk_get_optional_enabled() gpio: mb86s7x: Use helper function devm_clk_get_optional_enabled() gpio: lpc18xx: Use helper function devm_clk_get_enabled() gpio: cadence: Use helper function devm_clk_get_enabled() gpio: sama5d2-piobu: convert comma to semicolon gpio: mpc8xxx: order headers alphabetically gpio: davinci: use devm_clk_get_enabled() gpio: davinci: drop platform data support gpio: stmpe: Sort headers gpio: stmpe: Make use of device properties gpio: stmpe: Utilise temporary variable for struct device gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio gpio: stmpe: Fix IRQ related error messages gpio: pch: kerneldoc fixes for excess members gpio: zynq: Simplify using devm_clk_get_enabled() gpio: mpc8xxx: Add wake on GPIO support gpio: syscon: fix excess struct member build warning gpio: stp-xway: Simplify using devm_clk_get_enabled() gpiolib: legacy: Consolidate devm_gpio_*() with other legacy APIs ...
Showing the changes to include/linux/platform_data (2 of 50 files). Show all
Unified · Split
| @@ -1,16 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 2 | /* | ||
| 3 | * Atheros AR7XXX/AR9XXX GPIO controller platform data | ||
| 4 | * | ||
| 5 | * Copyright (C) 2015 Alban Bedel <albeu@free.fr> | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H | ||
| 9 | #define __LINUX_PLATFORM_DATA_GPIO_ATH79_H | ||
| 10 | |||
| 11 | struct ath79_gpio_platform_data { | ||
| 12 | unsigned ngpios; | ||
| 13 | bool oe_inverted; | ||
| 14 | }; | ||
| 15 | |||
| 16 | #endif | ||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 2 | /* | ||
| 3 | * DaVinci GPIO Platform Related Defines | ||
| 4 | * | ||
| 5 | * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef __DAVINCI_GPIO_PLATFORM_H | ||
| 9 | #define __DAVINCI_GPIO_PLATFORM_H | ||
| 10 | |||
| 11 | struct davinci_gpio_platform_data { | ||
| 12 | bool no_auto_base; | ||
| 13 | u32 base; | ||
| 14 | u32 ngpio; | ||
| 15 | u32 gpio_unbanked; | ||
| 16 | }; | ||
| 17 | |||
| 18 | /* Convert GPIO signal to GPIO pin number */ | ||
| 19 | #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) | ||
| 20 | |||
| 21 | #endif | ||