From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD36AC3DA49 for ; Thu, 25 Jul 2024 17:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:From: To:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gcI8ajkKhVCKObgb627fVTODC55s8WKdezHOuXwpvoM=; b=hRX1P+W8KKumRBflUOtlvUP55E LeHT/gzhSKrHaDNErnlsmucDrjf6z97UIbzHF6aRqOkfobAoZjBsGDX0CTg8sqnh8fAWCQscyOxLW TnbR/7xsK4kDmmWTS29yBJzn7ejjSLv87MIdFsUd4AbW7tEGRfbIeKtecqgtQLbhrwocRr0fJ2CZ8 VIQVkvkbtvLGrqxD/fS9Hd0dGonG2FumpqB2kIzJqve5t7t79QSiZhKsS2KYixAqP/4hB1+kTL3TW 3jrL2AsjQTuirBip46q43/J13jvXTckWzJCdu+AmkkexTxKDVnJ2Ar3NwfSYD8plmAWVs4yMY2YKK +JBxgiGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sX2f6-00000001hsn-13CP; Thu, 25 Jul 2024 17:53:56 +0000 Received: from mail-40133.protonmail.ch ([185.70.40.133]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sX2eh-00000001hma-1etn for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2024 17:53:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1721930000; x=1722189200; bh=gcI8ajkKhVCKObgb627fVTODC55s8WKdezHOuXwpvoM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=doKSRAD816Hw+j7yDOh9cdr6XNNsZxkzsoM+hMIOu1O9CYPVCJSHzBFcLdkeJ5OLA JLFE0w/TtIHlHetFiZfHrxxLxKS2GVNQg2wt5g7RNrO5T1zB5VW0H76TPbQmsrNo8Z g1Ua67wqNxSgJEeIylvmJ7irSnPvUNNcghdKK7KCncvYhHILQe7I2HBBcUsM4kRfKF eFSgjlOXmxiGjr43X0anXncl8FAOzrYsJVzRunHukdJvtpOfWoAeLx6jfivAUXp3VH 3h0EzYCBdFC0SAzUaRNJQRiQRfkUV2CtsvOCb0hPzOM8PQq2hBVRa15mfa+bOLUBoY pTryHj90iDWKw== Date: Thu, 25 Jul 2024 17:53:14 +0000 To: Conor Dooley From: Harry Austen Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michal Simek , Shubhrajyoti Datta , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/7] dt-bindings: clock: xilinx: describe whether dynamic reconfig is enabled Message-ID: In-Reply-To: <20240722-removal-grandma-92cfe99b8a88@spud> References: <20240720120048.36758-1-hpausten@protonmail.com> <20240720120048.36758-7-hpausten@protonmail.com> <20240722-removal-grandma-92cfe99b8a88@spud> Feedback-ID: 53116287:user:proton X-Pm-Message-ID: 0530831d7b7240f3ad8972b03eedac85b992c716 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_105331_615591_A02D6447 X-CRM114-Status: GOOD ( 16.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon Jul 22, 2024 at 6:13 PM BST, Conor Dooley wrote: > On Sat, Jul 20, 2024 at 12:01:58PM +0000, Harry Austen wrote: > > Xilinx clocking wizard IP core's dynamic reconfiguration support is > > optionally enabled at build time. Add a devicetree boolean property to > > describe whether the hardware supports this feature or not. > >=20 > > Signed-off-by: Harry Austen > > --- > > .../devicetree/bindings/clock/xlnx,clocking-wizard.yaml | 7 +++++++ > > 1 file changed, 7 insertions(+) > >=20 > > diff --git a/Documentation/devicetree/bindings/clock/xlnx,clocking-wiza= rd.yaml b/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml > > index 4609bb56b06b5..890aeebf6f375 100644 > > --- a/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml > > +++ b/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml > > @@ -40,6 +40,12 @@ properties: > > - const: s_axi_aclk > > =20 > > =20 > > + xlnx,dynamic-reconfig: > > + type: boolean > > The type here should be "flag" not boolean, boolean can be set to > "false" and what you're likely doing is just checking for the property > being present. "flag" doesn't allow false. That sounds like exactly what I want. Will update to "flag" in v2. Thanks! > > > + description: > > + Indicate whether the core has been configured with support for d= ynamic > > + runtime reconfguration of the clocking primitive MMCM/PLL. > > + > > xlnx,speed-grade: > > $ref: /schemas/types.yaml#/definitions/uint32 > > enum: [1, 2, 3] > > @@ -88,6 +94,7 @@ examples: > > compatible =3D "xlnx,clocking-wizard-v6.0"; > > reg =3D <0xb0000000 0x10000>; > > #clock-cells =3D <1>; > > + xlnx,dynamic-reconfig; > > xlnx,speed-grade =3D <1>; > > xlnx,nr-outputs =3D <6>; > > clock-names =3D "clk_in1", "s_axi_aclk"; > > --=20 > > 2.45.2 > >=20 > >=20