public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: "Nirujogi, Pratap" <pnirujog@amd.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
	Andi Shyti <andi.shyti@kernel.org>,
	Pratap Nirujogi <pratap.nirujogi@amd.com>,
	Bin Du <bin.du@amd.com>,
	Mario Limonciello <mario.limonciello@amd.com>,
	Venkata Narendra Kumar Gutta <vengutta@amd.com>
Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] i2c: I2C_DESIGNWARE_AMDISP should depend on DRM_AMD_ISP
Date: Wed, 7 May 2025 16:37:59 -0400	[thread overview]
Message-ID: <336cb41c-a33a-4e8c-be4c-b032a4a1e4b7@amd.com> (raw)
In-Reply-To: <3888f892b8c4d8c8acd17e56581e726ace7f7092.1746536495.git.geert+renesas@glider.be>

Hi Geert,

Thanks for your patch.

On 5/6/2025 9:02 AM, Geert Uytterhoeven wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
> 
> 
> The AMD Image Signal Processor I2C functionality is only present on AMD
> platforms with ISP support, and its platform device is instantiated by
> the AMD ISP driver.  Hence add a dependency on DRM_AMD_ISP, to prevent
> asking the user about this driver when configuring a kernel that does
> not support the AMD ISP.
> 
> Fixes: 63f0545cb1bf0840 ("i2c: amd-isp: Add ISP i2c-designware driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>   drivers/i2c/busses/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 865b760866ef42ba..7c348491e1bbac7c 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -594,6 +594,7 @@ config I2C_DESIGNWARE_PLATFORM
> 
>   config I2C_DESIGNWARE_AMDISP
>          tristate "Synopsys DesignWare Platform for AMDISP"
> +       depends on DRM_AMD_ISP || COMPILE_TEST
>          depends on I2C_DESIGNWARE_CORE
>          help
>            If you say yes to this option, support will be included for the
> --
> 2.43.0
> 
LGTM.

Reviewed-by: Pratap Nirujogi <pratap.nirujogi@amd.com>

Thanks,
Pratap




  reply	other threads:[~2025-05-07 20:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 13:02 [PATCH] i2c: I2C_DESIGNWARE_AMDISP should depend on DRM_AMD_ISP Geert Uytterhoeven
2025-05-07 20:37 ` Nirujogi, Pratap [this message]
2025-05-08 10:06 ` Andi Shyti

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=336cb41c-a33a-4e8c-be4c-b032a4a1e4b7@amd.com \
    --to=pnirujog@amd.com \
    --cc=andi.shyti@kernel.org \
    --cc=bin.du@amd.com \
    --cc=geert+renesas@glider.be \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=pratap.nirujogi@amd.com \
    --cc=vengutta@amd.com \
    /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