Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1217590pxf; Fri, 26 Mar 2021 03:42:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxob634d7iafsN7kjZXqdRgSGvznWIIoFCWd9ODyj0/MaxzTF+O8eyque6Mdssx3fGA6X4T X-Received: by 2002:a17:906:dd6:: with SMTP id p22mr14942149eji.111.1616755347836; Fri, 26 Mar 2021 03:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616755347; cv=none; d=google.com; s=arc-20160816; b=eF/VjYGrRm4uL0XvzeMEiRSlWAkptP3nSz0PEmUupOiVQZxSJeBxoC3le1OMJ3GSCM Y9moDP8ATuMVDjT65twJoQfk0KsbXeipCAgEMjBAWY7fqN2cstBFTMgJoxicXAGxVCKO IpqhDJxF/CrdS+onlpJnORApfCfvu++Wcd/Yf61klwPmSiHmQd4an8hCEijmk3tmwDbo k/xWUr/ZjICh4DudFg1MaBJwZ/sYrdEXK+VhfsQVUUk3/ehVlqbOxroHCO2RmQM+0WaS E0kj8/sW5tyGHYw8BlBlVA3WH0T7VRFssL09vvNob21LsmfU3FrAuXzT7r8twmVrpKKg tA1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=qwXzZgkWjAaMkY1F8rMel/7kTjigr21UGm74q1vbLzA=; b=YnRcD+xQr+K49E2uAM7mbi8tPFbcxnE3B6oBPdqUmsNkYfizF7GMo71V61WdP13Jn5 uEBP8OaK+GT8Xyz9s+YaCDoGCG8UJANE/SM0dFuYRyfGTdJc1wsh2OcdSxl9Dvfjwndv 61nE1VDY7Supsjgt5r2hsUXcL4whu1eBz5nKuHA+VNT9bcT4tCTa7mJoyHJIHv4xMq3O SFUXMEDIJVz6TS3pq/c4SukLyY08T+2SVHOVb+WAM9WSCBa9JCDxwuAe6rhdNJuurVqZ ph8xXUdH9M2ROQYVZc2cma0n68O4v7wiCh1SlLJli06HPlXknsh32FXSgjtqEQofNXXA vQ7g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si6137517edx.521.2021.03.26.03.42.05; Fri, 26 Mar 2021 03:42:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229551AbhCZKk7 (ORCPT + 99 others); Fri, 26 Mar 2021 06:40:59 -0400 Received: from mga01.intel.com ([192.55.52.88]:29030 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229474AbhCZKkg (ORCPT ); Fri, 26 Mar 2021 06:40:36 -0400 IronPort-SDR: Tt4VwobvgTYhD9Ymx3enL/UpC6mUjzoR+HqjsX84ZSMriq5qYE0+49E0w/lpm1HjTNFScaFfNB BJqSqdTSIlXg== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="211281802" X-IronPort-AV: E=Sophos;i="5.81,280,1610438400"; d="scan'208";a="211281802" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 03:40:27 -0700 IronPort-SDR: +gh6FxyXjJofht4ywQhFQbgTKWgHznXFTgBwGrfv0yYIYHMsZEzwtKEC0tX4GsRCY/FLIQIGc7 53F+P01RC0GQ== X-IronPort-AV: E=Sophos;i="5.81,280,1610438400"; d="scan'208";a="375442320" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 03:40:25 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lPjt9-00GMY1-2a; Fri, 26 Mar 2021 12:40:23 +0200 Date: Fri, 26 Mar 2021 12:40:23 +0200 From: Andy Shevchenko To: "Goswami, Sanket" Cc: jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Shyam Sundar S K , Nehal Bakulchandra Shah Subject: Re: [PATCH] i2c: add i2c bus driver for amd navi gpu Message-ID: References: <20210309133147.1042775-1-Sanket.Goswami@amd.com> <617d0164-1290-250f-ae34-828c6b4b390a@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <617d0164-1290-250f-ae34-828c6b4b390a@amd.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 26, 2021 at 03:53:34PM +0530, Goswami, Sanket wrote: > On 25-Mar-21 22:35, Andy Shevchenko wrote: > > On Mon, Mar 22, 2021 at 10:26:55PM +0530, Goswami, Sanket wrote: > >> On 09-Mar-21 19:56, Andy Shevchenko wrote: > >>> On Tue, Mar 09, 2021 at 07:01:47PM +0530, Sanket Goswami wrote: ... > > And I think I already have told you that I prefer to see rather MODEL_ quirk. > > I did not find MODEL_ quirk reference in the PCI device tree, It is actually > used in platform device tree which is completely different from our PCI > based configuration, can you please provide some reference of MODEL_ quirk > which will be part of the PCI device tree? I meant the name of new definition for quirk. ... > >>> Also why (1) and this can't be instantiated from ACPI / DT? > >> It is in line with the existing PCIe-based DesignWare driver, > >> A similar approach is used by the various vendors. > > > > Here is no answer to the question. What prevents you to fix your ACPI tables or > > DT? > > > > We already got rid of FIFO hard coded values, timings are harder to achieve, > > but we expect that new firmwares will provide values in the ACPI tables. > > AMD NAVI GPU card is the PCI initiated driver, not ACPI initiated, Which doesn't prevent to have an ACPI companion (via description in the tables). > and also > It does not contain a corresponding ACPI match table. Yes, that's what should be done in the firmware. At least for the new version of firmware consider to add proper data into the tables. > Moreover, AMD NAVI GPU > based products are already in the commercial market hence going by this > approach will break the functionalities for the same. This is quite bad and unfortunate. So, you have to elaborate this in the commit message. -- With Best Regards, Andy Shevchenko