Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mfd/
Dmt6397-irq.c19 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_lock() local
21 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock()
26 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_sync_unlock() local
28 regmap_write(mt6397->regmap, mt6397->int_con[0], in mt6397_irq_sync_unlock()
29 mt6397->irq_masks_cur[0]); in mt6397_irq_sync_unlock()
30 regmap_write(mt6397->regmap, mt6397->int_con[1], in mt6397_irq_sync_unlock()
31 mt6397->irq_masks_cur[1]); in mt6397_irq_sync_unlock()
33 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock()
38 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_disable() local
42 mt6397->irq_masks_cur[reg] &= ~BIT(shift); in mt6397_irq_disable()
[all …]
DMakefile241 mt6397-objs := mt6397-core.o mt6397-irq.o
242 obj-$(CONFIG_MFD_MT6397) += mt6397.o
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dmt6397.txt21 compatible: "mediatek,mt6397" or "mediatek,mt6323"
28 - compatible: "mediatek,mt6397-rtc"
29 For details, see ../rtc/rtc-mt6397.txt
32 - compatible: "mediatek,mt6397-regulator"
33 see ../regulator/mt6397-regulator.txt
38 - compatible: "mediatek,mt6397-codec"
41 - compatible: "mediatek,mt6397-clk"
49 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys"
64 compatible = "mediatek,mt6397";
67 compatible = "mediatek,mt6397-codec";
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/input/
Dmtk-pmic-keys.txt9 Documentation/devicetree/bindings/mfd/mt6397.txt
12 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys"
23 pmic: mt6397 {
24 compatible = "mediatek,mt6397";
29 compatible = "mediatek,mt6397-keys";
/Linux-v5.4/drivers/pinctrl/mediatek/
Dpinctrl-mt6397.c40 struct mt6397_chip *mt6397; in mt6397_pinctrl_probe() local
42 mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_pinctrl_probe()
43 return mtk_pctrl_init(pdev, &mt6397_pinctrl_data, mt6397->regmap); in mt6397_pinctrl_probe()
DMakefile21 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
/Linux-v5.4/drivers/regulator/
Dmt6397-regulator.c313 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_set_buck_vosel_reg() local
319 if (regmap_read(mt6397->regmap, in mt6397_set_buck_vosel_reg()
339 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_regulator_probe() local
350 if (regmap_read(mt6397->regmap, MT6397_CID, &reg_value) < 0) { in mt6397_regulator_probe()
369 config.regmap = mt6397->regmap; in mt6397_regulator_probe()
Dmt6358-regulator.c508 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_regulator_probe() local
516 config.regmap = mt6397->regmap; in mt6358_regulator_probe()
DMakefile84 obj-$(CONFIG_REGULATOR_MT6397) += mt6397-regulator.o
/Linux-v5.4/arch/arm/boot/dts/
Dmt8135-evbp1.dts22 pmic: mt6397 {
23 compatible = "mediatek,mt6397";
26 compatible = "mediatek,mt6397-regulator";
/Linux-v5.4/Documentation/devicetree/bindings/regulator/
Dmt6397-regulator.txt4 - compatible: "mediatek,mt6397-regulator"
21 compatible = "mediatek,mt6397";
24 compatible = "mediatek,mt6397-regulator";
/Linux-v5.4/Documentation/devicetree/bindings/soc/mediatek/
Dpwrap.txt46 Documentation/devicetree/bindings/mfd/mt6397.txt
65 compatible = "mediatek,mt6397";
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-mt65xx.txt9 "mediatek,mt6397-pinctrl", compatible with mt6397 pinctrl.
/Linux-v5.4/arch/arm64/boot/dts/mediatek/
Dmt8173-evb.dts299 pmic: mt6397 {
300 compatible = "mediatek,mt6397";
307 compatible = "mediatek,mt6397-regulator";
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-mt6323.txt10 Documentation/devicetree/bindings/mfd/mt6397.txt
/Linux-v5.4/drivers/rtc/
DMakefile113 obj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o
/Linux-v5.4/sound/soc/codecs/
Dmt6358.c2327 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_platform_driver_probe() local
2339 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
/Linux-v5.4/include/
DKbuild330 header-test- += linux/mfd/mt6397/core.h
/Linux-v5.4/
DMAINTAINERS1928 F: drivers/rtc/rtc-mt6397.c