u-boot-brain/drivers
Peng Fan d526f340f7 power: Add power domain driver for i.MX8
Add the power domain DM driver for i.MX8, that it depends on the DTB
power domain trees to generate the power domain provider devices. Users
need to add power domain trees with property "compatible = "nxp,imx8-pd";"

When power on a PD device, the driver will power on its ancestor PD
devices in power domain tree.

When power off a PD device, the driver will check its child PD devices
first. Only if all child PD devices are off, then power off the current PD
device. Then the driver checks sibling PD devices. If sibling PD devices
are off, then it will power off parent PD device.

There is no counter maintained in this driver, but a state to hold current
on/off state. So the request and free functions are empty.

The power domain implementation in i.MX8 DTB set the "#power-domain-cells"
to 0, so there is no ID binding with each PD device. We don't use "id"
variable in struct power_domain. At the same time, we have to set of_xlate
to empty to bypass standard of_xlate in uclass driver.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
2018-10-22 12:59:01 +02:00
..
adc adc: Add driver for STM32 ADC 2018-08-03 19:53:10 -04:00
ata Switch to driver model for eSDHC on Layerscape SoCs including LS1021A, 2018-09-29 11:47:32 -04:00
axi axi: Add AXI sandbox driver and simple emulator 2018-08-11 08:09:39 +02:00
bios_emulator bios_emulator: remove assignment without effect 2018-07-23 14:33:21 -04:00
block block: Add a function to find block device descriptor 2018-09-28 20:22:33 -04:00
board test: Add tests for board uclass 2018-09-29 11:49:35 -06:00
bootcount Add BOOTCOUNT_BOOTLIMIT to set reboot limit 2018-08-17 13:03:59 -04:00
clk clk: Add support for Arm's Versatile Express OSC clock generators 2018-09-30 13:00:34 -04:00
core dm: fdt: scan for devices under /firmware too 2018-10-07 10:47:38 -04:00
cpu cpu: Add MPC83xx CPU driver 2018-09-18 08:12:21 -06:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr socfpga: stratix10: fix sdram_calculate_size 2018-09-15 03:17:01 +02:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: Provide more verbose error message 2018-08-08 22:22:08 +02:00
dma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fastboot Kconfig: sandbox: enable cmd_avb and dependencies 2018-10-07 13:34:19 -04:00
firmware dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
fpga fpga: zynqmp: Modify PL bitstream loading sequence 2018-09-26 10:15:00 +02:00
gpio gpio: mxc_gpio: add support for i.MX8 2018-10-22 12:59:01 +02:00
i2c i2c: Add support for the Arm's Versatile Express I2C controller. 2018-10-03 06:08:06 +02:00
input Convert CONFIG_TWL4030_LED et al to Kconfig 2018-08-17 13:04:00 -04:00
led dm: led: move default state support in led uclass 2018-08-10 10:27:32 -04:00
mailbox spl: Allow mailbox drivers to be used within SPL 2018-09-11 08:32:55 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc misc: imx8: add scfw api impementation 2018-10-22 12:59:01 +02:00
mmc mmc: rpmb: add mmc_rpmb_route_frames() 2018-10-07 10:47:38 -04:00
mtd mtd: nand: spi: Add Gigadevice SPI NAND support 2018-10-04 18:24:24 +05:30
net net: gmac_rockchip: Add handling for RGMII_ID/RXID/TXID 2018-10-04 21:15:46 +02:00
nvme SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: rcar: Add R-Car Gen3 PHY driver 2018-10-03 12:56:13 +02:00
pinctrl pinctrl: Add pinctrl driver for i.MX8 2018-10-22 12:59:01 +02:00
power power: Add power domain driver for i.MX8 2018-10-22 12:59:01 +02:00
pwm pwm: sunxi: add support for PWM found on Allwinner A64 2018-05-15 08:18:09 +02:00
qe drivers: qe: Move CONFIG_U_QE to Kconfig 2018-09-27 10:01:27 -07:00
ram ram: Add driver for MPC83xx 2018-09-18 00:01:18 -06:00
remoteproc spl: Allow remoteproc drivers to be used within SPL 2018-09-11 08:32:55 -04:00
reset reset: Introduce TI System Control Interface (TI SCI) reset driver 2018-09-11 08:32:55 -04:00
rtc rtc: pl031: convert the driver to driver model 2018-09-23 21:55:31 +02:00
scsi Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
serial serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs 2018-09-30 13:00:35 -04:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi spi: Add SPI driver for MT76xx SoCs 2018-10-04 18:27:28 +05:30
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
tee tee: add sandbox driver 2018-10-07 11:04:01 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: Add MPC83xx timer driver 2018-09-18 00:01:18 -06:00
tpm tpm: sandbox: fix wrong assignment with a simplification 2018-08-13 14:04:04 -04:00
usb usb:ci_udc: don't overwrite configuration on pullup 2018-09-30 13:00:37 -04:00
video video: Add support for Arm's Mali Display Processors 2018-09-28 19:11:44 +02:00
w1 w1: identify devices with w1-eeprom uclass 2018-09-28 20:22:35 -04:00
w1-eeprom W1-EEPROM: add sandbox driver 2018-09-28 20:22:36 -04:00
watchdog watchdog: mx25: use the imx_watchdog driver for mx25 2018-09-04 08:47:23 +02:00
Kconfig Add UCLASS_TEE for Trusted Execution Environment 2018-10-07 10:47:38 -04:00
Makefile Add UCLASS_TEE for Trusted Execution Environment 2018-10-07 10:47:38 -04:00