Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3710194ybb; Tue, 31 Mar 2020 10:26:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu4ewKykKM4zqhWqC/CAJBH0ROnCfwtSktMxOasanBYNQzz1gxKKb6ZmHtSrxBMQWeQY93O X-Received: by 2002:aca:7213:: with SMTP id p19mr2943783oic.159.1585675569807; Tue, 31 Mar 2020 10:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585675569; cv=none; d=google.com; s=arc-20160816; b=sSEbSCMPZqW7FiCaLPfv9JMZtrNbpv/Jhtv5+TdVCi5fn2rFGyvBwxYKJJNXCS2qc6 2MThhN5A4m9M8LfK2nU+8+APEY5J0U06wepX6ibgQufeYZlv1LcH2pHS3ld23PFw/vJM Kk9ANd37QhmSF2hG3mxlZrt5NTIIKrEaOBBze6S6xBxEeHMCjIZVpJNVICGg5tIjRqEE N0Px7zNvaSZsLR9Ks/REdL014Pg/HUrKMQHDlXE01TIJThFOqo4FG6yB24Cmlwy+is6F wGWq4jZG1n/StMP8UMeyB9DrwZPSs41Ma3d2S6Qs9L7nbIWmEf+oyCd4Kyki2yA2TSZ7 dOKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0CF+RVRZ5+EBDJ1PwDAIZhgsPHAgdEwo97U5c4uthYQ=; b=ULCkZdMjFdtgI4LDOVpaSmPX7fQo6DLB63CGwjlm6W8TVAXGof3stV/DmlWToUm+7z ar6fQeOvL2o9/Z9sqz2V9idvvzvtgAN568tDRdK3BAmn7CbrWXi2LbOl52Ys6/QEKyHx ZcERjXsBPRT0rhxZ2xuxNhnF5U5R1As+lXF2QkYox3sRtqc6ffTNZJiwsxL4CGyO6Imf W9zIe0K6YkhrX5NBE0ezUMEIyfMp/kSYRFIXttRgwlJBMz7y2ywFdqZmcKGyyDfEWAbS 2BKnXoTRtHteqWpTFAdAwXXc7r3hEex/mLcPTYF2Qo8RyuOK4pXeGu/HwHVKuosaMqLU b3LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O4KTcb1e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h27si7862053ots.293.2020.03.31.10.25.56; Tue, 31 Mar 2020 10:26:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O4KTcb1e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726307AbgCaRZK (ORCPT + 99 others); Tue, 31 Mar 2020 13:25:10 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39253 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbgCaRZK (ORCPT ); Tue, 31 Mar 2020 13:25:10 -0400 Received: by mail-pg1-f196.google.com with SMTP id g32so4587824pgb.6; Tue, 31 Mar 2020 10:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0CF+RVRZ5+EBDJ1PwDAIZhgsPHAgdEwo97U5c4uthYQ=; b=O4KTcb1e4nvjWYiYxqstR4fipYRBssCwH7Y8yjsIfaVNJDiV7zknVfPPU6zlKJpUxr WAqWMtljzkcWjfYQAG0+4THRRKu3x8LL6SQySS6RO6GY/tSECu0M9VogTZPHf9Vbc4tw AXTzX+ChZ8l0a46BbTQ3PqIHFslyqGKvTze9llF3NCAjDrdYoZGr3WkaMDdJB9tDoDLK BkGikRcxZ1Ha4il6nsI+bkDKCjxxx7PmUWgarTGMWCtbmjyo/O4VQftsAHh9UlPnImkz VFpNyIJ44FNjqJxCb5rJoGjjD7aCGJ5TwYBnOS86C7fVpaytQdw+FM1ckK4FXMNaiMgV 7SAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0CF+RVRZ5+EBDJ1PwDAIZhgsPHAgdEwo97U5c4uthYQ=; b=IbnhJ6BOQVCMgM5K/B42wmsPEzcDFiFT0IZN/YJVdzkoihbGFiKJjHy3R6of9TbZHo fpSfqseW9lxSsZL/pABI5aIT1Lb27+pgY/oBt/V5Ab+ZcbkBjwNB8RRaq5BsUDBWY04u sPH0zlzr707oDy4dZhm9Kvr4R5l6FwJJ1r9f6K5UPSjnymQlz3UyykyI+/ewr2IoTUxd 9T0TceNPRF5GNZJNBGakBtUMNDlTrj4KhZkjC8pR/RrS34FEIH9bJgu/3Hup3HCgkRlJ xxMSwhB4SMpbwMAElHJstioSzjb92HSJARmL3TwIMMIS95/xPKjSdj4AFOcpHxGh6bV9 ibiQ== X-Gm-Message-State: ANhLgQ2OvgKdGVJPhQWaUoPt+nG1R8W78iEoHAPSGrj0nwHU05qbnzZA XSts6GJy3L2+8lDorKjiaKlfzURYrqLkFNGCS74= X-Received: by 2002:aa7:958f:: with SMTP id z15mr18682395pfj.130.1585675507170; Tue, 31 Mar 2020 10:25:07 -0700 (PDT) MIME-Version: 1.0 References: <1582779537-25662-1-git-send-email-Sandeep.Singh@amd.com> <1582779537-25662-3-git-send-email-Sandeep.Singh@amd.com> <4fe47b0323c1d65d429ee89b000e8bfcd984495f.camel@richard-neumann.de> <896f84bc-f0d6-59a5-c894-809695aa348f@amd.com> In-Reply-To: <896f84bc-f0d6-59a5-c894-809695aa348f@amd.com> From: Andy Shevchenko Date: Tue, 31 Mar 2020 20:24:59 +0300 Message-ID: Subject: Re: [PATCH v4 2/4] SFH: PCI driver to add support of AMD sensor fusion Hub using HID framework To: "Shah, Nehal-bakulchandra" Cc: Richard Neumann , Sandeep Singh , Shyam-sundar.S-k@amd.com, Jiri Kosina , Benjamin Tissoires , Linux Kernel Mailing List , linux-input , Srinivas Pandruvada , Jonathan Cameron , linux-iio , Hans de Goede Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2020 at 4:26 PM Shah, Nehal-bakulchandra wrote: > On 3/31/2020 6:01 PM, Richard Neumann wrote: > > Not a real review, but your patch series seems to be repeating a lot > > from drivers/i2c/busses/i2c-amd-mp2*. > > Is there any chance we could re-use the code? > > E.g. the AMD_C2P_* definitions from drivers/i2c/busses/i2c-amd-mp2.h? > > Thanks for the mail. Yes there are some common structures, however as of now we have kept separately considering both > > are part of different sub systems. But may be will consider this input for future enhancement. It can be done in a form of shared definitions at least in include/linux/platform_data/x86/amd-mp2.h or alike ... -- With Best Regards, Andy Shevchenko