All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriel Fernandez <gabriel.fernandez.st@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Lee Jones <lee.jones@linaro.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Olivier Clergeaud <olivier.clergeaud@st.com>,
	Gabriel Fernandez <gabriel.fernandez@st.com>
Subject: [PATCH 3/4] ARM: u8540: Add device tree support for bh1780
Date: Wed, 29 May 2013 15:33:26 +0200	[thread overview]
Message-ID: <1369834407-30762-4-git-send-email-gabriel.fernandez.st@gmail.com> (raw)
In-Reply-To: <1369834407-30762-1-git-send-email-gabriel.fernandez.st@gmail.com>

From: Gabriel Fernandez <gabriel.fernandez@st.com>

This patch adds DT probing of the light sensor bh1780
for u8540.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
---
 arch/arm/boot/dts/ccu8540-uib-v3.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/ccu8540-uib-v3.dts b/arch/arm/boot/dts/ccu8540-uib-v3.dts
index 422a292..dc90571 100644
--- a/arch/arm/boot/dts/ccu8540-uib-v3.dts
+++ b/arch/arm/boot/dts/ccu8540-uib-v3.dts
@@ -16,6 +16,11 @@
 };
 
 &i2c2 {
+	bh1780@29 {
+		compatible = "bh1780";
+		reg = <0x29>;
+		vcc-supply = <&ab8500_ldo_aux1_reg>;
+	};
 
 	lp5521@32 {
 		compatible = "national,lp5521";
-- 
1.8.1.1


  parent reply	other threads:[~2013-05-29 13:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 13:33 [PATCH 0/4] Introduce ccu8540 uib-v3 Gabriel Fernandez
2013-05-29 13:33 ` [PATCH 1/4] ARM: ux540: Add ccu8540-uib-v3 Device Tree Machine Gabriel Fernandez
2013-05-29 15:50   ` Lee Jones
2013-05-30 13:20     ` Gabriel Fernandez
2013-06-04  8:57       ` Linus Walleij
2013-05-29 13:33 ` [PATCH 2/4] ARM: u8540: Add device tree support for lp5521 leds Gabriel Fernandez
2013-05-29 15:52   ` Lee Jones
2013-05-29 13:33 ` Gabriel Fernandez [this message]
2013-05-29 15:54   ` [PATCH 3/4] ARM: u8540: Add device tree support for bh1780 Lee Jones
2013-05-29 13:33 ` [PATCH 4/4] ARM: u8540: Add DT probing for SFH7741 Proximity Sensor Gabriel Fernandez

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=1369834407-30762-4-git-send-email-gabriel.fernandez.st@gmail.com \
    --to=gabriel.fernandez.st@gmail.com \
    --cc=gabriel.fernandez@st.com \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olivier.clergeaud@st.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.