From patchwork Mon May 27 16:03:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 13675555 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 115F8C25B74 for ; Mon, 27 May 2024 16:04:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JHr4SICQFgwuAMIMALRW924KBbiLkOaxWJoeuhI44Fw=; b=le1HKZdsIIP/sg a74ibG5Hurk4kSB29DPkErerdqHr77/+QxSI3pJaxtY/bXO4FklXWnv2yLOnDpKz64e41ytIgVYk/ 439xSYE46xFzHJuSO9+epUraDkcbDyb0ioAxim83R9HtdOxbennKSj3MKvbbRtjC6FEeZAOOUVzTP LIbIkHpEbBlGogse3hKKWUJvUodZmz/05cL4jeRMCNZw7ouricx3+ODO6RvTgpmAaegX+9O+rGUVn oncnj0MFGn16cn4MKuaRKFMcxttAd5+Fo9/H2V6tvDnQ5ngfZc6zNrEaPv1km0HX9JK7nnu4BAFf+ hS2r6Wk+FUEiPW+Y3AgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBcpm-0000000FjhL-1EMB; Mon, 27 May 2024 16:04:26 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBcpg-0000000Fjec-1z5e for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2024 16:04:21 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-354be94c874so4222630f8f.3 for ; Mon, 27 May 2024 09:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716825857; x=1717430657; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GX7MWRomctyKxwYidxaCMCj15SrJj2c1nUuhZiJGE4Y=; b=KVn+FFk8KNvUV+Hq/uaiQQc3BeTqPmsYWFSXZXgWgoH3snAldXkfxn9BqmIdJYqrct gZq1LPIrzD1HimS/yWJqIZ76/u3cCp+CNKTP+3P7pKlPAQ5O4vul+rhLE7XW7BEHxmkW dVcYnt57qLWCC6R423IwOyu7kwhNqIJHa8pyTnXWwWo8T9bpoicK16FVfRXb0d/fHorW 5QVFdzNZ2LtzXId06L6qXHyP8kMhE0Yznd4SwNo4b9K8WZOoGLIn6PIgE0pqJbSA635R HmoFrrLR9JsxMk8mtZcZjrJtOtE+w52FCIBJpFHAuaTU47h92Iu0G/Ods5tepPn4ttVt ZjDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716825857; x=1717430657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GX7MWRomctyKxwYidxaCMCj15SrJj2c1nUuhZiJGE4Y=; b=LFyNTVpA7MgNLtlQy6Hyed/h3nzYNPvYNjP+G26OQjFglBU6Mxe7u3ejUZjycKOeEW iQJNSeppUcuAOSbtcECsxg5ZD9kya8HowIxri2eWrMOS9F963v/nl0Sev+dtlt5TE4/h hsCRnI2IDl+hv+vhOjCYHQMTS0pM5Bvb8zpNkfKb8B9OQDPN62pPO86qgCCQjghVjh3I 2Ph1NNU6w6DM65IyvG/vXQbZNQPOdgwJwmiLLcCKukKfhOh7OClq9n0e697tNUyVqv2u cmrJ70C0LXMo5GiT6sVSTVbJYIcJaSIL/HOvvRJ3NA6EDYO+x+fv+YtE6+Ke6obOMkg7 B0Cg== X-Forwarded-Encrypted: i=1; AJvYcCXMCZO29ajaeZG0TD7BvpNuo2WXEhCvky0caEIxX6Aldplh7tcX2ohFafdox0/kHGuHwyg5V6uuxAUy9tMOzz94JO7wwy59zNamg7lUlwdvZTpwnQ4= X-Gm-Message-State: AOJu0YzmMSyBw4fK1S/jw9nGSljmq9jPN9FSeJWID5iV7eB8+JtzChWW /nsycXSGNdg97SVEdb/hI5g1v0H2m0OAIuJDwaqW1xY8ODB7VkIJ X-Google-Smtp-Source: AGHT+IGIGygC2UpwgSkACZB8IxM9lQz/dCKFi424OCk/HsYCzOxG44VH9Zf55MjJBWI44kLuK6cLzA== X-Received: by 2002:adf:e444:0:b0:356:4cfa:b4a2 with SMTP id ffacd0b85a97d-3564cfaebb7mr8173765f8f.3.1716825856453; Mon, 27 May 2024 09:04:16 -0700 (PDT) Received: from toolbox.int.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35579f96519sm9349394f8f.26.2024.05.27.09.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 09:04:16 -0700 (PDT) From: max.oss.09@gmail.com To: Max Krummenacher Cc: Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] arm64: dts: freescale: imx8mp-verdin: don't limit i2c2 max. clock Date: Mon, 27 May 2024 18:03:46 +0200 Message-ID: <20240527160359.1965512-3-max.oss.09@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240527160359.1965512-1-max.oss.09@gmail.com> References: <20240527160359.1965512-1-max.oss.09@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240527_090420_589228_31A52D05 X-CRM114-Status: GOOD ( 12.92 ) 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 From: Max Krummenacher Verdin I2C2 may be used to access other I2C devices apart from serving as an HDMI DDC channel. Thus do not limit the used I2C clock frequency to 10kHz in the module specific device tree part. If an overlay configures i2c2 as DDC the overlay is also responsible to cope with an appropriate I2C clock. Signed-off-by: Max Krummenacher --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index aef4bef4bccd..3c6b47edd4c1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -650,8 +650,7 @@ eeprom@50 { /* Verdin I2C_2_DSI */ &i2c2 { - /* Lower frequency to avoid DDC/EDID issues with certain displays/screens. */ - clock-frequency = <10000>; + clock-frequency = <400000>; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; pinctrl-1 = <&pinctrl_i2c2_gpio>;