/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 …]
|
H A D | Makefile | 169 obj-$(CONFIG_MFD_MAX77686) += max77686.o
|
H A D | Kconfig | 891 tristate "Maxim Semiconductor MAX77686/802 PMIC Support" 899 Say yes here to add support for Maxim Semiconductor MAX77686 and
|
/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 …]
|
/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 …]
|
H A D | Makefile | 74 obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
|
/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 …]
|
H A D | max77802-regulator.c | 23 #include <linux/mfd/max77686.h> 24 #include <linux/mfd/max77686-private.h>
|
H A D | max77693-regulator.c | 9 // This driver is based on max77686.c
|
H A D | Makefile | 90 obj-$(CONFIG_REGULATOR_MAX77686) += max77686-regulator.o
|
/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
|
H A D | maxim,max77802.yaml | 17 The Maxim MAX77686 provides 10 high-efficiency Buck and 32 Low-DropOut (LDO)
|
/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 */
|
H A D | max77686-private.h | 3 * max77686-private.h - Voltage regulator driver for the Maxim 77686/802 18 /* MAX77686 PMIC registers */
|
/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");
|
H A D | Makefile | 99 obj-$(CONFIG_RTC_DRV_MAX77686) += rtc-max77686.o
|
H A D | Kconfig | 400 tristate "Maxim MAX77686" 404 RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC. 407 will be called rtc-max77686.
|
/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-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>;
|
H A D | exynos4412-p4note.dtsi | 14 #include <dt-bindings/clock/maxim,max77686.h> 130 clocks = <&max77686 MAX77686_CLK_PMIC>; 425 max77686: pmic@9 { label 426 compatible = "maxim,max77686"; 954 max77686_irq: max77686-irq-pins { 1217 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; 1267 clocks = <&max77686 MAX77686_CLK_PMIC>;
|
/linux/ |
H A D | MAINTAINERS | 14183 F: Documentation/devicetree/bindings/*/maxim,max77686.yaml 14186 F: Documentation/devicetree/bindings/clock/maxim,max77686.txt 14189 F: drivers/*/max77686*.c 14191 F: drivers/clk/clk-max77686.c 14194 F: drivers/rtc/rtc-max77686.c 14196 F: include/linux/mfd/max77686*.h
|