Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1863410lqa; Tue, 30 Apr 2024 01:07:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXhocjk8gpMzVDHIMV5fySqzru6NXwzKv8l4V8BawPawfzEaClmOoMRjQMKDQ5DjLX/DY+2SopDPMBL+4Dhr/SIso1WeRj8W2LLhS5kw== X-Google-Smtp-Source: AGHT+IH4W1oMR4T5Uc8vjdJyS1mwiFhO2+vJDcDi+VbbtljRLZ60fCSVrlSCGnFQUJBD2wfovdlS X-Received: by 2002:a05:6a21:2b13:b0:1ab:639c:ef65 with SMTP id ss19-20020a056a212b1300b001ab639cef65mr15331446pzb.29.1714464448577; Tue, 30 Apr 2024 01:07:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714464448; cv=pass; d=google.com; s=arc-20160816; b=zE7uU7KAT03jjsdn/oHAMyRDZhWWh4z2/HfEeVa1ExRBGfE/T+FoHc1G+o6WKLUoKU X/EulQeo1HExjahJq8DFAHfysVtxYaf0XIJ7bUGisc60bdRzbOEJqe4ekCmhuXcThMgq M9Cwd6uMl9T+0elioJfi3499eFbioGwocbnorUVfSQm5907lyTNOhJx5YHmfl9/Amij2 MTr4jLmY22nDUA2mP+uz2h6OV/QN3jIFaF7P5AtfCpHU7C6jzpuMPWHIPZq6nTXD2zGw 0VKBLg31oXVxTWu99HG6vnGjRk1yWdfxMI7XVdep7Pu8OGELlENl4HvhVSfeyZy7v+rL hkfw== 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=/OACb8CveuT3EKZwACsT3oxJZKfpVXxDkMmzvwYbuVE=; fh=FZhUgqPIwFzTNggtvS8tkT7Pe9WXFE2rJutacjWo38w=; b=QcV7EVDn7lP6O4NmESOvAxlX0XeYACdsxZ83AOoc3GSePdywMK77P5efyjYAnPG/Ik JnalTnxldxmzigqOJc5eURx2JFJzHbtD01dOp+tsp6+D7v51zcNOPQk4wFEDfTcIR7C4 Yb48BhZM84FDu2EjwO6SlhCe2YedTseMRNPRc43GsMpEIyCTGP5KA9xSyeDn5EtoS3XM kmH2lAF6D+H57fFUJTADEmX5w+/8BOT8+xTkxf111mLGnTDUOgok1dSCAk0CeAmUCyfZ t0vKON6yjNU/qZ+7PlMhSq5LZvk0KNXQ1q2td1x5XZoZlkqQK7iCFcxlIsKjS25dn5Nq C8kQ==; 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-163521-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163521-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i2-20020a636d02000000b005f7ddef45bfsi20427889pgc.789.2024.04.30.01.07.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 01:07:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163521-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-163521-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163521-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AFD042837B0 for ; Tue, 30 Apr 2024 08:07:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB9C9537F1; Tue, 30 Apr 2024 08:07:17 +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 5427251C21 for ; Tue, 30 Apr 2024 08:07:15 +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=1714464437; cv=none; b=D1SX/MM9G/wQS7aDfo9jOmkC9Khj//Z/VTk+Kl0bfQpdYz//C/My4RAATkq+cEMPf/YTcS4SLhmDUxoZgmHAOGbYS8qE5C0nV5UCbbg3D32wQZCQ6epTnuZ8fmbA1iNsuBODoZ10xz84+9BnyueL9W7FAgfVxD7hqGescRj7UKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714464437; c=relaxed/simple; bh=GoMxzXO5ebIMyjF2fiATnKrXyv8nC1H9D+ggXt8GkRg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ocrpMi8MGS4YVppMPftrrLT33p1pS2JlIZ5X+5qEz7qf48KIZ1OrXSuebSAP3stLEsxvcV+tSCcfwoX2HB/t1TgQJAd9fS3U8Cm9wHIadnmjsJS9ICqkJwVYkD+TAKn2GdBpVMzILoyHGZVehU/owBc/f2ITZLry7zi1EoPYLKQ= 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 1s1iVq-0003Ve-AI; Tue, 30 Apr 2024 10:06:54 +0200 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 1s1iVp-00F85P-5q; Tue, 30 Apr 2024 10:06:53 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1s1iVp-00BzUv-0H; Tue, 30 Apr 2024 10:06:53 +0200 Date: Tue, 30 Apr 2024 10:06:52 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Jingbao Qiu Cc: robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, inochiama@outlook.com, 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 Subject: Re: [PATCH v6 2/2] pwm: sophgo: add pwm support for Sophgo CV1800 SoC Message-ID: References: <20240406063413.3334639-1-qiujingbao.dlmu@gmail.com> <20240406063413.3334639-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="l6zw653cypgpdhtk" 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 --l6zw653cypgpdhtk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Jingbao, On Tue, Apr 30, 2024 at 12:36:56PM +0800, Jingbao Qiu wrote: > On Mon, Apr 29, 2024 at 10:54=E2=80=AFPM Uwe Kleine-K=C3=B6nig > wrote: > > On Sat, Apr 06, 2024 at 02:34:13PM +0800, Jingbao Qiu wrote: > > > + * Limitations: > > > + * - It output low when PWM channel disabled. > > > > Just to be sure: the output is low independant of the POLARITY register? >=20 > When the value of the POLARITY register is 1, the PWM outputs a high leve= l. > When the value of the POLARITY register is 0, the PWM output is low. > Should I make this point here? So that's: The hardware emits the inactive level when disabled. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | Industrial Linux Solutions | https://www.pengutronix.de/ | --l6zw653cypgpdhtk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYwppwACgkQj4D7WH0S /k407wf/XEqAv+lfE2x1df8bBAO98sRXO0K23AiMkSaqemGqt0dnc3Plae17H1Uz 1U6g2M6M7JvkKCCdXcfkuekzcd9DF9f8OoQrQbyA0wkedI+rbxxci8JJIJFUvNjv MoSt86M2sI0hIxAB4jDy2GoTVcrheo9P9pPI6QbLhVz20YFbs2uF0xP1/oVETwMN DKghx1EVZOe4Xx32dXr35Cp1QuPpxFhvqvEnEO84bcU4Dk9jZmiHvf4hnl1yB/7O 4ICrIDwj9xlLd4CWGYgSAqKU2J6YhAc9PXRHKxEtJqixKiRTV5HnqihGbTGKHNFp YbzbadVrS3rgPT3AU/gbpZDniis32Q== =B9+q -----END PGP SIGNATURE----- --l6zw653cypgpdhtk--