lp8788-buck.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | lp8788-buck.c (60ab7f4153b6af461c90d572c31104086b44639f) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * TI LP8788 MFD - buck regulator driver 4 * 5 * Copyright 2012 Texas Instruments 6 * 7 * Author: Milo(Woogyom) Kim <milo.kim@ti.com> 8 */ --- 78 unchanged lines hidden (view full) --- 87 88struct lp8788_buck { 89 struct lp8788 *lp; 90 struct regulator_dev *regulator; 91 void *dvs; 92}; 93 94/* BUCK 1 ~ 4 voltage ranges */ | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * TI LP8788 MFD - buck regulator driver 4 * 5 * Copyright 2012 Texas Instruments 6 * 7 * Author: Milo(Woogyom) Kim <milo.kim@ti.com> 8 */ --- 78 unchanged lines hidden (view full) --- 87 88struct lp8788_buck { 89 struct lp8788 *lp; 90 struct regulator_dev *regulator; 91 void *dvs; 92}; 93 94/* BUCK 1 ~ 4 voltage ranges */ |
95static const struct regulator_linear_range buck_volt_ranges[] = { | 95static const struct linear_range buck_volt_ranges[] = { |
96 REGULATOR_LINEAR_RANGE(500000, 0, 0, 0), 97 REGULATOR_LINEAR_RANGE(800000, 1, 25, 50000), 98}; 99 100static void lp8788_buck1_set_dvs(struct lp8788_buck *buck) 101{ 102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; 103 enum lp8788_dvs_state pinstate; --- 449 unchanged lines hidden --- | 96 REGULATOR_LINEAR_RANGE(500000, 0, 0, 0), 97 REGULATOR_LINEAR_RANGE(800000, 1, 25, 50000), 98}; 99 100static void lp8788_buck1_set_dvs(struct lp8788_buck *buck) 101{ 102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; 103 enum lp8788_dvs_state pinstate; --- 449 unchanged lines hidden --- |