From patchwork Mon Jul 31 12:44:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13334564 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 A425FC04FDF for ; Mon, 31 Jul 2023 12:46:04 +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:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RumDkwvC51JHpqBxq6eoi+f95NAz0dv+va/TXh+90fM=; b=U+k7P+sejBAZDI sBtZaCd/7iSNf23Y0SSDoSFQ3Y6zRSZeUv4Q1iVuoi5BQE7ElHJjvwbFeqTbetHiAVHGJ9ZofKsyA 0Q8/+UootQ2CUnIz9sdzpZoGbHX2V2OJwKxqQx2nw8j29PL9D3P1haqKHDP5Gn1z4ekLSHEeM02ti tHjk/U6Q9GzKKFF7EDQ1Fxo8dNMmg349RnpKO96o4CQ/tH6HjdjxHHazj3Bp17B8Pxieuhy8dfg+t uhMjiuIfAAl/h3D6MM1dLjsqe0GI3h/XNt/cyUz/XSBTbEiL/inKadkOSAEx4nIflUY/CPos2sPC0 8hnTU2p09BLuRAYU3duA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQSHJ-00Fbkx-2n; Mon, 31 Jul 2023 12:45:37 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQSH7-00Fbg1-0f for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 12:45:26 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36VCjHEa110648; Mon, 31 Jul 2023 07:45:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690807517; bh=Pcz6ABCUyvN0ow/G7gff5cRXMYJaFfXpriXkrpONG2M=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=NIOdeyNEsts3asU+1/mlG5a6xs+imJ7L7O3otboOUm7GDplJnWDpKDp7yIgvRYcQ9 RSC12DM6/qxZR5UQf1LFXHp2TuZPpVjHQVJ4Ql5y7+o3ztluyFiti/BYKBAESPWzpL 53NNkErVWjzNeAiFqJZw3A55nDLH64ySQ7ywSEPI= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36VCjHjA021188 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 31 Jul 2023 07:45:17 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 31 Jul 2023 07:45:17 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE103.ent.ti.com (10.64.6.24) 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; Mon, 31 Jul 2023 07:45:16 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36VCjGbk053803; Mon, 31 Jul 2023 07:45:16 -0500 From: Jai Luthra Date: Mon, 31 Jul 2023 18:14:40 +0530 Subject: [PATCH 3/5] arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz MIME-Version: 1.0 Message-ID: <20230731-mcasp_am62a-v1-3-8bd137ffa8f1@ti.com> References: <20230731-mcasp_am62a-v1-0-8bd137ffa8f1@ti.com> In-Reply-To: <20230731-mcasp_am62a-v1-0-8bd137ffa8f1@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , Jai Luthra X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=959; i=j-luthra@ti.com; h=from:subject:message-id; bh=aTOqwZxXdBJogA2nRpSO8Kb+qxM8xYZ25pTWUKPJOR8=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkx6zYYMwzfaFYgA8QP+a3aNyGfWTL8VdXfwv36 gqCD/+RKQiJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZMes2AAKCRBD3pH5JJpx RQDrEAC5pvCzWw3YO1K2zS5NfpF9tyEZNvtbKZBhfCyr8Ji/FUXPd1qLvKuj3LTjjse2a/AEgjc 7fJA0/0nWOXNih/f8fJXHadwgtmDdpxijwBssBiXJJ61gQ+lsn0aWfRzTIy8RwxMr35MSm9YLPF PO7iukHXWx+lVj2UKHzUURRVDFIIkufGjGGi9LQrvT1Kr8Zaw3BKNpzNhte4gOaKI2R3IBdc4hr /lkdCq4MWO8Dc6u0x2tnfHyEjxJYWCccEfCw3Ns/Sn+MQA+bAgSbtk0jB7vuTO4Dvvu+A1seQwq Qu5hB5I8VUMtLnw2Nfz0J0zZD/2gCwwRr/z1mMixKJtYpXVRtd+QNcSsC60SY4v2SFSv2mgy71T MSWk1lC90H8tPdI9RgpZ2ihMOf7F2Akr6M6vFNERSTO/MKrGw2VKdSKDjvSpRaFX2knWYUmcYr9 m/B64bmDmbxxAI+PID0rBTAI7Fy/Y6Q9uK4aFJtzO8Yj6SpSX2Z4MdcuRf/rRzpQ2Pb5LexhM/X oRaDMhWb/wuBNkbhOa+apP+21qoWNDD1V6hMwQJ8Tz/oS30hKt21tAzN5uUC1ODnZxM/QLSRae6 WRGJRZU4X8DoRinNiHNEtlOaL8Kl/1u9vyqLtRsqkGlbw2+bHrcKKXkPenVCZ/PBDAqwrK8k2XK NsLFpw10vqMq9SA== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_054525_340002_F1E68AE0 X-CRM114-Status: GOOD ( 13.44 ) 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 The TLV320AIC3106 audio codec is interfaced on the i2c-1 bus. With the default rate of 400Khz the i2c register writes fail to sync: [ 36.026387] tlv320aic3x 1-001b: Unable to sync registers 0x16-0x16. -110 [ 38.101130] omap_i2c 20010000.i2c: controller timed out Dropping the rate to 100Khz fixes the issue. Signed-off-by: Jai Luthra Reviewed-by: Devarsh Thakkar --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 9d34b8fe4ecb..752c2f640f63 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -338,7 +338,7 @@ &main_i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; - clock-frequency = <400000>; + clock-frequency = <100000>; exp1: gpio@22 { compatible = "ti,tca6424";