From patchwork Thu Sep 21 12:53:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 725043 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 638E9E7D0A2 for ; Thu, 21 Sep 2023 20:43:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232178AbjIUUoB (ORCPT ); Thu, 21 Sep 2023 16:44:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232370AbjIUUnv (ORCPT ); Thu, 21 Sep 2023 16:43:51 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7F7ECF4DB for ; Thu, 21 Sep 2023 11:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=/hGi7nKY0ZCz5n gHoRP4Dnsm6cwPVYQ6ullUHHK9G/U=; b=FSgnuyf9iJJY3eix3OUaTTB7WoR3RL Qw8D9JBqrJTfaObsLpr9iGr1zfjqIhAZlD2EJTcRtKzxQ/oL9qlFvwQySdR6OCxV xvJNPdXpBpQux5aaw76J+BP+q3y+rr2zxCCVSMMavi5M97ivNoxC3vbHB0B/slzk rJhwE1jCsPiYD+edKd8vjVSXFlUTop0ilWvMRKF8aFkp6qG6gk2PrgTyKx1Cp2mO oHKwBIy3gkrIWNMx7xWJuTBw8R2eJmk/liFow5/UqoBLzhBzt8gVo1/NEQ0bAq7e 5jAFI/qyL8IhuHynvzEs/FcotWalL7w9Cc4fxPU18Mib2Ed46PTjAC1g== Received: (qmail 953722 invoked from network); 21 Sep 2023 14:54:02 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2023 14:54:02 +0200 X-UD-Smtp-Session: l3s3148p1@yGh7/N0FzUQuciJ+ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] i2c: rcar: improve Gen3 support Date: Thu, 21 Sep 2023 14:53:48 +0200 Message-Id: <20230921125351.3954-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Here is a series paving the way for Gen4 support. This time we properly apply the Gen3 specific features. See the patch comments for further information and changelogs. This has been tested on a Renesas Falcon board with a R-Car V3U SoC at various bus speeds. Because the calculation formulas are crucial, testing on board farms would be much appreciated! Thanks and happy hacking! Wolfram Sang (2): i2c: rcar: reset controller is mandatory for Gen3+ i2c: rcar: improve accuracy for R-Car Gen3+ drivers/i2c/busses/i2c-rcar.c | 157 ++++++++++++++++++++++------------ 1 file changed, 103 insertions(+), 54 deletions(-)