Module Name: src Committed By: jmcneill Date: Tue Dec 22 22:19:07 UTC 2015
Modified Files: src/sys/arch/arm/nvidia: tegra_gpio.c src/sys/arch/arm/samsung: exynos_gpio.c src/sys/dev/fdt: fdt_gpio.c fdtvar.h fixedregulator.c Log Message: Add fdtbus_gpio_{read,write}_raw, which tells the controller not to take polarity into account. Tegra GPIO pin data includes pin polarity, but so does a regulator-fixed node, so the end result was that the enable value was being swapped twice. Change fregulator to use the raw APIs, and adapt Tegra and Exynos GPIO drivers to support this flag. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/nvidia/tegra_gpio.c cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/samsung/exynos_gpio.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/fdt/fdt_gpio.c \ src/sys/dev/fdt/fixedregulator.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/fdtvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.