mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] arm64: defconfig: enable further Rockchip platform drivers
@ 2025-06-26 20:41 Nicolas Frattaroli
  2025-06-27 12:11 ` Nícolas F. R. A. Prado
  2025-06-30  9:11 ` Heiko Stuebner
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Frattaroli @ 2025-06-26 20:41 UTC (permalink / raw)
  To: Heiko Stuebner, Catalin Marinas, Will Deacon
  Cc: kernel, linux-rockchip, linux-arm-kernel, linux-kernel,
	Nícolas F. R. A. Prado, Nicolas Frattaroli

Enable the rockchip-dfi driver as a module, which is used on RK3588 as
well as RK3568 and RK3399 to measure memory bandwidth. For this, we also
enable PM_DEVFREQ_EVENT, which is a requirement for this driver.

Also enable the rockchip-rga driver as a module, which is used on
various Rockchip SoCs, including RK3588 and RK3399, to provide 2d
accelerated image transformations through a V4L2 interface.

Suggested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
---
Changes in v2:
- Drop explicit Rockchip Hantro enablement, as this should already be
  autoselected as the Kconfig option's default if Hantro is enabled.
- Also enable PM_DEVFREQ_EVENT, which is a prerequisite to rockchip-dfi.
- Order the defconfig options at the correct locations, as per
  `savedefconfig`.
- Link to v1: https://lore.kernel.org/r/20250626-rk3588-defconfig-v1-1-39a19a41c181@collabora.com
---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index e071f8f45607dbfd8e00b915b27999949ee0fc88..904b8a332f8cebd2f5ee0fe24d0aaf8b1860bfc6 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -867,6 +867,7 @@ CONFIG_VIDEO_RENESAS_FCP=m
 CONFIG_VIDEO_RENESAS_FDP1=m
 CONFIG_VIDEO_RENESAS_VSP1=m
 CONFIG_VIDEO_RCAR_DRIF=m
+CONFIG_VIDEO_ROCKCHIP_RGA=m
 CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC=m
 CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m
 CONFIG_VIDEO_SAMSUNG_S5P_MFC=m
@@ -1520,6 +1521,8 @@ CONFIG_TI_SCI_PM_DOMAINS=y
 CONFIG_ARM_IMX_BUS_DEVFREQ=y
 CONFIG_ARM_IMX8M_DDRC_DEVFREQ=m
 CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m
+CONFIG_PM_DEVFREQ_EVENT=y
+CONFIG_DEVFREQ_EVENT_ROCKCHIP_DFI=m
 CONFIG_EXTCON_PTN5150=m
 CONFIG_EXTCON_USB_GPIO=y
 CONFIG_EXTCON_USBC_CROS_EC=y

---
base-commit: 7e5ee158886bb7c244a34623de6a410b62023d60
change-id: 20250626-rk3588-defconfig-715e37fd554c

Best regards,
-- 
Nicolas Frattaroli <nicolas.frattaroli@collabora.com>


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

* Re: [PATCH v2] arm64: defconfig: enable further Rockchip platform drivers
  2025-06-26 20:41 [PATCH v2] arm64: defconfig: enable further Rockchip platform drivers Nicolas Frattaroli
@ 2025-06-27 12:11 ` Nícolas F. R. A. Prado
  2025-06-30  9:11 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Nícolas F. R. A. Prado @ 2025-06-27 12:11 UTC (permalink / raw)
  To: Nicolas Frattaroli, Heiko Stuebner, Catalin Marinas, Will Deacon
  Cc: kernel, linux-rockchip, linux-arm-kernel, linux-kernel

On Thu, 2025-06-26 at 22:41 +0200, Nicolas Frattaroli wrote:
> Enable the rockchip-dfi driver as a module, which is used on RK3588
> as
> well as RK3568 and RK3399 to measure memory bandwidth. For this, we
> also
> enable PM_DEVFREQ_EVENT, which is a requirement for this driver.
> 
> Also enable the rockchip-rga driver as a module, which is used on
> various Rockchip SoCs, including RK3588 and RK3399, to provide 2d
> accelerated image transformations through a V4L2 interface.
> 
> Suggested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>

Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>


-- 
Thanks,

Nícolas

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

* Re: [PATCH v2] arm64: defconfig: enable further Rockchip platform drivers
  2025-06-26 20:41 [PATCH v2] arm64: defconfig: enable further Rockchip platform drivers Nicolas Frattaroli
  2025-06-27 12:11 ` Nícolas F. R. A. Prado
@ 2025-06-30  9:11 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2025-06-30  9:11 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Nicolas Frattaroli
  Cc: Heiko Stuebner, kernel, linux-rockchip, linux-arm-kernel,
	linux-kernel, Nícolas F. R. A. Prado


On Thu, 26 Jun 2025 22:41:18 +0200, Nicolas Frattaroli wrote:
> Enable the rockchip-dfi driver as a module, which is used on RK3588 as
> well as RK3568 and RK3399 to measure memory bandwidth. For this, we also
> enable PM_DEVFREQ_EVENT, which is a requirement for this driver.
> 
> Also enable the rockchip-rga driver as a module, which is used on
> various Rockchip SoCs, including RK3588 and RK3399, to provide 2d
> accelerated image transformations through a V4L2 interface.
> 
> [...]

Applied, thanks!

[1/1] arm64: defconfig: enable further Rockchip platform drivers
      commit: edc4a9d1dc1669e42a35b2bd1b711a5da0e83699

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

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

end of thread, other threads:[~2025-06-30  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-26 20:41 [PATCH v2] arm64: defconfig: enable further Rockchip platform drivers Nicolas Frattaroli
2025-06-27 12:11 ` Nícolas F. R. A. Prado
2025-06-30  9:11 ` Heiko Stuebner

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®