D | pfuze100-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved. 16 #include <linux/regulator/pfuze100.h> 63 enum chips { PFUZE100, PFUZE200, PFUZE3000 = 3, PFUZE3001 = 0x31, }; enumerator 110 { .compatible = "fsl,pfuze100", .data = (void *)PFUZE100}, 120 struct pfuze_chip *pfuze100 = rdev_get_drvdata(rdev); in pfuze100_set_ramp_delay() local 126 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay() 137 case PFUZE100: in pfuze100_set_ramp_delay() 146 ramp_bits = (ramp_delay >> 1) - (ramp_delay >> 3); in pfuze100_set_ramp_delay() 149 ret = regmap_update_bits(pfuze100->regmap, in pfuze100_set_ramp_delay() [all …]
|