Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1183445
| From | Tomeu Vizoso <tomeu.vizoso@collabora.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] Have Tegra's GPIO chip depend explicitly on the pinctrl device |
| Date | 2015-07-14 10:40 +0200 |
| Message-ID | <pM3UR-8kr-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello, these three patches make sure that there's an explicit dependency from the GPIO chip in Tegra SoCs to the corresponding pinctrl device, without having duplicated gpio ranges. By having an explicit dependency, we can do things such as probing the pinctrl device before the GPIO chip device to avoid deferred probes. Thanks, Tomeu Changes in v2: - Don't defer probe if the pinctrl node is disabled - Remove outdated comment from the commit changelog Tomeu Vizoso (3): gpio: defer probe if pinctrl cannot be found pinctrl: tegra: Only set the gpio range if needed ARM: tegra: Add gpio-ranges property arch/arm/boot/dts/tegra114.dtsi | 1 + arch/arm/boot/dts/tegra124.dtsi | 1 + arch/arm/boot/dts/tegra20.dtsi | 1 + arch/arm/boot/dts/tegra30.dtsi | 1 + drivers/gpio/gpiolib-of.c | 27 ++++++++++++++++++--------- drivers/gpio/gpiolib.c | 5 ++++- drivers/pinctrl/pinctrl-tegra.c | 19 ++++++++++++++++++- include/linux/of_gpio.h | 4 ++-- 8 files changed, 46 insertions(+), 13 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] Have Tegra's GPIO chip depend explicitly on the pinctrl device Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-07-14 10:40 +0200 [PATCH v2 1/3] gpio: defer probe if pinctrl cannot be found Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-07-14 10:40 +0200 [PATCH v2 2/3] pinctrl: tegra: Only set the gpio range if needed Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-07-14 10:40 +0200 [PATCH v2 3/3] ARM: tegra: Add gpio-ranges property Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-07-14 10:40 +0200
csiph-web