From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796035362; b=j7LMgR5J1dzYa+VHD5nhkvt0cYtM7tr/Ncy6Mu1bmVe8DftePLmkBYLsW8NhgjW7Dmkr wJZjGnt4FzW0rPabkooYMzQH204M6ws3aw6kuwf3hWasHUlhTYsReyapkP+IOxUMHysaG HlHERk72XNX+zHR8/rXygevDR9y/xTfd7C6rctgkX6rJpxfl0rIjP3tfRBCZv7WMaqIj8 ZZZT7YhSg8TGSR2wjSkq2QaPCDhncnvILF4yzUrI0n0r+gvRtZ835B76LtApR4b+9dZ5t JpEwy4sf9E1rEFPmWn2AO3V6lFBXbfJfoLxSmXR6RdvZHM68cqQUVQiqi5RQUdijuRA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796035362; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=L1iNzWPYKp47T8jFWAzrbDGwI3tI0FwU5v88aavrdyk=; b=z1cCPb3AsMoa4uNvFXC2ExT++QTrh8Fun8wx/+XNq1zBETayeNOgjSzrRq4dZ8MjXu5h GEdcf67VAhw7cHxRuUS5CRsFvs9on8XA7So50wQ77+Ov8TaHbLdIIUIDCivijffmWuJ+g vbEufGbljAqBljpww7omQMruHVWrdD13cuG4iNrnnls9ouR9LtaQp+YhNeqYPA02qjDef V0ZxLcJJFgT9BnjeM9T+AQ8EQ46dLwBt3wRUGa/8UtUKjO69kN1SVOKB8BwfyxrEcxUIb gPV65NXfH9vWK3Re4VWqMDMyyfZfKC1QopRsEEtYkB4PtxFA6wMwrFDV5IzLLsb9twg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=D0FOpaLi; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 1F4BF606A31C; Mon, 30 Nov 2026 10:42:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=D0FOpaLi Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 08D701F0089A; Mon, 30 Nov 2026 10:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796035361; bh=L1iNzWPYKp47T8jFWAzrbDGwI3tI0FwU5v88aavrdyk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=D0FOpaLiYDyxQItQw1jwyvcxlu1E3i9ll8VXRiS1IjSoc+8juXGF38BiO+RBny/mT S/bc1oNv1w1xPedDAY5KjVN/E10zZxJPvCkjyDT29w3Sj43GVqz3nNqydjFZ1iv8WF b+lcbO6pZGhArinyHtuzoCiGV+30imWOTL+VNSCVPkfvlyh2o4BqxjPmP6xs38r6xr ZqVXKLYYejlOs/M661rOqRTFFOtAgZplnLJY1iYmuS3Zh59HA4qNYjv/UX/FFC583R EGcWR0VEa1vC5SkhwlQsYu/+dQj1FARKeuCKwZueydB0/jYA3cW64mYwEEUfWM6Cdg t0Jc7VjTxQ4ew== Date: Mon, 30 Nov 2026 11:42:39 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Changhuang Liang Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Hal Feng Subject: Re: [PATCH v1 1/2] dt-bindings: pwm: opencores: Add starfive,jhb100-pwm Message-ID: References: <20261019110855.52420-1-changhuang.liang@starfivetech.com> <20261019110855.52420-2-changhuang.liang@starfivetech.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wbqtprh2hfef4xay" Content-Disposition: inline In-Reply-To: <20261019110855.52420-2-changhuang.liang@starfivetech.com> --wbqtprh2hfef4xay Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v1 1/2] dt-bindings: pwm: opencores: Add starfive,jhb100-pwm MIME-Version: 1.0 On Mon, Oct 19, 2026 at 04:08:54AM -0700, Changhuang Liang wrote: > Add a new compatible string "starfive,jhb100-pwm" for the PWM > controller found on the StarFive JHB100 SoC. >=20 > The StarFive JHB100 PWM is based on the OpenCores PWM v1 controller > but with a modification: the polarity has been changed from inverted > to normal. The generic opencores,pwm-v1 hardware only supports > inverted polarity, so the JHB100 variant cannot reuse the > "opencores,pwm-v1" fallback and must be described with a standalone > compatible string. >=20 > Signed-off-by: Changhuang Liang > --- > .../devicetree/bindings/pwm/opencores,pwm.yaml | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml b/D= ocumentation/devicetree/bindings/pwm/opencores,pwm.yaml > index b15468f97b59..a7798310d350 100644 I tried to `git am` this patch series, but it fails to apply and git wails: error: sha1 information is lacking or useless (Documentation/devicetree/bi= ndings/pwm/opencores,pwm.yaml). Indeed I don't have b15468f97b59 in my linux.git. Please use a known tree as base for your changes and ideally use the --base option for format-patch to document that. > --- a/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml > +++ b/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml > @@ -19,11 +19,13 @@ allOf: > =20 > properties: > compatible: > - items: > - - enum: > - - starfive,jh7100-pwm > - - starfive,jh7110-pwm > - - const: opencores,pwm-v1 > + oneOf: > + - items: > + - enum: > + - starfive,jh7100-pwm > + - starfive,jh7110-pwm > + - const: opencores,pwm-v1 > + - const: starfive,jhb100-pwm The starfive,jhb100-pwm variant isn't v2 as it is a modification that Starfive implemented for that SoC only and opencores isn't involved, right? Best regards Uwe --wbqtprh2hfef4xay Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmsNUxsACgkQj4D7WH0S /k6YLgf/Um84PFK2HC4Ly1fofqdGz6UOw2OfH535jAvQf43umAj/Jz8BJ/kuTRl8 1t1SbIGazSP8gLsccLMQ91gzwPU3Kfne6bjTxvEdku25cNM5dIyJSFXUkiWosc3Z ryCcJARbg64KTUXMwqVOp3kTobuhtxiAYkaxxbKbVag4hXU4j5eaE2kUzaYc1X7L a3o4WTqPK3aMkSVZJfMnAW7UowGBIPipNjvlZ9r5+a3QlTPuDKAX+5Z1sBg+4tgI lp/v5LdWWUZl2VCXl1a2VCIGuYCgewLReB3vWgRBSYdRGvGn7ojj4YLCaRY3h2XV HHyD3ZsTxpskDbXew6gU7aBJ6y35Ig== =viFe -----END PGP SIGNATURE----- --wbqtprh2hfef4xay--