Home
last modified time | relevance | path

Searched +full:mvsys +full:- +full:min (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/leds/
H A Dmaxim,max77693.yaml1 # 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:
34 See LEDS_BOOST_* in include/dt-bindings/leds/common.h.
38 maxim,boost-mvout:
41 Valid values: 3300 - 5500, step by 25 (rounded down)
[all …]
/linux/drivers/leds/flash/
H A Dleds-max77693.c1 // SPDX-License-Identifier: GPL-2.0-only
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>
96 /* bitmask of FLED outputs use state (bit 0. - FLED1, bit 1. - FLED2) */
109 return (ua - FLASH_IOUT_MIN) / FLASH_IOUT_STEP; in max77693_led_iout_to_reg()
114 return (us - FLASH_TIMEOUT_MIN) / FLASH_TIMEOUT_STEP; in max77693_flash_timeout_to_reg()
127 sub_leds[sub_led->fled_id]); in sub_led_to_led()
132 return ((mv - MAX_FLASH1_VSYS_MIN) / MAX_FLASH1_VSYS_STEP) << 2; in max77693_led_vsys_to_reg()
[all …]