From nobody Thu Apr 16 20:52:38 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 CB5B43D4139 for ; Wed, 25 Feb 2026 16:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772036695; cv=none; b=ou0pNgGrCqF+5upiV1e+1o4OWK7X5JHADqKhGvvj+UIU4wompAGIfh98iRU3L2XleD2ELjHyuSem2kSWpwrYZcRNeX5j/ONBG2BPzlcOBTouBbKO0P1YpCe20l4kByvgsu7he5IF06ijuUNn4GAyhU1EhHNjYwpAqZfD3nSbvzU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772036695; c=relaxed/simple; bh=oaVNbzP95ZGzHEfJqFMlDqGyupDFRg0PwSkWAAszZ8A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uysBoL11cH+MJDgf5mbRw/XmF5mv+g8nvdH2mNWk9xPxyWEaespTVgPLeeUX0UiShu8n6mUGzgvaA0h3mqUoLrruolVU+g/S20qe8k/yPn1Zf3U4bNmXe99PuEx9c1g0Zh7uoCelNTy7NxBze3A2Uvoh3UvFj+jP5UVR/d84oEk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=rfv5+dIg; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="rfv5+dIg" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 7A8D4C111B4; Wed, 25 Feb 2026 16:25:06 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6F7EB5FDE6; Wed, 25 Feb 2026 16:24:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 67E5B10369259; Wed, 25 Feb 2026 17:24:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772036690; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=abJKRw/BMMRuxFpyvUhg7fWU4EpemM0LOQXj3saoZxw=; b=rfv5+dIgOWyPultmlDTfUeZXZElPcoRds00yh+oRcxks3bNmGOQsFMtVmw0I1bMi1pP3On 5FJCB5baHNxca/V3nIo0EWttv2xjr+XlG6UkwlNu4xZ6SEWuXnNYsnugFzX+5QE/lbtSiq WhDSDXqCS1r46qtdb23ImasuhMgtShC/lnAdidXn4KhcFWeX2ozZq4KIx64FyokAGG+NXJ YJfyrW54+E1NVKA2fnhLo5SnE5uXlQLHz6dS7BXBPwD1gtRvv/EzvqVyMvz3W7bd2SNCCw ZHTvd+ybkWs7lOQJYBMYOQfvNYPsDL6xccdoxoJr8wF288HQ/wA7Hy+FGxdrZA== From: Miquel Raynal Date: Wed, 25 Feb 2026 17:24:43 +0100 Subject: [PATCH 1/3] dt-bindings: mtd: st,spear600-smi: Fix description Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-perso-fix-spear600-smi-yaml-v1-1-8ef3d205ab3a@bootlin.com> References: <20260225-perso-fix-spear600-smi-yaml-v1-0-8ef3d205ab3a@bootlin.com> In-Reply-To: <20260225-perso-fix-spear600-smi-yaml-v1-0-8ef3d205ab3a@bootlin.com> To: Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Akhila YS Cc: Thomas Petazzoni , Conor Dooley , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 The description mixes two nodes. There is the controller, and there is the flash. Describe the flash (which itself can be considered an mtd device, unlike the top level controller), and move the st,smi-fast-mode property inside, as this property is flash specific and should not live in the parent controller node. Fixes: 68cd8ef48452 ("dt-bindings: mtd: st,spear600-smi: convert to DT sche= ma") Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/mtd/st,spear600-smi.yaml | 22 ++++++++++++++++--= ---- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml b/D= ocumentation/devicetree/bindings/mtd/st,spear600-smi.yaml index 8fe27aae7527..d065df269657 100644 --- a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml +++ b/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml @@ -19,9 +19,6 @@ description: Flash sub nodes describe the memory range and optional per-flash properties. =20 -allOf: - - $ref: mtd.yaml# - properties: compatible: const: st,spear600-smi @@ -42,9 +39,22 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 description: Functional clock rate of the SMI controller in Hz. =20 - st,smi-fast-mode: - type: boolean - description: Indicates that the attached flash supports fast read mode. +patternProperties: + "^flash@.*$": + $ref: /schemas/mtd/mtd.yaml# + + properties: + reg: + maxItems: 1 + + st,smi-fast-mode: + type: boolean + description: Indicates that the attached flash supports fast read = mode. + + unevaluatedProperties: false + + required: + - reg =20 required: - compatible --=20 2.51.1 From nobody Thu Apr 16 20:52:38 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 CB6FD3BFE37; Wed, 25 Feb 2026 16:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772036696; cv=none; b=XPPS25sQGOZKFb2q9hjDIhahfTjANvXldgkLCqI7GD6M/6NPSK2l8P31K4PqUp1yhorbx0QWp3G3peTOSey8EPSF+ia4kdxbF58GkoKAu3yDTQnMgEw2N4UN9Q8wlX1chweroprTKoQLH5e5IS7un7pg/mRPTyPUsyy6o1LvXsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772036696; c=relaxed/simple; bh=mYn0Dugtpphw3Gt6xT9X92YpHcsZXLSgwIdJJXYyIBY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jKna6cgbxlvhbm7NFIKtNfr7mI/TvdRX0JaiGJ0v0cIMMXSyM55OwjUCIaqmQx1aC8xAXfO96qHSr8vei/HdSR4ErqljUw9quMawG/LaPRDHIZNGVz9vynUP13ouIz2vr4Lbaio7yWXFt7U7XuhUZ+cM4f6ThtoZF1pS0h7VO0M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=yfKs07Ti; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="yfKs07Ti" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 6F8BE4E41124; Wed, 25 Feb 2026 16:24:53 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 42A185FDE6; Wed, 25 Feb 2026 16:24:53 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E356C103692E8; Wed, 25 Feb 2026 17:24:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772036692; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=eQ8UHxDkI3UzRPr+6CL4LqTpXWdJVkOOzFQ/VNf2cFg=; b=yfKs07TiAEsEFNQ9WArQR5nlm9tHj7UmvkaPFYUx4kVvwcAq3b0Je1Eyhg46/rPFPVQkrF OHvF+5hNTI8ZxYS6+zcZ1N34S0VMLk7t7zA+J7fQZKkDK7As4d+b+yu5wbQoZAdshaxrcL qH8107DVnk5eBLNlcosfNsCsb7+5r3lG3l99lrHoaZ9UnAUeONZzXT1XRpwCanWCCdp6Mm fwnySuVTXfGC5Oq421N2SUc2BFCa4xXuG8aLLZENxHsXUNY8yCYctFZHI90SMBCTYWBWcd c/dEUTZLKiRssQrKhxXlUrCN/wjplwGujTFf910ZUJzngzao20Wz72cDSq6EsA== From: Miquel Raynal Date: Wed, 25 Feb 2026 17:24:44 +0100 Subject: [PATCH 2/3] dt-bindings: mtd: st,spear600-smi: #address/size-cells is mandatory Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-perso-fix-spear600-smi-yaml-v1-2-8ef3d205ab3a@bootlin.com> References: <20260225-perso-fix-spear600-smi-yaml-v1-0-8ef3d205ab3a@bootlin.com> In-Reply-To: <20260225-perso-fix-spear600-smi-yaml-v1-0-8ef3d205ab3a@bootlin.com> To: Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Akhila YS Cc: Thomas Petazzoni , Conor Dooley , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 These properties must be set because they overwrite the default values, especially #size-cells which is 0 for most controllers and is 'const: 1' here. Fixes: 68cd8ef48452 ("dt-bindings: mtd: st,spear600-smi: convert to DT sche= ma") Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml b/D= ocumentation/devicetree/bindings/mtd/st,spear600-smi.yaml index d065df269657..62d4359908f2 100644 --- a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml +++ b/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml @@ -60,6 +60,8 @@ required: - compatible - reg - clock-rate + - "#address-cells" + - "#size-cells" =20 unevaluatedProperties: false =20 --=20 2.51.1 From nobody Thu Apr 16 20:52:38 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 36B403D7D79; Wed, 25 Feb 2026 16:24:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772036697; cv=none; b=W8b8gGm2iPNwt8uEMSk0U1BeYNAGlYFAiX7PvNsJPz9TdJYtshqhxiCOVduqfRfVxJaAsCynW1gZyADcAGAlfvJPXmLnj+wfS09+YTU0KMxeDukF/3h+y03Vo4KPhlXXh9b5lGeFPTCqOSnlhLjypGX2KK7jSVz5/aYtRDBY/wQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772036697; c=relaxed/simple; bh=s9aEZ3Ji306CnnDc6ILWuNW8h3xADseqYKG3AI6sm+A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uwensbZxVYek3Pd/M54Khzq3RV8pTLNn1fMgamwe9dJ7s2zYCC+63gcNfL+HCnX3zaU3Ln05Dtf+1cE2Rd65j1lrOX08tOK9XS7a86P+aXdqNDC+v9zZ0fuKgX9gPjszFf0+aUZjs3/fIoIyHKZSGNpffpSOeZlhWNBK5+zBHkM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=pSd7uyJi; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="pSd7uyJi" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id F29EBC40641; Wed, 25 Feb 2026 16:25:09 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id E5A845FDE6; Wed, 25 Feb 2026 16:24:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9BA17103692E7; Wed, 25 Feb 2026 17:24:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772036694; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=MKKB01c323/N361DE3aK7dkvikONqWPVusDTWKCcQ6M=; b=pSd7uyJiT1q+6QGosFTN0Hxk7mXrKShFzABq8Mb550h3hhZiikVLks23xfqqUi4MEWh5ai 58I0h8s4xFkzMZAnZZ0BYmnr57mvMGc3Ty/q/0Gl7LGO3PijQm4E9cbA8XSIAGGtXZyGPA b5elmcVeuzXWI8qtf90wrSJfyzNwQJEHGRBqqHDjqikaXiye/rS1qomX+2L9JuMqkGIRMX gExBv/tNodG0lmMObNN5vCbapWDF5h65VHR/4+/ljg2kqmPjsQ5e4QLy1daTrFCS6TJGu9 S1+NtFFBWLh8rdCFCXISAzlNIRg8YaWFYpWfu4jPhuaLxAY8vuhGHi+xIiQS3g== From: Miquel Raynal Date: Wed, 25 Feb 2026 17:24:45 +0100 Subject: [PATCH 3/3] dt-bindings: mtd: st,spear600-smi: Fix example Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-perso-fix-spear600-smi-yaml-v1-3-8ef3d205ab3a@bootlin.com> References: <20260225-perso-fix-spear600-smi-yaml-v1-0-8ef3d205ab3a@bootlin.com> In-Reply-To: <20260225-perso-fix-spear600-smi-yaml-v1-0-8ef3d205ab3a@bootlin.com> To: Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Akhila YS Cc: Thomas Petazzoni , Conor Dooley , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Example is wrong, the reg property of the flash is always matching the node name. Fixes: 68cd8ef48452 ("dt-bindings: mtd: st,spear600-smi: convert to DT sche= ma") Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml b/D= ocumentation/devicetree/bindings/mtd/st,spear600-smi.yaml index 62d4359908f2..e7385d906591 100644 --- a/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml +++ b/Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml @@ -76,7 +76,7 @@ examples: interrupts =3D <12>; clock-rate =3D <50000000>; /* 50 MHz */ =20 - flash@f8000000 { + flash@fc000000 { reg =3D <0xfc000000 0x1000>; st,smi-fast-mode; }; --=20 2.51.1