From patchwork Tue Jul 23 11:01:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13739915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5B903C3DA49 for ; Tue, 23 Jul 2024 11:02:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=nhT72udXBVJSVN8T6HDpzXoKuiv7mterFLwXgGAx04A=; b=MzVj3EGTnT2lYR8DDi+Xt55DLZ FzNrCl7r/VxlsThRbT8l0HidS+MicZ5JcxslaZi2jwgOAF37D3Fmo0WvYxMLezJaqITCVu7xq0MPw VkCJKHPjDoqVxggmtFvc4pLc4YYI8s3EqirKi3BVL6+tyCSQ6XQ1JcBpluQeRelAX9OhNLfduXqtj GTnGxAOXZoYmnTy8xUpTMZaK7qVcGYZbCaPCtgM+HHC3m3jYuFu7l86n5QHJq6s8I0i6l9fwO1THL 8HiThMudZVSTTe52QqC3j6FA7wgbleWPmXBJ883wH1flnUGqSm/+RLUj6tXi5O0xe+4uIz4T1scHW Yw9WGSiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWDHi-0000000CDOn-1v9a; Tue, 23 Jul 2024 11:02:22 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWDHJ-0000000CDH8-1Iiq for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2024 11:01:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1721732517; x=1753268517; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=nhT72udXBVJSVN8T6HDpzXoKuiv7mterFLwXgGAx04A=; b=fkhZOP4I8IEGpHXO/9Wi7BtRoYujxAnO74zY2bo6EJQEfF8S9GFaBbjP 6ejy/vQwoBYzNo5V5C0bVDeIE+XkR52Kammy5SRnybSPCDYUImP1O7Nuq FGc8w2TlqnAO75tVpamB2q7zyzh3LwUN+Vmi1lqBb4OR5mIN6bZUqx1/Z cJHgf9ThXkcta/gihLH53jJc5LA2qegbwsv7HBJJFaCMU0bVNir3b3/+d ili9nFEj0DEqEdkOs7A4+dFldHara1U74tLpWyKtRWkVqX60Yr4T3CoRf CYhPX20AprTj6w2g1kxPspGfHU/O2/5oTDZoONM1W4aU4ET6aEtfog15/ g==; X-CSE-ConnectionGUID: KtMHRtnkSFaOQmbB5DPW2A== X-CSE-MsgGUID: qiiMoHtNTxy7/f70otF4nA== X-IronPort-AV: E=Sophos;i="6.09,230,1716242400"; d="scan'208";a="38035062" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 23 Jul 2024 13:01:51 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 81D6E163353; Tue, 23 Jul 2024 13:01:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1721732510; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=nhT72udXBVJSVN8T6HDpzXoKuiv7mterFLwXgGAx04A=; b=jzRwxecSDYEJzc/MvrF/ZOZUhTqaxFyY5KfxAR7qK6rqk6BZDhAfQFHr4dANvF8PZTjSqr EvQXH1e8IPFgJtVU6fjz2YMwvjyy6SrqifOs/eKNAr8VSkEBDGG+2Qh+tv62/kVrNCusOA dDesio11taawWV6SuOjfGzFmagPu+KRGPD6LLRhhupWj9nDIdUKN9t17aakjQZMaGCvWSD I9uqDVNp1tezIuyY83yuIcuRPC/xL29lBA5RnSjsqXIRFrx0Xa99OANymbtLCqcqaf+Y1b WSGbxorHp9InPb/RsnrXzpRJ/joqy1cQzHsr8YuLhnVPMR2btvV+mpWx4CIG9w== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] arm64: dts: imx8mm-tqma8mqml-mba8mx: Increase frequency for i2c busses Date: Tue, 23 Jul 2024 13:01:46 +0200 Message-Id: <20240723110146.3133155-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_040157_854716_63DD5F2A X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 100kHz is only needed for the USB Hub TUSB8041. But as this device is not connected by default, the speed can be increased. The other busses don't have any 100kHz only devices attached. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi | 1 - arch/arm64/boot/dts/freescale/mba8mx.dtsi | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi index ca0205b9019e6..8f58c84e14c8e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi @@ -83,7 +83,6 @@ &gpu_3d { }; &i2c1 { - clock-frequency = <100000>; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c1>; pinctrl-1 = <&pinctrl_i2c1_gpio>; diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/freescale/mba8mx.dtsi index 815241526a0d3..520702a465a40 100644 --- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi +++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi @@ -237,7 +237,6 @@ expander1: gpio@24 { }; &i2c2 { - clock-frequency = <100000>; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; pinctrl-1 = <&pinctrl_i2c2_gpio>; @@ -258,6 +257,11 @@ sensor1: temperator-sensor@1f { reg = <0x1f>; }; + /* + * TUSB8041 is at 0x41, but not connected by default + * Note: TUSB8041 only supports 100 kHz! + */ + eeprom3: eeprom@57 { compatible = "nxp,se97b", "atmel,24c02"; reg = <0x57>; @@ -274,7 +278,6 @@ pcieclk: clk@68 { }; &i2c3 { - clock-frequency = <100000>; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c3>; pinctrl-1 = <&pinctrl_i2c3_gpio>;