Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp485463pxu; Fri, 23 Oct 2020 06:14:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDWU2jK7cFfYEP+RkngO29xwkTojEy85Lf7IkPlXofKaDGcGsCmC/3+M7lyxclmFFL8Qp2 X-Received: by 2002:a17:906:b197:: with SMTP id w23mr2025239ejy.166.1603458853622; Fri, 23 Oct 2020 06:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603458853; cv=none; d=google.com; s=arc-20160816; b=F/cBONVBAmXjBnaz+usfHmKgTvkzrLL8t1aR042dTOQ4F8Qd7SoY32gQNug3OgCrCy k/omFrfRz0ajWks74V/qU4vHhz5rGrRI0CpfQ2axSy5iXxeawLqvXOCh3HiC8/YzhOO3 6EuEqFWlA4M0yB46Cqvb3JF1tDkptqvcvTxGxvfOreFvUDTiEkn9Kua4deff+5CseaLW yh8/O0qVyGzZvwRtdPRrwsfqFtAecRK7N0e0W9/AW6Kd0huDZfnR+avATyjH8bOK4v/t WrHtVihhR3suc8gX7AP6j8hpRpArJOLPj2GI3GbqJAjWPwg3ckTsXWoJ2A7+azX06EgG 9//g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XqZRiMhuJbb9xQjfZ/Kso8UhUVd+NGKCMF23xD+oK5A=; b=r/e4O9rQearsBqwCasHzMDY3ZsAnb5yi3QUxt4v8Rb0O6K8pbF9IM6/I1gYb3e9mqV fqJi0HRZi0vr+4h90bxy/E12uEFSdruV14UpcQhK8UTm2Os67XWouf42TffiUIi28DQH K/vEWwEayCit9G3hiMSCMuJB+qjCPxouYvOIJ66hMNPcJPY9MaABTTXeaK9QStRIYkdK hVOlx0M03WLxxH4qNerCtC6Q9ao5Ywr+8lO5uOAoioXb0ja3tmaBZ6xkEdjXJu3dPL9X hb8R+mYVgIj3VuA/kTO+sB98G6IbeDFHdSXyGA0KpiKMyLkeqTDMSnqiKaQKNThnCWzZ b6+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G0PWbSpx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi9si985852edb.4.2020.10.23.06.13.51; Fri, 23 Oct 2020 06:14:13 -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; dkim=pass header.i=@chromium.org header.s=google header.b=G0PWbSpx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S373222AbgJVXIN (ORCPT + 99 others); Thu, 22 Oct 2020 19:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S373217AbgJVXIM (ORCPT ); Thu, 22 Oct 2020 19:08:12 -0400 Received: from mail-vk1-xa44.google.com (mail-vk1-xa44.google.com [IPv6:2607:f8b0:4864:20::a44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAEEBC0613CE for ; Thu, 22 Oct 2020 16:08:12 -0700 (PDT) Received: by mail-vk1-xa44.google.com with SMTP id i62so769221vkb.7 for ; Thu, 22 Oct 2020 16:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XqZRiMhuJbb9xQjfZ/Kso8UhUVd+NGKCMF23xD+oK5A=; b=G0PWbSpxIEODLM5nxyFaH4wcSC5Tof/eTKvTFJfDjb4jdSxh2k8WP0w07CycnNkqSs uVupbWaEV3DgvKcdVUr023+qrEjkshzPyyEO/uc3JhL9c/OIwsiOvagKq1aJG5DeQy7e iP06v2r5JX4Qjn83Q+ncdtCN2QZf0gf30vzfM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XqZRiMhuJbb9xQjfZ/Kso8UhUVd+NGKCMF23xD+oK5A=; b=lIimYo312PzVg9mFOhBZnWgceaedDXJsae7v6OLRnNTBt+kSUkChYy/o+HyiDLyPgT TPMDUM3N2xJOvYmdZFSnZAjx9imo5O65PPPgl90uvRsVK1lRftZ0jukiK9gUPpwC81oR tqPWLVDpyWRHNyr4lFsik9ODlkgKzN61qO3Oe4jhFa2wVJM5XjQwsKkFiPPYXSeM7qm+ mvwDhysJtd9et9kkUxnCqFPhjj9JM7v/ECEec91ux0h6+mRBd6gR1AKbY1vpZr8w6L1r AalnYpXy4ptiZDOD4vs7nXWTQjDjlfH2bLq+/6nm+wy+gcO2F5JpfhAdShrK25Njzboi qI6A== X-Gm-Message-State: AOAM531wJ+ikcGk8gdZk+qUS1qi3xhlkCpK/8UiHxOPJ2IAweus3qCTZ suUYLnfrc4ijMMRwZBlg/zkVb3jE82+G0g== X-Received: by 2002:a1f:a801:: with SMTP id r1mr3809170vke.1.1603408091459; Thu, 22 Oct 2020 16:08:11 -0700 (PDT) Received: from mail-ua1-f51.google.com (mail-ua1-f51.google.com. [209.85.222.51]) by smtp.gmail.com with ESMTPSA id s70sm484541vka.45.2020.10.22.16.08.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 16:08:10 -0700 (PDT) Received: by mail-ua1-f51.google.com with SMTP id r9so957184uat.12 for ; Thu, 22 Oct 2020 16:08:10 -0700 (PDT) X-Received: by 2002:a9f:31ce:: with SMTP id w14mr3531663uad.104.1603408090224; Thu, 22 Oct 2020 16:08:10 -0700 (PDT) MIME-Version: 1.0 References: <20201022050445.930403-1-amstan@chromium.org> <20201021220404.v3.2.Ie4d84af5a85e8dcb8f575845518fa39f324a827d@changeid> In-Reply-To: <20201021220404.v3.2.Ie4d84af5a85e8dcb8f575845518fa39f324a827d@changeid> From: Doug Anderson Date: Thu, 22 Oct 2020 16:07:58 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/3] arm64: dts: qcom: trogdor: Add brightness-levels To: Alexandru Stan Cc: Heiko Stuebner , Rob Herring , Andy Gross , Bjorn Andersson , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , Matthias Kaehlcke , Enric Balletbo i Serra , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Oct 21, 2020 at 10:05 PM Alexandru Stan wrote: > > We want userspace to represent the human perceived brightness. > Since the led drivers and the leds themselves don't have a > linear response to the value we give them in terms of perceived > brightness, we'll bake the curve into the dts. > > The panel also doesn't have a good response under 5%, so we'll avoid > sending it anything lower than that. > > Note: Ideally this patch should be coupled with the driver change from > "backlight: pwm_bl: Fix interpolation", but it can work without it, > without looking too ugly. > > Signed-off-by: Alexandru Stan > --- > > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) Reviewed-by: Douglas Anderson