Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp210732lqb; Sat, 16 Mar 2024 00:22:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW66X9/RzOCi2e8fuSrTzUu8l6G9/bAGqVQHihxGj9a1b8HGzvINuWJ73V6DsL2vBibGNYgELBbBf9qn/olHTfQpQMnPLvrd1Tg6Ild4Q== X-Google-Smtp-Source: AGHT+IHm5G1pgMs+UOrN8xUHCB3EeIroVtD/4WMVRPGRxMJGGu63iNZhCO2Dy1CYXvN7sbtYK2y8 X-Received: by 2002:a05:6a00:2193:b0:6e6:d018:4a91 with SMTP id h19-20020a056a00219300b006e6d0184a91mr5895164pfi.29.1710573754860; Sat, 16 Mar 2024 00:22:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710573754; cv=pass; d=google.com; s=arc-20160816; b=nYfWJTHUtHulGjIAfHzhr2CoU93Wqsk5iKm0EIvAtjMjMwARGpy9CqRWmPRQjTd3/Z cpysc7YQEKIZ5dbLNBNkIw2a3jp96YcQz0KE1GKe3gzTYvzApwBYO0zZ1fHUXUGazItQ coxHMB+M1feWVcG+7KeGpSHhM1MKSP44OgGppE8K+HuF5SENehD21TAnkwDuqAST6ofY ldxzOLyIgkAcoL5NwB+DUWK0YryWVQmcGfyLyO1EzlaEiiaYZze/N5r1xJCqyLwUW5ib fZvDLxp97jYtRGWEcw0XBnO/dekffJnPwEHcj/VhgYj4NHLQ8tL/dWzGVzYxs0/tiaEr kNWw== 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=kvgXDfmmk2atpydRwI06QdTqaWm+Epz82kldxpOcICc=; fh=fO6ydPcEwGcI3fBDH0U4ChkfI2xHylGQq+j+PLvv1wY=; b=tEi3ab7Ch1MWo9pnx7XjFPxJRHSzTdZazArJTYL2YgvsfHRIKGx4lw15G41pA8YwrS xmA0vLCEBhUvCxw0G5K6QP8OT5xHMlxBaAKqSb0Kitgv8IS+aOYhtwMOCiCbvos0otOC 0AdPBdMtj6iAMBxLWEiKF1qMBO9tdu5toHD5OFhHHmkTC0p2XFZftxqAkleKgh7F9H7o ZFtfKL4KfDY6qQxlam5Iuk4Rm9MAwLwkLnV+oYVyytlpx2OQY6+HZyqfQH7a6dCDcLwt G61XTQG5zB0uc59a+cTwRQks7dV/8vrwZWoKbqMS0UDtJ43nsNyv3dMqFggFzbN6VmN/ y4Cg==; dara=google.com 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-105104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105104-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k144-20020a628496000000b006e64f08bb78si5038779pfd.70.2024.03.16.00.22.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 00:22:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-105104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105104-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AAC4FB213FC for ; Sat, 16 Mar 2024 07:22:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 414BAE560; Sat, 16 Mar 2024 07:22:26 +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 1208FDDA1 for ; Sat, 16 Mar 2024 07:22:23 +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=1710573745; cv=none; b=eQDoR48YYhJNpwYzMqBhOS9o6rS/jVULswWDcqc4YQOyveQj1GN/485gDpYtUiDXl+MaoUhWL6hdZ2bjYlN+9CBw4t6ij7HmgHjnL0gsbmVjNfjER9ZZ3vKsn8abq7jV3BqPGpz1p1TAX+m6IUUSYf0rc4HHbGwpF654P01ABaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710573745; c=relaxed/simple; bh=pUnA3ZcULXonblOYqam9q2cdP2RsvnjmROoWsMBoJIs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g35xdbPIkZ3/8kACdYaZTvkOzHOzJKL33ZfxR6wq6OkDzXcPFj7ClMeJWrOhdwM1gnTvuHLL/IGQmEL93QI1IZJ1c2q0vZnJ2cF0MhFTWo/Z5iXzwzxeLGfkLe5dVyrs3ruqZU2lmADrZYDDoj3r2UyiiLpdPibXRB9aC1tSMnU= 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 1rlOMq-00023s-Gk; Sat, 16 Mar 2024 08:22:08 +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 1rlOMn-006eVy-Fd; Sat, 16 Mar 2024 08:22:05 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rlOMn-0079PS-1F; Sat, 16 Mar 2024 08:22:05 +0100 Date: Sat, 16 Mar 2024 08:22:05 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Jisheng Zhang Cc: Jingbao Qiu , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dlan@gentoo.org, inochiama@outlook.com Subject: Re: [PATCH v5 2/2] pwm: sophgo: add pwm support for Sophgo CV1800 SoC Message-ID: References: <20240314100131.323540-1-qiujingbao.dlmu@gmail.com> <20240314100131.323540-3-qiujingbao.dlmu@gmail.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="s4lgqmjnyk5h5zzy" Content-Disposition: inline In-Reply-To: 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 --s4lgqmjnyk5h5zzy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Sat, Mar 16, 2024 at 09:41:46AM +0800, Jisheng Zhang wrote: > On Thu, Mar 14, 2024 at 06:01:31PM +0800, Jingbao Qiu wrote: > > +static void cv1800_pwm_set_oe(struct pwm_chip *chip, struct pwm_device= *pwm, > > + u32 mode) >=20 > Did you get any information about the capture support pwm controller? Instead of adding capture support to this pwm driver, I'd rather see support added to the counter subsystem. That's more versatile. See https://lore.kernel.org/linux-pwm/Y3aze3B6%2Fe5uWS%2FH@fedora for some more context. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --s4lgqmjnyk5h5zzy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmX1SJwACgkQj4D7WH0S /k6F+ggAks6uSCJiH1mbc45Emop15Wur2v3K91t2QJSqBoijti/USWld2/ZtveTC EcqQzoSjZP4QrYxr+jQybwfgNad47KtT/+IEOiq7Fhg8trvMiBTr5IUJUiQl3aSl qy3Iz49T0pBsm9FVzYcc9MB2B8I12hl1MHHAM+nh0p2gGeuwu3p89aFHCKgfnD08 3qikAnMFFVotItY+XhhQ6lgYw7PW89bD8HFbpEirHukSpzjuTA9SzAjcNXc+AC0T N64SQHAl/N37RGUdUiABy/Md3WrMxY4CD3+/cllXgSzj5P+QyT75RMzSrjDtlKaI IEHPm8ZLCn756hNE8bCRBy4BxQU6zg== =3u2N -----END PGP SIGNATURE----- --s4lgqmjnyk5h5zzy--