u-boot/drivers
Christian Marangi 914fd75a5d led: implement LED boot API
Implement LED boot API to signal correct boot of the system.

led_boot_on/off/blink() are introduced to turn ON, OFF and BLINK the
designated boot LED.

New Kconfig is introduced, CONFIG_LED_BOOT to enable the feature.
This makes use of the /options/u-boot property "boot-led" to the
define the boot LED.
It's also introduced a new /options/u-boot property "boot-led-period"
to define the default period when the LED is set to blink mode.

If "boot-led-period" is not defined, the value of 250 (ms) is
used by default.

If CONFIG_LED_BLINK or CONFIG_LED_SW_BLINK is not enabled,
led_boot_blink call will fallback to simple LED ON.

To cache the data we repurpose the now unused led_uc_priv for storage of
global LED uclass info.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2024-10-10 16:02:20 -06:00
..
adc dm: adc: Add SPL_ADC Kconfig symbol for use of ADC in SPL 2024-08-09 18:35:23 +08:00
ata ata: sata_rescan must scan for block devices 2024-08-27 11:17:39 -06:00
axi Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bios_emulator drivers: bios_emulator: Remove duplicate newlines 2024-07-22 10:53:04 -06:00
block Prepare v2024.10-rc3 2024-08-19 18:24:58 -06:00
bootcount Prepare v2024.10-rc5 2024-09-16 14:48:13 -06:00
bus Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
button Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cache drivers: cache: Remove duplicate newlines 2024-07-22 10:53:04 -06:00
clk Prepare v2024.10-rc5 2024-09-16 14:48:13 -06:00
core dm: core: implement ofnode_options helpers 2024-10-10 16:02:20 -06:00
cpu imx93: Add Low performance parts 9302/9301 support 2024-09-19 00:12:41 -03:00
crypto drivers/crypto: aspeed: Add Caliptra SHA ACC support 2024-09-16 16:37:17 -06:00
ddr imx9: Add 233Mhz DDR PLL frequency 2024-09-19 00:12:41 -03:00
demo Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dfu dfu: fix Kconfig dependencies 2024-09-13 17:41:18 +02:00
dma dma: ti: k3-udma: Add support for native configuration of chan/flow 2024-08-30 13:57:39 -06:00
extcon Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fastboot Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
firmware include: export uuid.h 2024-09-12 17:35:37 +02:00
fpga drivers: fpga: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
fuzz Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fwu-mdata Merge patch series "FWU: Add support for FWU metadata version 2" 2024-05-24 13:42:07 -06:00
gpio gpio: mxc_gpio: fix reading state of GPIO pins in output mode 2024-08-30 22:32:29 -03:00
hwspinlock Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
i2c Prepare v2024.10-rc3 2024-08-19 18:24:58 -06:00
input drivers: input: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
iommu iommu: qcom-smmu: add sc7280-smmu-500 compatible 2024-09-06 10:47:47 +02:00
led led: implement LED boot API 2024-10-10 16:02:20 -06:00
mailbox arm64: versal2: Add support for AMD Versal Gen 2 2024-06-17 16:02:29 +02:00
memory memory: ti-gpmc: use printf to dump settings/timings 2024-06-07 14:07:23 -06:00
mfd
misc imx: ele_ahab: Add HUK derivation support 2024-08-30 15:50:36 -03:00
mmc AMD/Xilinx changes for v2025.01-rc1 2024-09-23 08:11:01 -06:00
mtd Merge patch series "Miscellaneous fixes" 2024-09-24 13:41:21 -06:00
mux mux: mmio: Support "reg-mux" compatible 2024-09-20 09:09:42 -06:00
net Merge tag 'u-boot-imx-next-20240925' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next 2024-09-25 08:21:40 -06:00
nvme Prepare v2024.07-rc5 2024-06-24 13:34:52 -06:00
pch Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pci pci: mediatek: add support for upstream split PCIe node 2024-08-27 11:17:39 -06:00
pci_endpoint Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy Prepare v2024.10-rc6 2024-09-30 17:48:12 -06:00
pinctrl Merge patch series "Arm: npcm: modify npcm8xx boot setting" 2024-09-16 16:43:53 -06:00
power power: regulator: Drop regulators_enable_boot_on/off() 2024-09-30 19:19:07 -06:00
pwm pwm: imx: Don't drop the enable bit once set 2024-09-11 17:02:36 -03:00
qe qe: Add <asm/ppc.h> on PowerPC 2023-11-07 14:50:51 -05:00
ram Prepare v2024.10-rc6 2024-09-30 17:48:12 -06:00
reboot-mode Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
remoteproc remoteproc: uclass: Modify uc_pdata->name to use combination of device name and device's parent name 2024-08-27 11:17:39 -06:00
reset drivers: reset: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
rng Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-samsung 2024-07-25 09:14:29 -06:00
rtc drivers: rtc: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
scsi drivers: scsi: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
serial sandbox: Drop video-sync in serial driver 2024-07-31 16:56:06 +02:00
sm Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
smem Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
soc soc: qcom: rpmh-rsc: add back __tcs_set_trigger() for SM8550/SM8650 2024-09-06 10:47:46 +02:00
sound drivers: sound: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
spi Prepare v2024.10-rc5 2024-09-16 14:48:13 -06:00
spmi spmi: msm: correct max_channels for v5 controllers 2024-07-05 12:07:37 +02:00
sysinfo Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sysreset drivers: sysreset: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
tee tee: sandbox: check for buffer size 2024-04-26 08:28:35 +03:00
thermal drivers: thermal: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
timer timer: Add AST2700 IBEX timer support 2024-09-11 20:35:03 +08:00
tpm tpm: call tpm_tis_wait_init() after tpm_tis_init() 2024-08-06 14:01:14 +03:00
ufs Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
usb Prepare v2024.10-rc6 2024-09-30 17:48:12 -06:00
video video: Avoid setting global_data fb_base in video setup 2024-08-26 14:05:38 -06:00
virtio Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
w1 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
w1-eeprom Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
watchdog cyclic: Add a symbol for SPL 2024-07-31 16:51:54 +02:00
xen Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig drivers: introduce Secure Monitor uclass 2023-10-15 12:23:48 +02:00
Makefile dm: adc: Add SPL_ADC Kconfig symbol for use of ADC in SPL 2024-08-09 18:35:23 +08:00