Searched +full:rt6245 +full:- +full:regulator (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Richtek RT6245 High Current Voltage Regulator10 - ChiYuan Huang <cy_huang@richtek.com>13 The RT6245 is a high-performance, synchronous step-down converter18 - $ref: regulator.yaml#23 - richtek,rt624528 enable-gpios:[all …]
1 // SPDX-License-Identifier: GPL-2.0+10 #include <linux/regulator/driver.h>11 #include <linux/regulator/of_regulator.h>31 #define RT6245_NUM_VOUT ((RT6245_VOUT_MAXUV - RT6245_VOUT_MINUV) / RT6245_VOUT_STEPUV + 1)44 if (!priv->enable_gpio) in rt6245_enable()47 gpiod_direction_output(priv->enable_gpio, 1); in rt6245_enable()55 priv->enable_state = true; in rt6245_enable()64 if (!priv->enable_gpio) in rt6245_disable()65 return -EINVAL; in rt6245_disable()70 gpiod_direction_output(priv->enable_gpio, 0); in rt6245_disable()[all …]