Home
last modified time | relevance | path

Searched refs:max8660 (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/regulator/
Dmax8660.c68 struct max8660 { struct
73 static int max8660_write(struct max8660 *max8660, u8 reg, u8 mask, u8 val) in max8660_write() argument
80 u8 reg_val = (max8660->shadow_regs[reg] & mask) | val; in max8660_write()
82 dev_vdbg(&max8660->client->dev, "Writing reg %02x with %02x\n", in max8660_write()
85 ret = i2c_smbus_write_byte_data(max8660->client, in max8660_write()
88 max8660->shadow_regs[reg] = reg_val; in max8660_write()
100 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_is_enabled() local
101 u8 val = max8660->shadow_regs[MAX8660_OVER1]; in max8660_dcdc_is_enabled()
109 struct max8660 *max8660 = rdev_get_drvdata(rdev); in max8660_dcdc_enable() local
112 return max8660_write(max8660, MAX8660_OVER1, 0xff, bit); in max8660_dcdc_enable()
[all …]
DMakefile80 obj-$(CONFIG_REGULATOR_MAX8660) += max8660.o
/linux-6.12.1/arch/arm/boot/dts/intel/pxa/
Dpxa300-raumfeld-common.dtsi186 max8660: regulator@34 { label
187 compatible = "maxim,max8660";