Home
last modified time | relevance | path

Searched +full:mt6397 +full:- +full:keys (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dmt6397.txt1 MediaTek MT6397/MT6323 Multifunction Device Driver
3 MT6397/MT6323 is a multifunction device with the following sub modules:
4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
9 - LED
10 - Keys
11 - Power controller
[all …]
/Linux-v6.1/drivers/mfd/
Dmt6397-core.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/mfd/mt6397/core.h>
25 #include <linux/mfd/mt6397/registers.h>
112 .name = "mt6323-rtc",
115 .of_compatible = "mediatek,mt6323-rtc",
117 .name = "mt6323-regulator",
118 .of_compatible = "mediatek,mt6323-regulator"
120 .name = "mt6323-led",
121 .of_compatible = "mediatek,mt6323-led"
123 .name = "mtk-pmic-keys",
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dmediatek,pmic-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek PMIC Keys
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
16 There are two key functions provided by MT6397, MT6323 and other MediaTek
19 by the PMIC that is defined as a Multi-Function Device (MFD).
21 For MediaTek MT6323/MT6397 PMIC bindings see
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dmtk-pmic-keys.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/mfd/mt6397/core.h>
15 #include <linux/mfd/mt6397/registers.h>
55 u32 rst_lprst_mask; /* Long-press reset timeout bitmask */
107 struct mtk_pmic_keys *keys; member
119 struct mtk_pmic_keys_info keys[MTK_PMIC_MAX_KEY_COUNT]; member
128 static void mtk_pmic_keys_lp_reset_setup(struct mtk_pmic_keys *keys, in mtk_pmic_keys_lp_reset_setup() argument
136 kregs_home = keys->keys[MTK_PMIC_HOMEKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
137 kregs_pwr = keys->keys[MTK_PMIC_PWRKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
139 error = of_property_read_u32(keys->dev->of_node, "power-off-time-sec", in mtk_pmic_keys_lp_reset_setup()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8173-elm.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/regulator/dlg,da9211-regulator.h>
9 #include <dt-bindings/gpio/gpio.h>
25 compatible = "pwm-backlight";
27 power-supply = <&bl_fixed_reg>;
28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&panel_backlight_en_pins>;
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dmt6323.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2017-2018 MediaTek Inc.
12 interrupt-parent = <&pio>;
14 interrupt-controller;
15 #interrupt-cells = <2>;
18 compatible = "mediatek,mt6323-led";
19 #address-cells = <1>;
20 #size-cells = <0>;
25 compatible = "mediatek,mt6323-regulator";
28 regulator-name = "vproc";
[all …]
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]