All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gene Chen <gene.chen.richtek@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Dan Murphy <dmurphy@ti.com>,
	Linux LED Subsystem <linux-leds@vger.kernel.org>,
	devicetree <devicetree@vger.kernel.org>,
	linux-arm Mailing List <linux-arm-kernel@lists.infradead.org>,
	"moderated list:ARM/Mediatek SoC support" 
	<linux-mediatek@lists.infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Gene Chen <gene_chen@richtek.com>,
	Wilma.Wu@mediatek.com, shufan_lee@richtek.com,
	cy_huang@richtek.com, benjamin.chao@mediatek.com
Subject: Re: [PATCH v7 2/5] dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions
Date: Thu, 19 Nov 2020 10:20:02 +0800	[thread overview]
Message-ID: <CAE+NS36rnHzhdk5Os+vL=uK225HJT-bUHSRJ6KccaOHc-kCjpA@mail.gmail.com> (raw)
In-Reply-To: <20201118213712.GA22371@amd>

Pavel Machek <pavel@ucw.cz> 於 2020年11月19日 週四 上午5:37寫道:
>
> Hi!
>
> > From: Gene Chen <gene_chen@richtek.com>
> >
> > Add LED_COLOR_ID_MOONLIGHT definitions
>
> Why is moonlight a color? Camera flashes are usually white, no?
>
> At least it needs a comment...
>
> Best regards,
>                                                                 Pavel
>

Moonlight has more current level(150mA) from general RGB LED (24mA).
It can be used as night-light and usually use color AMBER.
Camera flashes are usually use two flash LED. One is YELLOW, and one is WHITE.

>
>
> > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > ---
> >  include/dt-bindings/leds/common.h | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
> > index 52b619d..1409e9a 100644
> > --- a/include/dt-bindings/leds/common.h
> > +++ b/include/dt-bindings/leds/common.h
> > @@ -33,7 +33,8 @@
> >  #define LED_COLOR_ID_MULTI   8       /* For multicolor LEDs */
> >  #define LED_COLOR_ID_RGB     9       /* For multicolor LEDs that can do arbitrary color,
> >                                          so this would include RGBW and similar */
> > -#define LED_COLOR_ID_MAX     10
> > +#define LED_COLOR_ID_MOONLIGHT       10
> > +#define LED_COLOR_ID_MAX     11
> >
> >  /* Standard LED functions */
> >  /* Keyboard LEDs, usually it would be input4::capslock etc. */
>
> --
> http://www.livejournal.com/~pavelmachek

WARNING: multiple messages have this Message-ID (diff)
From: Gene Chen <gene.chen.richtek@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-arm Mailing List <linux-arm-kernel@lists.infradead.org>,
	devicetree <devicetree@vger.kernel.org>,
	cy_huang@richtek.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Gene Chen <gene_chen@richtek.com>,
	benjamin.chao@mediatek.com, Rob Herring <robh+dt@kernel.org>,
	"moderated list:ARM/Mediatek SoC support"
	<linux-mediatek@lists.infradead.org>,
	Jacek Anaszewski <jacek.anaszewski@gmail.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	shufan_lee@richtek.com, Wilma.Wu@mediatek.com,
	Linux LED Subsystem <linux-leds@vger.kernel.org>,
	Dan Murphy <dmurphy@ti.com>
Subject: Re: [PATCH v7 2/5] dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions
Date: Thu, 19 Nov 2020 10:20:02 +0800	[thread overview]
Message-ID: <CAE+NS36rnHzhdk5Os+vL=uK225HJT-bUHSRJ6KccaOHc-kCjpA@mail.gmail.com> (raw)
In-Reply-To: <20201118213712.GA22371@amd>

Pavel Machek <pavel@ucw.cz> 於 2020年11月19日 週四 上午5:37寫道:
>
> Hi!
>
> > From: Gene Chen <gene_chen@richtek.com>
> >
> > Add LED_COLOR_ID_MOONLIGHT definitions
>
> Why is moonlight a color? Camera flashes are usually white, no?
>
> At least it needs a comment...
>
> Best regards,
>                                                                 Pavel
>

Moonlight has more current level(150mA) from general RGB LED (24mA).
It can be used as night-light and usually use color AMBER.
Camera flashes are usually use two flash LED. One is YELLOW, and one is WHITE.

