From patchwork Tue Sep 19 15:19:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 724509 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 EA518CD5BD4 for ; Tue, 19 Sep 2023 15:19:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233096AbjISPUB (ORCPT ); Tue, 19 Sep 2023 11:20:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233036AbjISPT6 (ORCPT ); Tue, 19 Sep 2023 11:19:58 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1251211A for ; Tue, 19 Sep 2023 08:19:51 -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=OCZPftvkzvatgO mljvXbeKw2v10l+VXjgJq5aQ5kchE=; b=kisbrGeE6jwvux9GXxkqFN/H0jxagY Gf1kSh+5Cy6Wl/9eVNFqzuqFgZEBSzr5go/iRK3A8rwR3rbMENnirc6NrLX/vk/S Pwr27bOLBjPyz1HVelXUiq9LoVO1aJ9yti7PDjVtoed2Dpj+/InqcEMORLAVnAVv zdv5YUPqoOCs7oNVlAJRApflhJ4YzGiJz5Ls4dpT9HuLYm3PzlcnFyyvhDWNsmC7 eqcPSJ97LSZHymehNdcCHwd+dI+dp/lisf/3+dn0zCregspAlgq52J3pP9nmA6j3 gcdJ5MUIYYTj5LlJUVO/QwlvHE8M52734LEBxi4GiJHqIySWvJMllFsA== Received: (qmail 255774 invoked from network); 19 Sep 2023 17:19:50 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 19 Sep 2023 17:19:50 +0200 X-UD-Smtp-Session: l3s3148p1@SGkwyrcF8GIucrQg 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 v2 0/2] i2c: rcar: improve Gen3 support Date: Tue, 19 Sep 2023 17:19:45 +0200 Message-Id: <20230919151948.21564-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 | 150 ++++++++++++++++++++++------------ 1 file changed, 100 insertions(+), 50 deletions(-)