diff options
author | luweizhou <b45643@freescale.com> | 2014-06-26 20:32:57 -0400 |
---|---|---|
committer | luweizhou <b45643@freescale.com> | 2014-06-26 21:16:09 -0400 |
commit | 8bd1eb3574d1b9871f6bca0ee4ed997c848d8a4d (patch) | |
tree | 7cfb1b961a6786b4a18f1a12412e24c44658f964 /arch/arm/boot | |
parent | 97083f8b86a037c032520ce28562b2b14baf1f66 (diff) |
ENGR00320101 dts: imx6sx: Update the mma8451 device tree to add interrupt mode option.
The driver for android team need to enalbe mma8451 fifo overflow interrupt feather.
So add the interrupt option into device tree.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
(cherry picked from commit 443fd43f454215f615ee326ddb02911e05bcd2ae)
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 3 |
3 files changed, 13 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 30668ecf24d0..3bf2b4684cf6 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | |||
@@ -494,7 +494,10 @@ | |||
494 | mma8451@1c { | 494 | mma8451@1c { |
495 | compatible = "fsl,mma8451"; | 495 | compatible = "fsl,mma8451"; |
496 | reg = <0x1c>; | 496 | reg = <0x1c>; |
497 | position = <3>; | 497 | position = <7>; |
498 | interrupt-parent = <&gpio6>; | ||
499 | interrupts = <31 8>; | ||
500 | interrupt-route = <1>; | ||
498 | }; | 501 | }; |
499 | 502 | ||
500 | mag3110@0e { | 503 | mag3110@0e { |
@@ -555,6 +558,7 @@ | |||
555 | MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x17059 | 558 | MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x17059 |
556 | MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x17059 | 559 | MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x17059 |
557 | MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x80000000 | 560 | MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x80000000 |
561 | MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x80000000 | ||
558 | >; | 562 | >; |
559 | }; | 563 | }; |
560 | }; | 564 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 1f5c1de6a2f7..2adcbd38ca02 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |||
@@ -363,9 +363,12 @@ | |||
363 | mma8451@1c { | 363 | mma8451@1c { |
364 | compatible = "fsl,mma8451"; | 364 | compatible = "fsl,mma8451"; |
365 | reg = <0x1c>; | 365 | reg = <0x1c>; |
366 | position = <1>; | 366 | position = <0>; |
367 | vdd-supply = <®_sensor>; | 367 | vdd-supply = <®_sensor>; |
368 | vddio-supply = <®_sensor>; | 368 | vddio-supply = <®_sensor>; |
369 | interrupt-parent = <&gpio1>; | ||
370 | interrupts = <18 8>; | ||
371 | interrupt-route = <1>; | ||
369 | }; | 372 | }; |
370 | }; | 373 | }; |
371 | 374 | ||
@@ -495,6 +498,7 @@ | |||
495 | MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x80000000 | 498 | MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x80000000 |
496 | MX6QDL_PAD_GPIO_1__WDOG2_B 0x80000000 | 499 | MX6QDL_PAD_GPIO_1__WDOG2_B 0x80000000 |
497 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 | 500 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 |
501 | MX6QDL_PAD_SD1_CMD__GPIO1_IO18 0x80000000 | ||
498 | >; | 502 | >; |
499 | }; | 503 | }; |
500 | }; | 504 | }; |
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 10e95064ab62..664db390bff3 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -374,6 +374,9 @@ | |||
374 | compatible = "fsl,mma8451"; | 374 | compatible = "fsl,mma8451"; |
375 | reg = <0x1c>; | 375 | reg = <0x1c>; |
376 | position = <1>; | 376 | position = <1>; |
377 | interrupt-parent = <&gpio6>; | ||
378 | interrupts = <2 8>; | ||
379 | interrupt-route = <2>; | ||
377 | }; | 380 | }; |
378 | }; | 381 | }; |
379 | 382 | ||