>
>
> > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > ---
> >  include/dt-bindings/leds/common.h | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
> > index 52b619d..1409e9a 100644
> > --- a/include/dt-bindings/leds/common.h
> > +++ b/include/dt-bindings/leds/common.h
> > @@ -33,7 +33,8 @@
> >  #define LED_COLOR_ID_MULTI   8       /* For multicolor LEDs */
> >  #define LED_COLOR_ID_RGB     9       /* For multicolor LEDs that can do arbitrary color,
> >                                          so this would include RGBW and similar */
> > -#define LED_COLOR_ID_MAX     10
> > +#define LED_COLOR_ID_MOONLIGHT       10
> > +#define LED_COLOR_ID_MAX     11
> >
> >  /* Standard LED functions */
> >  /* Keyboard LEDs, usually it would be input4::capslock etc. */
>
> --
> http://www.livejournal.com/~pavelmachek

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Gene Chen <gene.chen.richtek@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-arm Mailing List <linux-arm-kernel@lists.infradead.org>,
	devicetree <devicetree@vger.kernel.org>,
	cy_huang@richtek.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Gene Chen <gene_chen@richtek.com>,
	benjamin.chao@mediatek.com, Rob Herring <robh+dt@kernel.org>,
	"moderated list:ARM/Mediatek SoC support"
	<linux-mediatek@lists.infradead.org>,
	Jacek Anaszewski <jacek.anaszewski@gmail.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	shufan_lee@richtek.com, Wilma.Wu@mediatek.com,
	Linux LED Subsystem <linux-leds@vger.kernel.org>,
	Dan Murphy <dmurphy@ti.com>
Subject: Re: [PATCH v7 2/5] dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions
Date: Thu, 19 Nov 2020 10:20:02 +0800	[thread overview]
Message-ID: <CAE+NS36rnHzhdk5Os+vL=uK225HJT-bUHSRJ6KccaOHc-kCjpA@mail.gmail.com> (raw)
In-Reply-To: <20201118213712.GA22371@amd>

Pavel Machek <pavel@ucw.cz> 於 2020年11月19日 週四 上午5:37寫道:
>
> Hi!
>
> > From: Gene Chen <gene_chen@richtek.com>
> >
> > Add LED_COLOR_ID_MOONLIGHT definitions
>
> Why is moonlight a color? Camera flashes are usually white, no?
>
> At least it needs a comment...
>
> Best regards,
>                                                                 Pavel
>

Moonlight has more current level(150mA) from general RGB LED (24mA).
It can be used as night-light and usually use color AMBER.
Camera flashes are usually use two flash LED. One is YELLOW, and one is WHITE.

