Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp513807pxf; Wed, 7 Apr 2021 05:21:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzznjXaK+8E7t+wYk8kUE8zuNOXPDDi/8QgcAiVWoeXIS3jnFaFyYveRgC62Usy6WiG/KHo X-Received: by 2002:a92:de0c:: with SMTP id x12mr2548077ilm.169.1617798077856; Wed, 07 Apr 2021 05:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617798077; cv=none; d=google.com; s=arc-20160816; b=0sKzunIOBR6w6Qzu+RfnH7C9nYIh+3x7pOUFt2W0F3uQUOseAGKE/VGDNUdh7X+gyF O9pZfUL5jnmie4/zQMvx3N4guxeLbHMOyVjOu1hbcyNaIFk45XrDekJlIQFQL/al3QDo Ev70xN3R7i94/+NHND0qInKJrLzWIvUTmmytGasS/hS4+iRaZ5pvA64iThm9j7G7Uc1n M7psydrqWmXrvdiC6wGgurGc1GzIRVqiNETKkw8z52JkWEywoungeQnOR/LTKMoioGVM F6mbpWdhaCJuPXweRwM7oWs2hgQh5vYia/HYbKmqZzdZFJP/isXHNqA3CnaWmzKa5Hes 2iHw== 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:mail-followup-to:message-id:subject:cc:to:from:date; bh=KYUjSbFQg52D+qlWvWzt602V+eYNdrgme2KKamkPcqE=; b=wOb8HHzfX4OyNQ14CE2dIFl+w+uGQqU0Hpgsf6nkUPOD2BzkGtQ4Ue4R1iBP62gdXA +5d/zu+RTX/4c+u7Vh80qsQ6PBoA+qG1uyFr7L8HM1CCy5IeShOvu7AW6qVRu9qxX8Rw ll+jud+6X0m2Oa3RhWVjwHViWhdBfu6ETWlNL7DYTHNDn1J/kcxeJ/qofpgJu89k/82+ EiJE+7P6wtN7nWRz+9kVlHvbICskEwNg/6pmTIW6QZanFmUJ83VPwH+sPc+rT9buJnhS 8fiT4/yaiZJ8jrGz46JXXbo3RZu/PADRsAmszkI5k9dIPfQ5uW37kFzaDFjjx/+OlW8N 3RaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si21999589ion.78.2021.04.07.05.21.02; Wed, 07 Apr 2021 05:21:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236230AbhDFTtK (ORCPT + 99 others); Tue, 6 Apr 2021 15:49:10 -0400 Received: from sauhun.de ([88.99.104.3]:54776 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347121AbhDFTtH (ORCPT ); Tue, 6 Apr 2021 15:49:07 -0400 Received: from localhost (p54b3309d.dip0.t-ipconnect.de [84.179.48.157]) by pokefinder.org (Postfix) with ESMTPSA id 463B32C04D8; Tue, 6 Apr 2021 21:48:58 +0200 (CEST) Date: Tue, 6 Apr 2021 21:48:56 +0200 From: Wolfram Sang To: qii.wang@mediatek.com Cc: matthias.bgg@gmail.com, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, leilk.liu@mediatek.com Subject: Re: [RESEND] i2c: mediatek: Get device clock-stretch time via dts Message-ID: <20210406194856.GF3122@kunai> Mail-Followup-To: Wolfram Sang , qii.wang@mediatek.com, matthias.bgg@gmail.com, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, leilk.liu@mediatek.com References: <1615622664-15032-1-git-send-email-qii.wang@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w3uUfsyyY1Pqa/ej" Content-Disposition: inline In-Reply-To: <1615622664-15032-1-git-send-email-qii.wang@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --w3uUfsyyY1Pqa/ej Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 13, 2021 at 04:04:24PM +0800, qii.wang@mediatek.com wrote: > From: Qii Wang >=20 > tSU,STA/tHD,STA/tSU,STOP maybe out of spec due to device > clock-stretching or circuit loss, we could get device > clock-stretch time from dts to adjust these parameters > to meet the spec via EXT_CONF register. >=20 > Signed-off-by: Qii Wang I tried to understand from the code what the new binding expresses, but I don't fully understand it. Is it the maximum clock stretch time? Because I cannot recall a device which always uses the same delay for clock stretching. --w3uUfsyyY1Pqa/ej Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmBsuygACgkQFA3kzBSg KbbOjw/7B8MXTjgR11P25HsLFbayUrZDnsFzJtjHOTGDx/XGm4IVlf/c0RHjInRz VGWqF2EyJA4cDlZTnnsYGadOBQ+SJSAo0xyDqwxmYIV5goFZdV0pFklMLuHEe4ao rwSeruU9SCM8VdTGMBqsZ9Sh3nApC0ydn5EU7AIwtB+UwRKL7mFwyLX2ZfpGBJDp gF6j+o/ag3nKMgsLdIf0l3afKMgbeTTepTkEAXYY/y+e06Ea77HuwghsLvoH0cxB mKPuWLsF6Pr2J8FVb+iqBT6NDwfj9yNGdu96wbFTQaHzJ8rjjXdDyykju0whq8Fe kux0ugGcM75AlJSxvJhhjcxjcA03LMbOrxhBCzLy6M46ho0GnFFJPFTF8deeOLwu ZsWI3tifh+MW6tvSKcZzrooevCHTErPncCIxbVTJgIQu3q2HQK0hXBDz/7ede/oU SlQSrxjU6jUzIYVkASYF3wN/eCj4e7fUuMXioyBf5v9BnMRLjJs1eHGs9c10ah1F YbTm0oBxADH26HU3KZkAPcWajjWDmgOyjmfcmmcx6y0jyP4k+4ysvunP7QBUgwyC PLEnZyI123oI9UToZY1UR9v/VEn8tkIhf1qmgI++yQtvwnFOmrvmzcvo5otc3G7b 2x/Hwt1/skpWkj341hmYG3q7ehYX4auMBCSs66OBLYD6UzSS/jY= =LA70 -----END PGP SIGNATURE----- --w3uUfsyyY1Pqa/ej--