From patchwork Wed Apr 10 10:56:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Ray X-Patchwork-Id: 13624073 Received: from mx0a-00176a03.pphosted.com (mx0b-00176a03.pphosted.com [67.231.157.48]) (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 F15DC1591E1 for ; Wed, 10 Apr 2024 10:56:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.157.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712746590; cv=none; b=XQNGUKuaOLahUzrHMVv10UvzPbK/KnvuNDELm7AHXNl/6ng2VbcAL+i/BElezp4MdW+tkiwZeqAsUW84rTuMeDntGGn2WXAYxQPRr4M5LQSD+kAi/5/OSp86ESClWLEOa+qfUhybmFbLWnwQR9gzB0pguqDBv5zIebGnKn3Rmkk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712746590; c=relaxed/simple; bh=nhPe0d6dN1xtXoa/pLx+Q5JNnTdOC3fNY0Y7FDbUkno=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=brXcdZfOvrX1CrociC/lAsFyID4mwns/Ah8M8DjRfzEz8JJxR4LMBVyKmj5QCJ5ir+CtBbyE8tNtMBzPcs5cKka9/9c6F0kZ+fniLjd8DOP0nW3OC+xBGvsAfO8q3mbyn0MipmKyUy0iVMH1JJj/BNpvs+s0WYgXLJwJfsyob+8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gehealthcare.com; spf=pass smtp.mailfrom=gehealthcare.com; dkim=pass (2048-bit key) header.d=gehealthcare.com header.i=@gehealthcare.com header.b=R2H1uwrn; arc=none smtp.client-ip=67.231.157.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gehealthcare.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gehealthcare.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gehealthcare.com header.i=@gehealthcare.com header.b="R2H1uwrn" Received: from pps.filterd (m0048300.ppops.net [127.0.0.1]) by m0048300.ppops.net-00176a03. (8.17.1.24/8.17.1.24) with ESMTP id 43AAlOn3047633 for ; Wed, 10 Apr 2024 06:56:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= gehealthcare.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=outbound; bh=gRNkGdhV 4ndQT+3cfhHl3osGq/PeHfRnMZPdJWTnA9U=; b=R2H1uwrnPTlqEmkA2Kiu0dX+ 0Nlvm2fxhW2fU5GJFrDFbALrFxa24D7nKtdI5VjAwjXYeNxkMu6YwsgDczCmdnyw jbyeGWunUBB38Jwfyda3Oa8mY/cCsJLpd5zsbKc/uf6NDsUm/ttMs2flJJ7PBVfT V0UNFqQ/nWTuV2sxMzXroYjYoD49lUwCP9Jx1EPizKgwgChPg5MFsFejaVO+BGRC 9z4XrE0y2nSHFgxgrcCJcAwcLbN+pwGrMb0mdynSR45DiO7Iye040APd8F4Ke70T 03auGCfThBHW48X5Ye8BeKwFYB6lVpZ5r+teetS00QJ8PYvTXApobMYJ5y7TBQ== From: Ian Ray To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Ian Ray , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 1/2] arm64: dts: imx8mp-msc-sm2s: correct i2c{1..6} pad drive strength Date: Wed, 10 Apr 2024 13:56:10 +0300 Message-Id: <20240410105612.982-1-ian.ray@gehealthcare.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-GUID: MGeQra0XbW-DzBdcajORBAZrtDDM8FNU X-Proofpoint-ORIG-GUID: MGeQra0XbW-DzBdcajORBAZrtDDM8FNU 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-04-10_04,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 malwarescore=0 clxscore=1015 phishscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404100078 Adjust i2c drive strength based on latest Avnet BSP. Signed-off-by: Ian Ray --- .../boot/dts/freescale/imx8mp-msc-sm2s.dtsi | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi index 61c2a63efc6d..e794f05cf5aa 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi @@ -602,38 +602,38 @@ pinctrl_flexspi0: flexspi0grp { pinctrl_i2c1: i2c1grp { fsl,pins = - , - ; + , + ; }; pinctrl_i2c2: i2c2grp { fsl,pins = - , - ; + , + ; }; pinctrl_i2c3: i2c3grp { fsl,pins = - , - ; + , + ; }; pinctrl_i2c4: i2c4grp { fsl,pins = - , - ; + , + ; }; pinctrl_i2c5: i2c5grp { fsl,pins = - , - ; + , + ; }; pinctrl_i2c6: i2c6grp { fsl,pins = - , - ; + , + ; }; pinctrl_lcd0_backlight: lcd0-backlightgrp { From patchwork Wed Apr 10 10:56:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Ray X-Patchwork-Id: 13624074 Received: from mx0a-00176a03.pphosted.com (mx0b-00176a03.pphosted.com [67.231.157.48]) (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 E70E7159592 for ; Wed, 10 Apr 2024 10:56:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.157.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712746591; cv=none; b=kDbD9pkcs7iprgAGAXdq7AMzA5aIWxZbv/MWquX6/l9q/biUJv7xEnbyeg9cSxwzvbtEjD7t7bxa0nqw4HebVCu/splOmYqXx0viDAZOzbd+9+QuEl6RSz85f86mWoNR8Fcapmcva5iESmfyUD+Vhs8len3qqx5mdYXAeXPu64Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712746591; c=relaxed/simple; bh=T2Cxr4cQmLbIrGYgWWPyBq4OPBDB8i8INtNZfa2a06o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CDaAmyVHnaPT3DnKHoEq9IKvE7wUatT30OmhQK1UDlMVUkhcI/xVe256zQMNBLo1W6zTWNrL6E4bfYQO53shIyw8xY7d0xGL7KI16qFMgS4n/EB823NJj7m2pO7Jypacp6oixIySJv7jVq/OlTZjA2o5H/+d9CxAZEBEnsXdxkw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gehealthcare.com; spf=pass smtp.mailfrom=gehealthcare.com; dkim=pass (2048-bit key) header.d=gehealthcare.com header.i=@gehealthcare.com header.b=Dktcxcjj; arc=none smtp.client-ip=67.231.157.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gehealthcare.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gehealthcare.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gehealthcare.com header.i=@gehealthcare.com header.b="Dktcxcjj" Received: from pps.filterd (m0048300.ppops.net [127.0.0.1]) by m0048300.ppops.net-00176a03. (8.17.1.24/8.17.1.24) with ESMTP id 43AAlOn4047633 for ; Wed, 10 Apr 2024 06:56:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= gehealthcare.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=outbound; bh=9nrWY9DytoleI3fgu32cTyh5F+jGWl2jyLpk3CAefTg=; b= DktcxcjjbVf0H9wQkAN91LDTjutpxi9qX+PdOnqHzioZlEIuxHN1l+u1TCtpkx+h HjI28Qg13/Jm+KCN5iBPg6/YiUrp3GM3J1chZ8HETYF1mcLEo3EOy9Iwmjb53y5o /PPvUolyIrbYcEi6S3uaflybnk6Fw4nTEVTh+2PU44jBOLDvb8h0ecr/v6aTgSoJ JE/8bGaIPBEkAf0xHaGKi5GLNZGlamGbOvnjLhWxQ+iV/fgl+S9KR20a5TtB9k1e 0EVC//d7GNIB8Ntk+zc04tgHKLbXK84nG1y67ypVE/ntQxf2kKwWX2MmEtP14iqo kJb2FEHG0kuF2wQRrDXMRQ== From: Ian Ray To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Ian Ray , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 2/2] arm64: dts: imx8mp-msc-sm2s: Add i2c{1,6} sda-/scl-gpios Date: Wed, 10 Apr 2024 13:56:11 +0300 Message-Id: <20240410105612.982-2-ian.ray@gehealthcare.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240410105612.982-1-ian.ray@gehealthcare.com> References: <20240410105612.982-1-ian.ray@gehealthcare.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-GUID: N8idGYMx1oTWuJ6l_FSrtXcskqNMH4Ey X-Proofpoint-ORIG-GUID: N8idGYMx1oTWuJ6l_FSrtXcskqNMH4Ey 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-04-10_04,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 malwarescore=0 clxscore=1015 phishscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404100078 Add i2c{1,6} sda-/scl-gpios with the corresponding pinmux entries. Signed-off-by: Ian Ray --- .../boot/dts/freescale/imx8mp-msc-sm2s.dtsi | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi index e794f05cf5aa..0fd5c3abcdb7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s.dtsi @@ -200,8 +200,11 @@ ethphy1: ethernet-phy@1 { }; &i2c1 { - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c1>; + pinctrl-1 = <&pinctrl_i2c1_gpio>; + scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; clock-frequency = <400000>; status = "okay"; @@ -241,8 +244,11 @@ &i2c5 { }; &i2c6 { - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c6>; + pinctrl-1 = <&pinctrl_i2c6_gpio>; + scl-gpios = <&gpio3 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio3 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; clock-frequency = <400000>; status = "okay"; @@ -606,6 +612,12 @@ pinctrl_i2c1: i2c1grp { ; }; + pinctrl_i2c1_gpio: i2c1gpiogrp { + fsl,pins = + , + ; + }; + pinctrl_i2c2: i2c2grp { fsl,pins = , @@ -636,6 +648,12 @@ pinctrl_i2c6: i2c6grp { ; }; + pinctrl_i2c6_gpio: i2c6gpiogrp { + fsl,pins = + , + ; + }; + pinctrl_lcd0_backlight: lcd0-backlightgrp { fsl,pins = ;