| /kernel/linux/linux-6.6/drivers/mfd/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| 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> 26 { .name = "max77686-pmic", }, 27 { .name = "max77686-rtc", }, 28 { .name = "max77686-clk", }, 131 .name = "max77686-pmic", 150 .compatible = "maxim,max77686", 163 struct max77686_dev *max77686 = NULL; in max77686_i2c_probe() local 171 max77686 = devm_kzalloc(&i2c->dev, in max77686_i2c_probe() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| 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> 105 static unsigned int max77686_map_normal_mode(struct max77686_data *max77686, in max77686_map_normal_mode() argument 112 if (test_bit(id, max77686->gpio_enabled)) in max77686_map_normal_mode() 123 struct max77686_data *max77686 = rdev_get_drvdata(rdev); in max77686_set_suspend_disable() local 134 max77686->opmode[id] = val; in max77686_set_suspend_disable() 142 struct max77686_data *max77686 = rdev_get_drvdata(rdev); in max77686_set_suspend_mode() local 155 val = max77686_map_normal_mode(max77686, id); in max77686_set_suspend_mode() 169 max77686->opmode[id] = val; in max77686_set_suspend_mode() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | max77686.txt | 1 Maxim MAX77686 multi-function device 3 MAX77686 is a Multifunction device with PMIC, RTC and Charger on chip. It is 11 regulators are defined in ../clk/maxim,max77686.txt and 12 ../regulator/max77686.txt respectively. 15 - compatible : Must be "maxim,max77686"; 21 max77686: pmic@9 { 22 compatible = "maxim,max77686";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| 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";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | max77686.txt | 1 Binding for Maxim MAX77686 regulators 3 This is a part of the device tree bindings of MAX77686 multi-function device. 4 More information can be found in ../mfd/max77686.txt file. 6 The MAX77686 PMIC has 9 high-efficiency Buck and 26 Low-DropOut (LDO) 12 - voltage-regulators : The regulators of max77686 have to be instantiated 43 max77686: pmic@9 { 44 compatible = "maxim,max77686";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| 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
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | max77686.h | 3 * max77686.h - Driver for the Maxim 77686/802 10 * MAX77686 has PMIC, RTC devices. 20 /* MAX77686 regulator IDs */
|
| D | max77686-private.h | 3 * max77686-private.h - Voltage regulator driver for the Maxim 77686/802 18 /* MAX77686 PMIC registers */ 444 extern int max77686_irq_init(struct max77686_dev *max77686); 445 extern void max77686_irq_exit(struct max77686_dev *max77686); 446 extern int max77686_irq_resume(struct max77686_dev *max77686);
|
| /kernel/linux/linux-6.6/include/linux/mfd/ |
| D | max77686.h | 3 * max77686.h - Driver for the Maxim 77686/802 10 * MAX77686 has PMIC, RTC devices. 20 /* MAX77686 regulator IDs */
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| 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");
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-max77686.c | 3 // RTC driver for Maxim MAX77686 and MAX77802 16 #include <linux/mfd/max77686-private.h> 49 * as in done in MAX77686. 138 /* Maps RTC registers offset to the MAX77686 register addresses */ 179 .name = "max77686-rtc", 295 * MAX77686 uses 1 bit from sec/min/hour/etc RTC registers and the in max77686_rtc_data_to_tm() 852 { "max77686-rtc", .driver_data = (kernel_ulong_t)&max77686_drv_data, }, 861 .name = "max77686-rtc", 871 MODULE_DESCRIPTION("Maxim MAX77686 RTC driver");
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| 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 {
|
| 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>;
|
| 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>;
|
| 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>;
|
| 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>;
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | exynos5250-smdk5250.dts | 10 #include <dt-bindings/clock/maxim,max77686.h> 136 max77686: pmic@9 { label 137 compatible = "maxim,max77686"; 370 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; 416 max77686_irq: max77686-irq {
|
| D | exynos5250-snow-common.dtsi | 9 #include <dt-bindings/clock/maxim,max77686.h> 224 clocks = <&max77686 MAX77686_CLK_PMIC>; 292 max77686: max77686@9 { label 293 compatible = "maxim,max77686"; 632 max77686_irq: max77686-irq { 677 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
|
| D | exynos4412-odroid-common.dtsi | 9 #include <dt-bindings/clock/maxim,max77686.h> 179 max77686_irq: max77686-irq { 279 max77686: pmic@9 { label 280 compatible = "maxim,max77686"; 544 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
|