* [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default
@ 2019-05-12 8:51 Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 2/3] ARM: dts: imx7ulp: Add tpm pwm support Anson Huang
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Anson Huang @ 2019-05-12 8:51 UTC (permalink / raw)
To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
linux, otavio, Leonard Crestez, schnitzeltony, u.kleine-koenig,
jan.tuerk, Robin Gong, devicetree, linux-arm-kernel,
linux-kernel
Cc: dl-linux-imx
Select CONFIG_PWM_IMX_TPM by default to support i.MX7ULP
TPM PWM.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
No change change, just resend the patch with correct encoding for patch series:
https://patchwork.kernel.org/patch/10937147/
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index ea387cb..cee7c61 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -402,6 +402,7 @@ CONFIG_MPL3115=y
CONFIG_PWM=y
CONFIG_PWM_FSL_FTM=y
CONFIG_PWM_IMX27=y
+CONFIG_PWM_IMX_TPM=y
CONFIG_NVMEM_IMX_OCOTP=y
CONFIG_NVMEM_VF610_OCOTP=y
CONFIG_TEE=y
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH V12 RESEND 2/3] ARM: dts: imx7ulp: Add tpm pwm support
2019-05-12 8:51 [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Anson Huang
@ 2019-05-12 8:51 ` Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 3/3] ARM: dts: imx7ulp-evk: Add backlight support Anson Huang
2019-05-20 2:58 ` [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Anson Huang @ 2019-05-12 8:51 UTC (permalink / raw)
To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
linux, otavio, Leonard Crestez, schnitzeltony, u.kleine-koenig,
jan.tuerk, Robin Gong, devicetree, linux-arm-kernel,
linux-kernel
Cc: dl-linux-imx
Add i.MX7ULP EVK board PWM support.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
No change change, just resend the patch with correct encoding for patch series:
https://patchwork.kernel.org/patch/10937147/
---
arch/arm/boot/dts/imx7ulp.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index d6b7110..8fb9559 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -124,6 +124,16 @@
status = "disabled";
};
+ tpm4: pwm@40250000 {
+ compatible = "fsl,imx7ulp-pwm";
+ reg = <0x40250000 0x1000>;
+ assigned-clocks = <&pcc2 IMX7ULP_CLK_LPTPM4>;
+ assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>;
+ clocks = <&pcc2 IMX7ULP_CLK_LPTPM4>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
tpm5: tpm@40260000 {
compatible = "fsl,imx7ulp-tpm";
reg = <0x40260000 0x1000>;
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH V12 RESEND 3/3] ARM: dts: imx7ulp-evk: Add backlight support
2019-05-12 8:51 [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 2/3] ARM: dts: imx7ulp: Add tpm pwm support Anson Huang
@ 2019-05-12 8:51 ` Anson Huang
2019-05-20 2:58 ` [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Anson Huang @ 2019-05-12 8:51 UTC (permalink / raw)
To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
linux, otavio, Leonard Crestez, schnitzeltony, u.kleine-koenig,
jan.tuerk, Robin Gong, devicetree, linux-arm-kernel,
linux-kernel
Cc: dl-linux-imx
This patch adds i.MX7ULP EVK board MIPI-DSI backlight support.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
No change change, just resend the patch with correct encoding for patch series:
https://patchwork.kernel.org/patch/10937147/
---
arch/arm/boot/dts/imx7ulp-evk.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts
index a09026a..59f094e 100644
--- a/arch/arm/boot/dts/imx7ulp-evk.dts
+++ b/arch/arm/boot/dts/imx7ulp-evk.dts
@@ -22,6 +22,14 @@
reg = <0x60000000 0x40000000>;
};
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&tpm4 1 50000 0>;
+ brightness-levels = <0 20 25 30 35 40 100>;
+ default-brightness-level = <6>;
+ status = "okay";
+ };
+
reg_vsd_3v3: regulator-vsd-3v3 {
compatible = "regulator-fixed";
regulator-name = "VSD_3V3";
@@ -40,6 +48,12 @@
status = "okay";
};
+&tpm4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm0>;
+ status = "okay";
+};
+
&usdhc0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc0>;
@@ -57,6 +71,12 @@
bias-pull-up;
};
+ pinctrl_pwm0: pwm0grp {
+ fsl,pins = <
+ IMX7ULP_PAD_PTF2__TPM4_CH1 0x2
+ >;
+ };
+
pinctrl_usdhc0: usdhc0grp {
fsl,pins = <
IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default
2019-05-12 8:51 [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 2/3] ARM: dts: imx7ulp: Add tpm pwm support Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 3/3] ARM: dts: imx7ulp-evk: Add backlight support Anson Huang
@ 2019-05-20 2:58 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-05-20 2:58 UTC (permalink / raw)
To: Anson Huang
Cc: mark.rutland, devicetree, Robin Gong, schnitzeltony, otavio,
s.hauer, jan.tuerk, linux, linux-kernel, robh+dt, dl-linux-imx,
kernel, u.kleine-koenig, Leonard Crestez, festevam,
linux-arm-kernel
On Sun, May 12, 2019 at 08:51:15AM +0000, Anson Huang wrote:
> Select CONFIG_PWM_IMX_TPM by default to support i.MX7ULP
> TPM PWM.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Applied all, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-05-20 2:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-12 8:51 [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 2/3] ARM: dts: imx7ulp: Add tpm pwm support Anson Huang
2019-05-12 8:51 ` [PATCH V12 RESEND 3/3] ARM: dts: imx7ulp-evk: Add backlight support Anson Huang
2019-05-20 2:58 ` [PATCH V12 RESEND 1/3] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default Shawn Guo
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).