| Message ID | 20250424062154.2999219-17-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBJ5RU7AAMGQEMGDSXXI@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com
[209.85.128.69])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3963E3F0D8
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 24 Apr 2025 08:22:32 +0200 (CEST)
Received: by mail-wm1-f69.google.com with SMTP id
5b1f17b1804b1-43d3b211d0esf7522985e9.1
for <linux-amarula@patchwork.amarulasolutions.com>;
Wed, 23 Apr 2025 23:22:32 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1745475752; cv=pass;
d=google.com; s=arc-20240605;
b=TwL29quQ3vKQgBR40eYo+ZFtN09gGxMMs7ZgYUpL90yilGNa2R65Ky901906HOZ+KJ
80leLAGoT3Vt2m8tk5aYC1zi0+/13Ed26Yz2uHJBFkwlGQvHL5u/miIUHa2MEy2wNh6A
G0h0YqtoRhPQ+7qZ91ZTfjVNVdJyKTOJotA3Lbme3SYCYq5nbHHG82KKqDo2vGJNEh7G
lnq9Mv5+bv8kyP/XVXCESANthJVZtQ8FcdIluA/lcuChLTiHgYyDtPlaK6/erCrS49UY
LtozezVRfpMT3Vo28d8x40iy5Tcjovf25qBtNT997X4W7gH4Snb4/t6Jeqtq4ddcWePD
ac0w==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=SE5OYFnqFp0a0FEJaE/uZTQ7SVjaPvB88TgoCKMRUe4=;
fh=wIG3yyRseOgylJirrlfL9UNngBPVOX7qDq4e9f5D310=;
b=UkhqsSmn0nFT+yGtYrx4HmizB28s/FD/S7ERqy93myGcilQKXrImLuHtF2xcsKPq3g
goZ8h+kpwLNEsKeO4EkQbsEpxbcDpYvZYT93miJY04DTHZhS4bKQlZ7sKdGZOH+zlPfm
qMrk9epdFZZKWmR15Rkvjs0b8elbuDY4ohEWuJXzz40vfri+foIiMHUvK3tMk0cahKw/
IEzj/yNJh9HRQQyAf9KMigyNZRXrcd6exB2aqsQqxE5FvbtDo87LC+LwrkhlpqssFXLJ
iEBc4x/3lvxfzHfLcBdXHckZegunwkBp7qtyIWaXpCNlDi/u2U9k3FpPuFyaSJK0cD4j
FiOg==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=SEGqdMEW;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1745475752; x=1746080552;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:references:in-reply-to:message-id
:date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=SE5OYFnqFp0a0FEJaE/uZTQ7SVjaPvB88TgoCKMRUe4=;
b=I0b0u+ysnMTQGIRiKvyx8UoZ2hkGsjYdC2IgOzZmum3XcBHK9rwyzy4T1fPmQPD8iW
nOKZ+PGMJeKLuOaK+ArMOVn4xCKlpB7J7h6+a+V/1wk4TM3RFFsFRUntXQlviDL26WqG
dw/VAESHLG7/KF4KySoFo85Fd0o9oX+csa350=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1745475752; x=1746080552;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from
:x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=SE5OYFnqFp0a0FEJaE/uZTQ7SVjaPvB88TgoCKMRUe4=;
b=oSqwbFW0BP25e/9IMrmO1s+M2jFF0KD3qpZrAj6lG7Lf29FQq6En+Vt7qHKo5BB+B+
FNZs0FpU50O+x7rAYsrXVwoM5jczSrVQKzCd8OOs5d1t5Zdhw2mddTNo2d5hy5elLtD3
z+8xKm2HO+focmHTv7d7DB5YpGXrGhYrnMJTGkLXVipLKS8iwo81tNyecZ16fwNOXDrl
cVBeV4fWYLs1/h2+J6JuewyBFvx+Ec9iiT7C8Yo7hQKYnEprRyLRlGrucJ2YsReq6sgb
Eh6JeCAtGtp+2FQm4qxDEg58pSVGVNn5rdialnWV3w45S7G7iA2RfLUbaVasRAfFr2hR
ysXA==
X-Forwarded-Encrypted: i=2;
AJvYcCUNYquhb99IqNSHaXHZbaU+VlPZBA2o65YCSv/Q8kzsmu1wUAC7d/035IJxZ4h+NeEQTDU2LpIMbhd/9fKq@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0Yx9plVNtjjwV78ZSADdVvPTKHWrHAKpJZ+lwF7k0vfhYuIjRW+Z
mCwfQEDMXWa+EYXxsZB5rhKmRqpm3v98+Rsm0QXPMjno4u1hO+58TN2cNgsqd1rBnjY/rIGFEg=
=
X-Google-Smtp-Source:
AGHT+IHN4WpJP1oTb/UX4e0H0DF7ocBmCxY173WeG8h3X2cff3OBCCCagl5F25hCTKgBVg0tmjgqHg==
X-Received: by 2002:a05:600c:1c23:b0:43c:ec72:3daf with SMTP id
5b1f17b1804b1-4409c513fa7mr8981465e9.14.1745475751795;
Wed, 23 Apr 2025 23:22:31 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h=ARLLPALD66uKAH72jK3Zs0mky2ZnTgD5slAHKFdl+sm/QL1qYQ==
Received: by 2002:a05:600c:350e:b0:43c:f182:cc48 with SMTP id
5b1f17b1804b1-44099ea31aals1680215e9.2.-pod-prod-00-eu; Wed, 23 Apr 2025
23:22:30 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AJvYcCXwb2UNIRn117+UL3X1hrtvW+gl+j2wmjwBg75gFUXHirXZ07nxAv7SwOFKB7oISEKc/FcYhjMPuhvVykEH@amarulasolutions.com
X-Received: by 2002:a7b:cc13:0:b0:43b:bfa7:c7d with SMTP id
5b1f17b1804b1-4409c453addmr7040485e9.2.1745475749730;
Wed, 23 Apr 2025 23:22:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1745475749; cv=none;
d=google.com; s=arc-20240605;
b=AGub5hHebxURzQk9ct6m94yjKDS8xscYUPrB7fJiwlQiSvzBUSvHgZONiNWFxttAyS
hwE9Gox44i4MmrrAfaHEbqPepLejbPM7Js1SsB9d1q/zNMITy2a/1XQwFV8+72lvIL0M
uxE8N7i5AYwrItgF5a0mDugdvM5AtBgDKB7HL6+Z4LyCj805jU6WnVVuE+FYwltjTbEP
fkSeVw28CZjaL2KLAdUOkr2FKBbgcXTTSRj1c05DfA/42YAyi3GzOT8J3ceODDPLKePs
xeDW6LCWxL/Dh3YJRZ+8iKvUiKBF+oqCcmB4BqbjXMvjuQ7NunZ0rxbWNzTLiUOIPuOO
gdxA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=4lFy00OTtg40In8pvAKghkkcDK/j3ZCpiu8RgaE7BUc=;
fh=HUOJtM/c1fewkhZD5xvcqZc7RHPbMD1qWZ7QXct3iog=;
b=P8IiEhWP+sdX5kfITPq6pm5dGTH+M/MBoT7tn5alooui4IsWw53TFTtmpA0PP4CIB0
q8aRar4y4fBxYuyO2h0UinKU0SmmlpaIh369LHvq/3fHCIpXbn1pCu9QlpdrLJjDosOJ
SAhvI9OOJjq1kSGiWi5++P2jDQA2x2hxr4RD30tScp2WvgZbxDLgoWKs52jiInHiQtMH
tDb5aN4wyNHWc4A1OhQfAu4+3ohd/B1C4HSs6XI5d3aLM3T5cb4P5NGIDHbHIi0dJAv6
WxGYxjPAHnUFo/mWSdqmzot+ZcMi/DfR3pfpuRcVbrhojDg5m+r6UH4Qs665G35gEjEp
nPBQ==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=SEGqdMEW;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
5b1f17b1804b1-44092d666e4sor11901885e9.3.2025.04.23.23.22.29
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Wed, 23 Apr 2025 23:22:29 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Forwarded-Encrypted: i=1;
AJvYcCX23lP/krGzxW7YweRSV4B0P50fMgtfk2XNaBOrEUXcToI98jmK2bl7+jyWWX8Gg7CQlnSIYVtn4hJQnkLr@amarulasolutions.com
X-Gm-Gg: ASbGncsUSPiRm6a/Ebf5BwzvQwGbPFr3EBk+5jje2vqJnnihBWXN5TSSUkkTn42M9uY
89YMax6JKSkPNXXZqpi6qHEG56fvlbyIxqQZY5OAbCXF1rSiX2gmv3e3pw0aFr8YYzIuSabQBsm
mvQEwva4lTIcXYEAs6B7orwPYgmQSUZfUppQd9SB2E3QACDVbE/YXCuqLUs4c7WLZmEeuxlqDf8
oAAJSue2g6Y5mZfs0F4mRM2a4GCrFzHqqECvSqNrVGaf/hceimg6Kca1af/uHA8+utW0p8E+XGd
CiFH1Q05PcyP+v/m760WQoz8toijCQPweMwZ2mChtoGklm20aMkGrz07T5rjg56bLy2+soQDn1D
0K4ri
X-Received: by 2002:a05:600c:2045:b0:439:8490:d1e5 with SMTP id
5b1f17b1804b1-4409c46087amr6406085e9.4.1745475749362;
Wed, 23 Apr 2025 23:22:29 -0700 (PDT)
Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.40.65])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4409d2bf8dbsm7243435e9.35.2025.04.23.23.22.27
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 23 Apr 2025 23:22:29 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: Peng Fan <peng.fan@nxp.com>,
Stephen Boyd <sboyd@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
linux-amarula@amarulasolutions.com,
Abel Vesa <abelvesa@kernel.org>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
devicetree@vger.kernel.org,
imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org
Subject: [PATCH v12 16/19] dt-bindings: clock: imx8m-clock: add PLLs
Date: Thu, 24 Apr 2025 08:21:46 +0200
Message-ID: <20250424062154.2999219-17-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20250424062154.2999219-1-dario.binacchi@amarulasolutions.com>
References: <20250424062154.2999219-1-dario.binacchi@amarulasolutions.com>
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=SEGqdMEW;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
Support spread spectrum clocking for i.MX8M PLLs
|
|
Commit Message
Dario Binacchi
April 24, 2025, 6:21 a.m. UTC
Though adding the PLLs to clocks and clock-names properties will break the ABI, it is required to accurately describe the hardware. Indeed, the Clock Control Module (CCM) receives clocks from the PLLs and oscillators and generates clocks for on-chip peripherals. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- (no changes since v11) Changes in v11: - Fix conflict while rebasing on master Changes in v7: - Add 'Reviewed-by' tag of Krzysztof Kozlowski Changes in v6: - New .../bindings/clock/imx8m-clock.yaml | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-)
Comments
On Thu, Apr 24, 2025 at 08:21:46AM +0200, Dario Binacchi wrote: > Though adding the PLLs to clocks and clock-names properties will break > the ABI, it is required to accurately describe the hardware. Indeed, > the Clock Control Module (CCM) receives clocks from the PLLs and > oscillators and generates clocks for on-chip peripherals. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > (no changes since v11) > > Changes in v11: > - Fix conflict while rebasing on master > > Changes in v7: > - Add 'Reviewed-by' tag of Krzysztof Kozlowski > > Changes in v6: > - New > > .../bindings/clock/imx8m-clock.yaml | 27 ++++++++++++++----- > 1 file changed, 21 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > index 4fec55832702..e83f08abd44c 100644 > --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > @@ -29,12 +29,12 @@ properties: > maxItems: 2 > > clocks: > - minItems: 6 > - maxItems: 7 > + minItems: 7 Increasing the minimum entries looks like an ABI break to me. The .dts files not being in linux-next confirms that (from 0 warnings in mainline): arch/arm64/boot/dts/freescale:859:50 122 clock-controller@30380000 (fsl,imx8mm-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short 120 clock-controller@30380000 (fsl,imx8mp-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clocks' is a required property 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clock-names' is a required property 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clocks' is a required property 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clock-names' is a required property 36 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short 36 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short 32 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short 28 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short 26 clock-controller@30380000 (fsl,imx8mn-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clocks' is a required property 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clock-names' is a required property 14 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[44], [45], [46], [47], [48], [49]] is too short 14 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[23], [24], [25], [26], [27], [28]] is too short 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clocks' is a required property 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clock-names' is a required property 12 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[26], [27], [28], [29], [30], [31]] is too short 10 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[38], [39], [40], [41], [42], [43]] is too short 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[20], [21], [22], [23], [24], [25]] is too short 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[28], [29], [30], [31], [32], [33]] is too short 8 bcrmf@1 (brcm,bcm4329-fmac): $nodename:0: 'bcrmf@1' does not match '^wifi(@.*)?$' 6 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[41], [42], [43], [44], [45], [46]] is too short 6 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[43], [44], [45], [46], [47], [48]] is too short 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[40], [41], [42], [43], [44], [45]] is too short 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[36], [37], [38], [39], [40], [41]] is too short 4 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short Please fix the binding or drop what's been applied so far. Rob To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On Fri, May 9, 2025 at 6:25 PM Rob Herring <robh@kernel.org> wrote: > > On Thu, Apr 24, 2025 at 08:21:46AM +0200, Dario Binacchi wrote: > > Though adding the PLLs to clocks and clock-names properties will break > > the ABI, it is required to accurately describe the hardware. Indeed, > > the Clock Control Module (CCM) receives clocks from the PLLs and > > oscillators and generates clocks for on-chip peripherals. > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > > > --- > > > > (no changes since v11) > > > > Changes in v11: > > - Fix conflict while rebasing on master > > > > Changes in v7: > > - Add 'Reviewed-by' tag of Krzysztof Kozlowski > > > > Changes in v6: > > - New > > > > .../bindings/clock/imx8m-clock.yaml | 27 ++++++++++++++----- > > 1 file changed, 21 insertions(+), 6 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > > index 4fec55832702..e83f08abd44c 100644 > > --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > > +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > > @@ -29,12 +29,12 @@ properties: > > maxItems: 2 > > > > clocks: > > - minItems: 6 > > - maxItems: 7 > > + minItems: 7 > > Increasing the minimum entries looks like an ABI break to me. The .dts > files not being in linux-next confirms that (from 0 warnings in > mainline): > > arch/arm64/boot/dts/freescale:859:50 > 122 clock-controller@30380000 (fsl,imx8mm-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short > 120 clock-controller@30380000 (fsl,imx8mp-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short > 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clocks' is a required property > 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clock-names' is a required property > 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clocks' is a required property > 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clock-names' is a required property > 36 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short > 36 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short > 32 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short > 28 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short > 26 clock-controller@30380000 (fsl,imx8mn-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short > 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clocks' is a required property > 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clock-names' is a required property > 14 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[44], [45], [46], [47], [48], [49]] is too short > 14 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[23], [24], [25], [26], [27], [28]] is too short > 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clocks' is a required property > 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clock-names' is a required property > 12 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[26], [27], [28], [29], [30], [31]] is too short > 10 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[38], [39], [40], [41], [42], [43]] is too short > 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short > 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[20], [21], [22], [23], [24], [25]] is too short > 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short > 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[28], [29], [30], [31], [32], [33]] is too short > 8 bcrmf@1 (brcm,bcm4329-fmac): $nodename:0: 'bcrmf@1' does not match '^wifi(@.*)?$' > 6 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[41], [42], [43], [44], [45], [46]] is too short > 6 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short > 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[43], [44], [45], [46], [47], [48]] is too short > 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[40], [41], [42], [43], [44], [45]] is too short > 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[36], [37], [38], [39], [40], [41]] is too short > 4 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short > > Please fix the binding or drop what's been applied so far. Abel and Shawn are already aware of the issue: https://lore.kernel.org/all/CABGWkvqfyH=dcuw6EDZaFVVebj8SZhJF0P944+mmzL5YK3-Pug@mail.gmail.com/ Thanks and regards, Dario > > Rob >
On 25-05-09 20:22:18, Dario Binacchi wrote: > On Fri, May 9, 2025 at 6:25 PM Rob Herring <robh@kernel.org> wrote: > > > > On Thu, Apr 24, 2025 at 08:21:46AM +0200, Dario Binacchi wrote: > > > Though adding the PLLs to clocks and clock-names properties will break > > > the ABI, it is required to accurately describe the hardware. Indeed, > > > the Clock Control Module (CCM) receives clocks from the PLLs and > > > oscillators and generates clocks for on-chip peripherals. > > > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > > > > > --- > > > > > > (no changes since v11) > > > > > > Changes in v11: > > > - Fix conflict while rebasing on master > > > > > > Changes in v7: > > > - Add 'Reviewed-by' tag of Krzysztof Kozlowski > > > > > > Changes in v6: > > > - New > > > > > > .../bindings/clock/imx8m-clock.yaml | 27 ++++++++++++++----- > > > 1 file changed, 21 insertions(+), 6 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > > > index 4fec55832702..e83f08abd44c 100644 > > > --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > > > +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml > > > @@ -29,12 +29,12 @@ properties: > > > maxItems: 2 > > > > > > clocks: > > > - minItems: 6 > > > - maxItems: 7 > > > + minItems: 7 > > > > Increasing the minimum entries looks like an ABI break to me. The .dts > > files not being in linux-next confirms that (from 0 warnings in > > mainline): > > > > arch/arm64/boot/dts/freescale:859:50 > > 122 clock-controller@30380000 (fsl,imx8mm-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short > > 120 clock-controller@30380000 (fsl,imx8mp-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short > > 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clocks' is a required property > > 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clock-names' is a required property > > 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clocks' is a required property > > 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clock-names' is a required property > > 36 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short > > 36 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short > > 32 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short > > 28 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short > > 26 clock-controller@30380000 (fsl,imx8mn-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short > > 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clocks' is a required property > > 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clock-names' is a required property > > 14 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[44], [45], [46], [47], [48], [49]] is too short > > 14 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[23], [24], [25], [26], [27], [28]] is too short > > 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clocks' is a required property > > 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clock-names' is a required property > > 12 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[26], [27], [28], [29], [30], [31]] is too short > > 10 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[38], [39], [40], [41], [42], [43]] is too short > > 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short > > 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[20], [21], [22], [23], [24], [25]] is too short > > 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short > > 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[28], [29], [30], [31], [32], [33]] is too short > > 8 bcrmf@1 (brcm,bcm4329-fmac): $nodename:0: 'bcrmf@1' does not match '^wifi(@.*)?$' > > 6 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[41], [42], [43], [44], [45], [46]] is too short > > 6 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short > > 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[43], [44], [45], [46], [47], [48]] is too short > > 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[40], [41], [42], [43], [44], [45]] is too short > > 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[36], [37], [38], [39], [40], [41]] is too short > > 4 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short > > > > Please fix the binding or drop what's been applied so far. > > Abel and Shawn are already aware of the issue: > > https://lore.kernel.org/all/CABGWkvqfyH=dcuw6EDZaFVVebj8SZhJF0P944+mmzL5YK3-Pug@mail.gmail.com/ So Shawn suggested I pick up the dts patches from this series as well. I'm waiting for another -next to get merged and if there are still issues, I'll ask Stephen to ignore the pull request I already sent. > > Thanks and regards, > Dario > > > > > Rob > > > > > -- > > Dario Binacchi > > Senior Embedded Linux Developer > > dario.binacchi@amarulasolutions.com > > __________________________________ > > > Amarula Solutions SRL > > Via Le Canevare 30, 31100 Treviso, Veneto, IT > > T. +39 042 243 5310 > info@amarulasolutions.com > > www.amarulasolutions.com To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On 09/05/2025 20:22, Dario Binacchi wrote: > On Fri, May 9, 2025 at 6:25 PM Rob Herring <robh@kernel.org> wrote: >> >> On Thu, Apr 24, 2025 at 08:21:46AM +0200, Dario Binacchi wrote: >>> Though adding the PLLs to clocks and clock-names properties will break >>> the ABI, it is required to accurately describe the hardware. Indeed, >>> the Clock Control Module (CCM) receives clocks from the PLLs and >>> oscillators and generates clocks for on-chip peripherals. >>> >>> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> >>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>> >>> --- >>> >>> (no changes since v11) >>> >>> Changes in v11: >>> - Fix conflict while rebasing on master >>> >>> Changes in v7: >>> - Add 'Reviewed-by' tag of Krzysztof Kozlowski >>> >>> Changes in v6: >>> - New >>> >>> .../bindings/clock/imx8m-clock.yaml | 27 ++++++++++++++----- >>> 1 file changed, 21 insertions(+), 6 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml >>> index 4fec55832702..e83f08abd44c 100644 >>> --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml >>> +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml >>> @@ -29,12 +29,12 @@ properties: >>> maxItems: 2 >>> >>> clocks: >>> - minItems: 6 >>> - maxItems: 7 >>> + minItems: 7 >> >> Increasing the minimum entries looks like an ABI break to me. The .dts >> files not being in linux-next confirms that (from 0 warnings in >> mainline): >> >> arch/arm64/boot/dts/freescale:859:50 >> 122 clock-controller@30380000 (fsl,imx8mm-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short >> 120 clock-controller@30380000 (fsl,imx8mp-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short >> 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clocks' is a required property >> 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clock-names' is a required property >> 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clocks' is a required property >> 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clock-names' is a required property >> 36 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short >> 36 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short >> 32 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short >> 28 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short >> 26 clock-controller@30380000 (fsl,imx8mn-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short >> 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clocks' is a required property >> 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clock-names' is a required property >> 14 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[44], [45], [46], [47], [48], [49]] is too short >> 14 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[23], [24], [25], [26], [27], [28]] is too short >> 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clocks' is a required property >> 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clock-names' is a required property >> 12 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[26], [27], [28], [29], [30], [31]] is too short >> 10 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[38], [39], [40], [41], [42], [43]] is too short >> 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short >> 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[20], [21], [22], [23], [24], [25]] is too short >> 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short >> 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[28], [29], [30], [31], [32], [33]] is too short >> 8 bcrmf@1 (brcm,bcm4329-fmac): $nodename:0: 'bcrmf@1' does not match '^wifi(@.*)?$' >> 6 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[41], [42], [43], [44], [45], [46]] is too short >> 6 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short >> 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[43], [44], [45], [46], [47], [48]] is too short >> 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[40], [41], [42], [43], [44], [45]] is too short >> 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[36], [37], [38], [39], [40], [41]] is too short >> 4 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short >> >> Please fix the binding or drop what's been applied so far. > > Abel and Shawn are already aware of the issue: ... and I objected to that ABI break: https://lore.kernel.org/linux-devicetree/gbymcmoya7dfmedq4nkopqpswh63d2ujxl2elc2x7x325b75bu@anp36sdya43v/ to which you replied "correct hardware description". Now I admit, I should not give the review tag, because that's really poor reason to: 1. break ABI 2. break users 3. break boot as it turns out I have impression that at later stage I actually NAKed entire patchset on the basis of being obsolete... but never mind. I am quite picky reviewer but once I cut people slack, some poor explanation about ABI beak is added to commit msg but no one else cares and it bites back. We keep repeating that it is the platform's maintainer decision but apparently still people don't know it. Quite a lesson for me. Anyway, I am dissapointed, regardless of my review, that this patchset could not actually keep backward compatibility. My recommendation to Abel is to drop entire patchset. If there is going to be any re-submits (v13), please kindly drop my Reviewed-by from this and next patch breaking the ABI. Best regards, Krzysztof To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On 13/05/2025 15:24, Abel Vesa wrote: >>>> clocks: >>>> - minItems: 6 >>>> - maxItems: 7 >>>> + minItems: 7 >>> >>> Increasing the minimum entries looks like an ABI break to me. The .dts >>> files not being in linux-next confirms that (from 0 warnings in >>> mainline): >>> >>> arch/arm64/boot/dts/freescale:859:50 >>> 122 clock-controller@30380000 (fsl,imx8mm-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short >>> 120 clock-controller@30380000 (fsl,imx8mp-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short >>> 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clocks' is a required property >>> 61 clock-controller@30360000 (fsl,imx8mm-anatop): 'clock-names' is a required property >>> 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clocks' is a required property >>> 60 clock-controller@30360000 (fsl,imx8mp-anatop): 'clock-names' is a required property >>> 36 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short >>> 36 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short >>> 32 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short >>> 28 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short >>> 26 clock-controller@30380000 (fsl,imx8mn-ccm): clock-names: ['osc_32k', 'osc_24m', 'clk_ext1', 'clk_ext2', 'clk_ext3', 'clk_ext4'] is too short >>> 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clocks' is a required property >>> 17 clock-controller@30360000 (fsl,imx8mq-anatop): 'clock-names' is a required property >>> 14 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[44], [45], [46], [47], [48], [49]] is too short >>> 14 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[23], [24], [25], [26], [27], [28]] is too short >>> 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clocks' is a required property >>> 13 clock-controller@30360000 (fsl,imx8mn-anatop): 'clock-names' is a required property >>> 12 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[26], [27], [28], [29], [30], [31]] is too short >>> 10 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[38], [39], [40], [41], [42], [43]] is too short >>> 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[22], [23], [24], [25], [26], [27]] is too short >>> 8 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[20], [21], [22], [23], [24], [25]] is too short >>> 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[34], [35], [36], [37], [38], [39]] is too short >>> 8 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[28], [29], [30], [31], [32], [33]] is too short >>> 8 bcrmf@1 (brcm,bcm4329-fmac): $nodename:0: 'bcrmf@1' does not match '^wifi(@.*)?$' >>> 6 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[41], [42], [43], [44], [45], [46]] is too short >>> 6 clock-controller@30380000 (fsl,imx8mn-ccm): clocks: [[24], [25], [26], [27], [28], [29]] is too short >>> 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[43], [44], [45], [46], [47], [48]] is too short >>> 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[40], [41], [42], [43], [44], [45]] is too short >>> 4 clock-controller@30380000 (fsl,imx8mp-ccm): clocks: [[36], [37], [38], [39], [40], [41]] is too short >>> 4 clock-controller@30380000 (fsl,imx8mm-ccm): clocks: [[35], [36], [37], [38], [39], [40]] is too short >>> >>> Please fix the binding or drop what's been applied so far. >> >> Abel and Shawn are already aware of the issue: >> >> https://lore.kernel.org/all/CABGWkvqfyH=dcuw6EDZaFVVebj8SZhJF0P944+mmzL5YK3-Pug@mail.gmail.com/ > > So Shawn suggested I pick up the dts patches from this series as well. > Sorry, I am against of it. This patchset breaks the ABI. If platform maintainer is happy with ABI break, it is happy with all the complains from users, all boot failures, all the issues. The solution is not to put DTS into driver's subsystem. The solution would have been not to break ABI, but if that's ok for platform maintainer then live with the results: broken boots. DTS must go via arm-soc DTS branch. > I'm waiting for another -next to get merged and if there are still > issues, I'll ask Stephen to ignore the pull request I already sent. > Best regards, Krzysztof To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On 24/04/2025 08:21, Dario Binacchi wrote: > Though adding the PLLs to clocks and clock-names properties will break > the ABI, it is required to accurately describe the hardware. Indeed, > the Clock Control Module (CCM) receives clocks from the PLLs and > oscillators and generates clocks for on-chip peripherals. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> For future version if it happens: Un-reviewed. Best regards, Krzysztof To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml index 4fec55832702..e83f08abd44c 100644 --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml @@ -29,12 +29,12 @@ properties: maxItems: 2 clocks: - minItems: 6 - maxItems: 7 + minItems: 7 + maxItems: 10 clock-names: - minItems: 6 - maxItems: 7 + minItems: 7 + maxItems: 10 '#clock-cells': const: 1 @@ -93,6 +93,10 @@ allOf: - description: ext2 clock input - description: ext3 clock input - description: ext4 clock input + - description: audio1 PLL input + - description: audio2 PLL input + - description: dram PLL input + - description: video PLL input clock-names: items: @@ -102,20 +106,31 @@ allOf: - const: clk_ext2 - const: clk_ext3 - const: clk_ext4 + - const: audio_pll1 + - const: audio_pll2 + - const: dram_pll + - const: video_pll additionalProperties: false examples: # Clock Control Module node: - | + #include <dt-bindings/clock/imx8mm-clock.h> + clock-controller@30380000 { compatible = "fsl,imx8mm-ccm"; reg = <0x30380000 0x10000>; #clock-cells = <1>; clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, - <&clk_ext3>, <&clk_ext4>; + <&clk_ext3>, <&clk_ext4>, + <&anatop IMX8MM_ANATOP_AUDIO_PLL1>, + <&anatop IMX8MM_ANATOP_AUDIO_PLL2>, + <&anatop IMX8MM_ANATOP_DRAM_PLL>, + <&anatop IMX8MM_ANATOP_VIDEO_PLL>; clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", - "clk_ext3", "clk_ext4"; + "clk_ext3", "clk_ext4", "audio_pll1", "audio_pll2", + "dram_pll", "video_pll"; fsl,operating-mode = "nominal"; };