Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2601452rdb; Mon, 12 Feb 2024 09:53:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUAtfCXB/gtOYkbQCP9A3X8tylw8ijcPY1czzQlx62gLS+WeJJH4DlmfV/19znpCubmRs2 X-Received: by 2002:a17:906:e24d:b0:a3c:9470:219a with SMTP id gq13-20020a170906e24d00b00a3c9470219amr2770283ejb.4.1707760412053; Mon, 12 Feb 2024 09:53:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707760412; cv=pass; d=google.com; s=arc-20160816; b=tH+nu+6ZyvHad9axBmn3JAWKQ4w/IqOOyYWa2/n6ke42QTYuEx27CLf0xFw+e+akHl EgFHK94uTtupVtR5pju3T9LQq3P/p/MzsH7G7FLILpr5Alyp7e811AvMHccEK6GHZfJ4 Wy2iJZw4N0zuTdxLiWlJywIImkHnm6iunkj7dn/0WRzG2j5CB7l2IBaPGo8gmzFCQPGq B/qocaGl3FDzfPhUBde7qThOpsNAkkzwsjBfwh86z3YKW0YlnxFxnYAPp2Yc/kXvw5JP YcMkFT0JdXcXys+UOn1E06xto6hjLVI9r6Qd08N/GdND6JK0ww23HHZhRmSWVQQEg6K5 GJiw== 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=gGmqZUUYdxZJD5cJg3PaUW7eiTzp+8uxvs/xF3DyUoU=; fh=UEM/ODCqwjsW5CAjK5p5oe1Y+6CC0QwLCVlLLxG0BI8=; b=SksVWotJj5UKyTLLl1DVNjA5eVIefuxyXNAAhA8I9eFtxELEerkn3h992LObFH71tr W7tPjPBSRIrx3Ta1mLo1ttdfbVDcqdI7orIz+s8lMd8KJThMvO78JI4DifNKmPYk6jdw mc60NQcjQRQpnXsS/bUoXvUTstJLJE8ZvePWcbGL7BnbyKSdkGncfYDpMlnIE0mTlBSq HL3GsmmB1OPTHFU7keEUT/BSYq9xG7otZXHDh6j4VIaxBb5JOuJNKy8jEKzJFjyj4f4U PAhfsODOcaHw65Co8K6B1EHK9AlkfiCa2Nc4jx79TfiyuJKaqPwQWDtCMZ6vRuobGOY2 5eHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=hrcfe0jQ; 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-62139-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62139-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com X-Forwarded-Encrypted: i=2; AJvYcCUhslxJpyhC4vwLTH4MAbo2xR4OVIt/DfrUi1AWw0Vj6liCoXBhsj03Bhofdieln3FQamI0yALheDKHs6QfhXAUPFJHmu+AirQNcwhvsg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dr9-20020a170907720900b00a3887332976si400446ejc.228.2024.02.12.09.53.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 09:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62139-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=hrcfe0jQ; 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-62139-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62139-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C67231F22D65 for ; Mon, 12 Feb 2024 17:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6077405FB; Mon, 12 Feb 2024 17:51:42 +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="hrcfe0jQ" 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 149F146420; Mon, 12 Feb 2024 17:51:39 +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=1707760301; cv=none; b=JJ5JSOlG2wJw4XK93PGBkYZ9Yw/IMt26RcEAMb1z6tIiDO9Xt0N+RylReLGuXYjiG/RttPOe1Zj8D9f4pgX3Vk8DRImLYFuBCPhVN3ajRqLWXSbfVMSa06OTEqmvbp2whZk3fKFLe3NUmGRNT29i/LW2n4Zw+Ox0gK0tG9iLUAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707760301; c=relaxed/simple; bh=SUp82WtXCPkv/U7G1G6anjiZg2kxGqB+XlCK+OQw44Y=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lWOVI4i/8vTETo1TBZ8tRfCT/9KPmRuwXNkNdtAga+29+fqYsQHJccHXqxcz5MAWozmPsyQsqCJ2ZmwugSMThKUyFBxIHyM12L/9VQqzP1Uw3G8THysBKiCdQTrLhKP+sLfyZQn83eqtu/ZPv7W2GGi/Q2PKhwONb55ogeD2oIU= 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=hrcfe0jQ; 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 41CDLYd1017013; Mon, 12 Feb 2024 18:51:26 +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=gGmqZUUYdxZJD5cJg3PaUW7eiTzp+8uxvs/xF3DyUoU=; b=hr cfe0jQdi0LwwQRCZSL04+9skNSXiCngGyEwok+/S0OEs+ixzIInuERxFZ6Qk5rmh NK1aswqaKD2xCvjhK7TLlb6lv/w+84bisVlJ5SMqaIArmb53jQ3ZgmsRdBb0TgPg mGpEn94QjchQg5LIMLhJwbmIxqiMhqjcu7Puk0iDC8Sw21ToTlTQy9bvsnLNgCA3 AeM4U8n2vRv1if7B3uFVV8iSmZHh6AuNJr1GUIGm8Sb5pxURSOXSFo5u78y3ltht jJhneNhAlClZj7Y6cPIu+6lOmiqogZXhd8dx31MTr1JnyLBGhPOQJ6y+scF0e7Gw 0FOdycZtXV9N4DZgjAnw== 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 3w62js7pwf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 18:51:26 +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 E851B40045; Mon, 12 Feb 2024 18:51:22 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4C6B327F266; Mon, 12 Feb 2024 18:50:37 +0100 (CET) Received: from localhost (10.201.22.200) 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, 12 Feb 2024 18:50:37 +0100 From: Christophe Kerello To: , , , , , , CC: , , , , Christophe Kerello Subject: [PATCH 08/12] dt-bindings: mtd: st,stm32: add MP25 support Date: Mon, 12 Feb 2024 18:48:18 +0100 Message-ID: <20240212174822.77734-9-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240212174822.77734-1-christophe.kerello@foss.st.com> References: <20240212174822.77734-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: SHFCAS1NODE1.st.com (10.75.129.72) 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-12_15,2024-02-12_03,2023-05-22_02 Add 2 new compatible strings to support MP25 SOC. MP25 SOC supports up to 4 chip select. Signed-off-by: Christophe Kerello --- .../bindings/mtd/st,stm32-fmc2-nand.yaml | 58 ++++++++++++++++++- 1 file changed, 57 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..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 reg: minItems: 6 - maxItems: 7 + maxItems: 13 interrupts: maxItems: 1 @@ -92,6 +94,60 @@ allOf: - description: Chip select 1 command - description: Chip select 1 address space + - 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 -- 2.25.1