linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: linux-media@vger.kernel.org
Cc: javier@dowhile0.org, jacek.anaszewski@gmail.com,
	linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
	Sakari Ailus <sakari.ailus@iki.fi>
Subject: [PATCH v2 3/3] arm: dts: omap3: N9/N950: Add AS3645A camera flash
Date: Sun, 20 Aug 2017 00:24:10 +0300	[thread overview]
Message-ID: <20170819212410.3084-4-sakari.ailus@linux.intel.com> (raw)
In-Reply-To: <20170819212410.3084-1-sakari.ailus@linux.intel.com>

From: Sakari Ailus <sakari.ailus@iki.fi>

Add the as3645a flash controller to the DT source.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
---
 arch/arm/boot/dts/omap3-n950-n9.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts/omap3-n950-n9.dtsi
index df3366fa5409..92c1a1da28d3 100644
--- a/arch/arm/boot/dts/omap3-n950-n9.dtsi
+++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
@@ -265,6 +265,20 @@
 
 &i2c2 {
 	clock-frequency = <400000>;
+
+	as3645a@30 {
+		reg = <0x30>;
+		compatible = "ams,as3645a";
+		as3645a_flash: flash {
+			flash-timeout-us = <150000>;
+			flash-max-microamp = <320000>;
+			led-max-microamp = <60000>;
+			peak-current-limit = <1750000>;
+		};
+		as3645a_indicator: indicator {
+			led-max-microamp = <10000>;
+		};
+	};
 };
 
 &i2c3 {
-- 
2.11.0

  parent reply	other threads:[~2017-08-19 21:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-19 21:24 [PATCH v2 0/3] AS3645A flash support Sakari Ailus
2017-08-19 21:24 ` [PATCH v2 1/3] dt: bindings: Document DT bindings for Analog devices as3645a Sakari Ailus
2017-08-22 18:34   ` Jacek Anaszewski
2017-08-23  0:28   ` Rob Herring
2017-08-23  7:33     ` Sakari Ailus
2017-08-28 10:33   ` Pavel Machek
2017-08-28 10:48     ` Sakari Ailus
2017-08-28 11:09       ` Pavel Machek
2017-08-19 21:24 ` [PATCH v2 2/3] leds: as3645a: Add LED flash class driver Sakari Ailus
2017-08-19 21:42   ` [PATCH v2.1 " Sakari Ailus
2017-08-20 10:09     ` Jacek Anaszewski
2017-08-20 10:12       ` Jacek Anaszewski
2017-08-21 13:53       ` Sakari Ailus
2017-08-21 19:03         ` Jacek Anaszewski
2017-08-21 20:59           ` Sakari Ailus
2017-08-19 21:24 ` Sakari Ailus [this message]
2017-08-21 19:57   ` [PATCH v2.1 3/3] arm: dts: omap3: N9/N950: Add AS3645A camera flash Sakari Ailus

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=20170819212410.3084-4-sakari.ailus@linux.intel.com \
    --to=sakari.ailus@linux.intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jacek.anaszewski@gmail.com \
    --cc=javier@dowhile0.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@iki.fi \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).