Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1803148rdb; Tue, 3 Oct 2023 01:03:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6zZuYyIokJA7NSqSzgyfXKb6+5kUqIl0wnkrGFKyUPan2vARvfjK5VBAq4X7YZqpOm/QB X-Received: by 2002:a05:6870:1691:b0:1d7:876:c825 with SMTP id j17-20020a056870169100b001d70876c825mr16619445oae.48.1696320183367; Tue, 03 Oct 2023 01:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696320183; cv=none; d=google.com; s=arc-20160816; b=kSY5/AvNjivMk01pjPKb9wzNv7dZcwdKssmJJRIafTP98XQSn1ZpyJcyrYVM82H1qT 4UIpkBeqna/5J0wh1MDqyNIWRLsphzH6qb7TGwUuYo4JPILoFpyZPecGcwYquVKLVz15 /MwBAgnWF1d6gkOYYpkarTCPfCRQwxbHcgSbLU0m1GCk8RWyivH0Z10JGerU/aERhYoO gpBi/NWBrGhQviw672cYaQGeEfB8OSofE4vayx2Owth0wqh8MObUi3gOw1JmpNHZryYf fSPyjRybM3wPbVMCA+wmnJKO256kejtzVhWoDbyC9TJFP5+UG8hl/rIVo3NfoKSh/f4D PBXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gVMDmNcDdk5Xjzv4wzSLdgAeNMqZ5fMGaXgl5cQg44M=; fh=1MeHWN07Tn7r8fZTgoaz6LwBPft8uWHk/xM2ilFyvLs=; b=aZW4mjz2nLy0zSe9kQ9uEbaSgCJoo/NkdQm09wu1yETDeI4pjeBYOD3Q/6pJBU5kPW lW73PfUXrEIg6lXifEaGxxi+N6qbVkfU+n/Qmfx4oEB958iOpWGFeEwQ7gCnvYi+v1UV 0fGRenUzf3Y/4PGvgiHhJqsMWSoyADhr7WNdyBzHvKGAkPqPIF1GuD05346wQMNnuqv0 TIQhprmIw1YOHiyVX7HTo5ojVW5I1NiPFykRIgcWxfaenBL9EyEYD/8olDkkuA4Qgoga gQRgVI+p+X1LvDt9mfD9YRtTmQrtz6LkLw+nW/sBfnhN7cawD0OD1/7phDBylrsIVxVq WcbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mm+FxZfp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y73-20020a638a4c000000b00573f6eafd25si930335pgd.572.2023.10.03.01.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 01:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mm+FxZfp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CD22680EA97B; Tue, 3 Oct 2023 01:02:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231288AbjJCICx (ORCPT + 99 others); Tue, 3 Oct 2023 04:02:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbjJCICw (ORCPT ); Tue, 3 Oct 2023 04:02:52 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1412AA9; Tue, 3 Oct 2023 01:02:47 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39382UnV010136; Tue, 3 Oct 2023 03:02:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696320150; bh=gVMDmNcDdk5Xjzv4wzSLdgAeNMqZ5fMGaXgl5cQg44M=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=mm+FxZfpZQpBNiHmrqZlCFphntnOlN6X3pdnvQUPXZKEbmVpcor7E/ifdgZDdqvID R/fOBXR8KMZtQwiyaELohrlZmqeCdmC0bQpKtkAJkJEo0phMSzW+/HPFs4MxbOfiic I07ryWHnyRO15bDpK5q8r5hNmSbS8Ca33M7dRo/k= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39382Utk120065 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Oct 2023 03:02:30 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 3 Oct 2023 03:02:29 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE112.ent.ti.com (157.170.170.23) 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; Tue, 3 Oct 2023 03:02:29 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39382Suv101819; Tue, 3 Oct 2023 03:02:29 -0500 Date: Tue, 3 Oct 2023 13:32:26 +0530 From: Jai Luthra To: Aradhya Bhatia CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , , , , Subject: Re: [PATCH v2 3/6] arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz Message-ID: References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> <20230928-mcasp_am62a-v2-3-ce9f0e1ba22b@ti.com> <1ad3087c-c9aa-9a67-46c7-4969c97041d8@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uvdysceesknkyl3p" Content-Disposition: inline In-Reply-To: <1ad3087c-c9aa-9a67-46c7-4969c97041d8@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 03 Oct 2023 01:02:59 -0700 (PDT) --uvdysceesknkyl3p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Aradhya, On Oct 03, 2023 at 10:54:12 +0530, Aradhya Bhatia wrote: >=20 >=20 > On 28-Sep-23 14:54, Jai Luthra wrote: > > The TLV320AIC3106 audio codec is interfaced on the i2c-1 bus. With the > > default rate of 400Khz the i2c register writes fail to sync: > >=20 > > [ 36.026387] tlv320aic3x 1-001b: Unable to sync registers 0x16-0x16. = -110 > > [ 38.101130] omap_i2c 20010000.i2c: controller timed out > >=20 > > Dropping the rate to 100Khz fixes the issue. > >=20 > > Reviewed-by: Devarsh Thakkar > > Signed-off-by: Jai Luthra >=20 > Since the codec wouldn't have worked with the 400KHz, the initial DT > configuration is wrong, which makes this patch a fix, and should be > indicated as such. I am slightly confused, as the codec node was not enumerated before this=20 series, and i2c-1 configuration @ 400Khz works for the GPIO expanders=20 present. My understanding is that a Fixes: tag would mean we backport this patch=20 to older releases, but that would not really be necessary here as=20 nothing was per se "broken" before this series. Will discuss this offline with you and Vignesh and send a v3. >=20 > With the Fixes tag added, >=20 > Reviewed-by: Aradhya Bhatia >=20 > Regards > Aradhya >=20 > > --- > > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/= dts/ti/k3-am62a7-sk.dts > > index c689d3da2def..866b2725f775 100644 > > --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > > +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > > @@ -261,7 +261,7 @@ &main_i2c1 { > > status =3D "okay"; > > pinctrl-names =3D "default"; > > pinctrl-0 =3D <&main_i2c1_pins_default>; > > - clock-frequency =3D <400000>; > > + clock-frequency =3D <100000>; > > =20 > > exp1: gpio@22 { > > compatible =3D "ti,tca6424"; > >=20 >=20 --=20 Thanks, Jai GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145 --uvdysceesknkyl3p Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETeDYGOXVdejUWq/FQ96R+SSacUUFAmUbyo8ACgkQQ96R+SSa cUUMmA/+N/E2rMFbxy2zfGYWL2ach8I1kkxOnoZBgLbw9TeSp9uyVrLA4JvM4ZYM FSpxYw82Hze4O4X7xa7dV0b42y9HZF8brW7SwRSrdgAIPQFRpqjna+/gcxLz3UL6 mHiGLD44kpJYbFcV0nyQLgvy7x3x6g843LurprkRrgUgA/jOfiYKIsIB8HRH3oNY tzpAVwlwn9qKDc5D2TcdTbstZgJdOcH2XtHoAEi91qxbpciUTObmPqYCyEHw2DBD QV78vzIS/hdimwxFh7PXiCINRVKWpRvIV5ccCaeJ9rjiq/9A+JPhXFHFkYqB6SHk Bt6z+W4bkuRJlhNXquEX1mPtWSbvHYd1MTBJrASoxZ36FRJn1xo7XXnp7PMyCWHG mhNJByZ3CMiatYWL0aQWJgNneDL3haXZFYrJHoM1cheBob7dosnctC+u4vhSLY9N kJcubku6F6KmVFP9U5EABh5LKsN/eIgb28K0HHi9Dq6WYdASfE0lQ6wJX2a9c9yF iUH1M52+eArXdBiqbuqUzzq3S4lWe1qHufQc54Dd02STxyQbwojGy7pQ012PqpJ6 QdrU4ONAyHF1XpM1Z8rlTyyJ2nkpJN+XMKkiJeNCb+VYXvP/mFVuISxrOUb1Yx+1 wre0nsxlWIZmfRJJfQeOG4/fV98rZ1ZQ7Tl6YG+S0lpvrE+VT3w= =MzXC -----END PGP SIGNATURE----- --uvdysceesknkyl3p--