| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | mt6397-irq.c | 20 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_lock() local 22 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock() 27 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_sync_unlock() local 29 regmap_write(mt6397->regmap, mt6397->int_con[0], in mt6397_irq_sync_unlock() 30 mt6397->irq_masks_cur[0]); in mt6397_irq_sync_unlock() 31 regmap_write(mt6397->regmap, mt6397->int_con[1], in mt6397_irq_sync_unlock() 32 mt6397->irq_masks_cur[1]); in mt6397_irq_sync_unlock() 34 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock() 39 struct mt6397_chip *mt6397 = irq_data_get_irq_chip_data(data); in mt6397_irq_disable() local 43 mt6397->irq_masks_cur[reg] &= ~BIT(shift); in mt6397_irq_disable() [all …]
|
| H A D | Makefile | 257 mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o 258 obj-$(CONFIG_MFD_MT6397) += mt6397.o
|
| H A D | mt6358-irq.c | 163 struct mt6397_chip *mt6397 = d->host_data; in pmic_irq_domain_map() local 165 irq_set_chip_data(irq, mt6397); in pmic_irq_domain_map()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | mt6397.txt | 24 "mediatek,mt6397" for PMIC MT6397 32 - compatible: "mediatek,mt6397-rtc" 33 For details, see ../rtc/rtc-mt6397.txt 40 - compatible: "mediatek,mt6397-regulator" 41 see ../regulator/mt6397-regulator.txt 44 - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound" 47 - compatible: "mediatek,mt6397-clk" 55 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" 65 - compatible: "mediatek,mt6397-pinctrl" 75 compatible = "mediatek,mt6397"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | mtk-pmic-keys.txt | 9 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";
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mt6397.c | 40 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()
|
| H A D | Makefile | 25 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | mt6397-regulator.c | 324 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_set_buck_vosel_reg() local 330 if (regmap_read(mt6397->regmap, in mt6397_set_buck_vosel_reg() 350 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_regulator_probe() local 361 if (regmap_read(mt6397->regmap, MT6397_CID, ®_value) < 0) { in mt6397_regulator_probe() 380 config.regmap = mt6397->regmap; in mt6397_regulator_probe()
|
| H A D | mt6358-regulator.c | 508 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_regulator_probe() local 516 config.regmap = mt6397->regmap; in mt6358_regulator_probe()
|
| H A D | Makefile | 97 obj-$(CONFIG_REGULATOR_MT6397) += mt6397-regulator.o
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/ |
| H A D | rtc-mt6397.txt | 9 ../mfd/mt6397.txt 17 "mediatek,mt6397-rtc": for MT6397 PMIC
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A 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";
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | mt8135-evbp1.dts | 22 pmic: mt6397 { 23 compatible = "mediatek,mt6397"; 26 compatible = "mediatek,mt6397-regulator";
|
| H A D | mt6323.dtsi | 258 compatible = "mediatek,mt6397-codec";
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8173-elm.dtsi | 899 pmic: mt6397 { 900 compatible = "mediatek,mt6397"; 909 compatible = "mediatek,mt6397-clk"; 914 compatible = "mediatek,mt6397-pinctrl"; 921 compatible = "mediatek,mt6397-regulator"; 1110 compatible = "mediatek,mt6397-rtc"; 1114 compatible = "mediatek,mt6397-pctl-pmic-syscfg",
|
| H A D | mt8173-evb.dts | 299 pmic: mt6397 { 300 compatible = "mediatek,mt6397"; 307 compatible = "mediatek,mt6397-regulator";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/mediatek/ |
| H A D | pwrap.txt | 47 Documentation/devicetree/bindings/mfd/mt6397.txt 66 compatible = "mediatek,mt6397";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | pinctrl-mt65xx.txt | 9 "mediatek,mt6397-pinctrl", compatible with mt6397 pinctrl.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/ |
| H A D | leds-mt6323.txt | 10 Documentation/devicetree/bindings/mfd/mt6397.txt
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | Makefile | 109 obj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | mt6358.c | 2455 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_platform_driver_probe() local 2467 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
|
| H A D | mt6359.c | 2684 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6359_platform_driver_probe() local 2693 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe()
|
| /OK3568_Linux_fs/kernel/ |
| H A D | MAINTAINERS | 2072 F: drivers/rtc/rtc-mt6397.c
|