public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: "Vinod Koul" <vkoul@kernel.org>,
	"Andi Shyti" <andi.shyti@kernel.org>,
	"Sumit Semwal" <sumit.semwal@linaro.org>,
	"Christian König" <christian.koenig@amd.com>,
	linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org,
	linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linaro-mm-sig@lists.linaro.org, quic_msavaliy@quicinc.com,
	quic_vtanuku@quicinc.com
Subject: Re: [PATCH v3 3/3] i2c: i2c-qcom-geni: Update compile dependenices for I2C GENI driver
Date: Fri, 29 Nov 2024 15:13:43 +0530	[thread overview]
Message-ID: <a52483fb-d8ea-4dfd-9d29-5270376de1d9@quicinc.com> (raw)
In-Reply-To: <zfkhbjm6wrmcocqcvluov3nbrpb2ozbo52c6nlwxro44gublcw@5645ksz4cfm2>



On 11/22/2024 3:40 AM, Dmitry Baryshkov wrote:
> On Thu, Nov 21, 2024 at 06:31:34PM +0530, Jyothi Kumar Seerapu wrote:
>> I2C functionality has dependencies on the GPI driver.
>> Ensure that the GPI driver is enabled when using the I2C
>> driver functionality.
>> Therefore, update the I2C GENI driver to depend on the GPI driver.
>>
>> Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
>> ---
>> v2 -> v3:
>>     - Moved this change to patch3.
>>     - Updated commit description.
>>
>> v1 -> v2:
>>     -  This patch is added in v2 to address the kernel test robot
>>        reported compilation error.
>>        ERROR: modpost: "gpi_multi_desc_process" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined!
>>
>>   drivers/i2c/busses/Kconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
>> index 0aa948014008..87634a682855 100644
>> --- a/drivers/i2c/busses/Kconfig
>> +++ b/drivers/i2c/busses/Kconfig
>> @@ -1049,6 +1049,7 @@ config I2C_QCOM_GENI
>>   	tristate "Qualcomm Technologies Inc.'s GENI based I2C controller"
>>   	depends on ARCH_QCOM || COMPILE_TEST
>>   	depends on QCOM_GENI_SE
>> +	depends on QCOM_GPI_DMA
> 
> So... without this change the previous patch is broken, which is a
> no-go. And anyway, adding dependency onto a particular DMA driver is a
> bad idea. Please make use of the DMA API instead.

Sure, thanks for the details. In V4, will withdraw these changes.
> 
>>   	help
>>   	  This driver supports GENI serial engine based I2C controller in
>>   	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
>> -- 
>> 2.17.1
>>
> 

      reply	other threads:[~2024-11-29  9:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 13:01 [PATCH v3 0/3] Add Block event interrupt support for I2C protocol Jyothi Kumar Seerapu
2024-11-21 13:01 ` [PATCH v3 1/3] dmaengine: qcom: gpi: Add GPI Block event interrupt support Jyothi Kumar Seerapu
2024-12-02  7:21   ` Vinod Koul
2024-12-03 10:32     ` Jyothi Kumar Seerapu
2024-11-21 13:01 ` [PATCH v3 2/3] i2c: i2c-qcom-geni: Add " Jyothi Kumar Seerapu
2024-11-21 13:01 ` [PATCH v3 3/3] i2c: i2c-qcom-geni: Update compile dependenices for I2C GENI driver Jyothi Kumar Seerapu
2024-11-21 22:10   ` Dmitry Baryshkov
2024-11-29  9:43     ` Jyothi Kumar Seerapu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a52483fb-d8ea-4dfd-9d29-5270376de1d9@quicinc.com \
    --to=quic_jseerapu@quicinc.com \
    --cc=andi.shyti@kernel.org \
    --cc=christian.koenig@amd.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=quic_msavaliy@quicinc.com \
    --cc=quic_vtanuku@quicinc.com \
    --cc=sumit.semwal@linaro.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox