Home
last modified time | relevance | path

Searched +full:mt6358 +full:- +full:keys (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/mfd/
H A Dmt6397-core.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/mfd/mt6358/core.h>
26 #include <linux/mfd/mt6358/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/drivers/input/keyboard/
H A Dmtk-pmic-keys.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/mfd/mt6358/registers.h>
56 u32 rst_lprst_mask; /* Long-press reset timeout bitmask */
121 struct mtk_pmic_keys *keys; member
133 struct mtk_pmic_keys_info keys[MTK_PMIC_MAX_KEY_COUNT]; member
142 static void mtk_pmic_keys_lp_reset_setup(struct mtk_pmic_keys *keys, in mtk_pmic_keys_lp_reset_setup() argument
150 kregs_home = keys->keys[MTK_PMIC_HOMEKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
151 kregs_pwr = keys->keys[MTK_PMIC_PWRKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
153 error = of_property_read_u32(keys->dev->of_node, "power-off-time-sec", in mtk_pmic_keys_lp_reset_setup()
158 mask = regs->rst_lprst_mask; in mtk_pmic_keys_lp_reset_setup()
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6358.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 #include <dt-bindings/input/input.h>
9 compatible = "mediatek,mt6358";
10 interrupt-controller;
11 #interrupt-cells = <2>;
14 compatible = "mediatek,mt6358-auxadc";
15 #io-channel-cells = <1>;
18 mt6358codec: audio-codec {
19 compatible = "mediatek,mt6358-sound";
20 mediatek,dmic-mode = <0>; /* two-wires */
[all …]