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=1796254269; b=2p9l7GzCN0c/4sBIIuL4HR10Gg4rnnbfKclxRSCDPG/+JCX99vOHmczTbPxAJs2FkpNq aHOBx7oGpPVNmGZbtRt3QdEMR/f2lf6V1P0lwXOBKMyzyTl209zGUx8MviVUEQoJTtCp6 tl88MrLYD932FWMMBIE++YUPsnsp/msYzcTEpFupx3li8w/zWjIfeihKddtlo3B6Pe/Xo 43OKlUpIrdfHDmQsceJ3n8Q2Xt9uqk7MKyIVZODGKz6mjaV09N+2zotFkA1Db8PsoD92w +573vqKDJfb5eUZwTu0csvCYs+yTxYiLXnqnvfAJA3L3DwbkWvaAuy3QPPSWWgYhsuQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796254269; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=gR2j1spb6dThSalLKX7nIWFgFMnPTFMcuVYjtOoLMYU=; b=h0HMRmHABb254/jOC0l/7JuYSC57bZcHbrXjpPcVVzhKHFtJsjg7kI0WbGMPMXMtyy8R svdGTUlmSRo7RY1HZX3H4C5966yE8ZETGCdxXRMiBjy+fGZP/wv92/K4bh4cERe/pS4Er wp0pm4Echodu/xI3kYnZ1XTgRHoAHD+1kNGMTDZt8V+DEZGodzo+I4n+CJCY4AcO4876Q 7UubJ4o4POlchDI9gvUOLXq9ZTChLK9xlJH6Ai7F1kH6av/c8VZ63ur174MbDPeu5lkS6 AEUogyHebBzx4h5/G+vXzZBa/esw2H+uOK/A+PKnlGCyhlmqHny34q+U8oPhO3FvnsA== 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=NxHopINg; 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 6B826606A322; Wed, 2 Dec 2026 23:31: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=NxHopINg Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5D4E1F00893; Wed, 2 Dec 2026 23:31:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796254269; bh=gR2j1spb6dThSalLKX7nIWFgFMnPTFMcuVYjtOoLMYU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NxHopINg01zDKMHRni/wtre5kK+1ATSiOsnBOe0Ki93yYLa0j7zmCkuIpLoUfmNdh 9UlG2QuoE9vyhcY3L/Tk0AYBPAr3KVZaBm3mJPAhh6WFSoNLBnwuk9r7IHs7OXJD/O +8BI9FWfGgPVSwFxokQQD7n/W6kSuJGTJ+zWFdzVYO5/dUlHRYkHmVjEyvufOoTa/a hdGFFGoaKyhDJGAujvSGmiX7TPPrYp4YgB/ALBychkOhE7zvCh4SyLBcmmRzYiRd9Q 10gKqQhW7cRNcEJ9OQFY75Q9ucvIsSZm/9bT4UMHoYIdu5+dHUKpvo7rOi75ArPzVr eDHcmAlyc0/xA== Date: Wed, 2 Dec 2026 17:31:06 -0600 From: Rob Herring To: sashiko-reviews@lists.linux.dev Cc: Vyacheslav Yurkov , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org Subject: Re: [PATCH v12 1/2] dt-bindings: clock: Add gpio-enabled-clock Message-ID: <20261202233106.GA2615990-robh@kernel.org> References: <20261130-feature-clock-guard-v12-0-d0978ad15207@bruker.com> <20261130-feature-clock-guard-v12-1-d0978ad15207@bruker.com> X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Nov 30, 2026 at 08:25:08AM +0000, sashiko-bot@kernel.org wrote: > 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.yaml 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 disabled. > > + maxItems: 1 > > + > > + poll-timeout-us: > > + description: Maximum time to wait for the enabled GPIO to be asserted. > > + > > +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. Yes, clock-output-names should never be required. Rob