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 A0A7EC5AD05 for ; Fri, 7 Aug 2026 23:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QstRLIcKdSIcQSnq+vjgTpFRIrfSsZIjFJSOMFAqcsQ=; b=HTbBOfxvW2JKTx uh29pkc8HMD36+FvoEplGMmRvJXE9ymUHMdnnMC6T0beVl6by7l/rhq9mO4xi63tPwoCzWF33Phl2 OIDs4Wsmfp7r1757itJZRvZAn13Qwi26b69GznYNI/8rAofVsGKNF9HCaa7wwUMp10mBY8CYvVZPl W1AbmiRag8XfUKi2H6/ehgit6yu/M9Ou5mTQgJwSON4Pcqcrcl7UnLejF9++0vdu4fjQs/GSFzLSn kArtfU+1naUQOB7S0MeIOLJW2QQB3QFbIqRKH7sB87Hq0nl6GlDNJzsktMyGfRsnr7yGCyRs3OKT/ RCkx9yhRgVn1I/cKiFLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wsTfw-00000008r40-1QDi; Fri, 07 Aug 2026 23:08:28 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wsTfu-00000008r3k-1aUn; Fri, 07 Aug 2026 23:08:26 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id A1D386001A; Fri, 7 Aug 2026 23:08:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 238321F000E9; Fri, 7 Aug 2026 23:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786144105; bh=wQ0JD0AB/ZMckaLhyMCcytJcM09nVahiftP8BN/zRr4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fnEINRfI/WLStiFHgYr/N4vDshm6MANIZ293vGjTgkzrxM9QK3Hpe/ipWqLpB8Nk2 bW/kjk4FPdSBkuQtNkbkj8Uf5GqBo+ZqHzgzukevc1IOlnVdLNonX9i+Awx2kyBK75 Vn7VDhMxtF6+1jS4/eDR1xCcJYmCSs66odGLe5emtBWSvtnEGuyUVI1xHc5L4Cz9pU MHEKjmP5IXncmal1qT1VdKixTr5Cyb9rX7KU4yLnlhFCjENjewgVIlftfdWVXHB3OG b3SV5BorbrpdPGg0xi/N2HjaSUa7bkr2IQ6WepaCNehV9qPEvLtkYCk0VGjZ2p/Ia8 8FhMav+rBrC3A== Date: Fri, 7 Aug 2026 18:08:24 -0500 From: Rob Herring To: Cody Kang Cc: David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Vinod Koul , Neil Armstrong , Haylen Chu , Michael Turquette , Stephen Boyd , Brian Masney , Philipp Zabel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , dri-devel@lists.freedesktop.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH RESEND 04/17] dt-bindings: soc: spacemit: allow eDP/DP PHY PLL pixel clocks on K3 APMU Message-ID: <20260807230824.GA2220945-robh@kernel.org> References: <20260725-k3-display-v1-0-6de34d80e86c@gmail.com> <20260725-k3-display-v1-4-6de34d80e86c@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260725-k3-display-v1-4-6de34d80e86c@gmail.com> X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Sat, Jul 25, 2026 at 12:51:13AM -0400, Cody Kang wrote: > The APMU's eDP pixel-clock muxes select the DP PHY PLLs as parents, so the > K3 syscon takes two clock inputs the other variants do not have. > > Gate them behind the K3 compatible instead of widening the shared clock > list, so a non-K3 syscon cannot silently accept clocks it has no mux for. > > Signed-off-by: Cody Kang > --- > .../bindings/soc/spacemit/spacemit,k1-syscon.yaml | 30 +++++++++++++++++++++- > 1 file changed, 29 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/soc/spacemit/spacemit,k1-syscon.yaml b/Documentation/devicetree/bindings/soc/spacemit/spacemit,k1-syscon.yaml > index d3a7c93c3c54..b8fc6632a392 100644 > --- a/Documentation/devicetree/bindings/soc/spacemit/spacemit,k1-syscon.yaml > +++ b/Documentation/devicetree/bindings/soc/spacemit/spacemit,k1-syscon.yaml > @@ -31,14 +31,18 @@ properties: > maxItems: 1 > > clocks: > - maxItems: 4 > + minItems: 4 > + maxItems: 6 > > clock-names: > + minItems: 4 > items: > - const: osc > - const: vctcxo_1m > - const: vctcxo_3m > - const: vctcxo_24m > + - const: edp0_pll_pxclk > + - const: edp1_pll_pxclk > > "#clock-cells": > const: 1 > @@ -95,6 +99,30 @@ allOf: > - clocks > - clock-names > - "#clock-cells" > + # Only the K3 APMU exposes the two eDP/DP PHY PLL pixel clocks as extra > + # inputs (parents of its eDP pixel-clock muxes); every other variant has > + # the four base oscillator inputs only. > + - if: > + properties: > + compatible: > + contains: > + const: spacemit,k3-syscon-apmu > + then: > + properties: > + clocks: > + minItems: 4 > + maxItems: 6 > + clock-names: > + minItems: 4 > + maxItems: 6 > + else: > + properties: > + clocks: > + minItems: 4 > + maxItems: 4 > + clock-names: > + minItems: 4 > + maxItems: 4 4 is already the minimum, so it can be dropped on all of these. Rob -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy