u-boot/doc/device-tree-bindings
Przemyslaw Marczak 5decbf5300 dm: adc: add simple ADC uclass implementation
This commit adds:
- new uclass id: UCLASS_ADC
- new uclass driver: drivers/adc/adc-uclass.c

The new uclass's API allows for ADC operation on:
* single-channel with channel selection by a number
* multti-channel with channel selection by bit mask

ADC uclass's functions:
* single-channel:
  - adc_start_channel()        - start channel conversion
  - adc_channel_data()         - get conversion data
  - adc_channel_single_shot()  - start/get conversion data
* multi-channel:
  - adc_start_channels()       - start selected channels conversion
  - adc_channels_data()        - get conversion data
  - adc_channels_single_shot() - start/get conversion data for channels
                                 selected by bit mask
* general:
  - adc_stop()      - stop the conversion
  - adc_vdd_value() - positive reference Voltage value with polarity [uV]
  - adc_vss_value() - negative reference Voltage value with polarity [uV]
  - adc_data_mask() - conversion data bit mask

The device tree can provide below constraints/properties:
- vdd-polarity-negative: if true: Vdd = vdd-microvolts * (-1)
- vss-polarity-negative: if true: Vss = vss-microvolts * (-1)
- vdd-supply:            phandle to Vdd regulator's node
- vss-supply:            phandle to Vss regulator's node
And optional, checked only if the above corresponding, doesn't exist:
  - vdd-microvolts:      positive reference Voltage [uV]
  - vss-microvolts:      negative reference Voltage [uV]

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2015-11-02 10:38:00 +09:00
..
adc dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
ata x86: ivybridge: Add SATA init 2014-11-25 06:34:01 -07:00
clock rockchip: Bring in RK3288 device tree file includes and bindings 2015-09-02 21:28:23 -06:00
cpu nios2: convert nios2 cpu to driver model 2015-10-23 07:37:03 +08:00
exynos s5p: cpu_info: print "cpu-model" if exists in dts 2015-11-02 10:37:59 +09:00
gpio nios2 : convert altera_pio to driver model 2015-10-23 07:37:03 +08:00
gpu tegra124: dts: Add host1x node to provide display information 2015-05-13 09:24:08 -07:00
i2c dm: i2c: Add support for multiplexed I2C buses 2015-08-05 21:06:10 -06:00
input cros-ec-keyboard: Synchronize DT binding from linux 2015-01-05 17:45:16 -07:00
leds dm: led: Add a driver for GPIO-controlled LEDs 2015-07-21 17:39:24 -06:00
misc nios2: convert altera sysid to driver model 2015-10-23 07:37:03 +08: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 net: convert altera_tse to driver model and phylib 2015-10-23 14:55:48 +08:00
pinctrl rockchip: Bring in RK3288 device tree file includes and bindings 2015-09-02 21:28:23 -06:00
pmic dm: pmic: add s2mps11 PMIC I/O driver 2015-11-02 10:38:00 +09: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 power: regulator: update comments for regulator-name 2015-08-12 10:03:04 +02:00
remoteproc drivers: Introduce a simplified remoteproc framework 2015-10-22 14:18:38 -04:00
serial nios2: convert altera_uart to driver model 2015-10-23 07:36:51 +08:00
spi doc: device-tree-bindings: spi: Add zynq qspi info 2015-10-25 20:17:01 +05:30
thermal rockchip: Bring in RK3288 device tree file includes and bindings 2015-09-02 21:28:23 -06:00
timer nios2: convert altera timer to driver model 2015-10-23 07:37:03 +08:00
usb tegra: fdt: Add additional USB binding 2012-03-29 08:12:48 +02:00
video dm: video: Add support for the Parade PS8622/625 bridge 2015-08-05 21:06:13 -06:00
README fdt: Add staging area for device tree binding documentation 2012-03-29 08:12:47 +02:00
root.txt fdt: Pass the device serial number through devicetree 2015-06-05 08:32:07 -06: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