u-boot/drivers
Simon Glass c5acf4a2b3 pinctrl: Add the concept of peripheral IDs
My original pinctrl patch operating using a peripheral ID enum. This was
shared between pinmux and clock and provides an easy way to specify a device
that needs to be controlled, even it is does not (yet) have a driver within
driver model.

Masahiro's new simple pinctrl gets around this by providing a
set_state_simple() pinctrl method. By passing a device to that call the
peripheral ID becomes unnecessary. If the driver needs it, it can calculate
it itself and use it internally.

However this does not solve the problem for peripheral clocks. The 'pure'
solution would be to pass a driver to the clock uclass also. But this
requires that all devices should have a driver, and a struct udevide. Also
a key optimisation of the clock uclass is allowing a peripheral clock to
be set even when there is no device for that clock.

There may be a better way to achive the same goal, but for now it seems
expedient to add in peripheral ID to the pinctrl uclass. Two methods are
added - one to get the peripheral ID and one to select it. The existing
set_state_simple() is effectively the union of these.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-09-02 21:28:22 -06:00
..
bios_emulator biosemu: Do not free vga_info->BIOSImage when it is 0xc0000 2015-04-29 18:51:49 -06:00
block arm: mvebu: add Armada XP SATA support 2015-07-23 08:30:58 +02:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
clk clk: rename CONFIG_SPL_CLK_SUPPORT to CONFIG_SPL_CLK 2015-08-18 13:46:01 -04:00
core pinctrl: add pin control uclass support 2015-08-31 07:57:29 -06:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto Correct License and Copyright information on few files 2015-08-12 20:47:46 -04:00
ddr ddr: altera: Repair uninited variable 2015-08-23 11:56:19 +02:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu dfu: fix 64-bit compile warnings 2015-07-27 15:53:52 -07:00
dma dma: lpc32xx: add DMA driver 2015-08-18 13:45:55 -04:00
fpga arm: socfpga: Fix FPGA bitstream programming routine 2015-08-08 14:14:04 +02:00
gpio dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
hwmon dtt: add ds620 support 2015-04-10 14:23:23 +02:00
i2c dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
input x86: i8042: Correctly initialize the controller 2015-08-26 07:54:16 -07:00
led led: rename CONFIG_SPL_LED_SUPPORT to CONFIG_SPL_LED 2015-08-18 13:46:03 -04:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc x86: superio: Add keyboard controller support to smsc_lpc47m driver 2015-08-26 07:54:12 -07:00
mmc sunxi: mmc: set transfer timeout according to byte_cnt. 2015-08-31 08:43:42 +02:00
mtd mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig 2015-08-31 08:43:42 +02:00
net net: e1000: Fix build warnings for 32-bit 2015-08-26 07:54:01 -07:00
pci dm: pci: Optimize pci_uclass_post_bind() 2015-08-26 07:54:17 -07:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
pinctrl pinctrl: Add the concept of peripheral IDs 2015-09-02 21:28:22 -06:00
power sunxi: axp221: Allow specifying dcdc2 voltage via Kconfig 2015-08-31 08:43:41 +02:00
pwm pwm: imx: Remove unreachable code 2015-05-26 14:13:12 +02:00
qe driver/qe: use strncpy instead of strcpy 2015-08-03 12:06:36 -07:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
rtc drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
serial dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
thermal thermal: imx_thermal: fix busywait if IMX6 temp <0C 2015-07-10 10:15:19 +02:00
tpm dm: tpm: Convert LPC driver to driver model 2015-08-31 07:57:28 -06:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Merge branch 'master' of http://git.denx.de/u-boot-sunxi 2015-08-31 12:12:27 -04:00
video Merge git://git.denx.de/u-boot-dm 2015-08-31 11:43:47 -04:00
watchdog watchdog/imx_watchdog: do not set WCR_WDW 2015-03-25 16:52:16 +01:00
Kconfig pinctrl: add pin control uclass support 2015-08-31 07:57:29 -06:00
Makefile pinctrl: add pin control uclass support 2015-08-31 07:57:29 -06:00