* [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node
@ 2021-11-02 14:42 AngeloGioacchino Del Regno
2021-11-02 14:42 ` [PATCH 2/2] arm64: dts: mediatek: mt8173-elm: Add backlight enable pin config AngeloGioacchino Del Regno
2021-11-19 10:35 ` [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node Matthias Brugger
0 siblings, 2 replies; 3+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-11-02 14:42 UTC (permalink / raw)
To: robh+dt
Cc: matthias.bgg, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel, kernel, AngeloGioacchino Del Regno
The PWM pinctrl belongs to the PWM0 node, as it's strictly pwm related.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index e666ebb28980..f292ca459a9a 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -27,8 +27,6 @@ backlight: backlight {
power-supply = <&bl_fixed_reg>;
enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
- pinctrl-names = "default";
- pinctrl-0 = <&disp_pwm0_pins>;
status = "okay";
};
@@ -901,6 +899,8 @@ pins1 {
};
&pwm0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&disp_pwm0_pins>;
status = "okay";
};
--
2.33.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: mediatek: mt8173-elm: Add backlight enable pin config
2021-11-02 14:42 [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node AngeloGioacchino Del Regno
@ 2021-11-02 14:42 ` AngeloGioacchino Del Regno
2021-11-19 10:35 ` [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node Matthias Brugger
1 sibling, 0 replies; 3+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-11-02 14:42 UTC (permalink / raw)
To: robh+dt
Cc: matthias.bgg, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel, kernel, AngeloGioacchino Del Regno
Add the proper pinctrl for GPIO95 backlight enable pin and assign it
to the pwm-backlight node.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index f292ca459a9a..9c75fbb31f98 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -27,6 +27,8 @@ backlight: backlight {
power-supply = <&bl_fixed_reg>;
enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&panel_backlight_en_pins>;
status = "okay";
};
@@ -825,6 +827,12 @@ pins_clk {
};
};
+ panel_backlight_en_pins: panel_backlight_en_pins {
+ pins1 {
+ pinmux = <MT8173_PIN_95_PCM_TX__FUNC_GPIO95>;
+ };
+ };
+
panel_fixed_pins: panel_fixed_pins {
pins1 {
pinmux = <MT8173_PIN_41_CMMCLK__FUNC_GPIO41>;
--
2.33.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node
2021-11-02 14:42 [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node AngeloGioacchino Del Regno
2021-11-02 14:42 ` [PATCH 2/2] arm64: dts: mediatek: mt8173-elm: Add backlight enable pin config AngeloGioacchino Del Regno
@ 2021-11-19 10:35 ` Matthias Brugger
1 sibling, 0 replies; 3+ messages in thread
From: Matthias Brugger @ 2021-11-19 10:35 UTC (permalink / raw)
To: AngeloGioacchino Del Regno, robh+dt
Cc: devicetree, linux-arm-kernel, linux-mediatek, linux-kernel, kernel
On 02/11/2021 15:42, AngeloGioacchino Del Regno wrote:
> The PWM pinctrl belongs to the PWM0 node, as it's strictly pwm related.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
both patches applied to v5.16-next/dts64
thanks!
> ---
> arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> index e666ebb28980..f292ca459a9a 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> @@ -27,8 +27,6 @@ backlight: backlight {
> power-supply = <&bl_fixed_reg>;
> enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
>
> - pinctrl-names = "default";
> - pinctrl-0 = <&disp_pwm0_pins>;
> status = "okay";
> };
>
> @@ -901,6 +899,8 @@ pins1 {
> };
>
> &pwm0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&disp_pwm0_pins>;
> status = "okay";
> };
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-19 10:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02 14:42 [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node AngeloGioacchino Del Regno
2021-11-02 14:42 ` [PATCH 2/2] arm64: dts: mediatek: mt8173-elm: Add backlight enable pin config AngeloGioacchino Del Regno
2021-11-19 10:35 ` [PATCH 1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node Matthias Brugger
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).