mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835
@ 2024-07-22 15:28 Geert Uytterhoeven
  2024-07-22 15:43 ` Florian Fainelli
  2024-07-22 15:59 ` Jacopo Mondi
  0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2024-07-22 15:28 UTC (permalink / raw)
  To: Jacopo Mondi, Mauro Carvalho Chehab, Florian Fainelli,
	Nick Hollinghurst, Naushir Patuck, Hans Verkuil, David Plowman
  Cc: linux-media, kernel-list, Broadcom internal kernel review list,
	linux-arm-kernel, linux-kernel, Geert Uytterhoeven

Currently, the Raspberry Pi PiSP Backend (BE) ISP is only present on the
Broadcom BCM2712-based Raspberry Pi 5.  Hence add a dependency on
ARCH_BCM2835, to prevent asking the user about this driver when
configuring a kernel without Broadcom BCM2835 family support.  The
dependency can be relaxed if/when the encoder appears on other SoC
families.

Fixes: 12187bd5d4f8c128 ("media: raspberrypi: Add support for PiSP BE")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/media/platform/raspberrypi/pisp_be/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/raspberrypi/pisp_be/Kconfig b/drivers/media/platform/raspberrypi/pisp_be/Kconfig
index 38c0f8305d620d83..46765a2e4c4d1573 100644
--- a/drivers/media/platform/raspberrypi/pisp_be/Kconfig
+++ b/drivers/media/platform/raspberrypi/pisp_be/Kconfig
@@ -2,6 +2,7 @@ config VIDEO_RASPBERRYPI_PISP_BE
 	tristate "Raspberry Pi PiSP Backend (BE) ISP driver"
 	depends on V4L_PLATFORM_DRIVERS
 	depends on VIDEO_DEV
+	depends on ARCH_BCM2835 || COMPILE_TEST
 	select VIDEO_V4L2_SUBDEV_API
 	select MEDIA_CONTROLLER
 	select VIDEOBUF2_DMA_CONTIG
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835
  2024-07-22 15:28 [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835 Geert Uytterhoeven
@ 2024-07-22 15:43 ` Florian Fainelli
  2024-07-22 15:59 ` Jacopo Mondi
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2024-07-22 15:43 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jacopo Mondi, Mauro Carvalho Chehab,
	Nick Hollinghurst, Naushir Patuck, Hans Verkuil, David Plowman
  Cc: linux-media, kernel-list, Broadcom internal kernel review list,
	linux-arm-kernel, linux-kernel



On 7/22/2024 8:28 AM, Geert Uytterhoeven wrote:
> Currently, the Raspberry Pi PiSP Backend (BE) ISP is only present on the
> Broadcom BCM2712-based Raspberry Pi 5.  Hence add a dependency on
> ARCH_BCM2835, to prevent asking the user about this driver when
> configuring a kernel without Broadcom BCM2835 family support.  The
> dependency can be relaxed if/when the encoder appears on other SoC
> families.
> 
> Fixes: 12187bd5d4f8c128 ("media: raspberrypi: Add support for PiSP BE")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: FLorian Fainelli <florian.fainelli@broadcom.com>

Thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835
  2024-07-22 15:28 [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835 Geert Uytterhoeven
  2024-07-22 15:43 ` Florian Fainelli
@ 2024-07-22 15:59 ` Jacopo Mondi
  2024-07-22 19:19   ` Geert Uytterhoeven
  1 sibling, 1 reply; 4+ messages in thread
From: Jacopo Mondi @ 2024-07-22 15:59 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Jacopo Mondi, Mauro Carvalho Chehab, Florian Fainelli,
	Nick Hollinghurst, Naushir Patuck, Hans Verkuil, David Plowman,
	linux-media, kernel-list, Broadcom internal kernel review list,
	linux-arm-kernel, linux-kernel

Hi Geert

On Mon, Jul 22, 2024 at 05:28:28PM GMT, Geert Uytterhoeven wrote:
> Currently, the Raspberry Pi PiSP Backend (BE) ISP is only present on the
> Broadcom BCM2712-based Raspberry Pi 5.  Hence add a dependency on
                                        ^ nit: double space

> ARCH_BCM2835, to prevent asking the user about this driver when
> configuring a kernel without Broadcom BCM2835 family support.  The

double space before "The" as well

> dependency can be relaxed if/when the encoder appears on other SoC
> families.

we can surely lift this requirement in the unlikely event this happens

Thanks
Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

>
> Fixes: 12187bd5d4f8c128 ("media: raspberrypi: Add support for PiSP BE")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/media/platform/raspberrypi/pisp_be/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/platform/raspberrypi/pisp_be/Kconfig b/drivers/media/platform/raspberrypi/pisp_be/Kconfig
> index 38c0f8305d620d83..46765a2e4c4d1573 100644
> --- a/drivers/media/platform/raspberrypi/pisp_be/Kconfig
> +++ b/drivers/media/platform/raspberrypi/pisp_be/Kconfig
> @@ -2,6 +2,7 @@ config VIDEO_RASPBERRYPI_PISP_BE
>  	tristate "Raspberry Pi PiSP Backend (BE) ISP driver"
>  	depends on V4L_PLATFORM_DRIVERS
>  	depends on VIDEO_DEV
> +	depends on ARCH_BCM2835 || COMPILE_TEST
>  	select VIDEO_V4L2_SUBDEV_API
>  	select MEDIA_CONTROLLER
>  	select VIDEOBUF2_DMA_CONTIG
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835
  2024-07-22 15:59 ` Jacopo Mondi
@ 2024-07-22 19:19   ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2024-07-22 19:19 UTC (permalink / raw)
  To: Jacopo Mondi
  Cc: Mauro Carvalho Chehab, Florian Fainelli, Nick Hollinghurst,
	Naushir Patuck, Hans Verkuil, David Plowman, linux-media,
	kernel-list, Broadcom internal kernel review list,
	linux-arm-kernel, linux-kernel

Hi Jacopo,

On Mon, Jul 22, 2024 at 5:59 PM Jacopo Mondi
<jacopo.mondi@ideasonboard.com> wrote:
> On Mon, Jul 22, 2024 at 05:28:28PM GMT, Geert Uytterhoeven wrote:
> > Currently, the Raspberry Pi PiSP Backend (BE) ISP is only present on the
> > Broadcom BCM2712-based Raspberry Pi 5.  Hence add a dependency on
>                                         ^ nit: double space

Yep, double space after a full stop.

> > ARCH_BCM2835, to prevent asking the user about this driver when
> > configuring a kernel without Broadcom BCM2835 family support.  The
>
> double space before "The" as well

Likewise.

> Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-22 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-22 15:28 [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835 Geert Uytterhoeven
2024-07-22 15:43 ` Florian Fainelli
2024-07-22 15:59 ` Jacopo Mondi
2024-07-22 19:19   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®