/openbmc/linux/Documentation/leds/ |
H A D | leds-lp55xx.rst | 8 ----------- 14 Device attributes for user-space interface 17 The LP55xx common driver provides these features using exported functions. 25 In lp55xx common driver, two different data structure is used. 50 - Maximum number of channels 51 - Reset command, chip enable command 52 - Chip specific initialization 53 - Brightness control register access 54 - Setting LED output current 55 - Program memory address access for running patterns [all …]
|
H A D | leds-lp5523.rst | 9 Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com) 12 ----------- 13 LP5523 can drive up to 9 channels. Leds can be controlled directly via 15 The name of each channel is configurable in the platform data - name and label. 22 - /sys/class/leds/R1 (name: 'R1') 23 - /sys/class/leds/B1 (name: 'B1') 28 - /sys/class/leds/RGB:channelN (label: 'RGB', N: 0 ~ 8) 33 - /sys/class/leds/lp5523:channelN (N: 0 ~ 8) 38 1) Legacy interface - enginex_mode, enginex_load and enginex_leds 53 cd /sys/class/leds/lp5523:channel2/device [all …]
|
H A D | leds-lp5521.rst | 10 Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com) 13 ----------- 15 LP5521 can drive up to 3 channels. Leds can be controlled directly via 25 1) Legacy interface - enginex_mode and enginex_load 37 cd /sys/class/leds/lp5521:channel2/device 46 2) Firmware interface - LP55xx common interface 48 For the details, please refer to 'firmware' section in leds-lp55xx.txt 57 - /sys/class/leds/lp5521:channel0/led_current - RW 58 - /sys/class/leds/lp5521:channel0/max_current - RO 111 (XXXX : pdata->label or i2c client name, N : channel number)
|
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 LEDs title 10 leds-class 11 leds-class-flash 12 leds-class-multicolor 13 ledtrig-oneshot 14 ledtrig-transient 15 ledtrig-usbport 19 leds-blinkm 20 leds-cht-wcove [all …]
|
H A D | leds-lp5562.rst | 13 LEDs can be controlled directly via the led class control interface. 17 For the details, please refer to 'firmware' section in leds-lp55xx.txt 70 Please refer to 'leds-lp55xx.txt"
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lp55xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 Bindings for the TI/National Semiconductor LP55xx and LP8501 multi channel 27 - national,lp5521 28 - national,lp5523 [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-lp55xx-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * LP55XX Common Driver Header 9 * Derived from leds-lp5521.c, leds-lp5523.c 15 #include <linux/led-class-multicolor.h> 145 * @lock : Lock for user-space interface 146 * @num_leds : Number of registered LEDs 156 struct mutex lock; /* lock for user-space interface */ 173 * @chip : The lp55xx chip data
|
H A D | leds-lp55xx-common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Derived from leds-lp5521.c, leds-lp5523.c 16 #include <linux/leds.h> 18 #include <linux/platform_data/leds-lp55xx.h> 21 #include <dt-bindings/leds/leds-lp55xx.h> 23 #include "leds-lp55xx-common.h" 45 struct lp55xx_device_config *cfg = chip->cfg; in lp55xx_reset_device() 46 u8 addr = cfg->reset.addr; in lp55xx_reset_device() 47 u8 val = cfg->reset.val; in lp55xx_reset_device() 55 struct lp55xx_device_config *cfg = chip->cfg; in lp55xx_detect_device() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_NEW_LEDS) += led-core.o 5 obj-$(CONFIG_LEDS_CLASS) += led-class.o 6 obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o 7 obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += led-class-multicolor.o 8 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o 10 # LED Platform Drivers (keep this sorted, M-| sort) 11 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o 12 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o 13 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o [all …]
|
H A D | leds-lp8501.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/leds.h> 18 #include <linux/platform_data/leds-lp55xx.h> 21 #include "leds-lp55xx-common.h" 85 led->led_current = led_current; in lp8501_set_led_current() 86 lp55xx_write(led->chip, LP8501_REG_LED_CURRENT_BASE + led->chan_nr, in lp8501_set_led_current() 99 /* Chip startup time is 500 us, 1 - 2 ms gives some margin */ in lp8501_post_init_device() 102 if (chip->pdata->clock_mode != LP55XX_CLOCK_EXT) in lp8501_post_init_device() 105 val |= (chip->pdata->charge_pump_mode << LP8501_CP_MODE_SHIFT) & LP8501_CP_MODE_MASK; in lp8501_post_init_device() 113 LP8501_PWR_CONFIG_M, chip->pdata->pwr_sel); in lp8501_post_init_device() [all …]
|
H A D | leds-lp5562.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/leds.h> 17 #include <linux/platform_data/leds-lp55xx.h> 20 #include "leds-lp55xx-common.h" 123 led->led_current = led_current; in lp5562_set_led_current() 124 lp55xx_write(led->chip, addr[led->chan_nr], led_current); in lp5562_set_led_current() 129 enum lp55xx_engine_index idx = chip->engine_idx; in lp5562_load_engine() 209 enum lp55xx_engine_index idx = chip->engine_idx; in lp5562_update_firmware() 229 while ((offset < size - 1) && (i < LP5562_PROGRAM_LENGTH)) { in lp5562_update_firmware() 255 dev_err(&chip->cl->dev, "wrong pattern format\n"); in lp5562_update_firmware() [all …]
|
H A D | leds-lp5521.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/leds.h> 18 #include <linux/platform_data/leds-lp55xx.h> 22 #include "leds-lp55xx-common.h" 113 led->led_current = led_current; in lp5521_set_led_current() 114 lp55xx_write(led->chip, LP5521_REG_LED_CURRENT_BASE + led->chan_nr, in lp5521_set_led_current() 120 enum lp55xx_engine_index idx = chip->engine_idx; in lp5521_load_engine() 146 enum lp55xx_engine_index idx = chip->engine_idx; in lp5521_stop_engine() 211 enum lp55xx_engine_index idx = chip->engine_idx; in lp5521_update_program_memory() 225 while ((offset < size - 1) && (i < LP5521_PROGRAM_LENGTH)) { in lp5521_update_program_memory() [all …]
|
H A D | leds-lp5523.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * lp5523.c - LP5523, LP55231 LED Driver 15 #include <linux/leds.h> 19 #include <linux/platform_data/leds-lp55xx.h> 22 #include "leds-lp55xx-common.h" 123 led->led_current = led_current; in lp5523_set_led_current() 124 lp55xx_write(led->chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, in lp5523_set_led_current() 137 /* Chip startup time is 500 us, 1 - 2 ms gives some margin */ in lp5523_post_init_device() 141 val |= (chip->pdata->charge_pump_mode << LP5523_CP_MODE_SHIFT) & LP5523_CP_MODE_MASK; in lp5523_post_init_device() 147 /* turn on all leds */ in lp5523_post_init_device() [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | leds-lp55xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * LP55XX Platform Data Header 9 * Derived from leds-lp5521.h, leds-lp5523.h 16 #include <linux/led-class-multicolor.h> 57 * @label : Used for naming LEDs
|
/openbmc/ |
D | opengrok1.0.log | 1 2025-03-14 03:00:40.378-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-03-14 03:00:40.496-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
D | opengrok2.0.log | 1 2025-03-13 03:00:39.225-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-03-13 03:00:39.341-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
/openbmc/linux/ |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |