Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1141454pxb; Wed, 6 Apr 2022 09:40:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxsieedkLqWNU89F8MXEhU1m8N8ABLOuTaEE7glMhB/S5PmvVFLEsEGLNJNu7Qq1PrDTKR X-Received: by 2002:a17:90b:4f81:b0:1ca:b362:1524 with SMTP id qe1-20020a17090b4f8100b001cab3621524mr10924673pjb.114.1649263208135; Wed, 06 Apr 2022 09:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649263208; cv=none; d=google.com; s=arc-20160816; b=p7jjA8l4NZODkPOgurIC0y0TFCv5sOoNdyX7+pg2cyskl3kboUvOmBe2nVRToboUtK U0T6sIo5H9w8CraGH7d/BNsa0k3Mw8pEsecVAg5NkP9Cj4mHV+xpgRAhNz/qbz6Kkt04 x7zNDJw2FrIYS16qgPntfOsnvKCn3oY+eGSTnFtYg7JmFSSEOrYG0rCF0koLrXOeElFS nis+a+B57N3RNupbA24F+clmoIdoOVRPaZRgzmeCgPaexl+2E4Q/WJCvfcBfyqJjmg6y I0ZtGwo7LANwSd7d7MTImr6zTZeoOuMGlXVsh9cMXzE1emBQo5c9ihHWne/8HPElacBb FUDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sQgeqlSt8WNZIvp5sPabnF2oSju6G8WZiNt6pxVktjs=; b=dscq4mRWIiZ2l4shVbTE3Gi7uALgsrTIc+kZCD2bFw42u0oF1pomxu306q31e6m8n6 SmYJNyJWleFGJgU7AtqmXJFd/oMT16A+lqky9ro28v+HKtiIGyMY5rpHvsxTV8aksWxT T9Gg0QH1AnajYB0O/yJKsgQRdVk+BEAaScX6ViDEukX758b8aDey2MMUDoT6KIFVgzJp AHoddoJWN8+IXP3ftEAFQ6tU1rGQT6/QCvoNDyilXTtzNirrwVtgUufzWK/yQUuLOrh/ GRxd/dHuE1Dxc3xu0aHYZbgt56WjGpuuFI0T8i3UECMiXYxtZY/JSYtNbNDhqpUgLkZB sCNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPT1GL31; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b3-20020a637143000000b0039890725054si16484309pgn.711.2022.04.06.09.40.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:40:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPT1GL31; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A8D72AA1BF; Wed, 6 Apr 2022 09:31:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237869AbiDFQdf (ORCPT + 99 others); Wed, 6 Apr 2022 12:33:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238330AbiDFQc5 (ORCPT ); Wed, 6 Apr 2022 12:32:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 112C6220B0A; Tue, 5 Apr 2022 18:23:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C96D619B3; Wed, 6 Apr 2022 01:23:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9027AC385A1; Wed, 6 Apr 2022 01:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649208236; bh=y610PixkxE0FbqCL6lBrY29URlY0CZAXClPdmkzBRr8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mPT1GL31n6ypgG8+0qeuiomp4TGySTjAhFA1JoBIEH4K6CR2KfpyHO0IfL9ksSOyo v1o9u56Y/wVLQCrdJzucyk86wNkIe5XNeC/Vb+XHGU0ASvnAKTdfdt6klXsKbbTjdD AdCjGtPjCp9IpQVGCZzS8EhDuF6lBOfUwbM4hma6sppIYVWSMhp9zMP6D+I7SHobpV 68YfptgKuHu/pfZ/xKk6/DSmloIy5b85XZ+zQE58B4lRS7Gy+P+TwxHRQ/EWLyriga PAxTJ0yjK+XOmAMZ0Eg077Rs85AQsgqjk9sgvGaSbxSCLUTQ5TPjy9gwenbIKvBX4h jb5R27IhVqK+A== Date: Wed, 6 Apr 2022 09:23:48 +0800 From: Shawn Guo To: Oleksij Rempel Cc: Mark Rutland , Rob Herring , Sascha Hauer , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , David Jander , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Robin van der Gracht , dri-devel@lists.freedesktop.org Subject: Re: [PATCH v1 1/8] ARM: dts: imx6qdl-vicut1/vicutgo: Set default backlight brightness to maximum Message-ID: <20220406012348.GE129381@dragon> References: <20220221095312.3692669-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220221095312.3692669-1-o.rempel@pengutronix.de> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 21, 2022 at 10:53:05AM +0100, Oleksij Rempel wrote: > From: David Jander > > Recover default behavior of the device and set maximal brightness > > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/imx6dl-victgo.dts | 2 +- > arch/arm/boot/dts/imx6qdl-vicut1.dtsi | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6dl-victgo.dts b/arch/arm/boot/dts/imx6dl-victgo.dts > index 227c952543d4..e6134efbfabd 100644 > --- a/arch/arm/boot/dts/imx6dl-victgo.dts > +++ b/arch/arm/boot/dts/imx6dl-victgo.dts > @@ -28,7 +28,7 @@ backlight: backlight { > pwms = <&pwm1 0 5000000 0>; > brightness-levels = <0 16 64 255>; > num-interpolated-steps = <16>; > - default-brightness-level = <1>; > + default-brightness-level = <48>; Please take a look at the documentation of the property. default-brightness-level: description: The default brightness level (index into the array defined by the "brightness-levels" property). Shawn > power-supply = <®_3v3>; > enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; > }; > diff --git a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi > index 1ac7e13249d2..c1d06bc28c67 100644 > --- a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi > @@ -23,7 +23,7 @@ backlight: backlight { > pwms = <&pwm1 0 5000000 0>; > brightness-levels = <0 16 64 255>; > num-interpolated-steps = <16>; > - default-brightness-level = <1>; > + default-brightness-level = <48>; > power-supply = <®_3v3>; > enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; > }; > -- > 2.30.2 >