Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1153794rdb; Mon, 19 Feb 2024 06:07:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWWxJpz6i4+TZsRmwIQ8O8BB/8FOoBDDpwjq7yh16S3E8YsOE01NAj+3aK84sicAt2l9fUnAeMbTlzgFu8W+MRadBXnb2h8DuFoG3fyTA== X-Google-Smtp-Source: AGHT+IGuV/KEzEBdylfCEEbWXZdqv+8UbZfubvjOY8OvmYi8Fhp9yP/Jc16N5NXIN4iZOafexT6k X-Received: by 2002:a81:6d87:0:b0:608:3f2f:a2fe with SMTP id i129-20020a816d87000000b006083f2fa2femr1844527ywc.46.1708351665232; Mon, 19 Feb 2024 06:07:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708351665; cv=pass; d=google.com; s=arc-20160816; b=BsevM5b2eyA8/8eHu5ApJGMf7CLoYwFuhDLCUf6yvHOoiWh6mRd6iq3ZQZS70pEcji NKL5S63IDGbIMmjDrhajhsLC9Z0RTmeXL52tQPl6D4s96L0UOKKJrxQMjMaAZk13dxEZ dbTamwmSdiQRyNfLGSHv3tfu/WyTzaQCa6jERF4XB2i8rNojuTX8DiG8MpLicDX+Cs6u oyA+htKPGkPnjpBp9KC47QGyD4N6m/CD9G3hO9yArg043/XjwDODfHqlcTSLAr9frfJX FaKMFYaGvSgWtka7+pls3EoYFKj2w0tC7IWRITpwmJdExqseS0LtF2sn4FJzhUW8q+BX zlFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JYQK68WjD0E3OCM0k3crw9aHBw4IldV3tXIDnreP/Po=; fh=UOvPfoKoJAjaFVTdIgmjd3Nx7dU/ROTksYz5CY0lQes=; b=BEn5wj2ewe3bVNrcqx0i0/t6ieFQakcLYoK8KVwpxZDcRPv2VfS0K2Jx9Mt4hDH0MU c4y1djrx861LJqwmYCqyafRde3YeKRWH5P0wfFflL0iTtADhd2onfWkwZYIKQa1nEE5f 7W/yzHVzw+MeZm1SQfEdHP2P73N1361zPRkwMbevV3bqg+AXw8QQUCTVuhcxFnfJ7xXc Zau8kc5hh1aSeUjGe9fYpDH7jRD5q8H3FWOoogmvR2JHsqH/VnKZWAqSHpsm+Pc8EKWk 5kUBYt2oAvj392asSE1iPhGU0HP4aRaXQABIgJhvuFUV2e4+HhKK5MwLSYioowd4I4eb 9JLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ksUnUJne; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-71454-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71454-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dg10-20020a05690c0fca00b0060449a18de1si3450196ywb.535.2024.02.19.06.07.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 06:07:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71454-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ksUnUJne; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-71454-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71454-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 E81821C20F5A for ; Mon, 19 Feb 2024 14:07:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0F0E374F9; Mon, 19 Feb 2024 14:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="ksUnUJne" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 6EF87376E1; Mon, 19 Feb 2024 14:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708351652; cv=none; b=j8nh343PP2NTFIFeD2WuxCuNet9GbxIIns3k1hD3LaWWOivoiJDIa4Sl3WCqYH6niTZK/SGenPb8UtFHjVYajViDmaiRUl7wl6NgY3Xn1aNashRqB65VckNhszFDGrbxwF8cEw0iuCBJ1XSYb2/TqzuUzidDTmfxyE9//s9KscA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708351652; c=relaxed/simple; bh=uNxzWTkQAraSOmoM+Vxuv/mrsM61gblGkxUIarzhtv8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VD8jBISNVbz8Vyp3VndSmob4j9dF5SZq0cQTbVTXlPv5ck222oUoHbGwXw7wMxh8XUrS/z32bSKBZVda5eUgswPjlueWTvPeUxK628t9PEhMlUi7hyFVhOkpObwjylAoIqKXQ4iE1EkZ0YA4Fn7F0ClMkoAZmrDiZXbrWF9xeTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=ksUnUJne; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41JAMD8W022490; Mon, 19 Feb 2024 15:06:19 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=JYQK68WjD0E3OCM0k3crw9aHBw4IldV3tXIDnreP/Po=; b=ks UnUJneUhSgsAmai3fJMBhw3BIol6++VOXpzG58GndNnKgbwX0BKvBwBxR9aM7l/B gR2HfUjAH3lHFrTONnHxmdZ19kpvkVUnLLSVVJctx6UH4KNNHgyg+fooB4olLv5S xrpRs7Q1HBwiHbIHguwgy9O4F2rs2bkX3BMRM6BgW+VS2aaSdiRq8jb7HegtXnTB bLbAyA/kmI6iOgKVAf/toSmLnkESIGKZn26z2id9D5KXXr8y/Fe/97d3l4nEsBTy Yf4LH5f1iLz21s+44u5w9Y0LUjb9qRRT0FCFZiDs67P3fpasPsT2KWQQdXvVuij8 LU8UaCTkW6HNHMC9P+mg== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3wak3m78u0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Feb 2024 15:06:19 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 2C34B4002D; Mon, 19 Feb 2024 15:06:16 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 88FD326A99A; Mon, 19 Feb 2024 15:05:38 +0100 (CET) Received: from localhost (10.201.21.177) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 19 Feb 2024 15:05:38 +0100 From: Christophe Kerello To: , , , , , CC: , , , , Christophe Kerello Subject: [PATCH v2 1/3] dt-bindings: mtd: st,stm32: add MP25 support Date: Mon, 19 Feb 2024 15:05:03 +0100 Message-ID: <20240219140505.85794-2-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240219140505.85794-1-christophe.kerello@foss.st.com> References: <20240219140505.85794-1-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-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-19_10,2024-02-19_01,2023-05-22_02 Add a compatible string to support MP25 SoC. FMC2 IP supports up to 4 chip select. On MP1 SoC, only 2 of them are available when on MP25 SoC, the 4 chip select are available. Signed-off-by: Christophe Kerello --- Changes in v2: - commit message has been updated. .../bindings/mtd/st,stm32-fmc2-nand.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml index e72cb5bacaf0..b8ef9ba88e92 100644 --- a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml +++ b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml @@ -14,10 +14,11 @@ properties: enum: - st,stm32mp15-fmc2 - st,stm32mp1-fmc2-nfc + - st,stm32mp25-fmc2-nfc reg: minItems: 6 - maxItems: 7 + maxItems: 12 interrupts: maxItems: 1 @@ -92,6 +93,28 @@ allOf: - description: Chip select 1 command - description: Chip select 1 address space + - 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 -- 2.25.1