[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375109893-7917-1-git-send-email-x0199363@ti.com>
Date: Mon, 29 Jul 2013 17:58:12 +0300
From: Oleksandr Kravchenko <x0199363@...com>
To: <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-doc@...r.kernel.org>
CC: <grant.likely@...aro.org>, <rob.herring@...xeda.com>,
<rob@...dley.net>, <jic23@....ac.uk>, <pmeerw@...erw.net>,
<holler@...oftware.de>, <srinivas.pandruvada@...el.com>,
<devicetree-discuss@...ts.ozlabs.org>,
Oleksandr Kravchenko <o.v.kravchenko@...ballogic.com>
Subject: [PATCH 1/2] ARM: OMAP4: Tablet: Add BMA180 sensor
From: Oleksandr Kravchenko <o.v.kravchenko@...ballogic.com>
Add Bosch BMA180 acceleration sensor devicetree
Signed-off-by: Oleksandr Kravchenko <o.v.kravchenko@...ballogic.com>
---
arch/arm/boot/dts/omap4-sdp.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts
index c9022df..13d8279 100644
--- a/arch/arm/boot/dts/omap4-sdp.dts
+++ b/arch/arm/boot/dts/omap4-sdp.dts
@@ -170,6 +170,7 @@
&dss_hdmi_pins
&tpd12s015_pins
&apds9300_pins
+ &bma180_pins
>;
uart2_pins: pinmux_uart2_pins {
@@ -305,6 +306,12 @@
0x50 (PIN_INPUT | MUX_MODE3) /* gpmc_nbe1.gpio_61 */
>;
};
+
+ bma180_pins: pinmux_bma180_pins {
+ pinctrl-single,pins = <
+ 0x156 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_nbe1.gpio_178 */
+ >;
+ };
};
&i2c1 {
@@ -405,6 +412,17 @@
interrupt-parent = <&gpio2>;
interrupts = <29 8>; /* gpio line 61, low triggered */
};
+
+ bma180@40 {
+ compatible = "bosch,bma180";
+ reg = <0x40>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
+ range = <2>;
+ bw = <5>;
+ mode_config = <1>;
+ fuzz = <555>;
+ };
};
&mcspi1 {
--
1.7.9.5
--
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