/Linux-v6.1/drivers/media/i2c/ |
D | lm3646.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * General device driver for TI lm3646, Dual FLASH LED Driver 9 * Ldd-Mlp <ldd-mlp@list.ti.com> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 61 * @led_mode: V4L2 LED mode 64 * @mode_reg : mode register value 78 container_of(_ctrl->handler, struct lm3646_flash, ctrls_led) 80 /* enable mode control */ 81 static int lm3646_mode_ctrl(struct lm3646_flash *flash, in lm3646_mode_ctrl() argument [all …]
|
D | vs6624_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * vs6624 - ST VS6624 CMOS image sensor registers 24 #define VS6624_STATE 0x0202 /* current state of the mode manager */ 25 /* run mode control */ 27 /* mode setup */ 28 #define VS6624_ACTIVE_PIPE_SETUP 0x0302 /* select the active bank for non view live mode */ 29 #define VS6624_SENSOR_MODE 0x0308 /* select the different sensor mode */ 46 #define VS6624_CROP_CTRL0 0x039E /* select cropping mode */ 79 #define VS6624_CROP_CTRL1 0x041E /* select cropping mode */ 97 #define VS6624_VIEW_LIVE_EN 0x0480 /* enable view live mode */ [all …]
|
D | lm3560.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * General device driver for TI lm3559, lm3560, FLASH LED Driver 9 * Ldd-Mlp <ldd-mlp@list.ti.com> 20 #include <media/v4l2-ctrls.h> 21 #include <media/v4l2-device.h> 49 * @led_mode: V4L2 LED mode 65 container_of(_ctrl->handler, struct lm3560_flash, ctrls_led[_no]) 67 /* enable mode control */ 68 static int lm3560_mode_ctrl(struct lm3560_flash *flash) in lm3560_mode_ctrl() argument 70 int rval = -EINVAL; in lm3560_mode_ctrl() [all …]
|
/Linux-v6.1/drivers/staging/media/atomisp/i2c/ |
D | atomisp-lm3554.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * LED flash driver for LM3554 5 * Copyright (c) 2010-2012 Intel Corporation. All Rights Reserved. 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-device.h> 69 unsigned int mode; member 82 static int lm3554_write(struct lm3554 *flash, u8 addr, u8 val) in lm3554_write() argument 84 struct i2c_client *client = v4l2_get_subdevdata(&flash->sd); in lm3554_write() 89 dev_dbg(&client->dev, "Write Addr:%02X Val:%02X %s\n", addr, val, in lm3554_write() 96 static int lm3554_read(struct lm3554 *flash, u8 addr) in lm3554_read() argument [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-flash.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _flash-controls: 6 Flash Control Reference 9 The V4L2 flash controls are intended to provide generic access to flash 10 controller devices. Flash controller devices are typically used in 13 The interface can support both LED and xenon flash devices. As of 14 writing this, there is no xenon flash driver using this interface. 17 .. _flash-controls-use-cases: 23 Unsynchronised LED flash (software strobe) 24 ------------------------------------------ [all …]
|
/Linux-v6.1/Documentation/leds/ |
D | leds-lm3556.rst | 6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source 10 - Daniel Jeong 12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com) 15 ----------- 16 There are 3 functions in LM3556, Flash, Torch and Indicator. 18 Flash Mode 21 In Flash Mode, the LED current source(LED) provides 16 target current levels 22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT 23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A), 26 LM3556 Flash can be controlled through /sys/class/leds/flash/brightness file [all …]
|
D | leds-class-flash.rst | 2 Flash LED handling under Linux 5 Some LED devices provide two modes - torch and flash. In the LED subsystem 6 those modes are supported by LED class (see Documentation/leds/leds-class.rst) 7 and LED Flash class respectively. The torch mode related features are enabled 8 by default and the flash ones only if a driver declares it by setting 11 In order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol 12 must be defined in the kernel config. A LED Flash class driver must be 15 Following sysfs attributes are exposed for controlling flash LED devices: 16 (see Documentation/ABI/testing/sysfs-class-led-flash) 18 - flash_brightness [all …]
|
/Linux-v6.1/drivers/mtd/devices/ |
D | spear_smi.c | 2 * SMI (Serial Memory Controller) device driver for Serial NOR Flash on 60 #define SW_MODE (0x1 << 28) /* enables SW Mode */ 61 #define WB_MODE (0x1 << 29) /* Write Burst Mode */ 62 #define FAST_MODE (0x1 << 15) /* Fast Mode */ 90 /* flash opcodes */ 93 /* Flash Device Ids maintenance section */ 95 /* data structure to maintain flash ids from different vendors */ 157 * struct spear_smi - Structure for SMI Device 165 * @cmd_complete: queue to wait for command completion of NOR-flash. 167 * @flash: separate structure for each Serial NOR-flash attached to SMI. [all …]
|
D | docg3.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Handles the M-Systems DiskOnChip G3 chip 14 * Flash memory areas : 15 * - 0x0000 .. 0x07ff : IPL 16 * - 0x0800 .. 0x0fff : Data area 17 * - 0x1000 .. 0x17ff : Registers 18 * - 0x1800 .. 0x1fff : Unknown 82 * Flash registers 123 * Flash sequences 138 * Flash commands [all …]
|
/Linux-v6.1/drivers/spi/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 dynamic device discovery; some are even write-only or read-only. 16 eeprom and flash memory, codecs and various other controller 17 chips, analog to digital (and d-to-a) converters, and more. 44 If your system has an master-capable SPI controller (which 56 by providing a high-level interface to send memory-like commands. 105 tristate "Aspeed flash controllers in SPI mode" 111 to SPI NOR chips, and support for the SPI flash memory 136 This enables support for the Quad SPI controller in master mode. 138 supports spi-mem interface. [all …]
|
/Linux-v6.1/drivers/leds/flash/ |
D | leds-as3645a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver 5 * Copyright (C) 2008-2011 Nokia Corporation 16 #include <linux/led-class-flash.h> 23 #include <media/v4l2-flash-led-class.h> 25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50) 30 /* Read-only Design info register: Reset state: xxxx 0001 */ 35 /* Read-only Version control register: Reset state: 0000 0000 105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250) 143 enum as_mode mode; member [all …]
|
D | leds-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Flash class driver for the flash cell of max77693 mfd. 11 #include <linux/led-class-flash.h> 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77693-private.h> 20 #include <media/v4l2-flash-led-class.h> 41 FLASH, enumerator 59 /* corresponding LED Flash class device */ 61 /* V4L2 Flash device */ 66 /* flash timeout cache */ [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 15 tristate "AS3645A and LM3555 LED flash controllers support" 19 Enable LED flash class support for AS3645A LED flash 20 controller. V4L2 flash API is provided as well if 24 tristate "LED support for Kinetic KTD2692 flash LED controller" 28 This option enables support for Kinetic KTD2692 LED flash connected 39 of flash, torch and indicator classes. 42 tristate "LED support for MAX77693 Flash" 47 This option enables support for the flash part of the MAX77693 48 multifunction device. It has build in control for two leds in flash [all …]
|
D | leds-ktd2692.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED driver : leds-ktd2692.c 12 #include <linux/led-class-flash.h> 19 /* Value related the movie mode */ 24 /* Value related the flash mode */ 29 /* Macro for getting offset of flash timeout */ 56 /* Movie / Flash Mode Control */ 64 /* maximum LED current in movie mode */ 66 /* maximum LED current in flash mode */ 68 /* maximum flash timeout */ [all …]
|
D | leds-aat1290.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Flash class driver for the AAT1290 4 * 1.5A Step-Up Current Regulator for Flash LEDs 12 #include <linux/led-class-flash.h> 20 #include <media/v4l2-flash-led-class.h> 49 /* maximum LED current in movie mode */ 51 /* maximum LED current in flash mode */ 53 /* maximum flash timeout */ 67 /* corresponding LED Flash class device */ 69 /* V4L2 Flash device */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mtd/ |
D | davinci-nand.txt | 7 Davinci DM646x - https://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 8 Kestone - https://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 12 - compatible: "ti,davinci-nand" 13 "ti,keystone-nand" 15 - reg: Contains 2 offset/length values: 16 - offset and length for the access window. 17 - offset and length for accessing the AEMIF 20 - ti,davinci-chipselect: number of chipselect. Indicates on the 23 Can be in the range [0-3]. 27 - ti,davinci-mask-ale: mask for ALE. Needed for executing address [all …]
|
D | nxp-spifi.txt | 1 * NXP SPI Flash Interface (SPIFI) 3 NXP SPIFI is a specialized SPI interface for serial Flash devices. 4 It supports one Flash device with 1-, 2- and 4-bits width in SPI 5 mode 0 or 3. The controller operates in either command or memory 6 mode. In memory mode the Flash is accessible from the CPU as 10 - compatible : Should be "nxp,lpc1773-spifi" 11 - reg : the first contains the register location and length, 13 - reg-names: Should contain the reg names "spifi" and "flash" 14 - interrupts : Should contain the interrupt for the device 15 - clocks : The clocks needed by the SPIFI controller [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
D | richtek,rt8515.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 The Richtek RT8515 is a dual channel (two mode) LED driver that 14 supports driving a white LED in flash or torch mode. The maximum 15 current for each mode is defined in hardware using two resistors 22 enf-gpios: 24 description: A connection to the 'ENF' (enable flash) pin. 26 ent-gpios: [all …]
|
D | kinetic,ktd2692.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: KTD2692 Flash LED Driver from Kinetic Technologies 10 - Markuss Broks <markuss.broks@gmail.com> 13 KTD2692 is the ideal power solution for high-power flash LEDs. 14 It uses ExpressWire single-wire programming for maximum flexibility. 17 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current, 18 Flash timeout, LVP(low voltage protection). 21 LED current will be ramped up to the flash-mode current level. [all …]
|
D | leds-lm3601x.txt | 1 * Texas Instruments - lm3601x Single-LED Flash Driver 3 The LM3601X are ultra-small LED flash drivers that 7 - compatible : Can be one of the following 10 - reg : I2C slave address 11 - #address-cells : 1 12 - #size-cells : 0 15 - reg : 0 - Indicates a IR mode 16 1 - Indicates a Torch (white LED) mode 18 Required properties for flash LED child nodes: 20 - flash-max-microamp : Range from 11mA - 1.5A [all …]
|
D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 16 There are two LED outputs available - FLED1 and FLED2. Each of them can 26 const: maxim,max77693-led 28 maxim,boost-mode: 30 In boost mode the device can produce up to 1.2A of total current on both 34 See LEDS_BOOST_* in include/dt-bindings/leds/common.h. 38 maxim,boost-mvout: [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-class-led-flash | 6 Set the brightness of this LED in the flash strobe mode, in 7 microamperes. The file is created only for the flash LED devices 8 that support setting flash brightness. 18 Maximum brightness level for this LED in the flash strobe mode, 26 Hardware timeout for flash, in microseconds. The flash strobe 28 of the strobe. The file is created only for the flash LED 29 devices that support setting flash timeout. 36 Maximum flash timeout for this LED, in microseconds. 43 Flash strobe state. When written with 1 it triggers flash strobe 44 and when written with 0 it turns the flash off. [all …]
|
/Linux-v6.1/Documentation/powerpc/ |
D | cxlflash.rst | 2 Coherent Accelerator (CXL) Flash 12 purpose co-processors which can read or write an application's 14 an adapter running in CAPI mode does not require the data buffers to 26 kernel/device driver stack. The CXL Flash Adapter Driver enables a 27 user space application direct access to Flash storage. 29 The CXL Flash Adapter Driver is a kernel module that sits in the 31 protocol drivers) for the IBM CXL Flash Adapter. This driver is 34 communicates directly the Flash Accelerator Functional Unit (AFU) 40 - Any flash device (LUN) can be configured to be accessed as a 41 regular disk device (i.e.: /dev/sdc). This is the default mode. [all …]
|
/Linux-v6.1/drivers/mtd/spi-nor/ |
D | xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/mtd/spi-nor.h> 39 /* Xilinx S3AN Internal Flash */ 48 * This code converts an address to the Default Address Mode, that has non 49 * power of two page sizes. We must support this mode because it is the default 50 * mode supported by Xilinx tools, it can access the whole flash area and 51 * changing over to the Power-of-two mode is irreversible and corrupts the 58 u32 page_size = nor->params->page_size; in s3an_nor_convert_addr() 69 * xilinx_nor_read_sr() - Read the Status Register on S3AN flashes. 71 * @sr: pointer to a DMA-able buffer where the value of the [all …]
|
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 /* Standard SPI NOR flash operations. */ 192 * struct spi_nor_erase_type - Structure to describe a SPI NOR erase type 199 * @idx: Erase Type index as sorted in the Basic Flash Parameter 213 * struct spi_nor_erase_command - Used for non-uniform erases 216 * are run-length encoded. 231 * struct spi_nor_erase_region - Structure to describe a SPI NOR erase region 235 * the last in the SPI NOR flash memory and to indicate 247 #define SNOR_ERASE_TYPE_MASK GENMASK_ULL(SNOR_ERASE_TYPE_MAX - 1, 0) 253 #define SNOR_ERASE_FLAGS_MASK GENMASK_ULL(SNOR_ERASE_FLAGS_MAX - 1, 0) [all …]
|