Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2878231ybh; Sat, 25 Jul 2020 04:27:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywgolPdsa6QS/non/74pcjSWcd33HdNVTrG2hGZ+DZMb+R+58yn0Zsd/xPSMM0hXi79AEN X-Received: by 2002:a17:907:72c8:: with SMTP id du8mr2731133ejc.237.1595676472969; Sat, 25 Jul 2020 04:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595676472; cv=none; d=google.com; s=arc-20160816; b=Jmo1Eq2atogmiGBTzB8reghlD23RIsoiq40wFphdOmaSACgY1OLd6PHJrhVRbUVZ1/ xfM92pl26LYa5TH0n5Vmp8JlHC8gvhOlh9zROVwFJ67I+5bcLX8Q2AxRXRg2EwcfXtOG OpwlAFpvRGJsHcmb4ZGAMR7NpqQZsnX5z7kup1niAQX9LVwiGhjMlLJPgHeL9iAdFCnQ X+TrZ/5yuSeXlLJvugIJFJkIEjZ5jHSI1jk/3GrODOnD4fh3ek5xsiRUIZFwKksWMTHb RDqkhv34zjIbdKsZ/7SBN3zV7t/wQ/n1rcY7T6IT5RdlEUIScjuDdWoKZi34EDQPYo5N qXzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xCakLgC4/HCrsavPDlZevVBZhlN8Wu5BTevnRjt8wis=; b=tqZRPcPwTq0m8OzBE7qF0Bg6yTsFWx+4Nz7cbryz0I5KopRwniErtbxMHJRXzBaYht jZlN9dvBtLX9zJJTRYG31wNpWgoPpp/5V9FUc5JX7JkjIkHqPfAe2XQMwQOsfP5SwuyE aU1L6SVxEmWaUQE1vh2qfP6yyT4huKk8SWbnsYau7j8bHwqHbUgt3H4rf8ESPSnGOUMi a0XD1vrogqQ/3m4Viw3uMToCpgdcXM2aDFciZ0hE8IRNxEaChFtCg3zbV5u1MxmcvH8R gqWWW7V4LXF+1H8G4pfs7wDXLoDq/syzvXEESYQR4zjtKiR7b7ZewtfWpoYsJLX0VAR/ bX8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=Xwjcy1La; 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 r13si2161330edq.209.2020.07.25.04.27.29; Sat, 25 Jul 2020 04:27:52 -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; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=Xwjcy1La; 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 S1726838AbgGYL0z (ORCPT + 99 others); Sat, 25 Jul 2020 07:26:55 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:38571 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbgGYL0y (ORCPT ); Sat, 25 Jul 2020 07:26:54 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4BDP0r3qYnz4D; Sat, 25 Jul 2020 13:26:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1595676412; bh=L/BNcvROLxjZ1rfhEFzHdQ0i28PS8mEqlcC60AdsZak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xwjcy1La/33lpBqiemFmaAYxb4PNRMspC5H79u3InnXfp64Wrpebc9Z4AU0aCg8Pg jCdMIcjy5SnpmPfHjxmadbIfZIWnkJZXZ2jjy4pyRhpI6rJcl3prtM6/x382YNvJP9 b/yTofHNXZ4xcfd9s5gY6QbyVNqibqIw50s4/rtGi4CNgQOJ7WV+f5gTw0uxp8X/QM iIn66pmENQHlQO3fYZzAShlk/m7X3QLsHeZ+dVhg/fYjH2ZbPXxy0GgxkGUN8fwpZY uqAOjDQB4BccGD5Cm9qKAMqX8ZqdvUBXdPbh7ADm8r3gq/qpa7L8gZ7YL1BXM/CHEO MzRX8UeLxucHw== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at mail Date: Sat, 25 Jul 2020 13:26:48 +0200 From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= To: Krishna Yarlagadda Cc: digetx@gmail.com, linux-i2c@vger.kernel.org, thierry.reding@gmail.com, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, ldewangan@nvidia.com, smohammed@nvidia.com, rgumasta@nvidia.com Subject: Re: [PATCH 4/7] i2c: tegra: add high speed mode support Message-ID: <20200725112648.GA26689@qmqm.qmqm.pl> References: <1595506733-10307-1-git-send-email-kyarlagadda@nvidia.com> <1595506733-10307-4-git-send-email-kyarlagadda@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1595506733-10307-4-git-send-email-kyarlagadda@nvidia.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 05:48:50PM +0530, Krishna Yarlagadda wrote: > From: Shardar Shariff Md > > Add high speed mode support [...] > --- a/drivers/i2c/busses/i2c-tegra.c > +++ b/drivers/i2c/busses/i2c-tegra.c [...] > @@ -215,12 +218,14 @@ struct tegra_i2c_hw_feature { > int clk_divisor_std_mode; > int clk_divisor_fast_mode; > u16 clk_divisor_fast_plus_mode; > + int clk_multiplier_hs_mode; > bool has_multi_master_mode; > bool has_slcg_override_reg; > bool has_mst_fifo; > const struct i2c_adapter_quirks *quirks; > bool supports_bus_clear; > bool has_reg_write_buffering; > + bool has_hs_mode_support; This field seems redundant: == !clk_multiplier_hs_mode ? Best Regards, Micha? Miros?aw