Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | menu "LED Support" config LED bool "Enable LED support" depends on DM help Many boards have LEDs which can be used to signal status or alerts. U-Boot provides a uclass API to implement this feature. LED drivers can provide access to board-specific LEDs. Use of the device tree for configuration is encouraged. if LED config LED_BOOT bool "Enable LED boot support" help Enable LED boot support. LED boot is a specific LED assigned to signal boot operation status. Defined in Device Tree /options/u-boot node. Refer here for the supported options [1]. [1] dtschema/schemas/options/u-boot.yaml config LED_ACTIVITY bool "Enable LED activity support" help Enable LED activity support. LED activity is a specific LED assigned to signal activity operation like file trasnfer, flash write/erase... Defined in Device Tree /options/u-boot node. Refer here for the supported options [1]. [1] dtschema/schemas/options/u-boot.yaml config LED_BCM6328 bool "LED Support for BCM6328" depends on ARCH_BMIPS help This option enables support for LEDs connected to the BCM6328 LED HW controller accessed via MMIO registers. HW blinking is supported and up to 24 LEDs can be controlled. All LEDs can blink at the same time but the delay is shared, which means that if one LED is set to blink at 100ms and then a different LED is set to blink at 200ms, both will blink at 200ms. config LED_BCM6358 bool "LED Support for BCM6358" depends on ARCH_BMIPS help This option enables support for LEDs connected to the BCM6358 LED HW controller accessed via MMIO registers. HW has no blinking capabilities and up to 32 LEDs can be controlled. config LED_BCM6753 bool "LED Support for BCM6753" depends on BCM6855 help This option enables support for LEDs connected to the BCM6753 HW has blinking and fading capabilities and up to 32 LEDs can be controlled. config LED_BCM6858 bool "LED Support for BCM6858" depends on BCM6856 || BCM6858 || BCM63158 help This option enables support for LEDs connected to the BCM6858 HW has blinking capabilities and up to 32 LEDs can be controlled. config LED_CORTINA bool "LED Support for Cortina Access CAxxxx SoCs" depends on CORTINA_PLATFORM help This option enables support for LEDs connected to the Cortina Access CAxxxx SOCs. config LED_LP5562 bool "LED Support for LP5562" depends on DM_I2C help This option enables support for LEDs connected to the TI LP5562 4 channel I2C LED controller. Driver fully supports blink on the B/G/R LEDs. White LED can blink, but re-uses the period from blue. config LED_PWM bool "LED PWM" depends on DM_PWM help Enable support for LEDs connected to PWM. Linux compatible ofdata. config LED_BLINK bool "Support hardware LED blinking" help Some drivers can support automatic blinking of LEDs with a given period, without needing timers or extra code to handle the timing. This option enables support for this which adds slightly to the code size. config LED_SW_BLINK bool "Support software LED blinking" select CYCLIC help Turns on led blinking implemented in the software, useful when the hardware doesn't support led blinking. Half of the period led will be ON and the rest time it will be OFF. Standard led commands can be used to configure blinking. Does nothing if driver supports hardware blinking. WARNING: Blinking may be inaccurate during execution of time consuming commands (ex. flash reading). Also it completely stops during OS booting. config SPL_LED bool "Enable LED support in SPL" depends on SPL_DM help The LED subsystem adds a small amount of overhead to the image. If this is acceptable and you have a need to use LEDs in SPL, enable this option. You will need to enable device tree in SPL for this to work. config LED_GPIO bool "LED support for GPIO-connected LEDs" depends on DM_GPIO help Enable support for LEDs which are connected to GPIO lines. These GPIOs may be on the SoC or some other device which provides GPIOs. The GPIO driver must used driver model. LEDs are configured using the device tree. config SPL_LED_GPIO bool "LED support for GPIO-connected LEDs in SPL" depends on SPL_LED && SPL_DM_GPIO help This option is an SPL-variant of the LED_GPIO option. See the help of LED_GPIO for details. endif # LED endmenu |