* [RFC PATCH 1/7] ARM: dts: imx6*-hummingboard2: fix formatting
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 2/7] ARM: dts: imx6*-hummingboard2: add SGTL5000 VDDD supply Lucas Stach
` (6 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
Trivial formatting change.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index fc79751..4513e98 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -486,9 +486,9 @@
};
&pwm1 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_hummingboard2_pwm1>;
- status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hummingboard2_pwm1>;
+ status = "okay";
};
&pwm3 {
@@ -538,9 +538,7 @@
&usdhc3 {
pinctrl-names = "default";
- pinctrl-0 = <
- &pinctrl_hummingboard2_usdhc3
- >;
+ pinctrl-0 = <&pinctrl_hummingboard2_usdhc3>;
vmmc-supply = <®_3p3v>;
vqmmc-supply = <®_3p3v>;
bus-width = <8>;
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 2/7] ARM: dts: imx6*-hummingboard2: add SGTL5000 VDDD supply
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 1/7] ARM: dts: imx6*-hummingboard2: fix formatting Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 3/7] ARM: dts: imx6*-hummingboard2: remove LDB node Lucas Stach
` (5 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
VDDD is supplied by VCC_1P8 on HB2.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 4513e98..8246597 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -182,6 +182,7 @@
reg = <0x0a>;
VDDA-supply = <®_3p3v>;
VDDIO-supply = <®_3p3v>;
+ VDDD-supply = <®_1p8v>;
};
};
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 3/7] ARM: dts: imx6*-hummingboard2: remove LDB node
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 1/7] ARM: dts: imx6*-hummingboard2: fix formatting Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 2/7] ARM: dts: imx6*-hummingboard2: add SGTL5000 VDDD supply Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 4/7] ARM: dts: imx6*-hummingboard2: fix PCIe reset polarity Lucas Stach
` (4 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
It's disabled by default and the data mapping is supposed to be
retrieved from the attached panel driver in mainline.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 8246597..126169a 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -470,15 +470,6 @@
};
};
-&ldb {
- status = "disabled";
-
- lvds-channel at 0 {
- fsl,data-mapping = "spwg";
- fsl,data-width = <18>;
- };
-};
-
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_pcie_reset>;
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 4/7] ARM: dts: imx6*-hummingboard2: fix PCIe reset polarity
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
` (2 preceding siblings ...)
2017-04-08 14:36 ` [RFC PATCH 3/7] ARM: dts: imx6*-hummingboard2: remove LDB node Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 5/7] ARM: dts: imx6*-hummingboard2: remove non-mainline property from RTC Lucas Stach
` (3 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
The driver always uses active-low, but better describe reality in the DT.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 126169a..9c4a7d1 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -473,7 +473,7 @@
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_pcie_reset>;
- reset-gpio = <&gpio2 11 0>;
+ reset-gpio = <&gpio2 11 GPIO_ACTIVE_LOW>;
status = "okay";
};
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 5/7] ARM: dts: imx6*-hummingboard2: remove non-mainline property from RTC
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
` (3 preceding siblings ...)
2017-04-08 14:36 ` [RFC PATCH 4/7] ARM: dts: imx6*-hummingboard2: fix PCIe reset polarity Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 6/7] ARM: dts: imx6*-hummingboard2: remove redundant PWM disables Lucas Stach
` (2 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 9c4a7d1..31a029c 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -171,7 +171,6 @@
pcf8523: rtc at 68 {
compatible = "nxp,pcf8523";
reg = <0x68>;
- nxp,12p5_pf;
};
sgtl5000: codec at 0a {
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 6/7] ARM: dts: imx6*-hummingboard2: remove redundant PWM disables
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
` (4 preceding siblings ...)
2017-04-08 14:36 ` [RFC PATCH 5/7] ARM: dts: imx6*-hummingboard2: remove non-mainline property from RTC Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-04-08 14:36 ` [RFC PATCH 7/7] ARM: dts: imx6*-hummingboard2: rework regulators Lucas Stach
2017-06-23 16:15 ` [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
The PWM nodes are already disabled in the imx6qdl.dtsi, so there
is no need to disable them again in the board DTS.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 31a029c..892259f 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -482,14 +482,6 @@
status = "okay";
};
-&pwm3 {
- status = "disabled";
-};
-
-&pwm4 {
- status = "disabled";
-};
-
&ssi1 {
status = "okay";
};
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 7/7] ARM: dts: imx6*-hummingboard2: rework regulators
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
` (5 preceding siblings ...)
2017-04-08 14:36 ` [RFC PATCH 6/7] ARM: dts: imx6*-hummingboard2: remove redundant PWM disables Lucas Stach
@ 2017-04-08 14:36 ` Lucas Stach
2017-06-23 16:15 ` [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
7 siblings, 0 replies; 14+ messages in thread
From: Lucas Stach @ 2017-04-08 14:36 UTC (permalink / raw)
To: linux-arm-kernel
Name the regulators according to the voltage rails they are feeding in
the schematic. The USB 2-4 regulators are fixed regulators and are always
on, as they are not a VBUS supply for a single USB host port on the i.MX6,
but supply VBUS to ports behind a USB hub and there is currently no way
to model this in mainline.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 30 ++++++++++++++--------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 892259f..19fe9d1 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -58,7 +58,7 @@
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
- regulator-name = "3P3V";
+ regulator-name = "VCC_3V2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
@@ -66,21 +66,22 @@
reg_1p8v: regulator-1p8v {
compatible = "regulator-fixed";
- regulator-name = "1P8V";
+ regulator-name = "VCC_1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- reg_usbh1_vbus: regulator-usb-h1-vbus {
+ reg_usbh2_vbus: regulator-usb-h1-vbus {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_usbh1_vbus>;
- regulator-name = "usb_h1_vbus";
+ regulator-name = "V_USB2";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
+ regulator-always-on;
};
reg_usbotg_vbus: regulator-usb-otg-vbus {
@@ -89,33 +90,33 @@
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_usbotg_vbus>;
- regulator-name = "usb_otg_vbus";
+ regulator-name = "V_USB1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
- reg_usbh2_vbus: regulator-usb-h2-vbus {
- compatible = "regulator-gpio";
+ reg_usbh3_vbus: regulator-usb-h2-vbus {
+ compatible = "regulator-fixed";
enable-active-high;
enable-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_usbh2_vbus>;
- regulator-name = "usb_h2_vbus";
+ regulator-name = "V_USB3";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
- regulator-boot-on;
+ regulator-always-on;
};
- reg_usbh3_vbus: regulator-usb-h3-vbus {
- compatible = "regulator-gpio";
+ reg_usbh4_vbus: regulator-usb-h3-vbus {
+ compatible = "regulator-fixed";
enable-active-high;
enable-gpio = <&gpio7 10 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_usbh3_vbus>;
- regulator-name = "usb_h3_vbus";
+ regulator-name = "V_USB4";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
- regulator-boot-on;
+ regulator-always-on;
};
reg_usdhc2_vmmc: reg-usdhc2-vmmc {
@@ -126,7 +127,7 @@
regulator-boot-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
- regulator-name = "usdhc2_vmmc";
+ regulator-name = "V_SD";
startup-delay-us = <1000>;
};
@@ -488,7 +489,6 @@
&usbh1 {
disable-over-current;
- vbus-supply = <®_usbh1_vbus>;
status = "okay";
};
--
2.9.3
^ permalink raw reply related [flat|nested] 14+ messages in thread* [RFC PATCH 0/7] Hummingboard2 improvements
2017-04-08 14:36 [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
` (6 preceding siblings ...)
2017-04-08 14:36 ` [RFC PATCH 7/7] ARM: dts: imx6*-hummingboard2: rework regulators Lucas Stach
@ 2017-06-23 16:15 ` Lucas Stach
2017-06-24 7:30 ` Russell King - ARM Linux
7 siblings, 1 reply; 14+ messages in thread
From: Lucas Stach @ 2017-06-23 16:15 UTC (permalink / raw)
To: linux-arm-kernel
Hi Russell,
it seems this is making no progress. If you don't mind I'm going to pick
up the patches from you hb2 branch and submit the whole series to Shawn,
so we can finally get things merged. Are you okay with this?
Regards,
Lucas
Am Samstag, den 08.04.2017, 16:36 +0200 schrieb Lucas Stach:
> Hi Russell,
>
> the following patches are on top your HB2 branch. They mostly change things
> that are different/redundant on mainline and allow me to drop my version of
> the HB2 DT, as they are mostly aligned now.
>
> Feel free to squash those patches down, when you send out the HB2 DT. You
> may also consider this a Tested-by for the patches from Jon and you that
> are currently in your HB2 branch.
>
> Regards,
> Lucas
>
> Lucas Stach (7):
> ARM: dts: imx6*-hummingboard2: fix formatting
> ARM: dts: imx6*-hummingboard2: add SGTL5000 VDDD supply
> ARM: dts: imx6*-hummingboard2: remove LDB node
> ARM: dts: imx6*-hummingboard2: fix PCIe reset polarity
> ARM: dts: imx6*-hummingboard2: remove non-mainline property from RTC
> ARM: dts: imx6*-hummingboard2: remove redundant PWM disables
> ARM: dts: imx6*-hummingboard2: rework regulators
>
> arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 61 ++++++++++------------------
> 1 file changed, 21 insertions(+), 40 deletions(-)
>
^ permalink raw reply [flat|nested] 14+ messages in thread* [RFC PATCH 0/7] Hummingboard2 improvements
2017-06-23 16:15 ` [RFC PATCH 0/7] Hummingboard2 improvements Lucas Stach
@ 2017-06-24 7:30 ` Russell King - ARM Linux
2017-07-08 13:59 ` Russell King - ARM Linux
0 siblings, 1 reply; 14+ messages in thread
From: Russell King - ARM Linux @ 2017-06-24 7:30 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 23, 2017 at 06:15:14PM +0200, Lucas Stach wrote:
> Hi Russell,
>
> it seems this is making no progress. If you don't mind I'm going to pick
> up the patches from you hb2 branch and submit the whole series to Shawn,
> so we can finally get things merged. Are you okay with this?
If you remember from the reviews back in January of my patch set, Jon
Nettleton promised to send me a replacement set of DT files that were
properly licensed and updated along the lines of your patches in April.
I'm still waiting...
I notice that you failed to copy Jon with your patch set, which really
isn't helping given what was said in January. So, I'm copying this
mail to Jon.
Moreover, applying your April patches (without squashing them in to
Jon's patches) doesn't really solve the review problems - if I send
them out again, the initial patches will still have the same issues
highlighted. If I were to squash your patches in, it means your
work gets mis-appropriated as apparently Jon's work. So probably
whatever I do now it'll be deemed to be wrong.
So, I suggest you talk directly to Jon.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [RFC PATCH 0/7] Hummingboard2 improvements
2017-06-24 7:30 ` Russell King - ARM Linux
@ 2017-07-08 13:59 ` Russell King - ARM Linux
[not found] ` <CABdtJHutd5v4onVMMZdufnutzDWt5R3RE3XxicfHsTZkNUYXCg@mail.gmail.com>
0 siblings, 1 reply; 14+ messages in thread
From: Russell King - ARM Linux @ 2017-07-08 13:59 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Jun 24, 2017 at 08:30:31AM +0100, Russell King - ARM Linux wrote:
> On Fri, Jun 23, 2017 at 06:15:14PM +0200, Lucas Stach wrote:
> > Hi Russell,
> >
> > it seems this is making no progress. If you don't mind I'm going to pick
> > up the patches from you hb2 branch and submit the whole series to Shawn,
> > so we can finally get things merged. Are you okay with this?
>
> If you remember from the reviews back in January of my patch set, Jon
> Nettleton promised to send me a replacement set of DT files that were
> properly licensed and updated along the lines of your patches in April.
> I'm still waiting...
I've chased Jon a couple more times since (once today), and I'm feeling
that we're not getting anywhere. I've now told him that we (SolidRun/
myself) are in danger of having this work replaced by others. So, I'm
now adding Rabeeh to this thread.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
^ permalink raw reply [flat|nested] 14+ messages in thread