From patchwork Fri Dec 15 17:06:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 179458 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9443887dys; Fri, 15 Dec 2023 09:26:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9TyzhWdO33EJ2I7yvH4vM0Zzsn1BnIB0GkOSzyor7VNngWi/tRcLqXywxkTsZLIGaKMN3 X-Received: by 2002:a17:906:371b:b0:a1d:767:f068 with SMTP id d27-20020a170906371b00b00a1d0767f068mr3875054ejc.31.1702661168531; Fri, 15 Dec 2023 09:26:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702661168; cv=none; d=google.com; s=arc-20160816; b=cZI8/cvNM6YvWs/M28uaAC8A7azE6HdecG+j/nW4kGCPMnTVEgCPj1hxpVDbjmXNpt MA4+fFURY2FKvd5RV/0TFPRAOxjRfwll0NVfBIGQSnPTVvUnyDB/DiAGP1ATUfwmYKhX 3DuWIAWEVw+gNBgSdEIaZHiDsRHEAJMGn3hlDFZieIU2TN5fi2CCRT8hroH3qgUogslC txbe8ko+2sJLQ4MLcjaP38+iLt4JxE3kgIfojeT01tZw7ij4VqzFuDJC2juvqzkBNDZ6 pHfgk1knVRYmhv7+IQeVTSOYrxl4Gr2H5U8sgln4iH+FgLtT2Jc8uweVAb5fJ1mXy66M UsAg== ARC-Message-Signature: i=1; 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=6AU3mM4W4Dpoj7He082seCwDnAZEhdu+kcbYvk2yFl8=; fh=7H+u7I0bdEALWzYaVOAO2NvJkKF7hcf2wW1/JO41DU8=; b=ox4u4qm48K7EWxeb9KU6eUHIxbigeUvRK14SyA4l7OSpMPgB5UX4rw7yYBjq1PVv+r mOEh1ku8IvnWuPeAEg6HqlInlefQyeFS1TBFUZXqdAz3AzoFwxbvaJslR12sdL6N/HrT I+4eHFo/vg2OIOVtpQnFssHznLf9fwoNeSqE+JgNAEaRtCruI5HZ5KOaeTwjhn1Ovws2 5G6fE9TxjwS78w3TVDdayjjWiil+51ffq50PvkHIXWTSvkQFTvyg1eRz/K2uZEaseQGG OoO7SYiyOI5DkFss1bbfNOBNE1dPEa8ZbjiOPp6TvtWY/3qwp5VB2G4N/yn7zFvhBL3m 3nUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=xUGyJIo2; spf=pass (google.com: domain of linux-kernel+bounces-1406-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1406-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s11-20020a170906bc4b00b00a1dda250ee2si7770822ejv.0.2023.12.15.09.26.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 09:26:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1406-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=xUGyJIo2; spf=pass (google.com: domain of linux-kernel+bounces-1406-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1406-ouuuleilei=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 05A821F22A9D for ; Fri, 15 Dec 2023 17:26:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F26E748CFC; Fri, 15 Dec 2023 17:13:16 +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="xUGyJIo2" X-Original-To: linux-kernel@vger.kernel.org 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 9739180E14; Fri, 15 Dec 2023 17:13:12 +0000 (UTC) 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.22/8.17.1.22) with ESMTP id 3BFEqKhI028436; Fri, 15 Dec 2023 18:13:01 +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=6AU3mM4W4Dpoj7He082seCwDnAZEhdu+kcbYvk2yFl8=; b=xU GyJIo2ahPSqlJydkQ5p2lhjm7fD/DUBsZbDFAFYYs2bG0gGsH69AjkITxW1fmcGZ u8PUjf8rqPOahUVoZxoVvK7QO0FwyyvLpgagHk8T6CzEENPLkj073nlJ/ZLLQiKn dEt3H4N3Ul3A60G+CcG0LaRz1+/haKTEKUPJbepQN5IoqILE0VENBGe+T142rnvk 4Ga2vFlt+Zu3g/vWJ36RtfMI+nv7J1sJj7R43pbdBi38Q1DCzc3c/a61cQFwMvdt ri93r505g1yv7EjtLJGwfnJ4Rd/GIr0ImnNzQCwb3HdCU3nkbyiLoMlSlsCmGSbZ EkXBgklaKIiDU8m1+bjQ== 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 3uvehmu8mf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 18:13:01 +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 E7BF8100052; Fri, 15 Dec 2023 18:12:59 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DCB8423BE19; Fri, 15 Dec 2023 18:12:59 +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, 15 Dec 2023 18:12:59 +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 , , , , , Subject: [PATCH v3 9/9] arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1 Date: Fri, 15 Dec 2023 18:06:13 +0100 Message-ID: <20231215170617.95868-10-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231215170617.95868-1-alain.volmat@foss.st.com> References: <20231215170617.95868-1-alain.volmat@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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-15_10,2023-12-14_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785369637352248008 X-GMAIL-MSGID: 1785369637352248008 Add properties for i2c2 and i2c8 available on the stm32mp257f-ev1. i2c2 is enabled since several devices are attached to it while i2c8 is kept disabled since only used via the gpio expansion connector. Signed-off-by: Alain Volmat --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts index b2d3afb15758..0ea8e69bfb3d 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts @@ -55,6 +55,26 @@ &arm_wdt { status = "okay"; }; +&i2c2 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c2_pins_a>; + pinctrl-1 = <&i2c2_sleep_pins_a>; + i2c-scl-rising-time-ns = <100>; + i2c-scl-falling-time-ns = <13>; + clock-frequency = <400000>; + status = "okay"; +}; + +&i2c8 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c8_pins_a>; + pinctrl-1 = <&i2c8_sleep_pins_a>; + i2c-scl-rising-time-ns = <57>; + i2c-scl-falling-time-ns = <7>; + clock-frequency = <400000>; + status = "disabled"; +}; + &sdmmc1 { pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdmmc1_b4_pins_a>;