[PATCH v2 9/9] ARM: config: Enable GPIO Led driver in stm32_defconfig

Linus Walleij linus.walleij at linaro.org
Mon Oct 26 06:42:41 PDT 2015


On Sat, Oct 17, 2015 at 7:23 PM, Maxime Coquelin
<mcoquelin.stm32 at gmail.com> wrote:

> Signed-off-by: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> ---
>  arch/arm/configs/stm32_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
> index 4725fab..92ade2e 100644
> --- a/arch/arm/configs/stm32_defconfig
> +++ b/arch/arm/configs/stm32_defconfig
> @@ -52,6 +52,7 @@ CONFIG_SERIAL_STM32_CONSOLE=y
>  # CONFIG_USB_SUPPORT is not set
>  CONFIG_NEW_LEDS=y
>  CONFIG_LEDS_CLASS=y
> +CONFIG_LEDS_GPIO=y
>  CONFIG_LEDS_TRIGGERS=y
>  CONFIG_LEDS_TRIGGER_HEARTBEAT=y

You even have triggers and heartbeat in your defconfig, even
more reason to set it up as default trigger in the DT.
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list