Searched +full:mt6323 +full:- +full:pwrc (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/power/reset/ |
H A D | mt6323-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0 27 struct mt6323_pwrc *pwrc = data->cb_data; in mt6323_do_pwroff() local 31 regmap_write(pwrc->regmap, pwrc->base + RTC_BBPU, RTC_BBPU_KEY); in mt6323_do_pwroff() 32 regmap_write(pwrc->regmap, pwrc->base + RTC_WRTGR_MT6323, 1); in mt6323_do_pwroff() 34 ret = regmap_read_poll_timeout(pwrc->regmap, in mt6323_do_pwroff() 35 pwrc->base + RTC_BBPU, val, in mt6323_do_pwroff() 40 dev_err(pwrc->dev, "failed to write BBPU: %d\n", ret); in mt6323_do_pwroff() 52 struct mt6397_chip *mt6397_chip = dev_get_drvdata(pdev->dev.parent); in mt6323_pwrc_probe() 53 struct mt6323_pwrc *pwrc; in mt6323_pwrc_probe() local 57 pwrc = devm_kzalloc(&pdev->dev, sizeof(*pwrc), GFP_KERNEL); in mt6323_pwrc_probe() [all …]
|
/linux/drivers/mfd/ |
H A D | mt6397-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/mfd/mt6323/core.h> 22 #include <linux/mfd/mt6323/registers.h> 122 .name = "mt6323-rtc", 125 .of_compatible = "mediatek,mt6323-rtc", 127 .name = "mt6323-regulator", 128 .of_compatible = "mediatek,mt6323-regulator" 130 .name = "mt6323-led", 131 .of_compatible = "mediatek,mt6323-led" 133 .name = "mtk-pmic-keys", [all …]
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt6323.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 10 pmic: mt6323 { 11 compatible = "mediatek,mt6323"; 12 interrupt-parent = <&pio>; 14 interrupt-controller; 15 #interrupt-cells = <2>; 18 compatible = "mediatek,mt6323-led"; 19 #address-cells = <1>; 20 #size-cells = <0>; [all …]
|