Skip to contentSkip to conversation

Amlogic 32-bit multi_v7_defconfig updates

PATCH New Martin Blumenstingl 2 participants 4 messages Apr 22, 2018 – Apr 27, 2018

Subsystems (2)
lore
Share & tools
lore

Martin Blumenstingl

author reviewer
#0 lore raw

cover Amlogic 32-bit multi_v7_defconfig updates

Some boards come with a PMU (system power controller, such as the Ricoh RN5T618). These need CONFIG_I2C_MESON built-in so the regulators can be set up during boot.

Also enable CONFIG_PWM_MESON (as module) because some boards use it to dim the LED and/or generate the 32.768 kHz clock for the SDIO wifi chip.

@Kevin: I assume that you'll take this through your tree, so no immediate action from the arm-soc maintainers needed, right?

Martin Blumenstingl (2):
arm: multi_v7_defconfig: enable the Amlogic Meson I2C driver
ARM: multi_v7_defconfig: enable the Meson PWM controller

 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.17.0
author reviewer
#1 lore raw

PATCH 1/2 arm: multi_v7_defconfig: enable the Amlogic Meson I2C driver

Some boards come with a PMIC (system power controller, for example Ricoh RN5T618) which is connected through I2C.
Enable the Meson I2C driver so the devices on the I2C bus can be registered during boot.

---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index e6b3c96d4c09..19e60d562e5f 100644
@@ -364,6 +364,7 @@ CONFIG_HVC_DRIVER=y
 CONFIG_VIRTIO_CONSOLE=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_DAVINCI=y
+CONFIG_I2C_MESON=y
 CONFIG_I2C_MUX=y
 CONFIG_I2C_ARB_GPIO_CHALLENGE=m
 CONFIG_I2C_MUX_PCA954x=y
Signature · 1 line
2.17.0
author reviewer
#2 lore raw

PATCH 2/2 ARM: multi_v7_defconfig: enable the Meson PWM controller

In reply to Martin Blumenstingl

This enables the Amlogic Meson PWM controller. It is used for a dimmable LED on some devices. Additionally some devices use it to generate the 32.768 kHz (low power oscillator) clock.

---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index 19e60d562e5f..e8e4341e96c7 100644
@@ -948,6 +948,7 @@ CONFIG_PWM_ATMEL=m
 CONFIG_PWM_ATMEL_HLCDC_PWM=m
 CONFIG_PWM_ATMEL_TCB=m
 CONFIG_PWM_FSL_FTM=m
+CONFIG_PWM_MESON=m
 CONFIG_PWM_RCAR=m
 CONFIG_PWM_RENESAS_TPU=y
 CONFIG_PWM_ROCKCHIP=m
Signature · 1 line
2.17.0
maintainer Applied
#3 lore raw

cover Amlogic 32-bit multi_v7_defconfig updates

In reply to Martin Blumenstingl
Quoted 9 lines · Martin Blumenstingl

Some boards come with a PMU (system power controller, such as the Ricoh RN5T618). These need CONFIG_I2C_MESON built-in so the regulators can be set up during boot.

Also enable CONFIG_PWM_MESON (as module) because some boards use it to dim the LED and/or generate the 32.768 kHz clock for the SDIO wifi chip.

@Kevin: I assume that you'll take this through your tree, so no immediate action from the arm-soc maintainers needed, right?

Correct.

Merged into v4.18/defconfig,

Kevin