Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1435755
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation |
| Date | 2016-07-02 11:20 +0200 |
| Message-ID | <rQpfH-1GJ-7@gated-at.bofh.it> (permalink) |
| References | <rQdRf-39s-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni
<alexandre.belloni@free-electrons.com> wrote:
> Document the bindings for the Allwinner LRADC.
We already have Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt
and I'm pretty sure Hans (CC-ed) argued that this is not a generic ADC
block.
Any plans to reconcile the different bindings?
Thanks
ChenYu
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
>
> .../devicetree/bindings/iio/adc/sun4i-lradc.txt | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/adc/sun4i-lradc.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/sun4i-lradc.txt b/Documentation/devicetree/bindings/iio/adc/sun4i-lradc.txt
> new file mode 100644
> index 000000000000..c75a6067b8a5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/sun4i-lradc.txt
> @@ -0,0 +1,19 @@
> +Allwinner sun4i Low Resolution ADC
> +----------------------------------
> +
> +Required properties:
> + - compatible: "allwinner,sun4i-a10-lradc"
> + - reg: mmio address range of the chip
> + - interrupts: interrupt to which the chip is connected
> + - vref-supply: powersupply for the lradc reference voltage
> + - #io-channel-cells = <1>; As ADC has multiple outputs
> +
> +Example:
> +
> + lradc: lradc@01c22800 {
> + compatible = "allwinner,sun4i-a10-lradc";
> + reg = <0x01c22800 0x100>;
> + interrupts = <31>;
> + vref-supply = <®_vcc3v0>;
> + #io-channel-cells = <1>;
> + };
> --
> 2.8.1
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] iio: sun4i-lradc: Add binding documentation Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-01 23:10 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Chen-Yu Tsai <wens@csie.org> - 2016-07-02 11:20 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Hans de Goede <hdegoede@redhat.com> - 2016-07-02 11:40 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-02 13:10 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Hans de Goede <hdegoede@redhat.com> - 2016-07-02 13:50 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-02 15:40 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-02 15:50 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-02 15:40 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Hans de Goede <hdegoede@redhat.com> - 2016-07-02 21:50 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-02 22:50 +0200
Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation Jonathan Cameron <jic23@kernel.org> - 2016-07-03 14:10 +0200
csiph-web