diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-10-27 13:08:06 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-11-02 10:38:00 +0900 |
commit | 08d6300a35bf2eb7915f0fa2fea9fa60b5075b71 (patch) | |
tree | 21aac272797217701e4e74f0600ea0578595c9d7 /arch/sandbox/dts/test.dts | |
parent | 1611c8cbcfe2ee50cc5e96f3a5c666c99d235107 (diff) | |
download | u-boot-imx-08d6300a35bf2eb7915f0fa2fea9fa60b5075b71.zip u-boot-imx-08d6300a35bf2eb7915f0fa2fea9fa60b5075b71.tar.gz u-boot-imx-08d6300a35bf2eb7915f0fa2fea9fa60b5075b71.tar.bz2 |
sandbox: add ADC driver
This commit adds implementation of Sandbox ADC device emulation.
The device provides:
- single and multi-channel conversion
- 4 channels with predefined conversion output data
- 16-bit resolution
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/sandbox/dts/test.dts')
-rw-r--r-- | arch/sandbox/dts/test.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 730de8a..e2c4971 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -189,6 +189,12 @@ }; }; + adc@0 { + compatible = "sandbox,adc"; + vdd-supply = <&buck2>; + vss-microvolts = <0>; + }; + leds { compatible = "gpio-leds"; |