lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 3/3] ARM: berlin: add an ADC node for the BG2Q
    Date
    This patch adds the ADC node for the Berlin BG2Q, using the newly added
    Berlin IIO ADC driver.

    Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
    ---
    arch/arm/boot/dts/berlin2q.dtsi | 7 +++++++
    1 file changed, 7 insertions(+)

    diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
    index 187d056f7ad2..97c7e19e3ec6 100644
    --- a/arch/arm/boot/dts/berlin2q.dtsi
    +++ b/arch/arm/boot/dts/berlin2q.dtsi
    @@ -565,6 +565,13 @@
    function = "twsi3";
    };
    };
    +
    + adc: adc {
    + compatible = "marvell,berlin2-adc";
    + interrupt-parent = <&sic>;
    + interrupts = <12>, <14>;
    + interrupt-names = "adc", "tsen";
    + };
    };

    sic: interrupt-controller@e000 {
    --
    2.4.0


    \
     
     \ /
      Last update: 2015-05-11 12:41    [W:3.620 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site