>
>
> > Signed-off-by: Gene Chen <gene_chen@richtek.com>
> > ---
> >  include/dt-bindings/leds/common.h | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
> > index 52b619d..1409e9a 100644
> > --- a/include/dt-bindings/leds/common.h
> > +++ b/include/dt-bindings/leds/common.h
> > @@ -33,7 +33,8 @@
> >  #define LED_COLOR_ID_MULTI   8       /* For multicolor LEDs */
> >  #define LED_COLOR_ID_RGB     9       /* For multicolor LEDs that can do arbitrary color,
> >                                          so this would include RGBW and similar */
> > -#define LED_COLOR_ID_MAX     10
> > +#define LED_COLOR_ID_MOONLIGHT       10
> > +#define LED_COLOR_ID_MAX     11
> >
> >  /* Standard LED functions */
> >  /* Keyboard LEDs, usually it would be input4::capslock etc. */
>
> --
> http://www.livejournal.com/~pavelmachek

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-11-19  2:20 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 10:47 [PATCH v7 0/5] leds: mt6360: Add LED driver for MT6360 Gene Chen
2020-11-18 10:47 ` Gene Chen
2020-11-18 10:47 ` Gene Chen
2020-11-18 10:47 ` [PATCH v7 1/5] leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 13:32   ` kernel test robot
2020-11-18 13:32     ` kernel test robot
2020-11-18 13:32     ` kernel test robot
2020-11-18 13:32     ` kernel test robot
2020-11-19 22:29   ` Jacek Anaszewski
2020-11-19 22:29     ` Jacek Anaszewski
2020-11-19 22:29     ` Jacek Anaszewski
2020-11-23  3:20     ` Gene Chen
2020-11-23  3:20       ` Gene Chen
2020-11-23  3:20       ` Gene Chen
2020-11-23 21:06       ` Jacek Anaszewski
2020-11-23 21:06         ` Jacek Anaszewski
2020-11-23 21:06         ` Jacek Anaszewski
2020-11-24  6:08         ` Gene Chen
2020-11-24  6:08           ` Gene Chen
2020-11-24  6:08           ` Gene Chen
2020-11-24 21:15           ` Jacek Anaszewski
2020-11-24 21:15             ` Jacek Anaszewski
2020-11-24 21:15             ` Jacek Anaszewski
2020-11-18 10:47 ` [PATCH v7 2/5] dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 21:37   ` Pavel Machek
2020-11-18 21:37     ` Pavel Machek
2020-11-18 21:37     ` Pavel Machek
2020-11-19  2:20     ` Gene Chen [this message]
2020-11-19  2:20       ` Gene Chen
2020-11-19  2:20       ` Gene Chen
2020-11-19  7:44       ` Pavel Machek
2020-11-19  7:44         ` Pavel Machek
2020-11-19  7:44         ` Pavel Machek
2020-11-19  7:55         ` Gene Chen
2020-11-19  7:55           ` Gene Chen
2020-11-19  7:55           ` Gene Chen
2020-11-19  8:38           ` Pavel Machek
2020-11-19  8:38             ` Pavel Machek
2020-11-19  8:38             ` Pavel Machek
2020-11-19 21:03     ` Jacek Anaszewski
2020-11-19 21:03       ` Jacek Anaszewski
2020-11-19 21:03       ` Jacek Anaszewski
2020-11-19 21:57       ` Pavel Machek
2020-11-19 21:57         ` Pavel Machek
2020-11-19 21:57         ` Pavel Machek
2020-11-19 22:26         ` Jacek Anaszewski
2020-11-19 22:26           ` Jacek Anaszewski
2020-11-19 22:26           ` Jacek Anaszewski
2020-11-23  3:00           ` Gene Chen
2020-11-23  3:00             ` Gene Chen
2020-11-23  3:00             ` Gene Chen
2020-11-23 20:52             ` Jacek Anaszewski
2020-11-23 20:52               ` Jacek Anaszewski
2020-11-23 20:52               ` Jacek Anaszewski
2020-11-24  7:33               ` Gene Chen
2020-11-24  7:33                 ` Gene Chen
2020-11-24  7:33                 ` Gene Chen
2020-11-24  8:32                 ` Gene Chen
2020-11-24  8:32                   ` Gene Chen
2020-11-24  8:32                   ` Gene Chen
2020-11-24 21:38                 ` Jacek Anaszewski
2020-11-24 21:38                   ` Jacek Anaszewski
2020-11-24 21:38                   ` Jacek Anaszewski
2020-11-18 10:47 ` [PATCH v7 3/5] dt-bindings: leds: common: Increase LED_COLOR_ID_* maximum size Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 10:47 ` [PATCH v7 4/5] dt-bindings: leds: Add bindings for MT6360 LED Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 21:25   ` Rob Herring
2020-11-18 21:25     ` Rob Herring
2020-11-18 21:25     ` Rob Herring
2020-11-19  1:41     ` Gene Chen
2020-11-19  1:41       ` Gene Chen
2020-11-19  1:41       ` Gene Chen
2020-11-18 10:47 ` [PATCH v7 5/5] leds: mt6360: Add LED driver for MT6360 Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-18 10:47   ` Gene Chen
2020-11-19 22:55   ` Jacek Anaszewski
2020-11-19 22:55     ` Jacek Anaszewski
2020-11-19 22:55     ` 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='CAE+NS36rnHzhdk5Os+vL=uK225HJT-bUHSRJ6KccaOHc-kCjpA@mail.gmail.com' \
    --to=gene.chen.richtek@gmail.com \
    --cc=Wilma.Wu@mediatek.com \
    --cc=benjamin.chao@mediatek.com \
    --cc=cy_huang@richtek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmurphy@ti.com \
    --cc=gene_chen@richtek.com \
    --cc=jacek.anaszewski@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=robh+dt@kernel.org \
    --cc=shufan_lee@richtek.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.