/linux-6.1.9/drivers/mfd/ |
D | mt6397-irq.c | 22 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 …]
|
D | Makefile | 180 mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o 181 obj-$(CONFIG_MFD_MT6397) += mt6397.o
|
D | mt6358-irq.c | 213 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/ |
D | mt6397.txt | 26 "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/ |
D | pinctrl-mt6397.c | 43 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()
|
D | Makefile | 31 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
|
/linux-6.1.9/Documentation/devicetree/bindings/input/ |
D | mediatek,pmic-keys.yaml | 22 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/ |
D | mt6397-regulator.c | 325 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, ®_value) < 0) { in mt6397_regulator_probe() 381 config.regmap = mt6397->regmap; in mt6397_regulator_probe()
|
D | mt6359-regulator.c | 950 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()
|
D | mt6358-regulator.c | 695 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()
|
D | Makefile | 105 obj-$(CONFIG_REGULATOR_MT6397) += mt6397-regulator.o
|
/linux-6.1.9/Documentation/devicetree/bindings/rtc/ |
D | rtc-mt6397.txt | 9 ../mfd/mt6397.txt 19 "mediatek,mt6397-rtc": for MT6397 PMIC
|
/linux-6.1.9/Documentation/devicetree/bindings/regulator/ |
D | mt6397-regulator.txt | 4 - 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/ |
D | mt8135-evbp1.dts | 22 pmic: mt6397 { 23 compatible = "mediatek,mt6397"; 26 compatible = "mediatek,mt6397-regulator";
|
D | mt6323.dtsi | 258 compatible = "mediatek,mt6397-codec";
|
/linux-6.1.9/arch/arm64/boot/dts/mediatek/ |
D | mt8173-elm.dtsi | 916 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",
|
D | mt8173-evb.dts | 303 pmic: mt6397 { 304 compatible = "mediatek,mt6397"; 311 compatible = "mediatek,mt6397-regulator";
|
/linux-6.1.9/Documentation/devicetree/bindings/soc/mediatek/ |
D | pwrap.txt | 51 Documentation/devicetree/bindings/mfd/mt6397.txt 70 compatible = "mediatek,mt6397";
|
/linux-6.1.9/Documentation/devicetree/bindings/leds/ |
D | leds-mt6323.txt | 10 Documentation/devicetree/bindings/mfd/mt6397.txt
|
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/ |
D | mediatek,mt65xx-pinctrl.yaml | 20 - mediatek,mt6397-pinctrl
|
/linux-6.1.9/sound/soc/codecs/ |
D | mt6359-accdet.c | 929 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_accdet_probe() local 951 priv->regmap = mt6397->regmap; in mt6359_accdet_probe()
|
D | mt6358.c | 2453 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()
|
D | mt6359.c | 2796 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/ |
D | Makefile | 109 obj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o
|
/linux-6.1.9/ |
D | MAINTAINERS | 2383 F: drivers/rtc/rtc-mt6397.c
|