All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bryan Wu <cooloney@gmail.com>
To: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: Linux LED Subsystem <linux-leds@vger.kernel.org>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Pavel Machek <pavel@ucw.cz>,
	"rpurdie@rpsys.net" <rpurdie@rpsys.net>,
	Sakari Ailus <sakari.ailus@iki.fi>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v6 04/10] DT: Add documentation for the Skyworks AAT1290
Date: Tue, 28 Apr 2015 17:29:33 -0700	[thread overview]
Message-ID: <CAK5ve-JekG93PUv4nRQWFa7SJ9ZW4D=Mahq76c7pqw+LF94QQQ@mail.gmail.com> (raw)
In-Reply-To: <1430205530-20873-5-git-send-email-j.anaszewski@samsung.com>

On Tue, Apr 28, 2015 at 12:18 AM, Jacek Anaszewski
<j.anaszewski@samsung.com> wrote:
> This patch adds device tree binding documentation for
> 1.5A Step-Up Current Regulator for Flash LEDs.
>

Applied, thanks,
-Bryan

> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> Cc: Bryan Wu <cooloney@gmail.com>
> Cc: Richard Purdie <rpurdie@rpsys.net>
> Cc: devicetree@vger.kernel.org
> ---
>  .../devicetree/bindings/leds/leds-aat1290.txt      |   41 ++++++++++++++++++++
>  1 file changed, 41 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/leds/leds-aat1290.txt
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-aat1290.txt b/Documentation/devicetree/bindings/leds/leds-aat1290.txt
> new file mode 100644
> index 0000000..ef88b9c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/leds-aat1290.txt
> @@ -0,0 +1,41 @@
> +* Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs
> +
> +The device is controlled through two pins: FL_EN and EN_SET. The pins when,
> +asserted high, enable flash strobe and movie mode (max 1/2 of flash current)
> +respectively.
> +
> +Required properties:
> +
> +- compatible : Must be "skyworks,aat1290".
> +- flen-gpios : Must be device tree identifier of the flash device FL_EN pin.
> +- enset-gpios : Must be device tree identifier of the flash device EN_SET pin.
> +
> +A discrete LED element connected to the device must be represented by a child
> +node - see Documentation/devicetree/bindings/leds/common.txt.
> +
> +Required properties of the LED child node:
> +- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
> +- flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
> +                       Maximum flash LED supply current can be calculated using
> +                       following formula: I = 1A * 162kohm / Rset.
> +- flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
> +                     Maximum flash timeout can be calculated using following
> +                     formula: T = 8.82 * 10^9 * Ct.
> +
> +Optional properties of the LED child node:
> +- label : see Documentation/devicetree/bindings/leds/common.txt
> +
> +Example (by Ct = 220nF, Rset = 160kohm):
> +
> +aat1290 {
> +       compatible = "skyworks,aat1290";
> +       flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
> +       enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
> +
> +       camera_flash: flash-led {
> +               label = "aat1290-flash";
> +               led-max-microamp = <520833>;
> +               flash-max-microamp = <1012500>;
> +               flash-timeout-us = <1940000>;
> +       };
> +};
> --
> 1.7.9.5
>

  reply	other threads:[~2015-04-29  0:29 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28  7:18 [PATCH v6 00/10] LED / flash API integration Jacek Anaszewski
2015-04-28  7:18 ` [PATCH v6 01/10] leds: unify the location of led-trigger API Jacek Anaszewski
2015-04-29  0:20   ` Bryan Wu
2015-04-29  0:20     ` Bryan Wu
2015-04-28  7:18 ` [PATCH v6 02/10] DT: Add documentation for the mfd Maxim max77693 Jacek Anaszewski
     [not found]   ` <1430205530-20873-3-git-send-email-j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-04-28 10:09     ` Lee Jones
2015-04-28 10:09       ` Lee Jones
2015-04-29  0:24       ` Bryan Wu
2015-04-29  8:25   ` Lee Jones
2015-04-28  7:18 ` [PATCH v6 03/10] leds: Add support for max77693 mfd flash cell Jacek Anaszewski
2015-04-28 11:36   ` Sakari Ailus
2015-04-29  0:28     ` Bryan Wu
2015-04-28  7:18 ` [PATCH v6 04/10] DT: Add documentation for the Skyworks AAT1290 Jacek Anaszewski
2015-04-29  0:29   ` Bryan Wu [this message]
2015-04-28  7:18 ` [PATCH v6 05/10] leds: Add driver for AAT1290 flash LED controller Jacek Anaszewski
2015-04-28 11:36   ` Sakari Ailus
2015-04-29  0:32     ` Bryan Wu
2015-04-30 17:47   ` Pavel Machek
2015-04-28  7:18 ` [PATCH v6 06/10] media: Add registration helpers for V4L2 flash sub-devices Jacek Anaszewski
2015-04-28 12:01   ` Sakari Ailus
2015-04-28  7:18 ` [PATCH v6 07/10] Documentation: leds: Add description of v4l2-flash sub-device Jacek Anaszewski
2015-04-28 12:05   ` Sakari Ailus
2015-04-28  7:18 ` [PATCH v6 08/10] leds: max77693: add support for V4L2 Flash sub-device Jacek Anaszewski
2015-04-28 12:11   ` Sakari Ailus
2015-04-28  7:18 ` [PATCH v6 09/10] DT: aat1290: Document handling external strobe sources Jacek Anaszewski
2015-04-28  7:18 ` [PATCH v6 10/10] leds: aat1290: add support for V4L2 Flash sub-device Jacek Anaszewski
2015-04-28 14:02   ` Sakari Ailus
2015-04-28 14:56     ` Jacek Anaszewski

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='CAK5ve-JekG93PUv4nRQWFa7SJ9ZW4D=Mahq76c7pqw+LF94QQQ@mail.gmail.com' \
    --to=cooloney@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=j.anaszewski@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rpurdie@rpsys.net \
    --cc=s.nawrocki@samsung.com \
    --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 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.