linux: enable PWM-controlled LEDs on HiFive/U

This commit is contained in:
Wesley W. Terpstra 2018-03-02 16:20:52 -08:00
parent cdb8c06cfd
commit c15da1d58e
2 changed files with 22 additions and 0 deletions

View File

@ -85,7 +85,18 @@ CONFIG_MTD_M25P80=y
CONFIG_MTD_BLOCK_RO=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SIFIVE=y
CONFIG_GPIO_SYSFS=y
CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO_RESTART=y
CONFIG_PWM=y
CONFIG_PWM_SIFIVE=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_PWM=y
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_MTD=y
CONFIG_LEDS_TRIGGER_NETDEV=y
CONFIG_LEDS_TRIGGER_PANIC=y
CONFIG_NVMEM=y
CONFIG_NVMEM_SIFIVE_U500_OTP=y

View File

@ -95,6 +95,7 @@ CONFIG_I2C=y
CONFIG_I2C_OCORES=y
CONFIG_SPI=y
CONFIG_SPI_SIFIVE=y
CONFIG_GPIO_SYSFS=y
CONFIG_MMC=y
CONFIG_MMC_SPI=y
CONFIG_MTD=y
@ -105,6 +106,16 @@ CONFIG_GPIOLIB=y
CONFIG_GPIO_SIFIVE=y
CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO_RESTART=y
CONFIG_PWM=y
CONFIG_PWM_SIFIVE=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_PWM=y
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_MTD=y
CONFIG_LEDS_TRIGGER_NETDEV=y
CONFIG_LEDS_TRIGGER_PANIC=y
CONFIG_NVMEM=y
CONFIG_NVMEM_SIFIVE_U500_OTP=y