Skip to contentSkip to conversation

of: Add vendor prefix for Engicam s.r.l company

PATCH Superseded Jagan Teki 3 participants 11 messages Sep 9, 2016

Subsystems (3)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v3 1/3 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/

Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Matteo Lisi <[email protected]>
Cc Michael Trimarchi <[email protected]>

---
Changes for v3:
- Newly added patch

 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 3003f33..327e4c7 100644
@@ -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
author
#1 lore raw

PATCH v3 2/3 ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

i.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

Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Matteo Lisi <[email protected]>
Cc Michael Trimarchi <[email protected]>

---
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
index f79cac2..511510d 100644
@@ -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
author
#10 lore raw

PATCH v3 3/3 ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support

In reply to Jagan Teki

i.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

Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Matteo Lisi <[email protected]>
Cc Michael Trimarchi <[email protected]>

---
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
index 511510d..6175f44 100644
@@ -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
reviewer
#2 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

In reply to Jagan Teki

arch/arm/boot/dts/imx6qdl-icore.dtsi line 125

Quoted 5 lines · Jagan Teki

+&iomuxc {

arch/arm/boot/dts/imx6qdl-icore.dtsi new file +4 -0
+       pinctrl_flexcan1: flexcan1grp {
+               fsl,pins = <
+                       MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b020
+                       MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b020

In the previous version you had "0x80000000", which means: use the pad value that comes from the bootloader.

Does your bootloader configure the CAN pins? If not, then it should be 1b0b0, which is the POR value of register IOMUXC_SW_PAD_CTL_PAD_KEY_ROW2.

To confirm, you can do this in your bootloader:

=> md.l 20E05DC 1
020e05dc: 0001b0b0

and see if returns 1b0b0 or 1b020.

#3 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 15 lines · Fabio Estevam

arch/arm/boot/dts/imx6qdl-icore.dtsi line 125

Quoted 5 lines · Jagan Teki

+&iomuxc {

arch/arm/boot/dts/imx6qdl-icore.dtsi new file +4 -0
+       pinctrl_flexcan1: flexcan1grp {
+               fsl,pins = <
+                       MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b020
+                       MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b020

In the previous version you had "0x80000000", which means: use the pad value that comes from the bootloader.

Does your bootloader configure the CAN pins? If not, then it should be 1b0b0, which is the POR value of register IOMUXC_SW_PAD_CTL_PAD_KEY_ROW2.

Quoted 6 lines

To confirm, you can do this in your bootloader:

=> md.l 20E05DC 1
020e05dc: 0001b0b0

and see if returns 1b0b0 or 1b020.

Yeah, I got 1b0b0

U-Boot > md.l 20E05DC 1
020e05dc: 0001b0b0

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#4 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 21 lines · Jagan Teki
Quoted 20 lines · Fabio Estevam

arch/arm/boot/dts/imx6qdl-icore.dtsi line 125

Quoted 5 lines · Jagan Teki

+&iomuxc {

arch/arm/boot/dts/imx6qdl-icore.dtsi new file +4 -0
+       pinctrl_flexcan1: flexcan1grp {
+               fsl,pins = <
+                       MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b020
+                       MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b020

In the previous version you had "0x80000000", which means: use the pad value that comes from the bootloader.

Does your bootloader configure the CAN pins? If not, then it should be 1b0b0, which is the POR value of register IOMUXC_SW_PAD_CTL_PAD_KEY_ROW2.

To confirm, you can do this in your bootloader:

=> md.l 20E05DC 1
020e05dc: 0001b0b0

Quoted 6 lines
Quoted 1 line

and see if returns 1b0b0 or 1b020.

Yeah, I got 1b0b0

U-Boot > md.l 20E05DC 1
020e05dc: 0001b0b0

So I'm assigning change value to 1b020 Linux that's ok right?

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
reviewer
#5 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 6 lines · Jagan Teki
Quoted 4 lines

Yeah, I got 1b0b0

U-Boot > md.l 20E05DC 1
020e05dc: 0001b0b0

So I'm assigning change value to 1b020 Linux that's ok right?

Then just use 0x1b020 for the flexcan pins.

reviewer
#6 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 10 lines · Fabio Estevam
Quoted 6 lines · Jagan Teki
Quoted 4 lines

Yeah, I got 1b0b0

U-Boot > md.l 20E05DC 1
020e05dc: 0001b0b0

So I'm assigning change value to 1b020 Linux that's ok right?

Then just use 0x1b020 for the flexcan pins.

1b0b0 I mean :-)

#7 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 5 lines · Fabio Estevam
Quoted 4 lines · Fabio Estevam
Quoted 2 lines · Jagan Teki
Quoted 2 lines

Yeah, I got 1b0b0

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

U-Boot > md.l 20E05DC 1
020e05dc: 0001b0b0

So I'm assigning change value to 1b020 Linux that's ok right?

Then just use 0x1b020 for the flexcan pins.

1b0b0 I mean :-)

Why? can't we update iomux reg value any side effects or something.

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
reviewer
#8 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 1 line · Jagan Teki

Why? can't we update iomux reg value any side effects or something.

Sure you can change it.

You were using 0x8000000 before and I assume you tested flexcan and it worked well.

Putting 1b0b0 will keep the same setting, so no functional change.

Why did you select 0x1b020?

#9 lore raw

Re: [PATCH v3 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

Quoted 4 lines · Fabio Estevam
Quoted 1 line · Jagan Teki

Why? can't we update iomux reg value any side effects or something.

Quoted 8 lines

Sure you can change it.

You were using 0x8000000 before and I assume you tested flexcan and it worked well.

Putting 1b0b0 will keep the same setting, so no functional change.

Why did you select 0x1b020?

We are not using can on bootloader either and we always update the value in Linux which is 0x1b020 like for other imx6ul soc's as well.

Signature · 4 lines
Jagan Teki
Free Software Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.