Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2625247rdb; Mon, 12 Feb 2024 10:38:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWTzZedgQxxstL8fGOeRon+Piji5rZmozQrWfVUbtCCsefMI80J/wdd8s3Mw5lS2MzWTceK4Yq1Ry0ZpZw42QpIlCwA07ku7Eri9hBl0w== X-Google-Smtp-Source: AGHT+IEKSgx8t1gbYu0UKvKGKYqSoqXEtDzpdUrYHnOpBrS3Vw9RQOVc7mpxEWTvwP3a3wtuaoGv X-Received: by 2002:ae9:c00a:0:b0:784:aae1:10de with SMTP id u10-20020ae9c00a000000b00784aae110demr7162616qkk.3.1707763128950; Mon, 12 Feb 2024 10:38:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707763128; cv=pass; d=google.com; s=arc-20160816; b=VlSvRA0I0aDk8iq2FtYZ2A7rWo8VFxL+RxHLf8POBR2N4YMcZoYNJOuklYw7vOESmA 6P2W3ENWAd3lpXrD0nRlR5lsnzOrIjZfkeuKKiWy1JrFP6+xLWTNwofvqzNXrCTWMGch vzt8leoYoiUn2e1vZl8SgTFFQAV03Attjooklawa0Vw7UBf3wK+YSONG0orr1xeLfSR6 uvwRZBzH5szZHwTqWS/p+s9ME+hUeMIJ2nfzUbxMxBwo54zBdnvArBhI1d/bCQhkEbe7 gozdOprnrPVkvwhsMXhNyJbWgpLyoNiucAfZ7LynpRw3Xz8EvUgIJ/EQob3l2m4kmB0G OZHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/wnxDdbQTX9bVgl93wXGruH0Il8Th7ICs7kYUf1IwAM=; fh=aMil+1VxAba0NKFAIBEBViI0jOTFSj4sKxV+WOZ90uY=; b=cWsw0XPdvMmAPEd+vCus+Nwi/aTcLbdMFKe3uGwLhQoWnbw+hI7CtIqdZyLIgORGZd HL8m/jM5Tg0asVBv31DLmwMDdJC1PFAREoXhMa4X9TQJlQAO4NytYLN8EG2e3G8Snzks Lo/+q8BxaOykaJ7tyUFZSyhzr0vSa1D8lUSGUeCDJO2dHdJHDA5OSxYzKPvEp+GL7YxL e1B3ea75SDDXoyEDFDA0yA9f3t7dtQUHns1J2lAmI3RPkKapet6SlJEhZGb72RxUdtqp SRQb2mVpCDrZe0UmZsHA2WLhtUBQEruCGryfGfB0Z+/aq6MX7LH3AL7wR2vTFKNH57mZ H85w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EMUyCia9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWHiNvbs2Sul1ZVrjP1CWL4rrhZL2Sq3u761Z2EJRQ7exaJwo1+lB6gIM4Xq/c7KGJvIp4nsR+cGqg+CzZLUpTOaUzl1VYzvID9y5kAhg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vw17-20020a05620a565100b007853f2207fesi6598994qkn.617.2024.02.12.10.38.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 10:38:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EMUyCia9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62201-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62201-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B1F8D1C223E7 for ; Mon, 12 Feb 2024 18:38:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB96C41208; Mon, 12 Feb 2024 18:38:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EMUyCia9" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 04900405D4; Mon, 12 Feb 2024 18:38:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707763105; cv=none; b=kvSiE2YzgjkwZkN1gFyU7fyC2kkLGrf5P9LU0KH2QiTsu0Kw+HoaqcZ2w8lJyyYOBiRJFyfErEXkXbLattIuaWUKQ3R1mCW73i5WP47yIyUYb9nV8aac1tHLqt18+CVEK3H++OucmFYoCX1awyHjtGGx/4bFD1dOAMu0BokFz/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707763105; c=relaxed/simple; bh=DB+QxJu9d3ZS9rmjqca4J9xEJVvpvRrU2w7NHJpSp2s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZOy63eNQZht85Gm/xqP11fyK8VUleonPbV799w/2xFKGVCWFpue048PM7IeEhGvqcErtLtHeDC/qpjIY0iYmPs6W2xe7cfTk1RnTjxfWHE0eRYzPJFzCPiSXcX0eDqeQkRcHG/AhVRyF5Lz4QYodLmtpuT6bl4UEcSeY+PdBO/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EMUyCia9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B78EC433C7; Mon, 12 Feb 2024 18:38:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707763104; bh=DB+QxJu9d3ZS9rmjqca4J9xEJVvpvRrU2w7NHJpSp2s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EMUyCia9MG/ccuDFUpmDHiaLgC+igJvueSb2uGUiW+TWBq+vBFJgv8cUhmQuvL+pz 5iUT2b3vi+tdzkMXYYrc1B47l5j0QmWiB9PXCy926EZDb90ffrj4N8HGa+6ELm+baa d1O2E1uY04FIGeZwOqJkdmUtPJLY5anr/dqnPnvxGLeRiKmLD0fwaP48UDg+6JQpGI kmvpJ2wegkC+GvoCO932G8UHkEkGm1sJGgCoev1AUcQOsunK5XzdWaUaXPYSOGUYqp p9S5u9N0bEQx6QB8D9+o/mABVRhhIOFXR2yemqFi5EEwnKE1jChO2G6vNh5tKdRLgQ 16/DAqRwQIcPg== Date: Mon, 12 Feb 2024 18:38:19 +0000 From: Conor Dooley To: Christophe Kerello Cc: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, devicetree@vger.kernel.org Subject: Re: [PATCH 08/12] dt-bindings: mtd: st,stm32: add MP25 support Message-ID: <20240212-squeak-mortality-5a53a4d1039c@spud> References: <20240212174822.77734-1-christophe.kerello@foss.st.com> <20240212174822.77734-9-christophe.kerello@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5x9qetWChxMtvEey" Content-Disposition: inline In-Reply-To: <20240212174822.77734-9-christophe.kerello@foss.st.com> --5x9qetWChxMtvEey Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2024 at 06:48:18PM +0100, Christophe Kerello wrote: > Add 2 new compatible strings to support MP25 SOC. > MP25 SOC supports up to 4 chip select. Again, please explain why the new device is not compatible with the existing ones. Also, please explain why two compatibles are required for the mp25. Thanks, Conor. >=20 > Signed-off-by: Christophe Kerello > --- > .../bindings/mtd/st,stm32-fmc2-nand.yaml | 58 ++++++++++++++++++- > 1 file changed, 57 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yam= l b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml > index e72cb5bacaf0..33a753c8877b 100644 > --- a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml > +++ b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml > @@ -14,10 +14,12 @@ properties: > enum: > - st,stm32mp15-fmc2 > - st,stm32mp1-fmc2-nfc > + - st,stm32mp25-fmc2 > + - st,stm32mp25-fmc2-nfc > =20 > reg: > minItems: 6 > - maxItems: 7 > + maxItems: 13 > =20 > interrupts: > maxItems: 1 > @@ -92,6 +94,60 @@ allOf: > - description: Chip select 1 command > - description: Chip select 1 address space > =20 > + - if: > + properties: > + compatible: > + contains: > + const: st,stm32mp25-fmc2 > + then: > + properties: > + reg: > + items: > + - description: Registers > + - description: Chip select 0 data > + - description: Chip select 0 command > + - description: Chip select 0 address space > + - description: Chip select 1 data > + - description: Chip select 1 command > + - description: Chip select 1 address space > + - description: Chip select 2 data > + - description: Chip select 2 command > + - description: Chip select 2 address space > + - description: Chip select 3 data > + - description: Chip select 3 command > + - description: Chip select 3 address space > + > + clocks: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > + required: > + - clocks > + > + - if: > + properties: > + compatible: > + contains: > + const: st,stm32mp25-fmc2-nfc > + then: > + properties: > + reg: > + items: > + - description: Chip select 0 data > + - description: Chip select 0 command > + - description: Chip select 0 address space > + - description: Chip select 1 data > + - description: Chip select 1 command > + - description: Chip select 1 address space > + - description: Chip select 2 data > + - description: Chip select 2 command > + - description: Chip select 2 address space > + - description: Chip select 3 data > + - description: Chip select 3 command > + - description: Chip select 3 address space > + > required: > - compatible > - reg > --=20 > 2.25.1 >=20 --5x9qetWChxMtvEey Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZcplmwAKCRB4tDGHoIJi 0qEaAQC6FzMEWUZon7Rbw9b51wIt52mF6FLV+DfSgClzOalRFAEAiDB3FOanV76n XJT9NErVw/coKCkhHjtRx02Cv9xOtQI= =9ijQ -----END PGP SIGNATURE----- --5x9qetWChxMtvEey--