From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 References: <20200724213659.273599-1-martin.botka1@gmail.com> <20200724220516.GA21965@amd> In-Reply-To: <20200724220516.GA21965@amd> From: Martin Botka Date: Sat, 25 Jul 2020 00:20:17 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000cf89a005ab376228" Subject: Re: [PATCH RFC 0/6] Add QCOM pwm-lpg and tri-led drivers To: Pavel Machek Cc: Jacek Anaszewski , Dan Murphy , Rob Herring , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org List-ID: --000000000000cf89a005ab376228 Content-Type: text/plain; charset="UTF-8" Hi, > Dalsi cech co hackuje LEDky? Nie. Slovak. > Bindings should go first, they may need to be converted to yml > (devicetree people will know). OK > Can generic pwm driver be used here? I have not tried to do that. But considering it's custom chip from Qualcomm then it's unlikely. >This is for RGB modules, right? It will need to use multicolor >framework. This is for RGB LEDs in phones that are connected via pmic. > Is this for phone, btw? If so, which one? Yes it is. And it's for many many phones actually. I have done this mainly for SONY phones (Xperia 10, 10 Plus, XA2, XA2 Plus, XA2 Ultra). All of them use these drivers for generating the PWM and controlling the LEDs. Best Regards, Martin --000000000000cf89a005ab376228 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

> Da= lsi cech co hackuje LEDky?

Nie. Slovak.
<= div>
> Bindings should go first, they may need to be conve= rted to yml
> (devicetree people will know).

OK
<= br>
> Can generic pwm driver be used here?

I have not tried to do that. But considering it's custom chip fro= m Qualcomm then it's unlikely.

>This is for= RGB modules, right? It will need to use multicolor
>framework.

This is for RGB LEDs in phones that= are connected via pmic.

> Is this for phone, b= tw? If so, which one?

Yes it is. And it's for = many many phones actually. I have done this mainly for SONY phones (Xperia = 10, 10 Plus, XA2, XA2 Plus, XA2 Ultra).
All of them use these dri= vers for generating the PWM and controlling the LEDs.

<= div>Best Regards,
Martin
--000000000000cf89a005ab376228--