From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v5 1/4] drm/panel: p079zca: refactor panel driver to support multiple panels Date: Tue, 10 Jul 2018 12:57:43 +0200 Message-ID: <20180710105743.GK1504@ulmo> References: <20180702102721.3546-1-heiko@sntech.de> <20180702102721.3546-2-heiko@sntech.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0689894041==" Return-path: In-Reply-To: <20180702102721.3546-2-heiko@sntech.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Heiko Stuebner Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, hl@rock-chips.com, briannorris@chromium.org, emil.l.velikov@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org List-Id: devicetree@vger.kernel.org --===============0689894041== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W2ydbIOJmkm74tJ2" Content-Disposition: inline --W2ydbIOJmkm74tJ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 02, 2018 at 12:27:18PM +0200, Heiko Stuebner wrote: > From: huang lin >=20 > Refactor Innolux P079ZCA panel driver, let it support > multi panels from Innolux that share similar power sequences. >=20 > Panels may require different power supplies so use regulator bulk > interfaces and define per panel supply-names. >=20 > Changes in v2: > - Change regulator property name to meet the panel datasheet > Changes in v3: > - this patch only refactor P079ZCA panel to support multi panel, > support P097PFG panel in another patch > Changes in v4: > - Modify the patch which suggest by Thierry > Changes in v5: > - use regulator_bulk to handle different supply number >=20 > Signed-off-by: Lin Huang > Signed-off-by: Heiko Stuebner > --- > drivers/gpu/drm/panel/panel-innolux-p079zca.c | 143 ++++++++++++------ > 1 file changed, 100 insertions(+), 43 deletions(-) Applied with minor changes, see below. > diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c b/drivers/gpu/= drm/panel/panel-innolux-p079zca.c > index bb53e0850764..840ad4a6a6a6 100644 > --- a/drivers/gpu/drm/panel/panel-innolux-p079zca.c > +++ b/drivers/gpu/drm/panel/panel-innolux-p079zca.c > @@ -20,12 +20,29 @@ > =20 > #include