Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mfd/
Dmt6397-irq.c22 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_lock() local
24 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock()
29 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_sync_unlock() local
31 regmap_write(mt6397->regmap, mt6397->int_con[0], in mt6397_irq_sync_unlock()
32 mt6397->irq_masks_cur[0]); in mt6397_irq_sync_unlock()
33 regmap_write(mt6397->regmap, mt6397->int_con[1], in mt6397_irq_sync_unlock()
34 mt6397->irq_masks_cur[1]); in mt6397_irq_sync_unlock()
36 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock()
41 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_disable() local
45 mt6397->irq_masks_cur[reg] &= ~BIT(shift); in mt6397_irq_disable()
[all …]
DMakefile180 mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o
181 obj-$(CONFIG_MFD_MT6397) += mt6397.o
Dmt6358-irq.c213 struct mt6397_chip *mt6397 = d->host_data; in pmic_irq_domain_map() local
215 irq_set_chip_data(irq, mt6397); in pmic_irq_domain_map()
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dmt6397.txt26 "mediatek,mt6397" for PMIC MT6397
35 - compatible: "mediatek,mt6397-rtc"
36 For details, see ../rtc/rtc-mt6397.txt
43 - compatible: "mediatek,mt6397-regulator"
44 see ../regulator/mt6397-regulator.txt
47 - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound"
50 - compatible: "mediatek,mt6397-clk"
60 - compatible: "mediatek,mt6397-keys"
70 - compatible: "mediatek,mt6397-pinctrl"
80 compatible = "mediatek,mt6397";
[all …]
/linux-6.1.9/drivers/pinctrl/mediatek/
Dpinctrl-mt6397.c43 struct mt6397_chip *mt6397; in mt6397_pinctrl_probe() local
45 mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_pinctrl_probe()
46 return mtk_pctrl_init(pdev, &mt6397_pinctrl_data, mt6397->regmap); in mt6397_pinctrl_probe()
DMakefile31 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
/linux-6.1.9/Documentation/devicetree/bindings/input/
Dmediatek,pmic-keys.yaml22 Documentation/devicetree/bindings/mfd/mt6397.txt
30 - mediatek,mt6397-keys
98 compatible = "mediatek,mt6397";
101 compatible = "mediatek,mt6397-keys";
/linux-6.1.9/drivers/regulator/
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()
Dmt6359-regulator.c950 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_regulator_probe() local
956 regmap_read(mt6397->regmap, MT6359P_HWCID, &hw_ver); in mt6359_regulator_probe()
962 config.dev = mt6397->dev; in mt6359_regulator_probe()
963 config.regmap = mt6397->regmap; in mt6359_regulator_probe()
Dmt6358-regulator.c695 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_regulator_probe() local
701 if (mt6397->chip_id == MT6366_CHIP_ID) { in mt6358_regulator_probe()
712 config.regmap = mt6397->regmap; in mt6358_regulator_probe()
DMakefile105 obj-$(CONFIG_REGULATOR_MT6397) += mt6397-regulator.o
/linux-6.1.9/Documentation/devicetree/bindings/rtc/
Drtc-mt6397.txt9 ../mfd/mt6397.txt
19 "mediatek,mt6397-rtc": for MT6397 PMIC
/linux-6.1.9/Documentation/devicetree/bindings/regulator/
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";
/linux-6.1.9/arch/arm/boot/dts/
Dmt8135-evbp1.dts22 pmic: mt6397 {
23 compatible = "mediatek,mt6397";
26 compatible = "mediatek,mt6397-regulator";
Dmt6323.dtsi258 compatible = "mediatek,mt6397-codec";
/linux-6.1.9/arch/arm64/boot/dts/mediatek/
Dmt8173-elm.dtsi916 pmic: mt6397 {
917 compatible = "mediatek,mt6397";
926 compatible = "mediatek,mt6397-clk";
931 compatible = "mediatek,mt6397-pinctrl";
938 compatible = "mediatek,mt6397-regulator";
1127 compatible = "mediatek,mt6397-rtc";
1131 compatible = "mediatek,mt6397-pctl-pmic-syscfg",
Dmt8173-evb.dts303 pmic: mt6397 {
304 compatible = "mediatek,mt6397";
311 compatible = "mediatek,mt6397-regulator";
/linux-6.1.9/Documentation/devicetree/bindings/soc/mediatek/
Dpwrap.txt51 Documentation/devicetree/bindings/mfd/mt6397.txt
70 compatible = "mediatek,mt6397";
/linux-6.1.9/Documentation/devicetree/bindings/leds/
Dleds-mt6323.txt10 Documentation/devicetree/bindings/mfd/mt6397.txt
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/
Dmediatek,mt65xx-pinctrl.yaml20 - mediatek,mt6397-pinctrl
/linux-6.1.9/sound/soc/codecs/
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()
Dmt6358.c2453 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_platform_driver_probe() local
2465 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
Dmt6359.c2796 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_platform_driver_probe() local
2805 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe()
/linux-6.1.9/drivers/rtc/
DMakefile109 obj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o
/linux-6.1.9/
DMAINTAINERS2383 F: drivers/rtc/rtc-mt6397.c