/openbmc/linux/drivers/mfd/ |
H A D | max77686.c | 3 // max77686.c - mfd core driver for the Maxim 77686/802 19 #include <linux/mfd/max77686.h> 20 #include <linux/mfd/max77686-private.h> 25 { .name = "max77686-pmic", }, 26 { .name = "max77686-rtc", }, 27 { .name = "max77686-clk", }, 130 .name = "max77686-pmic", 149 .compatible = "maxim,max77686", 162 struct max77686_dev *max77686 = NULL; in max77686_i2c_probe() local 170 max77686 = devm_kzalloc(&i2c->dev, in max77686_i2c_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | maxim,max77686.txt | 1 Binding for Maxim MAX77686/MAX77802/MAX77620 32k clock generator block 3 This is a part of device tree bindings of MAX77686/MAX77802/MAX77620 6 bindings/mfd/max77686.txt for MAX77686 and 10 The MAX77686 contains three 32.768khz clock outputs that can be controlled 12 dt-bindings/clock/maxim,max77686.h. 19 The MAX77686 contains one 32.768khz clock outputs that can be controlled 34 - 0: 32khz_ap clock (max77686, max77802), 32khz_out0 (max77620) 35 - 1: 32khz_cp clock (max77686, max77802), 36 - 2: 32khz_pmic clock (max77686). 43 1. With MAX77686: [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-max77686.c | 3 // clk-max77686.c - Clock driver for Maxim 77686/MAX77802 14 #include <linux/mfd/max77686.h> 15 #include <linux/mfd/max77686-private.h> 22 #include <dt-bindings/clock/maxim,max77686.h> 104 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() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | max77686-regulator.c | 3 // max77686.c - Regulator driver for the Maxim 77686 20 #include <linux/mfd/max77686.h> 21 #include <linux/mfd/max77686-private.h> 98 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() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/pmic/ |
H A D | max77686.txt | 1 MAXIM, MAX77686 pmic 4 - 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/mfd/ |
H A D | maxim,max77686.yaml | 4 $id: http://devicetree.org/schemas/mfd/maxim,max77686.yaml# 7 title: Maxim MAX77686 Power Management IC 14 This is a part of device tree bindings for Maxim MAX77686 Power Management 17 The Maxim MAX77686 is a Power Management IC which includes voltage and 20 The MAX77686 provides three 32.768khz clock outputs that can be controlled 22 in dt-bindings/clock/maxim,max77686.h. 26 const: maxim,max77686 38 $ref: ../regulator/maxim,max77686.yaml 60 max77686: pmic@9 { 61 compatible = "maxim,max77686";
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | max77686.txt | 1 MAXIM, MAX77686 regulators 4 - 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 D | regulator.txt | 10 pmic: drivers/power/pmic/max77686.c 11 regulator: drivers/power/regulator/max77686.c
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max77686.yaml | 4 $id: http://devicetree.org/schemas/regulator/maxim,max77686.yaml# 7 title: Maxim MAX77686 Power Management IC regulators 14 This is a part of device tree bindings for Maxim MAX77686 Power Management 17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO) 20 See also Documentation/devicetree/bindings/mfd/maxim,max77686.yaml for
|
/openbmc/u-boot/doc/driver-model/ |
H A D | pmic-framework.txt | 89 * Example: 'drivers/power/pmic/max77686.c' 93 As an example of the pmic driver, please refer to the MAX77686 driver. 122 * Example: 'drivers/power/regulator/max77686.c' 123 'drivers/power/pmic/max77686.c' (required I/O driver for the above) 129 For the example regulator driver, please refer to the MAX77686 regulator driver, 131 I/O interface for MAX77686 regulator.
|
/openbmc/linux/include/linux/mfd/ |
H A D | max77686.h | 3 * max77686.h - Driver for the Maxim 77686/802 10 * MAX77686 has PMIC, RTC devices. 20 /* MAX77686 regulator IDs */
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-max77686.c | 3 // RTC driver for Maxim MAX77686 and MAX77802 16 #include <linux/mfd/max77686-private.h> 47 * as in done in MAX77686. 138 /* Maps RTC registers offset to the MAX77686 register addresses */ 179 .name = "max77686-rtc", 311 * MAX77686 uses 1 bit from sec/min/hour/etc RTC registers and the in max77686_rtc_data_to_tm() 864 { "max77686-rtc", .driver_data = (kernel_ulong_t)&max77686_drv_data, }, 874 .name = "max77686-rtc", 884 MODULE_DESCRIPTION("Maxim MAX77686 RTC driver");
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-smdk5250.dts | 10 #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 D | exynos4412-odroid-common.dtsi | 9 #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 D | exynos5250-snow-common.dtsi | 9 #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 D | exynos4412-p4note.dtsi | 14 #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 D | exynos4412-midas.dtsi | 19 #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 D | exynos5250-snow.dts | 297 max77686@09 { 299 compatible = "maxim,max77686"; 404 max77686: max77686@09 { label 405 compatible = "maxim,max77686";
|
H A D | exynos5250-smdk5250.dts | 89 compatible = "maxim,max77686"; 176 max77686@09 { 177 compatible = "maxim,max77686";
|
H A D | exynos4412-odroid.dts | 50 max77686: max77686_pmic@09 { label 51 compatible = "maxim,max77686";
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | Kconfig | 72 bool "Enable Driver Model for REGULATOR MAX77686" 76 features for REGULATOR MAX77686. The driver implements get/set api for: 179 Binding info: 'doc/device-tree-bindings/pmic/max77686.txt'
|
H A D | Makefile | 10 obj-$(CONFIG_DM_REGULATOR_MAX77686) += max77686.o
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | Kconfig | 73 bool "Enable Driver Model for PMIC MAX77686" 77 for PMIC MAX77686. The driver implements read/write operations.
|
H A D | Makefile | 8 obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
|
H A D | max77686.c | 77 { .compatible = "maxim,max77686" },
|