All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV
@ 2018-04-12 13:15 Lucas Stach
  2018-04-12 13:15 ` [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D Lucas Stach
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lucas Stach @ 2018-04-12 13:15 UTC (permalink / raw)
  To: linux-arm-kernel

This bumps the SoC/PU domain operating points by 25mV, giving a total
of 75mV margin to the minimum required voltages. This gets rid of
brown-outs seen due to voltage drop-out on the board.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index 72f52fcecee1..4bc14b8e9a66 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -263,6 +263,17 @@
 	};
 };
 
+&cpu0 {
+	fsl,soc-operating-points = <
+		/* ARM kHz  SOC-PU uV */
+		1200000 1300000
+		996000	1275000
+		852000	1275000
+		792000	1200000
+		396000	1200000
+	>;
+};
+
 &reg_arm {
 	vin-supply = <&sw1a_reg>;
 };
-- 
2.16.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D
  2018-04-12 13:15 [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Lucas Stach
@ 2018-04-12 13:15 ` Lucas Stach
  2018-04-12 14:15   ` Chris Healy
  2018-04-12 13:15 ` [PATCH 3/3] ARM: dts: imx6: RDU2: add eGalax touchscreen Lucas Stach
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Lucas Stach @ 2018-04-12 13:15 UTC (permalink / raw)
  To: linux-arm-kernel

This downclocks the shader domain from 720MHz to 594MHz, which gets rid
of brown-outs due to excessive current draw on the PMIC switchers. The
board has an unchanged power tree from the Quad design, which isn't able
to cope with higher current needs of the QuadPlus GPU at full speed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qp-zii-rdu2.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qp-zii-rdu2.dts b/arch/arm/boot/dts/imx6qp-zii-rdu2.dts
index 547a76677ab3..28822d409c38 100644
--- a/arch/arm/boot/dts/imx6qp-zii-rdu2.dts
+++ b/arch/arm/boot/dts/imx6qp-zii-rdu2.dts
@@ -48,3 +48,8 @@
 	model = "ZII RDU2+ Board";
 	compatible = "zii,imx6qp-zii-rdu2", "fsl,imx6qp";
 };
