Skip to contentSkip to conversation

clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

PATCH Applied Jagan Teki 2 participants 5 messages Nov 13, 2018

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v6 1/4 clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default.

---
Changes for v6:
- droped "depends on" since the CCU select based on MACH defined. Changes for v5:
- remove DRM dependency
Changes for v4, v3:
- none
Changes for v2:
- Enable for MACH_SUN8I

 drivers/clk/sunxi-ng/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/Kconfig +1 -0
index 826674d090fd..abbd518833b5 100644
@@ -63,6 +63,7 @@ config SUN8I_V3S_CCU
 
 config SUN8I_DE2_CCU
 	bool "Support for the Allwinner SoCs DE2 CCU"
+	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
 
 config SUN8I_R40_CCU
 	bool "Support for the Allwinner R40 CCU"
Signature · 1 line
2.18.0.321.gffc6fa0e3
author
#1 lore raw

PATCH v6 2/4 arm64: defconfig: Enable DRM_SUN8I_MIXER

Allwinner Display Engine 2.0 Mixer is need for ARM64 Allwinner SoC's, build it as module.

---
Changes for v6:
- none
Changes for v5:
- Enable it on defconfig
Changes for v4, v3:
- none
Changes for v2:
- Enable for SUN8I

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 4b3844480a77..7f271178d421 100644
@@ -446,6 +446,7 @@ CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
 CONFIG_DRM_SUN4I=m
+CONFIG_DRM_SUN8I_MIXER=m
 CONFIG_ROCKCHIP_ANALOGIX_DP=y
 CONFIG_ROCKCHIP_CDN_DP=y
 CONFIG_ROCKCHIP_DW_HDMI=y
Signature · 1 line
2.18.0.321.gffc6fa0e3
author
#2 lore raw

PATCH v6 3/4 arm64: defconfig: Enable DRM_SUN8I_DW_HDMI

In reply to Jagan Teki

Allwinner DesignWare HDMI is needed for HDMI support in ARM64 Allwinner SoC's, build it as module.

---
Changes for v6:
- none
Changes for v5:
- Enable it on defconfig
Changes for v4:
- none
Changes for v3:
- skip SUN8I enablement, since it built statically for arm32 Changes for v2:
- Enable for SUN8I

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 7f271178d421..cb614bd70716 100644
@@ -447,6 +447,7 @@ CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
 CONFIG_DRM_SUN4I=m
 CONFIG_DRM_SUN8I_MIXER=m
+CONFIG_DRM_SUN8I_DW_HDMI=m
 CONFIG_ROCKCHIP_ANALOGIX_DP=y
 CONFIG_ROCKCHIP_CDN_DP=y
 CONFIG_ROCKCHIP_DW_HDMI=y
Signature · 1 line
2.18.0.321.gffc6fa0e3
author
#3 lore raw

PATCH v6 4/4 arm64: defconfig: Enable PWM_SUN4I

In reply to Jagan Teki

Allwinner PWM support need for ARM64 Allwinner SoC's which used pwms, builds it as module.

---
Changes for v6:
- none
Changes for v5:
- new patch

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index cb614bd70716..dfdbc0646472 100644
@@ -648,6 +648,7 @@ CONFIG_PWM_MESON=m
 CONFIG_PWM_RCAR=m
 CONFIG_PWM_ROCKCHIP=y
 CONFIG_PWM_SAMSUNG=y
+CONFIG_PWM_SUN4I=m
 CONFIG_PWM_TEGRA=m
 CONFIG_RESET_TI_SCI=y
 CONFIG_PHY_XGENE=y
Signature · 1 line
2.18.0.321.gffc6fa0e3