Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Dmax8997-irq.c30 static struct i2c_client *get_i2c(struct max8997_dev *max8997, in get_i2c() argument
35 return max8997->i2c; in get_i2c()
39 return max8997->muic; in get_i2c()
41 return max8997->i2c; in get_i2c()
43 return max8997->i2c; in get_i2c()
102 struct max8997_dev *max8997 = irq_data_get_irq_chip_data(data); in max8997_irq_lock() local
104 mutex_lock(&max8997->irqlock); in max8997_irq_lock()
109 struct max8997_dev *max8997 = irq_data_get_irq_chip_data(data); in max8997_irq_sync_unlock() local
114 struct i2c_client *i2c = get_i2c(max8997, i); in max8997_irq_sync_unlock()
119 max8997->irq_masks_cache[i] = max8997->irq_masks_cur[i]; in max8997_irq_sync_unlock()
[all …]
H A Dmax8997.c48 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_read_reg() local
51 mutex_lock(&max8997->iolock); in max8997_read_reg()
53 mutex_unlock(&max8997->iolock); in max8997_read_reg()
65 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_bulk_read() local
68 mutex_lock(&max8997->iolock); in max8997_bulk_read()
70 mutex_unlock(&max8997->iolock); in max8997_bulk_read()
80 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_write_reg() local
83 mutex_lock(&max8997->iolock); in max8997_write_reg()
85 mutex_unlock(&max8997->iolock); in max8997_write_reg()
92 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_bulk_write() local
[all …]
H A DMakefile170 obj-$(CONFIG_MFD_MAX8997) += max8997.o max8997-irq.o
/openbmc/linux/drivers/regulator/
H A Dmax8997-regulator.c49 static inline void max8997_set_gpio(struct max8997_data *max8997) in max8997_set_gpio() argument
51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio()
52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio()
53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio()
55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio()
56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio()
57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio()
244 struct max8997_data *max8997 = rdev_get_drvdata(rdev); in max8997_reg_is_enabled() local
245 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_is_enabled()
262 struct max8997_data *max8997 = rdev_get_drvdata(rdev); in max8997_reg_enable() local
[all …]
H A DMakefile82 obj-$(CONFIG_REGULATOR_MAX8997) += max8997-regulator.o
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos4210-trats.dts144 /* Workaround for missing clock on max8997 PMIC */
292 compatible = "maxim,max8997-pmic";
298 max8997,pmic-buck1-uses-gpio-dvs;
299 max8997,pmic-buck2-uses-gpio-dvs;
300 max8997,pmic-buck5-uses-gpio-dvs;
302 max8997,pmic-ignore-gpiodvs-side-effect;
303 max8997,pmic-buck125-default-dvs-idx = <0>;
305 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
309 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
314 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
[all …]
H A Dexynos4210-origen.dts112 /* Workaround for missing clock on max8997 PMIC */
182 compatible = "maxim,max8997-pmic";
189 max8997,pmic-buck1-dvs-voltage = <1350000>;
190 max8997,pmic-buck2-dvs-voltage = <1100000>;
191 max8997,pmic-buck5-dvs-voltage = <1200000>;
326 max8997_irq: max8997-irq-pins {
H A Dexynos4210-i9100.dts251 /* Workaround for missing clock on max8997 PMIC */
413 compatible = "maxim,max8997-pmic";
419 max8997,pmic-buck1-uses-gpio-dvs;
420 max8997,pmic-buck2-uses-gpio-dvs;
421 max8997,pmic-buck5-uses-gpio-dvs;
423 max8997,pmic-ignore-gpiodvs-side-effect;
424 max8997,pmic-buck125-default-dvs-idx = <0>;
426 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
430 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
435 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-max8997.c66 struct max8997_dev *max8997; member
206 ret = max8997_read_reg(info->max8997->i2c, MAX8997_REG_STATUS1, &val); in max8997_rtc_read_alarm()
450 struct max8997_dev *max8997 = dev_get_drvdata(pdev->dev.parent); in max8997_rtc_probe() local
461 info->max8997 = max8997; in max8997_rtc_probe()
462 info->rtc = max8997->rtc; in max8997_rtc_probe()
487 virq = irq_create_mapping(max8997->irq_domain, MAX8997_PMICIRQ_RTCA1); in max8997_rtc_probe()
H A DMakefile97 obj-$(CONFIG_RTC_DRV_MAX8997) += rtc-max8997.o
H A DKconfig374 will be called rtc-max8997.
/openbmc/linux/include/linux/mfd/
H A Dmax8997-private.h399 extern int max8997_irq_init(struct max8997_dev *max8997);
400 extern void max8997_irq_exit(struct max8997_dev *max8997);
401 extern int max8997_irq_resume(struct max8997_dev *max8997);
/openbmc/linux/drivers/extcon/
H A Dextcon-max8997.c634 struct max8997_dev *max8997 = dev_get_drvdata(pdev->dev.parent); in max8997_muic_probe() local
635 struct max8997_platform_data *pdata = dev_get_platdata(max8997->dev); in max8997_muic_probe()
648 info->muic = max8997->muic; in max8997_muic_probe()
663 virq = irq_create_mapping(max8997->irq_domain, muic_irq->irq); in max8997_muic_probe()
H A DMakefile19 obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
/openbmc/u-boot/drivers/power/pmic/
H A DMakefile16 obj-$(CONFIG_PMIC_MAX8997) += max8997.o
/openbmc/u-boot/arch/arm/dts/
H A Dexynos4210-trats.dts104 max8997-pmic@66 {
105 compatible = "maxim,max8997";
/openbmc/linux/drivers/leds/
H A Dleds-max8997.c231 ATTRIBUTE_GROUPS(max8997);
H A DMakefile60 obj-$(CONFIG_LEDS_MAX8997) += leds-max8997.o
/openbmc/linux/drivers/input/misc/
H A DKconfig256 module will be called max8997-haptic.
/openbmc/linux/drivers/power/supply/
H A DKconfig400 Supported devices: max8966, max8997, max17042, max17047, max17050,
/openbmc/linux/
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log2957 2024-12-28 20:07:13.013-0600 FINEST t584 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/include/linux/mfd/max8997-private.h': chosen by suffix: CAnalyzerFactory
2958 2024-12-28 20:07:13.013-0600 FINE t584 DefaultIndexChangedListener.fileAdd: Add: '/openbmc/linux/include/linux/mfd/max8997-private.h' (CAnalyzer)
2960 2024-12-28 20:07:13.015-0600 FINER t584 HistoryGuru.storeHistory: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} supports history for directories, skipping '/opengrok/src/openbmc/linux/include/linux/mfd/max8997-private.h'
2991 2024-12-28 20:07:13.025-0600 FINEST t626 Ctags.trySplitSource: Re-read '/opengrok/src/openbmc/linux/include/linux/mfd/max8997-private.h'
3068 2024-12-28 20:07:13.058-0600 FINER t584 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/include/linux/mfd/max8997-private.h'
3069 2024-12-28 20:07:13.059-0600 FINEST t584 Statistics.logIt: Added: '/openbmc/linux/include/linux/mfd/max8997-private.h' (CAnalyzer) (took 45 ms)
[all...]
H A Dopengrok0.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]