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=1796027109; b=i3c+jemOHVdhWYF0ZeBa76On0R2RdsHdauzTGGbJHfgK2a8O6B2XKwwNzXj0I71ruuxo iwA2WXyRlFDVjkIKbw9dkCGLcvxEaFnks7f361OukHMACz0jE+K+JY5oEVz7yZu2gUkhw 1z95Q8usVAk+DKufkH6ixx4EhUU7NoHCmL9jxhntk9JETlhnUxUHGw+E9t+2Uh+znq8d2 QSwEYEgwgDYr75HjdmFIwokpDhHNOUdYddFcvnZKJ9jv2LVGeC2xBDShvPs4vkXLYY/Yq WT2zry0ziNgVChcitH53ix/RKydCAZu+RaaMpg8qjSZ8YwT/3uHKahispLE14L0cjPQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796027109; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=gDG8eVV+VhP5EWKc5DNmuEMuB5PmnoeKrY6XVSm5qCQ=; b=gGM40YzCYoGCbyX1r1NZP3ae5Hi1AwyErSwu96YGBptS9Ynm7pUca7tJIhdVw6L029j9 CakgV/NHmzjLUK8oUJXSLlqU+1Yk9+xoKO5ZIy91YYS61E7tit7qmayDZhcI6Lh7DLz5F hDY6f6mctTRLV7TeTbLBiekY4K8agacnA5Vuvs3Cf0umlHCN+xtzFUxfJuuqC6oLZg5z1 av2wKfeYLU2EfT6MFNphAp0Y/KeNbpBMMRC6MIdeUcGGYJLhzm2dgtZ9JVLQtwA7d7JWy zOCQ96YUVsgebUzQxbJuGRt7LdScz3uFBqlUrG8Lcu35vGVJM1z/mLxMYjiI1mpRmcA== 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=CxhJcnxs; 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 ESMTPS id 750D3606A320; Mon, 30 Nov 2026 08:25:09 +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=CxhJcnxs Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B1491F00896; Mon, 30 Nov 2026 08:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796027109; bh=gDG8eVV+VhP5EWKc5DNmuEMuB5PmnoeKrY6XVSm5qCQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=CxhJcnxsKHnUIyxd2aGM5uVX5VhI4V0x9ILxhynb+mmFFcytFPbpVEd/n1oChMqND olylpk1vwPyRAbv5HEUa5YqoF6ZOGeXyZ24IkP8YXou99Cu7wRfrUQpJRPvA1QJ38F EsZ2pL5sHz//Hw5tD0zANSIvXERwd+XrRZqi0fzki9k1octqU6xDdaCVGxjs6qxWg4 TX6RWKdgChbQxQYD5KMq4yQVIloXoMHcP+fz/E/Bs0LdtK0A0iEXBeNZ4vYgc3AwkF EQYfC7r4ph4YCC4FLcCrVwOikVMh+a9NnZSIvZL11zTZfQnvj9SZX/2Huh1w+6PD+f nw5RQNU+JHdig== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v12 1/2] dt-bindings: clock: Add gpio-enabled-clock Reply-To: sashiko-reviews@lists.linux.dev To: "Vyacheslav Yurkov" Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261130-feature-clock-guard-v12-1-d0978ad15207@bruker.com> References: <20261130-feature-clock-guard-v12-0-d0978ad15207@bruker.com> <20261130-feature-clock-guard-v12-1-d0978ad15207@bruker.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 08:25:08 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] dt-bindings: clock: clock-output-names required for single-output clock - [Low] dt-bindings: clock: inconsistent property order in gpio-enabled-clock -- commit 4de5e714db611b25c9657a1bfe4bea32cde35ab0 Author: Vyacheslav Yurkov dt-bindings: clock: Add gpio-enabled-clock This commit adds a devicetree binding for a clock provider whose output rate comes from its parent clock and whose enabled state is reported via a GPIO. > diff --git a/Documentation/devicetree/bindings/clock/gpio-enabled-clock.y= aml b/Documentation/devicetree/bindings/clock/gpio-enabled-clock.yaml > new file mode 100644 > index 0000000000000..0eb0281309294 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/gpio-enabled-clock.yaml > @@ -0,0 +1,53 @@ [ ... ] > +properties: > + compatible: > + const: gpio-enabled-clock > + > + clocks: > + maxItems: 1 > + > + "#clock-cells": > + const: 0 > + > + clock-output-names: > + maxItems: 1 > + > + enabled-gpios: > + description: GPIO that indicates whether the clock is enabled or dis= abled. > + maxItems: 1 > + > + poll-timeout-us: > + description: Maximum time to wait for the enabled GPIO to be asserte= d. > + > +required: > + - compatible > + - "#clock-cells" > + - clocks > + - clock-output-names > + - enabled-gpios > + - poll-timeout-us [Severity: Low] Should clock-output-names be optional here? With #clock-cells fixed to 0, this is a single-output clock provider referenced directly by phandle, so the clock name can default to the devicetree node name when clock-output-names is omitted, matching sibling bindings such as gpio-gate-clock.yaml and fixed-clock.yaml. > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + clock { > + compatible =3D "gpio-enabled-clock"; > + #clock-cells =3D <0>; > + clocks =3D <&pll>; > + clock-output-names =3D "gpio-enabled-clock"; > + enabled-gpios =3D <&gpio0 4 GPIO_ACTIVE_HIGH>; > + poll-timeout-us =3D <20>; > + }; [Severity: Low] This isn't a bug, but properties lists clocks before #clock-cells, whereas required and examples place #clock-cells before clocks. Could required and the example follow the same canonical property order (compatible, clocks, #clock-cells, ...)? --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130-feature-cl= ock-guard-v12-0-d0978ad15207@bruker.com?part=3D1