Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp224966rdb; Thu, 25 Jan 2024 13:14:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNw7plbisCBixTqHFgq1uMn4BGxg3BdwYMVofeRSDDMQLgXWcnHZvtCoV0F0ef940ZdH1j X-Received: by 2002:a05:6808:2e8c:b0:3bd:9fd1:7fd6 with SMTP id gt12-20020a0568082e8c00b003bd9fd17fd6mr470581oib.76.1706217260882; Thu, 25 Jan 2024 13:14:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706217260; cv=pass; d=google.com; s=arc-20160816; b=xQ8kUwvy7z70UgxSaNzDAVWdK24sP+Kfp8ygwYhdVWNY2+c8sy3k616zjwTDU2ilwP mCGCy+qg8hnEUN6W+JLuwZEtn/KlhD/bLhbHQxalxBQiHr/JjdVyxIiSaM96HhqOjolz n4sqTB+NAdpwbRNMo9nnkvYmLqcXE1LDZd3quqtSLPhyRX76rDSR1B0D/6syUskOEDI4 RFY7lgVAH8FnU6JmXH+jJldyO4eOsnCTPJ5ZS53QjlmL8Imk/Aw8pUPNsdJCtvPIcJtD gJ2aWfDxmGT8RVS567S81JmO+NcABJwIY/lnZYGczZ/qj50QNwibmUH9aOKkHu/yGvE0 zYcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=WGEHR614vP0PBGEfjZyx1haTt+NDVQiNjlXD3baynfA=; fh=l9c/hvNyVQkcLLhOb6+8R1zPbynnlHL2jjkJDDkwWqE=; b=a2frijoCUpUpUTyJ4Dhu/eOKnoaXDx7e4IdQTlY6V/uEFRSe4rQ+pbLFdde1Z41v7U X3q9g32LoorJniPtO3Y/DWwhG352h2Ig9vyGSkDgyRt6KywckX7pc3ZbZvYyiuXuv0IT 2IEe2cFnQAoAg/YoC6VW1Rekz1Ql8/hdm2utD5Ly1dnRk1jzRifEvtqptUbQY0z9UsQ2 oCcvr55mwJcVs7rrYgp5zCA/S5cte0IoiS0sdcIHkXlpq3La+jU+y98ECuocT+p7vvpD 5D5nEPMYy62hz/tFZnu8uTNUyKFyvd+u7f0lLI4wVUErYI9a3sQExsAnhKs+wnR/AYJ0 hejQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-39295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39295-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p7-20020a05620a22a700b007837e9e6f93si13063381qkh.612.2024.01.25.13.14.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 13:14:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-39295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39295-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9D8131C2372D for ; Thu, 25 Jan 2024 21:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A223513A24B; Thu, 25 Jan 2024 21:13:47 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66D961386D5 for ; Thu, 25 Jan 2024 21:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706217227; cv=none; b=igQRBtE1sk/+OafHmsVqIVR4jXbFMEv0Vgz1XhiRlnpJRAtUMs7wBCCOePlUmm0yiv1uS+BG2l52GNarwao1RqnkI2Anin1zZprrP+BBFEXgkutQDy92OMkSw5QTahbIOjAjX9sEKluxQV+Yer0QU7oLlFF1S4FI4AjEztK6cMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706217227; c=relaxed/simple; bh=XfTpl7ZCji0713DaXc5kyRqYgTqhfhPAce0nC47R2Wg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IOtiCjVunpRXFa56BiZb5M76swnAjYhLrTm+UUQ6+MNMDtTRSwP8iSQ1ms8nMd+pHNtDXByBbo+c3Szc500vDN5L0B6AssaIdkMwFC9qckLfwlkyvWnaPu6xTMmxmTpp1Jy8YD9MNDzm0RyNM2WII05kYDPC4ONeUHJCVUzplWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rT72W-0002Y5-4f; Thu, 25 Jan 2024 22:13:36 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rT72U-002N34-VD; Thu, 25 Jan 2024 22:13:34 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rT72U-00893Q-2o; Thu, 25 Jan 2024 22:13:34 +0100 Date: Thu, 25 Jan 2024 22:13:34 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Wenhua Lin Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Chunyan Zhang , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, wenhua lin , Xiongpeng Wu , zhaochen su , Zhaochen Su , Xiaolong Wang Subject: Re: [PATCH V2 2/6] pwm: sprd: Improve the pwm backlight control function Message-ID: References: <20240125025533.10315-1-Wenhua.Lin@unisoc.com> <20240125025533.10315-3-Wenhua.Lin@unisoc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d3eufueza5633f7n" Content-Disposition: inline In-Reply-To: <20240125025533.10315-3-Wenhua.Lin@unisoc.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --d3eufueza5633f7n Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Thu, Jan 25, 2024 at 10:55:29AM +0800, Wenhua Lin wrote: > The pwm-sprd driver support only 8-bit linear control of backlight. Now, > new requests of supporting 9-bit, 10-bit, 11-bit and 12-bit linear > control of backlight are proposed. I would expect that you can determine a sensible value for mod at runtime. Also adding this to the device tree isn't hardware description, is it? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --d3eufueza5633f7n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmWyzv0ACgkQj4D7WH0S /k7Azgf/dUHAPnyIf/XXxctd065kx6rEUD/YFEWzCK3lpm00SgG6+Ed/IGxfJp9x y3xeE2QT+vmt1LR2ZppdkUgtiSX3NcSmRTY7cK9zX45KJetARln7vBIuK0kLZE4k nK6cr+09OoQNXpWXRygk+DeLzpds5yK8o2uviAin4R2OLfzpalzofVg2zHXKeTfN hkNWCftPeSpBuK4/AO4SpBzbI40ZB689Ge13KxTnWsfNVvJvprWD4mQMrnYYz9S0 pDTYwcyfKH/e7yv7u4taoEmH0DK6qkNHaPvYC4T1TaJ1ifPSsw1MtlGBEndm6arT ASx7tzFbkJQyb/CC9p9lcYa8KO0YYA== =uuTL -----END PGP SIGNATURE----- --d3eufueza5633f7n--