* [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition
[not found] <20220426135313.245466-1-fparent@baylibre.com>
@ 2022-04-26 13:53 ` Fabien Parent
2022-04-28 7:53 ` Krzysztof Kozlowski
2022-04-26 13:53 ` [PATCH v2 7/8] arm64: dts: mediatek: mt6359: add node for PMIC keys support Fabien Parent
2022-04-26 13:53 ` [PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available Fabien Parent
2 siblings, 1 reply; 4+ messages in thread
From: Fabien Parent @ 2022-04-26 13:53 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Matthias Brugger
Cc: Fabien Parent, linux-input, devicetree, linux-arm-kernel,
linux-mediatek, linux-kernel
Add binding definition for the support of the MT6359 keyboard driver.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
v2: no changes
Documentation/devicetree/bindings/input/mtk-pmic-keys.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
index 9d00f2a8e13a..afe9062a4dc7 100644
--- a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
+++ b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
@@ -13,6 +13,7 @@ Required properties:
- "mediatek,mt6397-keys"
- "mediatek,mt6323-keys"
- "mediatek,mt6358-keys"
+ - "mediatek,mt6359-keys"
- linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml
Optional Properties:
--
2.36.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 7/8] arm64: dts: mediatek: mt6359: add node for PMIC keys support
[not found] <20220426135313.245466-1-fparent@baylibre.com>
2022-04-26 13:53 ` [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition Fabien Parent
@ 2022-04-26 13:53 ` Fabien Parent
2022-04-26 13:53 ` [PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available Fabien Parent
2 siblings, 0 replies; 4+ messages in thread
From: Fabien Parent @ 2022-04-26 13:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Matthias Brugger
Cc: Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel
Add node for the MT6359 PMIC keyboard in mt6359.dtsi.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
v2: remove key definitions from dtsi
arch/arm64/boot/dts/mediatek/mt6359.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
index df3e822232d3..c09cbd8e81ce 100644
--- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
@@ -294,5 +294,9 @@ mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub {
mt6359rtc: mt6359rtc {
compatible = "mediatek,mt6358-rtc";
};
+
+ mt6359keys: keyboard {
+ compatible = "mediatek,mt6359-keys";
+ };
};
};
--
2.36.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available
[not found] <20220426135313.245466-1-fparent@baylibre.com>
2022-04-26 13:53 ` [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition Fabien Parent
2022-04-26 13:53 ` [PATCH v2 7/8] arm64: dts: mediatek: mt6359: add node for PMIC keys support Fabien Parent
@ 2022-04-26 13:53 ` Fabien Parent
2 siblings, 0 replies; 4+ messages in thread
From: Fabien Parent @ 2022-04-26 13:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Matthias Brugger
Cc: Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel
The MT8195 Demo board has two push buttons connected to the PMIC: Home
button and Power button. This commit adds support for both.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
v2: new patch
arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts
index aa41df865c9c..810e69c5f7e0 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts
@@ -246,6 +246,17 @@ &mmc1 {
status = "okay";
};
+&mt6359keys {
+ key-0 {
+ linux,keycodes = <KEY_POWER>;
+ wakeup-source;
+ };
+
+ key-1 {
+ linux,keycodes = <KEY_HOME>;
+ };
+};
+
&mt6359_vbbck_ldo_reg {
regulator-always-on;
};
--
2.36.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition
2022-04-26 13:53 ` [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition Fabien Parent
@ 2022-04-28 7:53 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-28 7:53 UTC (permalink / raw)
To: Fabien Parent, Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski,
Matthias Brugger
Cc: linux-input, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel
On 26/04/2022 15:53, Fabien Parent wrote:
> Add binding definition for the support of the MT6359 keyboard driver.
>
> Signed-off-by: Fabien Parent <fparent@baylibre.com>
> ---
> v2: no changes
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-28 7:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220426135313.245466-1-fparent@baylibre.com>
2022-04-26 13:53 ` [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition Fabien Parent
2022-04-28 7:53 ` Krzysztof Kozlowski
2022-04-26 13:53 ` [PATCH v2 7/8] arm64: dts: mediatek: mt6359: add node for PMIC keys support Fabien Parent
2022-04-26 13:53 ` [PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available Fabien Parent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).