From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01D0FC433E1 for ; Fri, 29 May 2020 16:27:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CDD4221655 for ; Fri, 29 May 2020 16:27:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727803AbgE2Q1b (ORCPT ); Fri, 29 May 2020 12:27:31 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:35204 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgE2Q1a (ORCPT ); Fri, 29 May 2020 12:27:30 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 7ADB11C0385; Fri, 29 May 2020 18:27:29 +0200 (CEST) Date: Fri, 29 May 2020 18:27:28 +0200 From: Pavel Machek To: Ondrej Jirman Cc: linux-sunxi@googlegroups.com, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Icenowy Zheng , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah Subject: Re: [PATCH v3 4/5] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone Message-ID: <20200529162728.GB3709@amd> References: <20200513212451.1919013-1-megous@megous.com> <20200513212451.1919013-5-megous@megous.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: <20200513212451.1919013-5-megous@megous.com> 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 --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for > display. >=20 > Backlight levels curve was optimized by Martijn Braam using a > lux meter. If it was possible to preserve lux values for individual settings in the comment somewhere... that would be nice :-). One day, it would be nice to have brightness settings in lux, so I could easily set matching levels on multiple devices, for example... Best regards, Pavel > + > +&backlight { > + power-supply =3D <®_ldo_io0>; > + /* > + * PWM backlight circuit on this PinePhone revision was changed since > + * 1.0, and the lowest PWM duty cycle that doesn't lead to backlight > + * being off is around 20%. Duty cycle for the lowest brightness level > + * also varries quite a bit between individual boards, so the lowest > + * value here was chosen as a safe default. > + */ > + brightness-levels =3D < > + 774 793 814 842 > + 882 935 1003 1088 > + 1192 1316 1462 1633 > + 1830 2054 2309 2596 > + 2916 3271 3664 4096>; > + num-interpolated-steps =3D <50>; > + default-brightness-level =3D <400>; --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl7RN/AACgkQMOfwapXb+vKbHQCgpslUZBfZdvt5G0n+46mybETz vjcAnj6Q0OeuWlJccqmIncSEyhdvvZh2 =w+1i -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B55FDC433DF for ; Fri, 29 May 2020 16:27:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7EE0F2075A for ; Fri, 29 May 2020 16:27:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Gsl94CLn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7EE0F2075A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9b2f/HDr1engmXglTQGGzxkXWrcxdhL+fNFUhjJAtnw=; b=Gsl94CLnWEwWP5OQ7uSKFqRB+ cMOAibXnwZ/YgWhyWK1Ky4MPOAcnCxdA9EA2o1/P7E3M0VQ33ZBOgb8GrAMvsIFdvwQwEMUS7uCMz X9HRZZI1s7kVO5w11LHS/n5v7bmzOJ3D9ClyQNVgk3o6GQ2TGMGrlz+Ha5qpD3tKaL8myFPAAnZ+g IgMPR6Be7jFNaY4CobMW9R1nKWNNlJC1QQGd2QkfQBG98nR+Ke1WCjdGMbgaU8nEvCvdkDbOZL8tJ 8ijsah573ggpWcA16Ao98rDuelqIsmvDYWQMvuMMrPE5gSZRaE1x3vRemRP23fRJ2PNO4cJ6lv4vi CIEFiiGUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jehrG-00017y-UP; Fri, 29 May 2020 16:27:46 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jehrC-00017K-U0 for linux-arm-kernel@lists.infradead.org; Fri, 29 May 2020 16:27:44 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 7ADB11C0385; Fri, 29 May 2020 18:27:29 +0200 (CEST) Date: Fri, 29 May 2020 18:27:28 +0200 From: Pavel Machek To: Ondrej Jirman Subject: Re: [PATCH v3 4/5] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone Message-ID: <20200529162728.GB3709@amd> References: <20200513212451.1919013-1-megous@megous.com> <20200513212451.1919013-5-megous@megous.com> MIME-Version: 1.0 In-Reply-To: <20200513212451.1919013-5-megous@megous.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200529_092743_117309_DA8121D7 X-CRM114-Status: GOOD ( 14.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Samuel Holland , David Airlie , Linus Walleij , Bhushan Shah , Chen-Yu Tsai , Maxime Ripard , linux-kernel@vger.kernel.org, Martijn Braam , linux-sunxi@googlegroups.com, Rob Herring , Thierry Reding , dri-devel@lists.freedesktop.org, Daniel Vetter , Sam Ravnborg , Luca Weiss , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Content-Type: multipart/mixed; boundary="===============5412632604176053436==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5412632604176053436== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for > display. >=20 > Backlight levels curve was optimized by Martijn Braam using a > lux meter. If it was possible to preserve lux values for individual settings in the comment somewhere... that would be nice :-). One day, it would be nice to have brightness settings in lux, so I could easily set matching levels on multiple devices, for example... Best regards, Pavel > + > +&backlight { > + power-supply =3D <®_ldo_io0>; > + /* > + * PWM backlight circuit on this PinePhone revision was changed since > + * 1.0, and the lowest PWM duty cycle that doesn't lead to backlight > + * being off is around 20%. Duty cycle for the lowest brightness level > + * also varries quite a bit between individual boards, so the lowest > + * value here was chosen as a safe default. > + */ > + brightness-levels =3D < > + 774 793 814 842 > + 882 935 1003 1088 > + 1192 1316 1462 1633 > + 1830 2054 2309 2596 > + 2916 3271 3664 4096>; > + num-interpolated-steps =3D <50>; > + default-brightness-level =3D <400>; --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl7RN/AACgkQMOfwapXb+vKbHQCgpslUZBfZdvt5G0n+46mybETz vjcAnj6Q0OeuWlJccqmIncSEyhdvvZh2 =w+1i -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- --===============5412632604176053436== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5412632604176053436==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5499C433E0 for ; Fri, 29 May 2020 16:27:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BFA892075A for ; Fri, 29 May 2020 16:27:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFA892075A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 150426E940; Fri, 29 May 2020 16:27:35 +0000 (UTC) Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4DAA66E940 for ; Fri, 29 May 2020 16:27:33 +0000 (UTC) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 7ADB11C0385; Fri, 29 May 2020 18:27:29 +0200 (CEST) Date: Fri, 29 May 2020 18:27:28 +0200 From: Pavel Machek To: Ondrej Jirman Subject: Re: [PATCH v3 4/5] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone Message-ID: <20200529162728.GB3709@amd> References: <20200513212451.1919013-1-megous@megous.com> <20200513212451.1919013-5-megous@megous.com> MIME-Version: 1.0 In-Reply-To: <20200513212451.1919013-5-megous@megous.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Samuel Holland , David Airlie , Bhushan Shah , Chen-Yu Tsai , linux-kernel@vger.kernel.org, Martijn Braam , linux-sunxi@googlegroups.com, Rob Herring , Thierry Reding , dri-devel@lists.freedesktop.org, Sam Ravnborg , Luca Weiss , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Content-Type: multipart/mixed; boundary="===============1819435197==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --===============1819435197== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for > display. >=20 > Backlight levels curve was optimized by Martijn Braam using a > lux meter. If it was possible to preserve lux values for individual settings in the comment somewhere... that would be nice :-). One day, it would be nice to have brightness settings in lux, so I could easily set matching levels on multiple devices, for example... Best regards, Pavel > + > +&backlight { > + power-supply =3D <®_ldo_io0>; > + /* > + * PWM backlight circuit on this PinePhone revision was changed since > + * 1.0, and the lowest PWM duty cycle that doesn't lead to backlight > + * being off is around 20%. Duty cycle for the lowest brightness level > + * also varries quite a bit between individual boards, so the lowest > + * value here was chosen as a safe default. > + */ > + brightness-levels =3D < > + 774 793 814 842 > + 882 935 1003 1088 > + 1192 1316 1462 1633 > + 1830 2054 2309 2596 > + 2916 3271 3664 4096>; > + num-interpolated-steps =3D <50>; > + default-brightness-level =3D <400>; --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl7RN/AACgkQMOfwapXb+vKbHQCgpslUZBfZdvt5G0n+46mybETz vjcAnj6Q0OeuWlJccqmIncSEyhdvvZh2 =w+1i -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- --===============1819435197== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1819435197==--