All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7
@ 2019-01-23 14:07 Stefan Wahren
  2019-01-23 14:07 ` [PATCH 2/2] arm64: defconfig: Enable BCM2835_POWER Stefan Wahren
  2019-01-23 16:41 ` [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Scott Branden
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Wahren @ 2019-01-23 14:07 UTC (permalink / raw)
  To: Florian Fainelli, Ray Jui, Scott Branden, Eric Anholt
  Cc: Stefan Wahren, Arnd Bergmann, Catalin Marinas, Will Deacon,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Since commit 52a4adbaebcc ("ARM: bcm283x: Switch V3D over to using the
PM driver instead of firmware.") VC4 on BCM2835 requires the power driver.

Otherwise the driver won't probe and HDMI output stays black:
vc4_v3d 20c00000.v3d: ignoring dependency for device, assuming no driver

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/configs/bcm2835_defconfig  | 1 +
 arch/arm/configs/multi_v7_defconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index bb6a35f..28aacdd 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -132,6 +132,7 @@ CONFIG_SND_BCM2835=m
 CONFIG_MAILBOX=y
 CONFIG_BCM2835_MBOX=y
 # CONFIG_IOMMU_SUPPORT is not set
+CONFIG_BCM2835_POWER=y
 CONFIG_RASPBERRYPI_POWER=y
 CONFIG_PWM=y
 CONFIG_PWM_BCM2835=y
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index ffaf5c0..7deb404 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -900,6 +900,7 @@ CONFIG_TEGRA_IOMMU_SMMU=y
 CONFIG_REMOTEPROC=m
 CONFIG_ST_REMOTEPROC=m
 CONFIG_RPMSG_VIRTIO=m
+CONFIG_BCM2835_POWER=y
 CONFIG_RASPBERRYPI_POWER=y
 CONFIG_QCOM_GSBI=y
 CONFIG_QCOM_PM=y
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 2/2] arm64: defconfig: Enable BCM2835_POWER
  2019-01-23 14:07 [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Stefan Wahren
@ 2019-01-23 14:07 ` Stefan Wahren
  2019-01-23 16:41 ` [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Scott Branden
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Wahren @ 2019-01-23 14:07 UTC (permalink / raw)
  To: Florian Fainelli, Ray Jui, Scott Branden, Eric Anholt
  Cc: Stefan Wahren, Arnd Bergmann, Catalin Marinas, Will Deacon,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Since commit 52a4adbaebcc ("ARM: bcm283x: Switch V3D over to using the
PM driver instead of firmware.") VC4 on BCM2835 requires the power driver.

Otherwise the driver won't probe and HDMI output stays black:
vc4_v3d 20c00000.v3d: ignoring dependency for device, assuming no driver

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6e5af25..ae156b2 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -664,6 +664,7 @@ CONFIG_QCOM_SYSMON=m
 CONFIG_RPMSG_QCOM_GLINK_RPM=y
 CONFIG_RPMSG_QCOM_GLINK_SMEM=m
 CONFIG_RPMSG_QCOM_SMD=y
+CONFIG_BCM2835_POWER=y
 CONFIG_RASPBERRYPI_POWER=y
 CONFIG_IMX_GPCV2_PM_DOMAINS=y
 CONFIG_QCOM_COMMAND_DB=y
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7
  2019-01-23 14:07 [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Stefan Wahren
  2019-01-23 14:07 ` [PATCH 2/2] arm64: defconfig: Enable BCM2835_POWER Stefan Wahren
@ 2019-01-23 16:41 ` Scott Branden
  2019-01-23 17:22   ` Stefan Wahren
  1 sibling, 1 reply; 5+ messages in thread
From: Scott Branden @ 2019-01-23 16:41 UTC (permalink / raw)
  To: Stefan Wahren, Florian Fainelli, Ray Jui, Scott Branden, Eric Anholt
  Cc: Arnd Bergmann, Catalin Marinas, Will Deacon,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Hi Stefan,

On 2019-01-23 6:07 a.m., Stefan Wahren wrote:
> Since commit 52a4adbaebcc ("ARM: bcm283x: Switch V3D over to using the
> PM driver instead of firmware.") VC4 on BCM2835 requires the power driver.
>
> Otherwise the driver won't probe and HDMI output stays black:
> vc4_v3d 20c00000.v3d: ignoring dependency for device, assuming no driver
>
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> ---
>   arch/arm/configs/bcm2835_defconfig  | 1 +
>   arch/arm/configs/multi_v7_defconfig | 1 +
>   2 files changed, 2 insertions(+)

Seems more fool proof to add a default ARCH_BCM3825 in the Kconfig

instead of modifying multiple defconfig files.

And that way users with custom defconfig files for 2835 will get the 
config change automatically.

>
> diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
> index bb6a35f..28aacdd 100644
> --- a/arch/arm/configs/bcm2835_defconfig
> +++ b/arch/arm/configs/bcm2835_defconfig
> @@ -132,6 +132,7 @@ CONFIG_SND_BCM2835=m
>   CONFIG_MAILBOX=y
>   CONFIG_BCM2835_MBOX=y
>   # CONFIG_IOMMU_SUPPORT is not set
> +CONFIG_BCM2835_POWER=y
>   CONFIG_RASPBERRYPI_POWER=y
>   CONFIG_PWM=y
>   CONFIG_PWM_BCM2835=y
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index ffaf5c0..7deb404 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -900,6 +900,7 @@ CONFIG_TEGRA_IOMMU_SMMU=y
>   CONFIG_REMOTEPROC=m
>   CONFIG_ST_REMOTEPROC=m
>   CONFIG_RPMSG_VIRTIO=m
> +CONFIG_BCM2835_POWER=y
>   CONFIG_RASPBERRYPI_POWER=y
>   CONFIG_QCOM_GSBI=y
>   CONFIG_QCOM_PM=y

Regards,

  Scott


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7
  2019-01-23 16:41 ` [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Scott Branden
@ 2019-01-23 17:22   ` Stefan Wahren
  2019-01-23 17:26     ` Scott Branden
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Wahren @ 2019-01-23 17:22 UTC (permalink / raw)
  To: Scott Branden, Florian Fainelli, Ray Jui, Scott Branden, Eric Anholt
  Cc: Arnd Bergmann, Catalin Marinas, Will Deacon,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Hi Scott,

> Scott Branden <scott.branden@broadcom.com> hat am 23. Januar 2019 um 17:41 geschrieben:
> 
> 
> Hi Stefan,
> 
> On 2019-01-23 6:07 a.m., Stefan Wahren wrote:
> > Since commit 52a4adbaebcc ("ARM: bcm283x: Switch V3D over to using the
> > PM driver instead of firmware.") VC4 on BCM2835 requires the power driver.
> >
> > Otherwise the driver won't probe and HDMI output stays black:
> > vc4_v3d 20c00000.v3d: ignoring dependency for device, assuming no driver
> >
> > Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> > ---
> >   arch/arm/configs/bcm2835_defconfig  | 1 +
> >   arch/arm/configs/multi_v7_defconfig | 1 +
> >   2 files changed, 2 insertions(+)
> 
> Seems more fool proof to add a default ARCH_BCM3825 in the Kconfig
> 
> instead of modifying multiple defconfig files.
> 
> And that way users with custom defconfig files for 2835 will get the 
> config change automatically.

i already thought about this, but it didn't worked for arm64. Maybe i missed something.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7
  2019-01-23 17:22   ` Stefan Wahren
@ 2019-01-23 17:26     ` Scott Branden
  0 siblings, 0 replies; 5+ messages in thread
From: Scott Branden @ 2019-01-23 17:26 UTC (permalink / raw)
  To: Stefan Wahren, Florian Fainelli, Ray Jui, Scott Branden, Eric Anholt
  Cc: Arnd Bergmann, Catalin Marinas, Will Deacon,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Hi Stefan,

On 2019-01-23 9:22 a.m., Stefan Wahren wrote:
> Hi Scott,
>
>> Scott Branden <scott.branden@broadcom.com> hat am 23. Januar 2019 um 17:41 geschrieben:
>>
>>
>> Hi Stefan,
>>
>> On 2019-01-23 6:07 a.m., Stefan Wahren wrote:
>>> Since commit 52a4adbaebcc ("ARM: bcm283x: Switch V3D over to using the
>>> PM driver instead of firmware.") VC4 on BCM2835 requires the power driver.
>>>
>>> Otherwise the driver won't probe and HDMI output stays black:
>>> vc4_v3d 20c00000.v3d: ignoring dependency for device, assuming no driver
>>>
>>> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
>>> ---
>>>    arch/arm/configs/bcm2835_defconfig  | 1 +
>>>    arch/arm/configs/multi_v7_defconfig | 1 +
>>>    2 files changed, 2 insertions(+)
>> Seems more fool proof to add a default ARCH_BCM3825 in the Kconfig
>>
>> instead of modifying multiple defconfig files.
>>
>> And that way users with custom defconfig files for 2835 will get the
>> config change automatically.
> i already thought about this, but it didn't worked for arm64. Maybe i missed something.

ARCH_BCM2835 exists in arch/arm64/Kconfig.platforms and is set in 
arch/arm64/configs/defconfig.

So I don't see why it wouldn't work?


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-01-23 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 14:07 [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Stefan Wahren
2019-01-23 14:07 ` [PATCH 2/2] arm64: defconfig: Enable BCM2835_POWER Stefan Wahren
2019-01-23 16:41 ` [PATCH 1/2] ARM: defconfig: Enable BCM2835_POWER for bcm2835 and multi_v7 Scott Branden
2019-01-23 17:22   ` Stefan Wahren
2019-01-23 17:26     ` Scott Branden

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.