Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1828048pxk; Sun, 13 Sep 2020 18:18:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzjefVIVvUZgiHAKl/qrGgaicpd2KHzlAQsqu4T+RVtJGP5TVBAKcq75y8ZaGsrAZuBw5n X-Received: by 2002:a17:907:7293:: with SMTP id dt19mr12153460ejc.5.1600046308617; Sun, 13 Sep 2020 18:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600046308; cv=none; d=google.com; s=arc-20160816; b=Gg/YAhg4cCaIhDsha2h7C8gX6Yr4txGXJKD9xQNbQPaJs1uCI9cNah6vhhcn5W/q81 VvLp+SfFqFKNI4LpsbmVVyHqdVNbTZ9lu8tUKgEygjMbXA3VMBNbxRsHrPORHTFoWVov KXNxU8xWIxw+JemJQWWrwwJH/0EGxs/a1d1y+UkMe+E2dKX5XeNK/wrTJDg6Deo+aR9T LO1IJSYu7OSgKhzgAOi1tw0+CjmobJqtlseh8RVRja3YdzCfjosIK6k4GJy+ElZ8v8bn 8I7cqaiHQGpFJHXZneXy0U3v4oh8L9SdRNVNs+K+EY4vKxnmovrPXdrtwAiD8WIWxkTz GKcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=RkNvngeLrzRaazXTVqADA8XvqiwKwKCcxqs9v7K0xFg=; b=TJo7i93HSYF47fPEo7M2lk8FGANCbw4KetZn/pVZ9QuDKphjo48e6J8qM1DLCB7fkI J2GdCDENOuzPrzH73pwwc1U76eFnwvEmVhJkr0e4WZnPzlcY4pB1x/IDlibr8rlSefak ItAvZo+0DBr4sWvOMx1wNwj8oOrMyKRoFQD+6JyiZ5EeKxmntbjlN705eUwvN1UZEUMx GbumXnatGD5+ce0L6uMxTvdzcKfUIx3FonfAR9k4kqG4v4l2clGxbn75ik5VPfFjcfUD YKlThRM2A5CDIYGAKu5/a7RYeR4wuX1PGEQUR+STgpbP3PGQLZC5ukx0VN282oxbih7I /VsQ== 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 p17si6312332ejo.270.2020.09.13.18.17.38; Sun, 13 Sep 2020 18:18:28 -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 S1725978AbgINBQU (ORCPT + 99 others); Sun, 13 Sep 2020 21:16:20 -0400 Received: from mga02.intel.com ([134.134.136.20]:19584 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbgINBQS (ORCPT ); Sun, 13 Sep 2020 21:16:18 -0400 IronPort-SDR: YR+KCHyXj/VCV1pWy97vxdTXnC2V0VI9NgNWkd9wkyVZV8jyYP/Xq80x/3i0bE9rjRHA/9cuqC xK6SpqcCdxMA== X-IronPort-AV: E=McAfee;i="6000,8403,9743"; a="146705115" X-IronPort-AV: E=Sophos;i="5.76,424,1592895600"; d="scan'208";a="146705115" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2020 18:16:17 -0700 IronPort-SDR: SrCHkU1u15brAcYtdi+6L2+guoSnwYNYGrj5vzKeafIgHEJjHNGTl1FmHOKfTcdCH5wWVVcraT eUa1Lq99StkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,424,1592895600"; d="scan'208";a="330537101" Received: from unknown (HELO [10.239.154.46]) ([10.239.154.46]) by fmsmga004.fm.intel.com with ESMTP; 13 Sep 2020 18:16:13 -0700 Subject: Re: [PATCH v2] i2c: virtio: add a virtio i2c frontend driver To: Randy Dunlap , linux-i2c@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: mst@redhat.com, jasowang@redhat.com, wsa+renesas@sang-engineering.com, wsa@kernel.org, andriy.shevchenko@linux.intel.com, jarkko.nikula@linux.intel.com, jdelvare@suse.de, Sergey.Semin@baikalelectronics.ru, krzk@kernel.org, rppt@kernel.org, loic.poulain@linaro.org, tali.perry1@gmail.com, bjorn.andersson@linaro.org, shuo.a.liu@intel.com, conghui.chen@intel.com, yu1.wang@intel.com References: From: Jie Deng Message-ID: <39c7c5ba-58c2-2b94-d4a5-59dff1b6f556@intel.com> Date: Mon, 14 Sep 2020 09:16:12 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/9/11 11:53, Randy Dunlap wrote: > On 9/10/20 8:48 PM, Jie Deng wrote: >> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig >> index 293e7a0..70c8e30 100644 >> --- a/drivers/i2c/busses/Kconfig >> +++ b/drivers/i2c/busses/Kconfig >> @@ -21,6 +21,17 @@ config I2C_ALI1535 >> This driver can also be built as a module. If so, the module >> will be called i2c-ali1535. >> >> +config I2C_VIRTIO >> + tristate "Virtio I2C Adapter" >> + depends on VIRTIO >> + help >> + If you say yes to this option, support will be included for the virtio >> + i2c adapter driver. The hardware can be emulated by any device model > I2C > preferably > I will fix this typo. Thank you. >> + software according to the virtio protocol. >> + >> + This driver can also be built as a module. If so, the module >> + will be called i2c-virtio. >> + >> config I2C_ALI1563 >> tristate "ALI 1563" >> depends on PCI > > thanks.