Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/mfd/
H A Dmt6397-irq.c21 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_lock() local
23 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock()
28 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_sync_unlock() local
30 regmap_write(mt6397->regmap, mt6397->int_con[0], in mt6397_irq_sync_unlock()
31 mt6397->irq_masks_cur[0]); in mt6397_irq_sync_unlock()
32 regmap_write(mt6397->regmap, mt6397->int_con[1], in mt6397_irq_sync_unlock()
33 mt6397->irq_masks_cur[1]); in mt6397_irq_sync_unlock()
35 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock()
40 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_disable() local
44 mt6397->irq_masks_cur[reg] &= ~BIT(shift); in mt6397_irq_disable()
[all …]
H A DMakefile177 mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o
178 obj-$(CONFIG_MFD_MT6397) += mt6397.o
H A Dmt6358-irq.c212 struct mt6397_chip *mt6397 = d->host_data; in pmic_irq_domain_map() local
214 irq_set_chip_data(irq, mt6397); in pmic_irq_domain_map()
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dmt6397.txt28 "mediatek,mt6397" for PMIC MT6397
37 - compatible: "mediatek,mt6397-rtc"
38 For details, see ../rtc/rtc-mt6397.txt
46 - compatible: "mediatek,mt6397-regulator"
47 see ../regulator/mt6397-regulator.txt
50 - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound"
53 - compatible: "mediatek,mt6397-clk"
63 - compatible: "mediatek,mt6397-keys"
73 - compatible: "mediatek,mt6397-pinctrl"
83 compatible = "mediatek,mt6397";
[all …]
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt6397.c42 struct mt6397_chip *mt6397; in mt6397_pinctrl_probe() local
44 mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_pinctrl_probe()
45 return mtk_pctrl_init(pdev, &mt6397_pinctrl_data, mt6397->regmap); in mt6397_pinctrl_probe()
H A DMakefile39 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
/openbmc/linux/drivers/regulator/
H A Dmt6397-regulator.c325 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_set_buck_vosel_reg() local
331 if (regmap_read(mt6397->regmap, in mt6397_set_buck_vosel_reg()
351 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_regulator_probe() local
362 if (regmap_read(mt6397->regmap, MT6397_CID, &reg_value) < 0) { in mt6397_regulator_probe()
381 config.regmap = mt6397->regmap; in mt6397_regulator_probe()
H A Dmt6358-regulator.c646 struct mt6397_chip *mt6397 = dev_get_drvdata(dev->parent); in mt6358_sync_vcn33_setting() local
657 ret = regmap_read(mt6397->regmap, MT6358_LDO_VCN33_CON0_1, &val); in mt6358_sync_vcn33_setting()
667 ret = regmap_update_bits(mt6397->regmap, MT6358_LDO_VCN33_CON0_0, BIT(0), BIT(0)); in mt6358_sync_vcn33_setting()
674 ret = regmap_update_bits(mt6397->regmap, MT6358_LDO_VCN33_CON0_1, BIT(0), 0); in mt6358_sync_vcn33_setting()
685 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_regulator_probe() local
691 switch (mt6397->chip_id) { in mt6358_regulator_probe()
701 dev_err(&pdev->dev, "unsupported chip ID: %d\n", mt6397->chip_id); in mt6358_regulator_probe()
711 config.regmap = mt6397->regmap; in mt6358_regulator_probe()
H A Dmt6359-regulator.c950 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_regulator_probe() local
956 ret = regmap_read(mt6397->regmap, MT6359P_HWCID, &hw_ver); in mt6359_regulator_probe()
965 config.dev = mt6397->dev; in mt6359_regulator_probe()
966 config.regmap = mt6397->regmap; in mt6359_regulator_probe()
H A DMakefile110 obj-$(CONFIG_REGULATOR_MT6397) += mt6397-regulator.o
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Drtc-mt6397.txt9 ../mfd/mt6397.txt
19 "mediatek,mt6397-rtc": for MT6397 PMIC
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dmt6397-regulator.txt4 - compatible: "mediatek,mt6397-regulator"
20 values specified in dt-bindings/regulator/mediatek,mt6397-regulator.h
24 compatible = "mediatek,mt6397";
27 compatible = "mediatek,mt6397-regulator";
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt8135-evbp1.dts22 pmic: mt6397 {
23 compatible = "mediatek,mt6397";
26 compatible = "mediatek,mt6397-regulator";
H A Dmt6323.dtsi258 compatible = "mediatek,mt6397-codec";
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8173-elm.dtsi933 compatible = "mediatek,mt6397";
942 compatible = "mediatek,mt6397-clk";
947 compatible = "mediatek,mt6397-pinctrl";
953 compatible = "mediatek,mt6397-regulator";
1119 compatible = "mediatek,mt6397-rtc";
1123 compatible = "mediatek,mt6397-pctl-pmic-syscfg",
H A Dmt8173-evb.dts305 compatible = "mediatek,mt6397";
312 compatible = "mediatek,mt6397-regulator";
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-mt6323.txt10 Documentation/devicetree/bindings/mfd/mt6397.txt
/openbmc/linux/sound/soc/codecs/
H A Dmt6359-accdet.c929 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_accdet_probe() local
951 priv->regmap = mt6397->regmap; in mt6359_accdet_probe()
H A Dmt6358.c2452 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_platform_driver_probe() local
2464 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
H A Dmt6359.c2918 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_platform_driver_probe() local
2927 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe()
/openbmc/linux/drivers/rtc/
H A DMakefile108 obj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o
/openbmc/linux/
H A DMAINTAINERS2343 F: drivers/rtc/rtc-mt6397.c
H A Dopengrok1.0.log354 2024-12-28 20:07:12.020-0600 FINEST t583 AnalyzerGuru.lambda$findBySuffix$5: '/openbmc/linux/drivers/mfd/mt6397-core.c': chosen by suffix: CAnalyzerFactory
355 2024-12-28 20:07:12.020-0600 FINE t583 DefaultIndexChangedListener.fileAdd: Add: '/openbmc/linux/drivers/mfd/mt6397-core.c' (CAnalyzer)
357 2024-12-28 20:07:12.023-0600 FINER t583 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/drivers/mfd/mt6397-core.c'
364 2024-12-28 20:07:12.025-0600 FINEST t612 Ctags.trySplitSource: Re-read '/opengrok/src/openbmc/linux/drivers/mfd/mt6397-core.c'
455 2024-12-28 20:07:12.060-0600 FINER t583 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/drivers/mfd/mt6397-core.c'
456 2024-12-28 20:07:12.060-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/mfd/mt6397-core.c' (CAnalyzer) (took 39 ms)
[all...]
H A Dopengrok2.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]

12