From: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com
Subject: Re: [PATCH 1/1] sun6i-mipi-csi2: Depend on PHY_SUN6I_MIPI_DPHY
Date: Fri, 9 Sep 2022 16:00:37 +0200 [thread overview]
Message-ID: <YxtHBbvZ2sq6KIyp@aptenodytes> (raw)
In-Reply-To: <20220905100054.3259357-1-sakari.ailus@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]
Hi Sakari,
On Mon 05 Sep 22, 13:00, Sakari Ailus wrote:
> PHY_SUN6I_MIPI_DPHY is not a freely selectable option and so may not
> always be available. Depend on it instead.
I don't get what you mean by "not a freely selectable option".
It's definitely a tristate. Also no build issue will occur if it's
unselected (but I guess that's not the point here).
Cheers,
Paul
> Fixes: 94d7fd9692b5 ("media: sunxi: Depend on GENERIC_PHY_MIPI_DPHY")
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
> drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig b/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig
> index eb982466abd30..4d072abdfb705 100644
> --- a/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig
> +++ b/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig
> @@ -4,10 +4,10 @@ config VIDEO_SUN6I_MIPI_CSI2
> depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV
> depends on ARCH_SUNXI || COMPILE_TEST
> depends on PM && COMMON_CLK
> + depends on PHY_SUN6I_MIPI_DPHY
> select MEDIA_CONTROLLER
> select VIDEO_V4L2_SUBDEV_API
> select V4L2_FWNODE
> - select PHY_SUN6I_MIPI_DPHY
> select GENERIC_PHY_MIPI_DPHY
> select REGMAP_MMIO
> help
> --
> 2.30.2
>
--
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2022-09-09 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-05 10:00 [PATCH 1/1] sun6i-mipi-csi2: Depend on PHY_SUN6I_MIPI_DPHY Sakari Ailus
2022-09-09 14:00 ` Paul Kocialkowski [this message]
2022-09-09 14:36 ` Sakari Ailus
2022-09-09 14:41 ` Paul Kocialkowski
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=YxtHBbvZ2sq6KIyp@aptenodytes \
--to=paul.kocialkowski@bootlin.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@linux.intel.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