Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp910776pxf; Wed, 7 Apr 2021 14:51:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTOkMYi3vAR74yebssiAHC+k/rapMJeGG00G2aFUfywgjFIGCuRT2LIswEYguflKtudHKy X-Received: by 2002:a17:906:b104:: with SMTP id u4mr6187931ejy.211.1617832269633; Wed, 07 Apr 2021 14:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617832269; cv=none; d=google.com; s=arc-20160816; b=QQH3m9jO6yUKjEDJ1Ayuky/QB/pG9Nm3qAYm//EEFNz1hHDEinivGFninSqxLoDzRo XUXqlgGpuc1NAPXn1PP6UWrzWTkMzR7Vj6W/Bqnf6tZtT6wTgJF07kNmg50/jiGVDsUG EWDqUQe75bxkjnU4ThCK0YbvPHT/ashhn5ha9V/BlAXUpV1YiPZMhUNobi91kDswXzD9 TxRfWT8RR8vPsAQGPugmIWFEFi1PKAUVzICa9QnE45JbOUGfDuR4j7dSNGuULywSqjky 2aGPomCk40uW/u09vtKBHaQ62+6oWGLm9fB3gJqvqTQIMEy9P3lQhnAFbf0m9vqcBhGn yHcg== 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=7HScvrLciiYUY6lHd75Xw0+49uVgcFrZVAh02IO0s6k=; b=Yb0UC664S6y9OQK5uolzt2BzJ8d+Y3VBQLITejXk5TnuLafFc/OyNstA9uh5VS8ZLO F0MnVELfIqw+8cvARK92VlAk8XPBRga8m7Ll8j65OPdf32HZfpCjdXIHXqFsNKLDFjzd xfRF/wq74fLGBKvs9Bm65D3BkqsNB7y5bT+8ha0ehkKuo3Bw6ZkNSfam5ok5rAB+w1Xu 2hm/YxAvHLXopo9y14ch2utsxQrN3JEBBVxUctxPkbdXR4cOu05Eur5jPuOdOVHu1rTj 58EZ6wc2IQmV3RaeobBfRLAouH+W9Cc2K53PZedKqP1AERLQD+EpWuFPXntRR9x/MNIc DOMQ== 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 o19si6722391edv.160.2021.04.07.14.50.46; Wed, 07 Apr 2021 14:51:09 -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 S1355164AbhDGSUB (ORCPT + 99 others); Wed, 7 Apr 2021 14:20:01 -0400 Received: from sauhun.de ([88.99.104.3]:37598 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344500AbhDGST6 (ORCPT ); Wed, 7 Apr 2021 14:19:58 -0400 Received: from localhost (p5486cf96.dip0.t-ipconnect.de [84.134.207.150]) by pokefinder.org (Postfix) with ESMTPSA id A2B1F2C04E4; Wed, 7 Apr 2021 20:19:45 +0200 (CEST) Date: Wed, 7 Apr 2021 20:19:36 +0200 From: Wolfram Sang To: Qii Wang 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: <20210407181936.GA1614@kunai> Mail-Followup-To: Wolfram Sang , Qii Wang , 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> <20210406194856.GF3122@kunai> <1617797706.32076.1.camel@mhfsdcap03> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <1617797706.32076.1.camel@mhfsdcap03> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Due to clock stretch, our HW IP cannot meet the ac-timing > spec(tSU;STA,tSU;STO).=20 > There isn't a same delay for clock stretching, so we need pass a > parameter which can be found through measurement to meet most > conditions. What about using this existing binding? - i2c-scl-internal-delay-ns Number of nanoseconds the IP core additionally needs to setup SCL. --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmBt97QACgkQFA3kzBSg KbZGCxAAjTn07oN3fOfLU6hpW7yIEBiz+GxSzByvRRuqIrVft8GqetCvK5oMvd7p diD/VhZ+4P1kw4/mA6zzsRpNJNerUBPeQ7xsF7cFMU7cfvG6A0zUuOieWM7+zwvw zCllS2a+a9Pld3QZQKhQKySazasct2LvhDh2HOpiNwm+mtmpWFur1c2Wra+JovF1 soq+CYPCOB/5OkZvEGhpsXIvoCJp1/hlx3hEuAGPh34ZkOOWoZBXty6yJJsTOH+m r25H0sceNddaabw05fs+F90zs5Y6wgyCvaIp1mT/R51HKOHzR7dVLq+JZhy+AZKN uQeGtveLnr8BcS3gud44R3AhBpejil8h0DNYd2BMGp7bqOujiWbK/GkRTfT/gnZA w+omah9S/tGhZKT9RY/6lFjeI1mn+r1A3vmHfjT5WiONjMLcHLe9+5SvK/N4vfxw cqEahaLoa8TkOOD7MI5gZROtwe4BDWtFdmyujWbql9a0lO/QGzGuchKgfBCDHGZD WF35ChYRvunAJr3dyfbaThKS7/KpolBLQz+z4Hs2x7PkRmvyK18AIJkdv/d7c82O scccsm6zgp1151zd9CfFKm355CmCgfUDU/naFCEic8HsmWAjc/gxjkNYpQyUjNPP +BjFP14MBlLhaAC2vGVJTqKQnStBlWAfbUr8vaV6yL/0hBnamxQ= =zMkw -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--