From nobody Fri Apr 3 01:24:33 2026 Received: from mail-43101.protonmail.ch (mail-43101.protonmail.ch [185.70.43.101]) (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 98F7B36E472 for ; Fri, 27 Feb 2026 18:16:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.101 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772216163; cv=none; b=LvdU2IYWxyVa1Gar2rHmVqN0NSATu+immtPbPAr7bh3TR0R1+sBWtVPi1ANcxGZbArIUcEH8Y7u1hWkqAv3mAwKboFdz9xFInCeecb36RKO2MeAiF0/PRwSuEfdDzvHGZ19oYTpIueKiFiM4lvMDmvSbzI0XWypX18zMbL89dDY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772216163; c=relaxed/simple; bh=0+Fi1shsqkA5k9Wt5WwcpWWFptWOgmCFGdHIEqxrYE8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PHBi5hL9WpaRme84FoqEB0gyglGP/FFt8iUm1WCxBWKnaSEwwdRgkG78iaZjY9PoVRY8bdv5P73zfFuB9tMUMh9uNeiagAptO1bhJRL5MZv6J77/sEkYVvHWvr2rfOnv9onVPeMOLeMg5Yh6UzdbtbWQZ5Zz3Wu9geFarSZEAJE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=iRCns1pQ; arc=none smtp.client-ip=185.70.43.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="iRCns1pQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1772216153; x=1772475353; bh=GYNWoyNeM61dMX+Jlp03IYq35smbPMrmiwnNODDRNgM=; 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=iRCns1pQxEIUw84b42Lohz//YaJ7C7QUqmTO7tGYWh/R5j5jRnFY3yzJdrB1eDl04 Zyuan9c7BCA1gIT4O4YZHQwONNiG8ImT5F+Opay0qTjgqrfFZvanelEkjQrdpKAXZP m6XcslYnv28U7bDHX3eCtci53PF8B3siLdNBvqCBXLT0CtpSWzSIkJbQ1GWQ8lrSQC zRT5V2YRBrtnKPLIR2z5p7WYyFCZDGXjXUI2RE5ntoJ0326oqGnp57gMxsz62nqFkD bN9ymR5kZHgmF9BIZPPrRH5EIsCo1NUgkTM/RHWpAcSU4NAjsjoNr0kyllPRxXEdlk Me3YW6YQblRXw== Date: Fri, 27 Feb 2026 18:15:49 +0000 To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michal Simek From: Harry Austen Cc: Shubhrajyoti Datta , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Harry Austen , Krzysztof Kozlowski Subject: [PATCH v5 1/2] dt-bindings: clock: xilinx: add description of user monitor interrupt Message-ID: <20260227181507.19890-2-hpausten@protonmail.com> In-Reply-To: <20260227181507.19890-1-hpausten@protonmail.com> References: <20260227181507.19890-1-hpausten@protonmail.com> Feedback-ID: 53116287:user:proton X-Pm-Message-ID: 4b6ac4651e9d8cd4d080f05b8b64032d3422bbe5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This Xilinx clocking wizard IP core outputs this interrupt signal to indicate when one of the four optional user clock inputs is either stopped, overruns, underruns or glitches. This functionality was only added from version 6.0 onwards, so restrict it to particular compatible strings. Signed-off-by: Harry Austen Reviewed-by: Krzysztof Kozlowski --- v4 -> v5: Add Krzysztof's R-b tag v3 -> v4: Remove allOf and rebase, removing Krzysztof's R-b tag v2 -> v3: Add Krzysztof's R-b tag v1 -> v2: Fix binding errors by moving interrupts up front, restrict later .../bindings/clock/xlnx,clocking-wizard.yaml | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.y= aml b/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml index b497c28e8094f..7688601f1f31b 100644 --- a/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml +++ b/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml @@ -38,6 +38,14 @@ properties: - const: clk_in1 - const: s_axi_aclk =20 + interrupts: + items: + - description: user clock monitor interrupt + + interrupt-names: + items: + - const: monitor + xlnx,static-config: $ref: /schemas/types.yaml#/definitions/flag description: @@ -66,12 +74,24 @@ required: - xlnx,speed-grade - xlnx,nr-outputs =20 +if: + properties: + compatible: + enum: + - xlnx,clocking-wizard + - xlnx,clocking-wizard-v5.2 +then: + properties: + interrupts: false + interrupt-names: false + additionalProperties: false =20 examples: - | + #include clock-controller@b0000000 { - compatible =3D "xlnx,clocking-wizard"; + compatible =3D "xlnx,clocking-wizard-v6.0"; reg =3D <0xb0000000 0x10000>; #clock-cells =3D <1>; xlnx,static-config; @@ -79,5 +99,7 @@ examples: xlnx,nr-outputs =3D <6>; clock-names =3D "clk_in1", "s_axi_aclk"; clocks =3D <&clkc 15>, <&clkc 15>; + interrupts-extended =3D <&intc 52 IRQ_TYPE_EDGE_RISING>; + interrupt-names =3D "monitor"; }; ... --=20 2.53.0