From patchwork Wed Aug 9 08:45:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 133142 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2676956vqr; Wed, 9 Aug 2023 02:40:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsd/wcOvAwCFRfzq2NjurpzZOwrtR+t+RDDxP/7egse5X2KI6sckI42J5XJD29GSSnuCx5 X-Received: by 2002:a17:90a:480a:b0:268:5b19:c35e with SMTP id a10-20020a17090a480a00b002685b19c35emr15220883pjh.6.1691574044008; Wed, 09 Aug 2023 02:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691574043; cv=none; d=google.com; s=arc-20160816; b=JsR1aDXG8rmmyDx3WXnudpubxR5o8xRuKpQmaFOWrqcRdIaFJPuGEa4loOl10ASe6z X3FrDetav1ZC86651ddDPS3zerrcHEmnNdPEv81JJcPgJw0ZRu/6FD8Zn/eLa9TXUgJo D7I3ZTT+GAIZBfgQbd2IL37pJRl11oz5/ilwnvmbzkgNZ7aTX7uDuIxJgiqOaQq68TJR dxd2wiSq0vPRnZ/JTw2PdQtQVKzogaWe7VP5xj3nHF+TFGtaTGZiE8NoBvjFcKv+p0sB KJSRYuJIMIxsJaSVvrboDYWudHcKQ922PA2CcGCX2mOTVRi/aNuynWrBxxa+qQem05nF ngdw== 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=pOpkWv1WY4LUxgbOsW3PA6qxRpIS7KNs/e9MLKHvQHY=; fh=Il8YZM5/F0G6fW6jRGwTBh/PJehaB9uye1IIJCssVD8=; b=RPrySFjuQqJHLRPmElWK2L7j7+rm5IHTSkBFFQ6Z6WtenjTAEcOnhrp2V3dNBLaYvT kMpkGAsLzIdMJegWpsnnZ1AZA9HrDQKL8Z7QiBLy9HHr4kPqlbhLLzNzpf4eYRd7A+uw zea4ymi8wOlOtMuJWFv7rbh2slglhN7rjZTZROoYsdMh2ixXqpcXyNu2Mv+dGfzq3RQf 5T2pQFzMIXsOxGOymXMxGgFni4glYF30eTn6Hx+AkqpDmJQrI6oj8hpLzen/FTXtwTfT BmHunG/NiWPYQj/+R6sjF1oDHIqF/exWJLjMXYXVnC8XYKz/PUcDuzNZrC4jW0QUgMF+ JVhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p5myMuz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h5-20020a635745000000b005643f89533dsi8617338pgm.173.2023.08.09.02.40.30; Wed, 09 Aug 2023 02:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p5myMuz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231963AbjHIIqa (ORCPT + 99 others); Wed, 9 Aug 2023 04:46:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbjHIIqZ (ORCPT ); Wed, 9 Aug 2023 04:46:25 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1AB01BD9; Wed, 9 Aug 2023 01:46:23 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3798k2xU127458; Wed, 9 Aug 2023 03:46:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691570762; bh=pOpkWv1WY4LUxgbOsW3PA6qxRpIS7KNs/e9MLKHvQHY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=p5myMuz+dJxsChosWagRW7OFUH3cZgFXT2R9y7rSFh3mS08EU433vrgG6JXeMO0hb FJZMAXBYS19+odqE452Zqibj/y6lmPAn5cy3Z3ROKcMGLc1XOydGx1o8YJdwIFGreb t58wTTYE+LvthhGAj18BGjqQWA/r0DDEE3ocCy8U= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3798k2iJ023626 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 03:46:02 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 03:46:02 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 03:46:02 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3798k1Ms120239; Wed, 9 Aug 2023 03:46:01 -0500 From: Aradhya Bhatia To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Conor Dooley , Will Deacon , Francesco Dolcini CC: Devicetree List , Linux Kernel List , Linux ARM Kernel List , Tomi Valkeinen , Rahul T R , Devarsh Thakkar , Jai Luthra , Jayesh Choudhary , Aradhya Bhatia Subject: [PATCH v5 1/6] arm64: dts: ti: k3-am62x-sk-common: Update main-i2c1 frequency Date: Wed, 9 Aug 2023 14:15:54 +0530 Message-ID: <20230809084559.17322-2-a-bhatia1@ti.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230809084559.17322-1-a-bhatia1@ti.com> References: <20230809084559.17322-1-a-bhatia1@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773743944462335274 X-GMAIL-MSGID: 1773743944462335274 The Display Data Channel (DDC) transactions between an HDMI transmitter (SIL9022A in this case) and an HDMI monitor, occur at a maximum of 100KHz. That's the maximum supported frequency within DDC standards. While the SIL9022A can transact with the core at 400KHz, it needs to drop the frequency to 100KHz when communicating with the monitor, otherwise, the i2c controller times out and shows warning like this. [ 985.773431] omap_i2c 20010000.i2c: controller timed out That feature, however, has not been enabled in the SIL9022 driver. Since, dropping the frequency doesn't affect any other devices on the bus, drop the main-i2c1 frequency from 400KHz to 100KHz. Fixes: a841581451af ("arm64: dts: ti: Refractor AM625 SK dts") Signed-off-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index 34c8ffc553ec..540ed8a0d7fb 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -300,7 +300,7 @@ &main_i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; - clock-frequency = <400000>; + clock-frequency = <100000>; tlv320aic3106: audio-codec@1b { #sound-dai-cells = <0>;