Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2463027rdb; Fri, 8 Dec 2023 08:49:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGF1XtjNz6q3tjnaKcvrsbkc2G1jnX07XMvj7n3+X0dST+hCXyQcKr8jWCcArifT14oan2w X-Received: by 2002:a17:902:f686:b0:1d0:7f3b:2cd8 with SMTP id l6-20020a170902f68600b001d07f3b2cd8mr306014plg.33.1702054142158; Fri, 08 Dec 2023 08:49:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702054142; cv=none; d=google.com; s=arc-20160816; b=bGkpa57zTpJQFh6cesMg9eMtOzdk9J8AFmAWGRZcCJGvBy6SKrOR2FADu5jgb0W583 eccqHUOUyXguSkX7LJy1Ug/4/raUiM703+PkO1wUYNZe5lArjsBBsqeKsMnOhv2G6ZVl wnnpRt0UiMgQEYWV98awhJoyZkmY0/JjY6rJXDBBd2/OQBxSwNGPulPyZQZCrrcw2aVm GP6cdruPBQAc+1s7OhmsTa6mHPKzooBh00v3myhC4kGb43NlrP1WUwVUwppVB9zAdWAP GBtWwzPlyCj89RWeFld/2PvkRsxnYZglwcwuvjFTALl+4W1nwRESuQbHhngKrup5ljdc n89A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LWgjN+j7PnQ7YW9swGp/1XIDBLTWuTaWnDZT+t9ESfU=; fh=YfYU9X+v76cT4jgG+11baBs7gwlZmx0RvL1Jhbd06gw=; b=LegzY/Q3EMfz/e+Xn1JqjXZVVM517TUkzlsCwqIjD19K9n8uhfW55qDbq+ZKMAvrnw Vq4jl1eHzOLtwR94tNzIb4RjoYWNvjhg1+qK6UpJv8oufPgQchUWSSC/OiyxZllBvv/A ibgFvPAPmk50kCdACrPnyujKOrpTmC2oDNNk/Z1B3dRI9mPSRwC+vdwWiqLUZ45a5eqa yaoL8ru07xuwqU+LZhCB/otsItCaCCr7vZwSUmVAtn09Hz3Lz3FPJlYVI3c4FLI8AcED +7gQJ0q0EaE3eJpVTULiQBX+LUtUbWTIJ0rbkSpGbg24neX3guE/TQQqV8NOsNKUbvp5 7wVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=hz2oungC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h24-20020a170902ac9800b001cfce7988edsi1846645plr.417.2023.12.08.08.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 08:49:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=hz2oungC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A71BE80FC15C; Fri, 8 Dec 2023 08:48:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235984AbjLHQso (ORCPT + 99 others); Fri, 8 Dec 2023 11:48:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235924AbjLHQsb (ORCPT ); Fri, 8 Dec 2023 11:48:31 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEE93E9; Fri, 8 Dec 2023 08:48:27 -0800 (PST) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B8FsHCm017750; Fri, 8 Dec 2023 17:48:07 +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=LWgjN+j7PnQ7YW9swGp/1XIDBLTWuTaWnDZT+t9ESfU=; b=hz 2oungCjICBbsTcQnfHsr4xA2OyWstVJ39D/xmEvDx6cn8wf3kC7j8L4gBxFEc03a gfap2fIFF+4OHvKSjDdagI1ONfFLCCk4qCyh1sEA2Qd1voLoOAo0TpvPa0LJgHTj xGrVFu1WSEBgOIn4XQXZbj1lsHpr5NlBUCwG5antXpnfyOIlIcEDfHl6WdAoAcWX QReNrbqgNpIyvPwhIWIEeTdqxz7Ze5wjFFH0ABkr1WB53O1YjkXr+PbugMkWYHYh Z/MZrfxMbtM0nYtqeDa5qGkQtcnJTyQbmbuzEyihDn1c50IdJJEdphWGvhW2b53b 6HGDl5fryEWLYIIphsRg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3utd2jn915-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 17:48:06 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 67EA4100059; Fri, 8 Dec 2023 17:48:06 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5F9DF236936; Fri, 8 Dec 2023 17:48:06 +0100 (CET) Received: from localhost (10.129.178.213) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 8 Dec 2023 17:48:06 +0100 From: Alain Volmat To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pierre-Yves MORDRET , Alain Volmat CC: Conor Dooley , Rob Herring , , , , , Subject: [PATCH v2 3/7] dt-bindings: i2c: document st,stm32mp25-i2c compatible Date: Fri, 8 Dec 2023 17:47:12 +0100 Message-ID: <20231208164719.3584028-4-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231208164719.3584028-1-alain.volmat@foss.st.com> References: <20231208164719.3584028-1-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.129.178.213] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-08_11,2023-12-07_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 08:49:00 -0800 (PST) Add a new compatible st,stm32mp25-i2c for the STM32MP25 series which has only one interrupt line for both events and errors and differs in term of handling of FastModePlus. Signed-off-by: Alain Volmat --- .../devicetree/bindings/i2c/st,stm32-i2c.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml index 94b75d9f66cd..1b31b87c1800 100644 --- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml @@ -19,6 +19,7 @@ allOf: - st,stm32f7-i2c - st,stm32mp13-i2c - st,stm32mp15-i2c + - st,stm32mp25-i2c then: properties: i2c-scl-rising-time-ns: @@ -41,6 +42,30 @@ allOf: clock-frequency: enum: [100000, 400000] + - if: + properties: + compatible: + contains: + enum: + - st,stm32f4-i2c + - st,stm32f7-i2c + - st,stm32mp13-i2c + - st,stm32mp15-i2c + then: + properties: + interrupts: + minItems: 2 + + interrupt-names: + minItems: 2 + else: + properties: + interrupts: + maxItems: 1 + + interrupt-names: + maxItems: 1 + properties: compatible: enum: @@ -48,6 +73,7 @@ properties: - st,stm32f7-i2c - st,stm32mp13-i2c - st,stm32mp15-i2c + - st,stm32mp25-i2c reg: maxItems: 1 @@ -56,11 +82,13 @@ properties: items: - description: interrupt ID for I2C event - description: interrupt ID for I2C error + minItems: 1 interrupt-names: items: - const: event - const: error + minItems: 1 resets: maxItems: 1 -- 2.25.1