[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABxpGwCbFF+pJ0H_sMjqk6c9awdRuxi6j0CL_d3mH5z4Qht+ng@mail.gmail.com>
Date: Mon, 16 Mar 2015 10:10:45 -0300
From: Walter Lozano <walter@...guardiasur.com.ar>
To: Steffen Trumtrar <s.trumtrar@...gutronix.de>
Cc: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, linux@....linux.org.uk,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x
On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar
<s.trumtrar@...gutronix.de> wrote:
> Hi!
>
> On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote:
>> This patch adds the DTS bindings for the adxl34x digital
>> accelerometer.
>>
>> Signed-off-by: Walter Lozano <walter@...guardiasur.com.ar>
>> ---
>> arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
>> index 16ea6f5..d343e03 100644
>> --- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
>> +++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
>> @@ -60,6 +60,22 @@
>> rxc-skew-ps = <2000>;
>> };
>>
>> +&gpio2 {
>> + status = "okay";
>> +};
>> +
>> +&i2c1 {
>> + status = "okay";
>> +
>> + accel1: accelerometer@53 {
>> + compatible = "adxl34x";
>> + reg = <0x53>;
>> +
>> + interrupt-parent = <&portc>;
>> + interrupts = <3 2>;
>> + };
>> +};
>> +
>> &mmc0 {
>> vmmc-supply = <®ulator_3_3v>;
>> vqmmc-supply = <®ulator_3_3v>;
>
> I just gave it a short spin. I get some interrupts and the position property
> changes, so it seems to work:
>
> Acked-by: Steffen Trumtrar <s.trumtrar@...gutronix.de>
>
> Regards,
> Steffen
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Ping?
How should this continue?
Regards,
Walter
--
Walter Lozano, VanguardiaSur
www.vanguardiasur.com.ar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists