All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Belisko <marek@goldelico.com>
To: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org,
	mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
	galak@codeaurora.org, linux@armlinux.org.uk
Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, hns@goldelico.com
Subject: [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin
Date: Tue, 17 May 2016 21:48:48 +0200	[thread overview]
Message-ID: <1463514531-7235-3-git-send-email-marek@goldelico.com> (raw)
In-Reply-To: <1463514531-7235-1-git-send-email-marek@goldelico.com>

From: "H. Nikolaus Schaller" <hns@goldelico.com>

Add pinmux and usage of bma180 irq pin.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index cef8b23..e0520cf 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -250,6 +250,12 @@
 			OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
 		>;
 	};
+
+	bma180_pins: pinmux_bma180_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
+		>;
+	};
 };
 
 &omap3_pmx_core2 {
@@ -320,6 +326,8 @@
 	bma180@41 {
 		compatible = "bosch,bma180";
 		reg = <0x41>;
+		pinctrl-names = "default";
+		pintcrl-0 = <&bma180_pins>;
 		interrupt-parent = <&gpio4>;
 		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
 	};
-- 
2.5.0

WARNING: multiple messages have this Message-ID (diff)
From: marek@goldelico.com (Marek Belisko)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin
Date: Tue, 17 May 2016 21:48:48 +0200	[thread overview]
Message-ID: <1463514531-7235-3-git-send-email-marek@goldelico.com> (raw)
In-Reply-To: <1463514531-7235-1-git-send-email-marek@goldelico.com>

From: "H. Nikolaus Schaller" <hns@goldelico.com>

Add pinmux and usage of bma180 irq pin.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index cef8b23..e0520cf 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -250,6 +250,12 @@
 			OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
 		>;
 	};
+
+	bma180_pins: pinmux_bma180_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
+		>;
+	};
 };
 
 &omap3_pmx_core2 {
@@ -320,6 +326,8 @@
 	bma180 at 41 {
 		compatible = "bosch,bma180";
 		reg = <0x41>;
+		pinctrl-names = "default";
+		pintcrl-0 = <&bma180_pins>;
 		interrupt-parent = <&gpio4>;
 		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
 	};
-- 
2.5.0

  parent reply	other threads:[~2016-05-17 19:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-17 19:48 [PATCH 0/5] ARM: dts: omap3-gta04: Various updates Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` [PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support Marek Belisko
2016-05-17 19:48   ` Marek Belisko
2016-05-17 19:48   ` Marek Belisko
2016-05-17 19:48 ` Marek Belisko [this message]
2016-05-17 19:48   ` [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin Marek Belisko
2016-05-17 19:48 ` [PATCH 3/5] ARM: dta: omap3-gta04: Define and use itg3200 " Marek Belisko
2016-05-17 19:48   ` Marek Belisko
2016-05-17 19:48 ` [PATCH 4/5] ARM: dta: omap3-gta04: Define and use hmc5843 " Marek Belisko
2016-05-17 19:48   ` Marek Belisko
2016-05-17 19:48 ` [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling Marek Belisko
2016-05-17 19:48   ` Marek Belisko
2016-05-17 19:48   ` Marek Belisko
2016-05-31  6:48 ` [PATCH 0/5] ARM: dts: omap3-gta04: Various updates Belisko Marek
2016-05-31  6:48   ` Belisko Marek
2016-05-31 18:19   ` Tony Lindgren
2016-05-31 18:19     ` Tony Lindgren
2016-06-10 10:53     ` Tony Lindgren
2016-06-10 10:53       ` Tony Lindgren
2016-06-10 10:53       ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463514531-7235-3-git-send-email-marek@goldelico.com \
    --to=marek@goldelico.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=hns@goldelico.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.