| /linux/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mtk-mt6397.h | 10 "N2", "mt6397", 16 "M4", "mt6397", 23 "M2", "mt6397", 30 "K3", "mt6397", 37 "J2", "mt6397", 43 "L4", "mt6397", 49 "J3", "mt6397", 55 "J1", "mt6397", 61 "L3", "mt6397", 67 "H2", "mt6397", [all …]
|
| H A D | pinctrl-mt6397.c | 12 #include <linux/mfd/mt6397/core.h> 15 #include "pinctrl-mtk-mt6397.h" 42 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() 49 { .compatible = "mediatek,mt6397-pinctrl", }, 57 .name = "mediatek-mt6397-pinctrl", 64 MODULE_DESCRIPTION("MediaTek MT6397 Pinctrl Driver");
|
| H A D | Makefile | 45 obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
|
| H A D | Kconfig | 321 tristate "MediaTek MT6397 pin control"
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | mediatek,mt6397-regulator.yaml | 4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6397-regulator.yaml# 7 title: MediaTek MT6397 Regulator 21 - const: mediatek,mt6397-regulator 32 values specified in dt-bindings/regulator/mediatek,mt6397-regulator.h 71 compatible = "mediatek,mt6397-regulator";
|
| H A D | mediatek,mt6357-regulator.yaml | 19 MT6357 regulators node should be sub node of the MT6397 MFD node.
|
| /linux/drivers/rtc/ |
| H A D | rtc-mt6397.c | 9 #include <linux/mfd/mt6397/core.h> 16 #include <linux/mfd/mt6397/rtc.h> 280 "mt6397-rtc", rtc); in mtk_rtc_probe() 336 { .compatible = "mediatek,mt6397-rtc", .data = &mt6397_rtc_data }, 343 .name = "mt6397-rtc", 354 MODULE_DESCRIPTION("RTC Driver for MediaTek MT6397 PMIC");
|
| H A D | Makefile | 117 obj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o
|
| /linux/drivers/regulator/ |
| H A D | mt6358-regulator.c | 6 #include <linux/mfd/mt6397/core.h> 16 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 646 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()
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt8135-evbp1.dts | 22 pmic: mt6397 { 23 compatible = "mediatek,mt6397"; 26 compatible = "mediatek,mt6397-regulator";
|
| /linux/drivers/power/reset/ |
| H A D | mt6323-poweroff.c | 15 #include <linux/mfd/mt6397/core.h> 16 #include <linux/mfd/mt6397/rtc.h>
|
| /linux/drivers/input/keyboard/ |
| H A D | mtk-pmic-keys.c | 16 #include <linux/mfd/mt6397/core.h> 17 #include <linux/mfd/mt6397/registers.h> 302 .compatible = "mediatek,mt6397-keys",
|
| /linux/sound/soc/codecs/ |
| H A D | mt6359-accdet.c | 26 #include <linux/mfd/mt6397/core.h> 920 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); 942 priv->regmap = mt6397->regmap; in mt6359_accdet_probe() 925 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); mt6359_accdet_probe() local
|
| H A D | mt6357.c | 12 #include <linux/mfd/mt6397/core.h> 1803 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6357_platform_driver_probe() local 1818 priv->regmap = mt6397->regmap; in mt6357_platform_driver_probe()
|
| H A D | mt6358.c | 13 #include <linux/mfd/mt6397/core.h> 2382 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6358_platform_driver_probe() local 2394 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
|
| /linux/drivers/iio/adc/ |
| H A D | mt6359-auxadc.c | 22 #include <linux/mfd/mt6397/core.h> 848 * parent of the MT6397 MFD: this_device->parent(mfd)->parent(pwrap) in mt6359_auxadc_probe() 856 /* Regmap is from SoC PMIC Wrapper, parent of the mt6397 MFD */ in mt6359_auxadc_probe()
|
| /linux/drivers/leds/ |
| H A D | leds-mt6323.c | 10 #include <linux/mfd/mt6397/core.h>
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8186-corsola.dtsi | 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h>
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mt65xx.c | 630 /* If use i2c pin from PMIC mt6397 side, need set PATH_DIR first */ in mtk_i2c_init_hw()
|
| /linux/ |
| H A D | MAINTAINERS | 3155 F: drivers/rtc/rtc-mt6397.c 16608 F: Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml 16807 F: Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
|