ARM: dts: imx6q: Add Engicam i.CoreM6 dts
Subsystems (3)
v4 cover ARM: dts: imx6q: Add Engicam i.CoreM6 dts
This is series add dts support for Engicam I.Core M6 qdl modules.
Jagan Teki (5):
of: Add vendor prefix for Engicam s.r.l company
ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support
ARM: dts: imx6qdl-icore: Add usbhost support
ARM: dts: imx6qdl-icore: Add usbotg support
.../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6dl-icore.dts | 59 ++++++ arch/arm/boot/dts/imx6q-icore.dts | 59 ++++++ arch/arm/boot/dts/imx6qdl-icore.dtsi | 235 +++++++++++++++++++++ 5 files changed, 356 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-icore.dts create mode 100644 arch/arm/boot/dts/imx6q-icore.dts create mode 100644 arch/arm/boot/dts/imx6qdl-icore.dtsi
Signature · 1 line
2.7.4
PATCH v4 1/5 of: Add vendor prefix for Engicam s.r.l company
Engicam providing design services of electronic systems with high content of technology, relying on a long experience in electronic design.
For more info visit
http://www.engicam.com/en/
---
Changes for v4:
- none
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -85,6 +85,7 @@ elan Elan Microelectronic Corp. embest Shenzhen Embest Technology Co., Ltd. emmicro EM Microelectronic energymicro Silicon Laboratories (formerly Energy Micro AS) +engicam Engicam S.r.l. epcos EPCOS AG epfl Ecole Polytechnique F?d?rale de Lausanne epson Seiko Epson Corp.
Signature · 1 line
2.7.4
PATCH v4 2/5 ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
In reply to Jagan Tekii.CoreM6 Quad/Dual modules are system on module solutions manufactured by Engicam with following characteristics:
CPU NXP i.MX6 DQ, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD
and more info at
http://www.engicam.com/en/products/embedded/som/sodimm/i-core-m6s-dl-d-q
---
Changes for v4:
- Newly added patch
Changes for v3:
- Use compatible as engicam,imx6-icore instead of fsl,imx6-icore
- Update IOMUX value for can1 and can2 nodes
- Added reg_3p3v for can1 and can2 nodes
Changes for v2:
- s/oaky/okay/g
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-icore.dts | 59 +++++++++++ arch/arm/boot/dts/imx6qdl-icore.dtsi | 197 +++++++++++++++++++++++++++++++++++ 3 files changed, 257 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-icore.dts create mode 100644 arch/arm/boot/dts/imx6qdl-icore.dtsi
arch/arm/boot/dts/Makefile +1 -0
@@ -374,6 +374,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-gw553x.dtb \ imx6q-h100.dtb \ imx6q-hummingboard.dtb \ + imx6q-icore.dtb \ imx6q-icore-rqs.dtb \ imx6q-marsboard.dtb \ imx6q-nitrogen6x.dtb \
arch/arm/boot/dts/imx6q-icore.dts new file +59 -0
59 lines not on this page · raw message
arch/arm/boot/dts/imx6qdl-icore.dtsi new file +197 -0
197 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH v4 3/5 ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support
In reply to Jagan Tekii.CoreM6 DualLite/Solo modules are system on module solutions manufactured by Engicam with following characteristics:
CPU NXP i.MX6 DL, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD
and more info at
http://www.engicam.com/en/products/embedded/som/sodimm/i-core-m6s-dl-d-q
---
Changes for v4:
- Newly added patch
Changes for v3:
- Use compatible as engicam,imx6-icore instead of fsl,imx6-icore
Changes for v2:
- s/oaky/okay/g
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-icore.dts | 59 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-icore.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -333,6 +333,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6dl-gw552x.dtb \ imx6dl-gw553x.dtb \ imx6dl-hummingboard.dtb \ + imx6dl-icore.dtb \ imx6dl-nit6xlite.dtb \ imx6dl-nitrogen6x.dtb \ imx6dl-phytec-pbab01.dtb \
arch/arm/boot/dts/imx6dl-icore.dts new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH v4 4/5 ARM: dts: imx6qdl-icore: Add usbhost support
In reply to Jagan TekiAdd usbhost support for Engicam i.CoreM6 dql modules.
---
Changes for v4:
- Newly added patch
arch/arm/boot/dts/imx6qdl-icore.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm/boot/dts/imx6qdl-icore.dtsi +15 -0
@@ -56,6 +56,15 @@ regulator-boot-on; regulator-always-on; }; + + reg_usb_h1_vbus: usb_h1_vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + regulator-always-on; + }; }; &can1 {
@@ -110,6 +119,12 @@ status = "okay"; }; +&usbh1 { + vbus-supply = <®_usb_h1_vbus>; + disable-over-current; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>;
Signature · 1 line
2.7.4
PATCH v4 5/5 ARM: dts: imx6qdl-icore: Add usbotg support
In reply to Jagan TekiAdd usbotg support for Engicam i.CoreM6 dql modules.
---
Changes for v4:
- Newly added patch
arch/arm/boot/dts/imx6qdl-icore.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
arch/arm/boot/dts/imx6qdl-icore.dtsi +23 -0
@@ -65,6 +65,15 @@ regulator-boot-on; regulator-always-on; }; + + reg_usb_otg_vbus: usb_otg_vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + regulator-always-on; + }; }; &can1 {
@@ -125,6 +134,14 @@ status = "okay"; }; +&usbotg { + vbus-supply = <®_usb_otg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + disable-over-current; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>;
@@ -199,6 +216,12 @@ >; }; + pinctrl_usbotg: usbotggrp { + fsl,pins = < + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17070
Signature · 1 line
2.7.4
Fabio Estevam
reviewerRe: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
In reply to Jagan Tekiarch/arm/boot/dts/imx6qdl-icore.dtsi line 57
Quoted 7 lines · Jagan Teki
arch/arm/boot/dts/imx6qdl-icore.dtsi new file +7
-0+ reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on;
You should remove " regulator-boot-on" and "regulator-always-on" as the reg_3p3v regulator is controlled by the can nodes.
Fabio Estevam
reviewerRe: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
In reply to Jagan Tekiarch/arm/boot/dts/imx6qdl-icore.dtsi line 81
Quoted 4 lines · Jagan Teki
+&gpmi {
arch/arm/boot/dts/imx6qdl-icore.dtsi new file +3
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + fsl,legacy-bch-geometry;
I don't see this property documented nor used anywhere.
Re: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
In reply to Fabio EstevamQuoted 10 lines · Fabio Estevam
arch/arm/boot/dts/imx6qdl-icore.dtsi line 57
Quoted 7 lines · Jagan Teki
arch/arm/boot/dts/imx6qdl-icore.dtsi new file +7
-0+ reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on;
Quoted 2 lines
You should remove " regulator-boot-on" and "regulator-always-on" as the
reg_3p3vregulator is controlled by the can nodes.
OK, but where it showed on the processor manual? I only find LDO_2P5 regulator which is connected to high speed devices, HDMI, SATA etc on Figure 50-1: Power system overview
thanks!
Signature · 4 lines
Jagan Teki Free Software Engineer | Amarula Solutions U-Boot, Linux | Upstream Maintainer Hyderabad, India.
Fabio Estevam
reviewerRe: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Quoted 1 line · Jagan Teki
OK, but where it showed on the processor manual? I only find
LDO_2P5
It is not a SoC regulator. It is the regulator that powers the CAN transceiver.
Re: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi Fabio
Quoted 5 lines · Fabio Estevam
Quoted 1 line · Jagan Teki
OK, but where it showed on the processor manual? I only find
LDO_2P5It is not a SoC regulator. It is the regulator that powers the CAN transceiver.
Engicam use fixed regulator always on and on on boot. Their board does not have any
external pmu. Is this answer to your comment?
Michael
Fabio Estevam
reviewerRe: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi Michael,
Quoted 3 lines · Michael Trimarchi
Engicam use fixed regulator always on and on on boot. Their board does not have any
external pmu. Is this answer to your comment?
All I am saying is that "regulator-boot-on" and "regulator-always-on" properties should be removed.
The "reg_3p3v" regulator will be turned on and off by the flexcan driver.
Re: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi Fabio,
Our SOM doesn't use external PMIC.
We powered all devices with a fix voltage regulators that cannot be drive directly from SoC so
any external power rail can be driven by drivers.
Regards
Matteo
Il 21/09/2016 18:46, Fabio Estevam ha scritto:
Quoted 13 lines
Hi Michael,
Quoted 3 lines · Michael Trimarchi
Engicam use fixed regulator always on and on on boot. Their board does not have any
external pmu. Is this answer to your comment?All I am saying is that "regulator-boot-on" and "regulator-always-on" properties should be removed.
The "
reg_3p3v" regulator will be turned on and off by the flexcan driver.
Signature · 21 lines
------------------------------------------------------------------------ http://www.engicam.com <http://www.engicam.com> */ENGICAM /*s.r.l. 50018 Scandicci - FIRENZE Via dei Pratoni, 16 Tel. +39 055 7311387 Fax. +39 055 720608 Web www.engicam.com <http://www.engicam.com> C.F./P.I. 05389070482 Registro Imprese di FIRENZE 542918 Capitale sociale i.v. 50.000,00? ------------------------------------------------------------------------ NOTICE: This message and attachments are intended only for the use of their addresses and may contain confidential information belonging to Engicam. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments.
Fabio Estevam
reviewerRe: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi Matteo,
Quoted 7 lines · Matteo Lisi
Hi Fabio,
Our SOM doesn't use external PMIC.
We powered all devices with a fix voltage regulators that cannot be drive directly from SoC so
any external power rail can be driven by drivers.
Sure, this is fine.
Why don't you simply do like this?
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "3P3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};Re: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi
Quoted 13 lines · Fabio Estevam
Hi Matteo,
Quoted 7 lines · Matteo Lisi
Hi Fabio,
Our SOM doesn't use external PMIC.
We powered all devices with a fix voltage regulators that cannot be drive directly from SoC so
any external power rail can be driven by drivers.Sure, this is fine.
Quoted 8 lines
Why don't you simply do like this?
reg_3p3v: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "3P3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; };
Should dts rispect the schematic connection?
Michael
Signature · 4 lines
| Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |
Fabio Estevam
reviewerRe: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Quoted 10 lines · Michael Trimarchi
Quoted 8 lines
Why don't you simply do like this?
reg_3p3v: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "3P3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; };Should dts rispect the schematic connection?
Yes
Re: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi
Quoted 12 lines · Fabio Estevam
Quoted 9 lines · Michael Trimarchi
Quoted 8 lines
Why don't you simply do like this?
reg_3p3v: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "3P3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; };
Quoted 3 lines
Quoted 1 line
Should dts rispect the schematic connection?
Yes
So boot on and always on are used to declare their status and their behavionr. I don't
see the point to not specify them in this way
Michael
Signature · 4 lines
| Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |
Re: [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support
Hi Fabio,
Quoted 15 lines · Michael Trimarchi
Hi
Quoted 12 lines · Fabio Estevam
Quoted 9 lines · Michael Trimarchi
Quoted 8 lines
Why don't you simply do like this?
reg_3p3v: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "3P3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; };
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Should dts rispect the schematic connection?
Yes
So boot on and always on are used to declare their status and their behavionr. I don't
see the point to not specify them in this way
Please try to understand that due to the case where we used fixed voltage regulators on SOM as mentioned By Metteo and Michael dt nodes should have regulator-always-on and regulator-boot-on properties. And even we added one of our module which is already in ML[1]
Hope this is helpful conclude this thread.
thanks!
Signature · 4 lines
Jagan Teki Free Software Engineer | Amarula Solutions U-Boot, Linux | Upstream Maintainer Hyderabad, India.