+
+&gpu_3d {
+	assigned-clocks = <&clks IMX6QDL_CLK_GPU3D_SHADER_SEL>;
+	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL2_PFD1_594M>;
+};
-- 
2.16.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] ARM: dts: imx6: RDU2: add eGalax touchscreen
  2018-04-12 13:15 [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Lucas Stach
  2018-04-12 13:15 ` [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D Lucas Stach
@ 2018-04-12 13:15 ` Lucas Stach
  2018-04-12 14:15   ` Chris Healy
  2018-04-12 14:14 ` [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Chris Healy
  2018-04-23  9:11 ` Shawn Guo
  3 siblings, 1 reply; 7+ messages in thread
From: Lucas Stach @ 2018-04-12 13:15 UTC (permalink / raw)
  To: linux-arm-kernel

This touchscreen is present instead of the RMI4 touch on some SKUs of
the RDU2. Keep it disabled by default, the bootloader will enable it
instead of the RMI4 touch when running on one of those units.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index 4bc14b8e9a66..4aade2bca670 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -573,6 +573,17 @@
 		};
 	};
 
+	touchscreen at 2a {
+		compatible = "eeti,egalax_ts";
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_ts>;
+		reg = <0x2a>;
+		interrupt-parent = <&gpio1>;
+		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
+		wakeup-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+		status = "disabled";
+	};
+
 	hpa1: amp at 60 {
 		compatible = "ti,tpa6130a2";
 		pinctrl-names = "default";
-- 
2.16.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV
  2018-04-12 13:15 [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Lucas Stach
  2018-04-12 13:15 ` [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D Lucas Stach
  2018-04-12 13:15 ` [PATCH 3/3] ARM: dts: imx6: RDU2: add eGalax touchscreen Lucas Stach
@ 2018-04-12 14:14 ` Chris Healy
  2018-04-23  9:11 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Chris Healy @ 2018-04-12 14:14 UTC (permalink / raw)
  To: linux-arm-kernel

Tested-by: Chris Healy <cphealy@gmail.com>

On Thu, Apr 12, 2018 at 6:15 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> This bumps the SoC/PU domain operating points by 25mV, giving a total
> of 75mV margin to the minimum required voltages. This gets rid of
> brown-outs seen due to voltage drop-out on the board.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> index 72f52fcecee1..4bc14b8e9a66 100644
> --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> @@ -263,6 +263,17 @@
>         };
>  };
>
> +&cpu0 {
> +       fsl,soc-operating-points = <
> +               /* ARM kHz  SOC-PU uV */
> +               1200000 1300000
> +               996000  1275000
> +               852000  1275000
> +               792000  1200000
> +               396000  1200000
> +       >;
> +};
> +
>  &reg_arm {
>         vin-supply = <&sw1a_reg>;
>  };
> --
> 2.16.3
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D
  2018-04-12 13:15 ` [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D Lucas Stach
@ 2018-04-12 14:15   ` Chris Healy
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Healy @ 2018-04-12 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

Tested-by: Chris Healy <cphealy@gmail.com>


On Thu, Apr 12, 2018 at 6:15 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> This downclocks the shader domain from 720MHz to 594MHz, which gets rid
> of brown-outs due to excessive current draw on the PMIC switchers. The
> board has an unchanged power tree from the Quad design, which isn't able
> to cope with higher current needs of the QuadPlus GPU at full speed.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx6qp-zii-rdu2.dts | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qp-zii-rdu2.dts b/arch/arm/boot/dts/imx6qp-zii-rdu2.dts
> index 547a76677ab3..28822d409c38 100644
> --- a/arch/arm/boot/dts/imx6qp-zii-rdu2.dts
> +++ b/arch/arm/boot/dts/imx6qp-zii-rdu2.dts
> @@ -48,3 +48,8 @@
>         model = "ZII RDU2+ Board";
>         compatible = "zii,imx6qp-zii-rdu2", "fsl,imx6qp";
>  };
> +
> +&gpu_3d {
> +       assigned-clocks = <&clks IMX6QDL_CLK_GPU3D_SHADER_SEL>;
> +       assigned-clock-parents = <&clks IMX6QDL_CLK_PLL2_PFD1_594M>;
> +};
> --
> 2.16.3
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 3/3] ARM: dts: imx6: RDU2: add eGalax touchscreen
  2018-04-12 13:15 ` [PATCH 3/3] ARM: dts: imx6: RDU2: add eGalax touchscreen Lucas Stach
@ 2018-04-12 14:15   ` Chris Healy
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Healy @ 2018-04-12 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

Tested-by: Chris Healy <cphealy@gmail.com>


On Thu, Apr 12, 2018 at 6:15 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> This touchscreen is present instead of the RMI4 touch on some SKUs of
> the RDU2. Keep it disabled by default, the bootloader will enable it
> instead of the RMI4 touch when running on one of those units.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> index 4bc14b8e9a66..4aade2bca670 100644
> --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> @@ -573,6 +573,17 @@
>                 };
>         };
>
> +       touchscreen at 2a {
> +               compatible = "eeti,egalax_ts";
> +               pinctrl-names = "default";
> +               pinctrl-0 = <&pinctrl_ts>;
> +               reg = <0x2a>;
> +               interrupt-parent = <&gpio1>;
> +               interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
> +               wakeup-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
> +               status = "disabled";
> +       };
> +
>         hpa1: amp at 60 {
>                 compatible = "ti,tpa6130a2";
>                 pinctrl-names = "default";
> --
> 2.16.3
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV
  2018-04-12 13:15 [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Lucas Stach
                   ` (2 preceding siblings ...)
  2018-04-12 14:14 ` [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Chris Healy
@ 2018-04-23  9:11 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2018-04-23  9:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 12, 2018 at 03:15:54PM +0200, Lucas Stach wrote:
> This bumps the SoC/PU domain operating points by 25mV, giving a total
> of 75mV margin to the minimum required voltages. This gets rid of
> brown-outs seen due to voltage drop-out on the board.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Applied all, thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-23  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-12 13:15 [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Lucas Stach
2018-04-12 13:15 ` [PATCH 2/3] ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D Lucas Stach
2018-04-12 14:15   ` Chris Healy
2018-04-12 13:15 ` [PATCH 3/3] ARM: dts: imx6: RDU2: add eGalax touchscreen Lucas Stach
2018-04-12 14:15   ` Chris Healy
2018-04-12 14:14 ` [PATCH 1/3] ARM: dts: imx6: RDU2: bump SoC/PU operating points by 25mV Chris Healy
2018-04-23  9:11 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.