Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp677239ybm; Fri, 29 May 2020 09:30:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0nPQ7j12InxadWimcYCdWCM08ELRnsX7Y2TSN9m5bEUhBMhrwrgZ1Zyc3NtWgCAYBCE0d X-Received: by 2002:a17:906:cede:: with SMTP id si30mr3480430ejb.315.1590769825775; Fri, 29 May 2020 09:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590769825; cv=none; d=google.com; s=arc-20160816; b=Tio8C11UuG2vxL0ejr6+AC7B2rCYXqhP20bpTRr7YmcXsX5kuXup5VqgRxfAlCxbhx irLZXBS0qyIoT1cpNsPon6j9iTVFWGDX+GHQ6+tfpoWFu9tul3A8cnxoQvDvqGVkzY+t 6Pt8ZV6PyE4DBl7PZemBAou5V+salP5+GXTsdPViWTYQwOtMMWV9V5ACNICVFx5J888K MPaKBx9UpFT8YhSP9EG9boly322guJ5VnCZjPt55xF1D+UIlqqh1WRsjka7kJSEn3ahJ 90HSgprXgBa3u9hdnzu0Pk24sXrJ0bSVOxhqQN+/KFrRDp8G1WJbXbS+wRh6JkU62ueX 3yRQ== 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=4GushWxWyt/HSaKZz1I8R+ePtAPayREmZuoPa2mdi0g=; b=fQx+RaBH67MlD6f4wsFEw00iLMB2AtWC6qzobSz41Nc28XV8x3IR/GlCaO7Jpx7lFC F8d4Y6d/gMRaC3/t9DCFGT0H13QqejG8rWdJ6ft8/uM7ZpMay9Ao8xO+oQ+d+D8170r0 WuFrpqUlOuJPT4Y6wRIIzsnG3vz+pIcXfih/aeSMqaDSgb9K8MF5VucXDZWQSoZFrZ2L 3MLnCJLB/YJZ6pVMey23bQ1In65YN1kgoROst3hCVYDE0Pfvl7XfuacolHmYn6SKSFOD bJGEdsUypTVL47P6RXZTw/t7EvxOGqV+r0WFpxIOj7H3bpteVV5dpvNxLWEdOO/9qQ34 9LaQ== 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 u15si3019963edq.598.2020.05.29.09.30.02; Fri, 29 May 2020 09:30:25 -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 S1727779AbgE2Q1b (ORCPT + 99 others); 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--