u-boot-brain/doc/device-tree-bindings
Przemyslaw Marczak 5d387d0df9 sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator
This commit adds emulation of sandbox PMIC device, which includes:
- PMIC I2C emulation driver
- PMIC I/O driver (UCLASS_PMIC)
- PMIC regulator driver (UCLASS_REGULATOR)

The sandbox PMIC has 12 significant registers and 4 as padding to 16 bytes,
which allows using 'i2c md' command with the default count (16).

The sandbox PMIC provides regulators:
- 2x BUCK
- 2x LDO

Each, with adjustable output:
- Enable state
- Voltage
- Current limit (LDO1/BUCK1 only)
- Operation mode (different for BUCK and LDO)

Each attribute has it's own register, beside the enable state, which depends
on operation mode.

The header file: sandbox_pmic.h includes PMIC's default register values,
which are set on i2c pmic emul driver's probe() method.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg@chromium.org>
2015-05-14 19:58:34 -06:00
..
ata x86: ivybridge: Add SATA init 2014-11-25 06:34:01 -07:00
clock tegra: fdt: Add clock bindings 2012-03-29 08:12:48 +02:00
exynos samsung: board: support eMMC reset using DT 2015-02-13 17:17:10 +09:00
gpio Documentation: gpio: fix bindings document 2015-02-19 06:19:19 -07:00
gpu tegra124: dts: Add host1x node to provide display information 2015-05-13 09:24:08 -07:00
i2c dm: i2c: add i2c-gpio driver 2015-04-18 11:11:17 -06:00
input cros-ec-keyboard: Synchronize DT binding from linux 2015-01-05 17:45:16 -07:00
misc x86: ivybridge: Add additional LPC init 2014-11-25 06:34:01 -07:00
mtd/spi sandbox: dts: Add a SPI device and cros_ec device 2014-10-22 10:36:45 -06:00
nand tegra: fdt: Add NAND controller binding and definitions 2012-09-07 13:54:30 -07:00
net dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
pmic sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
power power: Add support for TPS65090 PMU chip. 2014-05-28 10:58:19 +09:00
pwm tegra: fdt: Add pwm binding and node 2012-11-19 08:15:35 -07:00
regulator sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
serial serial: fdt: add device tree support for pl01x 2015-05-10 09:59:37 -04:00
spi dm: spi: Add soft_spi implementation 2014-10-22 10:36:48 -06:00
usb tegra: fdt: Add additional USB binding 2012-03-29 08:12:48 +02:00
video fdt: Add binding decode function for display-timings 2015-05-13 09:24:06 -07:00
README fdt: Add staging area for device tree binding documentation 2012-03-29 08:12:47 +02:00

Device Tree Bindings Staging Area
=================================

This directory contains device tree bindings for U-Boot.

These follow along with Linux kernel bindings, with a few additions. By
adding the files here, U-Boot patches can clearly show thees additions.
This makes it easier for device tree people to review these additions in
patches sent to the U-Boot mailing list.

The intent IS to commit these files to U-Boot. Hopefully at some point
the files will be stored in another repo (shared with Linux) which is
brought in as needed. Changes here are intended to mirror changes in the
Linux Documentation/devicetree/bindings/ directory.

sjg@chromium.org
17-Jan-12