2019-09-10 18:49:40

by Frank Wunderlich

[permalink] [raw]
Subject: [PATCH v7 7/7] arm: dts: mt6323: add keys, power-controller, rtc and codec

From: Josef Friedl <[email protected]>

support poweroff and power-related keys on bpi-r2

Suggested-by: Frank Wunderlich <[email protected]>
Signed-off-by: Josef Friedl <[email protected]>
Signed-off-by: Frank Wunderlich <[email protected]>
---
changes since v6: none
changes since v5: none
changes since v4: none
changes since v3: none
changes since v2: none (=v2 part 7)
---
arch/arm/boot/dts/mt6323.dtsi | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/mt6323.dtsi b/arch/arm/boot/dts/mt6323.dtsi
index ba397407c1dd..7fda40ab5fe8 100644
--- a/arch/arm/boot/dts/mt6323.dtsi
+++ b/arch/arm/boot/dts/mt6323.dtsi
@@ -238,5 +238,32 @@
regulator-enable-ramp-delay = <216>;
};
};
+
+ mt6323keys: mt6323keys {
+ compatible = "mediatek,mt6323-keys";
+ mediatek,long-press-mode = <1>;
+ power-off-time-sec = <0>;
+
+ power {
+ linux,keycodes = <116>;
+ wakeup-source;
+ };
+
+ home {
+ linux,keycodes = <114>;
+ };
+ };
+
+ codec: mt6397codec {
+ compatible = "mediatek,mt6397-codec";
+ };
+
+ power-controller {
+ compatible = "mediatek,mt6323-pwrc";
+ };
+
+ rtc {
+ compatible = "mediatek,mt6323-rtc";
+ };
};
};
--
2.17.1


2019-11-10 20:51:50

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH v7 7/7] arm: dts: mt6323: add keys, power-controller, rtc and codec



On 10/09/2019 09:04, Frank Wunderlich wrote:
> From: Josef Friedl <[email protected]>
>
> support poweroff and power-related keys on bpi-r2
>
> Suggested-by: Frank Wunderlich <[email protected]>
> Signed-off-by: Josef Friedl <[email protected]>
> Signed-off-by: Frank Wunderlich <[email protected]>

Applied thanks!

> ---
> changes since v6: none
> changes since v5: none
> changes since v4: none
> changes since v3: none
> changes since v2: none (=v2 part 7)
> ---
> arch/arm/boot/dts/mt6323.dtsi | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt6323.dtsi b/arch/arm/boot/dts/mt6323.dtsi
> index ba397407c1dd..7fda40ab5fe8 100644
> --- a/arch/arm/boot/dts/mt6323.dtsi
> +++ b/arch/arm/boot/dts/mt6323.dtsi
> @@ -238,5 +238,32 @@
> regulator-enable-ramp-delay = <216>;
> };
> };
> +
> + mt6323keys: mt6323keys {
> + compatible = "mediatek,mt6323-keys";
> + mediatek,long-press-mode = <1>;
> + power-off-time-sec = <0>;
> +
> + power {
> + linux,keycodes = <116>;
> + wakeup-source;
> + };
> +
> + home {
> + linux,keycodes = <114>;
> + };
> + };
> +
> + codec: mt6397codec {
> + compatible = "mediatek,mt6397-codec";
> + };
> +
> + power-controller {
> + compatible = "mediatek,mt6323-pwrc";
> + };
> +
> + rtc {
> + compatible = "mediatek,mt6323-rtc";
> + };
> };
> };
>