Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1331994ybt; Thu, 2 Jul 2020 02:48:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7yoy/4nl1XnLqZCuNwhaouSbOIsTm8hDTd7N/zDlOlAaq56We43a21ZMM5JkIjUvIhQpj X-Received: by 2002:a50:e04e:: with SMTP id g14mr28746363edl.352.1593683334968; Thu, 02 Jul 2020 02:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593683334; cv=none; d=google.com; s=arc-20160816; b=Y06OUydX4qe20zHGcfBjvudSZ23ARYe4s4FQ/y6ZeA2X6hXzPOrFT93s+1gfbjW5pu rH7fxIeOuoODMVa65GhBeTcrQ2sGNMUZOUobbl4+CBH2ijak/zcwEVySqE/s6HZpNxV0 eFGlx4nJndMxllFWlUKzIb8bWkBq7sOXOHzhKbEOYBZ8sBvq+F8oD1pZ/si1Zs6T7u+G oJOjQn72c7Lm9E9Z1Y6Xk0iy1pbOx37kqKd3yXnjjzcXWwAYX5vYfZNKJ2NGD9W23DLi lipnO7U+8Cp3eUiDFYI69+N4MAyfkXaywt1FYiKm6V2YuOqGI/RxEJuLtHDdWztrvDDM 1qFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=CNqupLpRKqxqFWX3Kreiig+/mqIte9hAXd+IP1a9T/E=; b=m3+vfm1cmr0Z4KEG5FfNt/XZprdiY5202lCO1kMFSY2FkMauveMfrvnxvlrSSv/hZ5 ZVJEAOUSck91qdAoW21v7Igqe6GRIkXVyoIJ5WVxaUE3EkjaDFsp1fsKq0bk0apxVUX4 KigVtV4NJ1EhBuQry3o3fVJZh70uZGCGNlR+1aOYusDTQyhntAx9Bo0DOyhJnC0Fi/1o r0i77G2z7R/B/4d4B+oN9Pam293zLDIOZ9UyPfvRmbgG7dYok2LP7BzIRlXwl9595Kgt XxUz2Z1TH4pSB+wdt65fPUpCZwn6U8C7Tgs8Zv1adFSYPiknrqc2j3uGKdMjyFhRMwgy ak6Q== 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 t13si5674931edj.100.2020.07.02.02.48.32; Thu, 02 Jul 2020 02:48:54 -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 S1727791AbgGBJsJ (ORCPT + 99 others); Thu, 2 Jul 2020 05:48:09 -0400 Received: from mga17.intel.com ([192.55.52.151]:25208 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbgGBJsJ (ORCPT ); Thu, 2 Jul 2020 05:48:09 -0400 IronPort-SDR: NGBI4Fq2mlW8pYu/gBtQwUHP34eXyVplRtl5HUJtxCpGCXLnJ/MuBbRiIRmzdpMA4p/9/RNQ+g /sbkW+43EJiw== X-IronPort-AV: E=McAfee;i="6000,8403,9669"; a="126935773" X-IronPort-AV: E=Sophos;i="5.75,304,1589266800"; d="scan'208";a="126935773" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2020 02:48:08 -0700 IronPort-SDR: MfId8Xsu+pXlIBLT1E+9fv/iiNoFYtd++gWymsw2yHsvG9sWxYALZwFkKAD2yM4c+SnyCT72lE YVtF4tDtg/8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,304,1589266800"; d="scan'208";a="265657264" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga007.fm.intel.com with ESMTP; 02 Jul 2020 02:48:07 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1jqvpA-00HBHk-Oy; Thu, 02 Jul 2020 12:48:08 +0300 Date: Thu, 2 Jul 2020 12:48:08 +0300 From: Andy Shevchenko To: Ricardo Ribalda Cc: Jarkko Nikula , Mika Westerberg , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Wolfram Sang Subject: Re: [PATCH v3] i2c: designware: platdrv: Set class based on dmi Message-ID: <20200702094808.GP3703480@smile.fi.intel.com> References: <20200702093832.2077252-1-ribalda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200702093832.2077252-1-ribalda@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 02, 2020 at 11:38:32AM +0200, Ricardo Ribalda wrote: > Current AMD's zen-based APUs use this core for some of its i2c-buses. > > With this patch we re-enable autodetection of hwmon-alike devices, so > lm-sensors will be able to work automatically. > > It does not affect the boot-time of embedded devices, as the class is > set based on the dmi information. dmi -> DMI > Dmi is probed only on Qtechnology QT5222 Industrial Camera Platform Dmi -> DMI > https://qtec.com/camera-technology-camera-platforms/ Use DocLink: tag. ... > +static const struct dmi_system_id allow_probe[] = { allow_probe -> dw_i2c_hwmon_class_dmi > + { > + .ident = "Qtechnology QT5222", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Qtechnology"), > + DMI_MATCH(DMI_PRODUCT_NAME, "QT5222") Comma is missed. > + } > + }, > + Redundant. > + { } > +}; -- With Best Regards, Andy Shevchenko