OpenCloudOS-Kernel/arch/x86/platform/intel-mid/device_libs
Linus Walleij 01dc79cd6f
regulator: fixed/gpio: Pull inversion/OD into gpiolib
This pushes the handling of inversion semantics and open drain
settings to the GPIO descriptor and gpiolib. All affected board
files are also augmented.

This is especially nice since we don't have to have any
confusing flags passed around to the left and right littering
the fixed and GPIO regulator drivers and the regulator core.
It is all just very straight-forward: the core asks the GPIO
line to be asserted or deasserted and gpiolib deals with the
rest depending on how the platform is configured: if the line
is active low, it deals with that, if the line is open drain,
it deals with that too.

Cc: Alexander Shiyan <shc_work@mail.ru> # i.MX boards user
Cc: Haojian Zhuang <haojian.zhuang@gmail.com> # MMP2 maintainer
Cc: Aaro Koskinen <aaro.koskinen@iki.fi> # OMAP1 maintainer
Cc: Tony Lindgren <tony@atomide.com> # OMAP1,2,3 maintainer
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> # EM-X270 maintainer
Cc: Robert Jarzmik <robert.jarzmik@free.fr> # EZX maintainer
Cc: Philipp Zabel <philipp.zabel@gmail.com> # Magician maintainer
Cc: Petr Cvek <petr.cvek@tul.cz> # Magician
Cc: Robert Jarzmik <robert.jarzmik@free.fr> # PXA
Cc: Paul Parsons <lost.distance@yahoo.com> # hx4700
Cc: Daniel Mack <zonque@gmail.com> # Raumfeld maintainer
Cc: Marc Zyngier <marc.zyngier@arm.com> # Zeus maintainer
Cc: Geert Uytterhoeven <geert+renesas@glider.be> # SuperH pinctrl/GPIO maintainer
Cc: Russell King <rmk+kernel@armlinux.org.uk> # SA1100
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> #OMAP1 Amstrad Delta
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-02-06 15:58:29 +00:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
platform_bcm43xx.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
platform_bma023.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_bt.c x86/cpu: Sanitize FAM6_ATOM naming 2018-10-02 10:14:32 +02:00
platform_emc1403.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_gpio_keys.c x86: Use ARRAY_SIZE 2017-10-19 16:15:47 +02:00
platform_lis331.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_max7315.c x86/platform/intel-mid: Fix a format string overflow warning 2017-07-20 10:46:25 +02:00
platform_mpu3050.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_mrfld_pinctrl.c x86/platform/intel-mid: Add pinctrl for Intel Merrifield 2016-07-01 10:12:39 +02:00
platform_mrfld_power_btn.c x86/platform/intel-mid: Add power button support for Merrifield 2017-03-13 22:08:28 +01:00
platform_mrfld_rtc.c x86/platform/intel-mid: Allocate RTC interrupt for Merrifield 2017-01-20 10:07:41 +01:00
platform_mrfld_sd.c x86/platform/intel-mid: Enable SD card detection on Merrifield 2016-09-01 08:22:42 +02:00
platform_mrfld_spidev.c x86: Fix various typos in comments 2018-12-03 10:49:13 +01:00
platform_mrfld_wdt.c x86: Don't include linux/irq.h from asm/hardirq.h 2018-08-05 09:53:13 +02:00
platform_msic.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_msic.h x86, intel-mid: Cleanup some platform code's header files 2014-01-28 15:13:40 -08:00
platform_msic_audio.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_battery.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_gpio.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_ocd.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_power_btn.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_thermal.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_pcal9555a.c x86: Fix various typos in comments 2018-12-03 10:49:13 +01:00
platform_tc35876x.c gpu: drm: tc35876x: move header file out of I2C realm 2017-08-13 16:07:17 +02:00
platform_tca6416.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00