Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2528166ybh; Fri, 24 Jul 2020 15:32:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1R4jMWfDkPIH/aWOk02X5Xx8y/C01LeUYGpYkoIoDjaaSPCEamBCo68aEnxlIzCG/4hJZ X-Received: by 2002:a17:906:3b4e:: with SMTP id h14mr6870759ejf.546.1595629947066; Fri, 24 Jul 2020 15:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595629947; cv=none; d=google.com; s=arc-20160816; b=YEQry/CJyIoO81NZN6W4s+PhS0rakrIs7PhSHOssbWXpIhCTOTkqyzrfgTUEZjXAGG vi925yitpuGZHdXeBCXe4XMOJnKEH6Gn7IesO4EtCZ12FKGC/4aMscpJw1JpqlfAbAOB IohOC9HM5wE9/tQYK5L5Nk53ZQXvrXezgbazPAVmTEmKMxQVGGxFpGPEp1Ziakrygnv4 4t8bWRGclObmF/BmXyFF7sgHpu8Kx5yP2aDeh3pPOLF1KEhgtXBaT59kXvIR8wuD/aL2 68+Dbo6FJwy+6sNusR5TU08mPTch0xEfnrPXKwLRxfQUeLYvgp1T1hXrI30oI7N/5Om8 t93Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=k1RgikIlskSx2cmH25JVsL1qFisX4VvChKWerpZWddk=; b=MMYpf2GWmUonx2WWX6Ak/nwbrIDPh5JjW5jGBykPBwr2d/RlPObONxMg5AvDpmulN7 bfnAbdlK2s4kf1a3mOtZSNV1AET7u/LdVTos8h/1B+3y9t6W1oX6HWn/f5LEy2cPPhlM GGCHOsG83W7qjhyEEleqm+f3gHrjRrCx1paynYWauDyKmzvZiQ//CxvNB4iozhUjJ3rE uUTgYdmvg0NEez8rofaQXGg+yATuccvK6rb25wXy+qSgCy2N/rhGE0In6IWCsXqxl1VH x8QIzihv4/4oVfIr6CQnDv5CSNUn1YDiBViDKQ6M2wpoc8KTjFaHdQWXUN4XaMgRze3u GK5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q24si1222428edw.193.2020.07.24.15.32.03; Fri, 24 Jul 2020 15:32:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726639AbgGXWbx (ORCPT + 99 others); Fri, 24 Jul 2020 18:31:53 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:49152 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726154AbgGXWbw (ORCPT ); Fri, 24 Jul 2020 18:31:52 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 02BE01C0BDD; Sat, 25 Jul 2020 00:31:51 +0200 (CEST) Date: Sat, 25 Jul 2020 00:31:50 +0200 From: Pavel Machek To: Martin Botka Cc: Jacek Anaszewski , Dan Murphy , Rob Herring , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH RFC 0/6] Add QCOM pwm-lpg and tri-led drivers Message-ID: <20200724223150.GB21965@amd> References: <20200724213659.273599-1-martin.botka1@gmail.com> <20200724220516.GA21965@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Dalsi cech co hackuje LEDky? >=20 > Nie. Slovak. Vitej do klubu :-). > > Bindings should go first, they may need to be converted to yml > > (devicetree people will know). >=20 > OK I'm not 100% sure, please double check. > > Can generic pwm driver be used here? >=20 > I have not tried to do that. But considering it's custom chip from Qualco= mm > then it's unlikely. Please double check. Actually, is the series for one chip or for two of them? LED framework should is happy to talk to generic pwm driver... > >This is for RGB modules, right? It will need to use multicolor > >framework. >=20 > This is for RGB LEDs in phones that are connected via pmic. Ok. Check multicolor framework in -next. > > Is this for phone, btw? If so, which one? >=20 > 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. Aha, ok. I assume they are still quite far away from being usable with mainline kernels. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl8bYVYACgkQMOfwapXb+vI6kQCglny7KnSJCYt6qxAmNeotmZkU ldkAnRuNUWHDxkhbTehERpei7p58IriZ =tbOD -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--