Home
last modified time | relevance | path

Searched refs:max77686 (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/drivers/mfd/
H A Dmax77686.c162 struct max77686_dev *max77686 = NULL; in max77686_i2c_probe() local
170 max77686 = devm_kzalloc(&i2c->dev, in max77686_i2c_probe()
172 if (!max77686) in max77686_i2c_probe()
175 i2c_set_clientdata(i2c, max77686); in max77686_i2c_probe()
176 max77686->type = (unsigned long)of_device_get_match_data(&i2c->dev); in max77686_i2c_probe()
177 max77686->dev = &i2c->dev; in max77686_i2c_probe()
178 max77686->i2c = i2c; in max77686_i2c_probe()
180 max77686->irq = i2c->irq; in max77686_i2c_probe()
182 if (max77686->type == TYPE_MAX77686) { in max77686_i2c_probe()
194 max77686->regmap = devm_regmap_init_i2c(i2c, config); in max77686_i2c_probe()
[all …]
H A DMakefile163 obj-$(CONFIG_MFD_MAX77686) += max77686.o
/openbmc/linux/drivers/regulator/
H A Dmax77686-regulator.c98 static unsigned int max77686_map_normal_mode(struct max77686_data *max77686, in max77686_map_normal_mode() argument
105 if (test_bit(id, max77686->gpio_enabled)) in max77686_map_normal_mode()
116 struct max77686_data *max77686 = rdev_get_drvdata(rdev); in max77686_set_suspend_disable() local
127 max77686->opmode[id] = val; in max77686_set_suspend_disable()
135 struct max77686_data *max77686 = rdev_get_drvdata(rdev); in max77686_set_suspend_mode() local
148 val = max77686_map_normal_mode(max77686, id); in max77686_set_suspend_mode()
162 max77686->opmode[id] = val; in max77686_set_suspend_mode()
171 struct max77686_data *max77686 = rdev_get_drvdata(rdev); in max77686_ldo_set_suspend_mode() local
182 val = max77686_map_normal_mode(max77686, id); in max77686_ldo_set_suspend_mode()
196 max77686->opmode[id] = val; in max77686_ldo_set_suspend_mode()
[all …]
H A DMakefile86 obj-$(CONFIG_REGULATOR_MAX77686) += max77686-regulator.o
/openbmc/linux/drivers/clk/
H A Dclk-max77686.c104 struct max77686_clk_init_data *max77686 = to_max77686_clk_init_data(hw); in max77686_clk_prepare() local
106 return regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_prepare()
107 max77686->clk_info->clk_enable_mask, in max77686_clk_prepare()
108 max77686->clk_info->clk_enable_mask); in max77686_clk_prepare()
113 struct max77686_clk_init_data *max77686 = to_max77686_clk_init_data(hw); in max77686_clk_unprepare() local
115 regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_unprepare()
116 max77686->clk_info->clk_enable_mask, in max77686_clk_unprepare()
117 ~max77686->clk_info->clk_enable_mask); in max77686_clk_unprepare()
122 struct max77686_clk_init_data *max77686 = to_max77686_clk_init_data(hw); in max77686_clk_is_prepared() local
126 ret = regmap_read(max77686->regmap, max77686->clk_info->clk_reg, &val); in max77686_clk_is_prepared()
[all …]
H A DMakefile48 obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
/openbmc/u-boot/doc/device-tree-bindings/pmic/
H A Dmax77686.txt4 - drivers/power/pmic/max77686.c (for parent device)
5 - drivers/power/regulator/max77686.c (for child regulators)
10 - doc/device-tree-bindings/regulator/max77686.txt
13 - compatible: "maxim,max77686"
21 (see max77686.txt - regulator binding info)
25 max77686@09 {
26 compatible = "maxim,max77686";
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dmaxim,max77686.txt6 bindings/mfd/max77686.txt for MAX77686 and
12 dt-bindings/clock/maxim,max77686.h.
34 - 0: 32khz_ap clock (max77686, max77802), 32khz_out0 (max77620)
35 - 1: 32khz_cp clock (max77686, max77802),
36 - 2: 32khz_pmic clock (max77686).
45 #include <dt-bindings/clock/maxim,max77686.h>
49 max77686: max77686@9 {
50 compatible = "maxim,max77686";
65 clocks = <&max77686 MAX77686_CLK_PMIC>;
/openbmc/u-boot/doc/device-tree-bindings/regulator/
H A Dmax77686.txt4 - drivers/power/pmic/max77686.c (as parent I/O device)
5 - drivers/power/regulator/max77686.c (for child regulators)
10 - doc/device-tree-bindings/pmic/max77686.txt
25 (subnode of max77686 pmic node)
H A Dregulator.txt10 pmic: drivers/power/pmic/max77686.c
11 regulator: drivers/power/regulator/max77686.c
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-smdk5250.dts10 #include <dt-bindings/clock/maxim,max77686.h>
138 max77686: pmic@9 { label
139 compatible = "maxim,max77686";
373 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
419 max77686_irq: max77686-irq-pins {
H A Dexynos4412-odroid-common.dtsi9 #include <dt-bindings/clock/maxim,max77686.h>
183 max77686_irq: max77686-irq-pins {
282 max77686: pmic@9 { label
283 compatible = "maxim,max77686";
549 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
H A Dexynos5250-snow-common.dtsi9 #include <dt-bindings/clock/maxim,max77686.h>
223 clocks = <&max77686 MAX77686_CLK_PMIC>;
291 max77686: pmic@9 { label
292 compatible = "maxim,max77686";
632 max77686_irq: max77686-irq-pins {
677 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
H A Dexynos4412-p4note.dtsi14 #include <dt-bindings/clock/maxim,max77686.h>
130 clocks = <&max77686 MAX77686_CLK_PMIC>;
392 max77686: pmic@9 { label
393 compatible = "maxim,max77686";
903 max77686_irq: max77686-irq-pins {
1166 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1216 clocks = <&max77686 MAX77686_CLK_PMIC>;
H A Dexynos4412-midas.dtsi19 #include <dt-bindings/clock/maxim,max77686.h>
337 clocks = <&max77686 MAX77686_CLK_PMIC>;
677 <&max77686 MAX77686_CLK_PMIC>;
722 max77686: pmic@9 { label
723 compatible = "maxim,max77686";
1183 max77686_irq: max77686-irq-pins {
1426 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1472 clocks = <&max77686 MAX77686_CLK_PMIC>;
/openbmc/u-boot/arch/arm/dts/
H A Dexynos5250-snow.dts297 max77686@09 {
299 compatible = "maxim,max77686";
404 max77686: max77686@09 { label
405 compatible = "maxim,max77686";
H A Dexynos5250-smdk5250.dts89 compatible = "maxim,max77686";
176 max77686@09 {
177 compatible = "maxim,max77686";
H A Dexynos4412-odroid.dts50 max77686: max77686_pmic@09 { label
51 compatible = "maxim,max77686";
H A Dexynos4412-trats2.dts124 max77686: max77686_pmic@09 { label
125 compatible = "maxim,max77686";
/openbmc/u-boot/doc/driver-model/
H A Dpmic-framework.txt89 * Example: 'drivers/power/pmic/max77686.c'
122 * Example: 'drivers/power/regulator/max77686.c'
123 'drivers/power/pmic/max77686.c' (required I/O driver for the above)
/openbmc/u-boot/drivers/power/regulator/
H A DMakefile10 obj-$(CONFIG_DM_REGULATOR_MAX77686) += max77686.o
H A DKconfig179 Binding info: 'doc/device-tree-bindings/pmic/max77686.txt'
/openbmc/u-boot/drivers/power/pmic/
H A DMakefile8 obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
/openbmc/linux/drivers/rtc/
H A DMakefile94 obj-$(CONFIG_RTC_DRV_MAX77686) += rtc-max77686.o
H A DKconfig384 will be called rtc-max77686.

12