Support for Variscite OM44 modules and boards
Subsystems (5)
v2 cover Support for Variscite OM44 modules and boards
Hello,
This patch set adds support for Variscite OM44 series of system on modules and boards.
There weren't many comments on v1 of this patch set so I hope this can make it into 3.16. Changes since v2:
* Use OMAP IOPAD macros
Patch 1: Add support for the SoM itself and the reference carrier board. Together these make the VAR-STK-OM44 dev kit. Patch 2: Add support for VAR-DVK-OM44 which is just the STK with a LCD display.
Patch 3: Nodes for WLAN/BT support.
Patch 4: Add quirks so that WLAN can be used. Still waiting for proper DT bindings.
Since this patch set now uses the IOPAD macros a fix from Tony is need.
See: https://patchwork.kernel.org/patch/4025421/
Note that patch 1 relies upon a patch from Tomi Valkeinen add hpd-gpio (hotplug detect) to the "hdmi-connector".
See: http://marc.info/?l=linux-omap&m=139771947508021&w=2
Patch 2 also relies upon a patch from Tomi that adds DT support to panel-dpi.
See: http://marc.info/?l=devicetree&m=139030201815380&w=2
The Patches from Tony and Tomi mentioned above is destined for 3.16.
Joachim Eastwood (4):
ARM: dts: Add support for OMAP4 Variscite OM44 family
ARM: dts: Add support for OMAP4 VAR-DVK-OM44
ARM: dts: Add VAR-SOM-OM44 WLAN nodes
ARM: OMAP2+: Use pdata quirks for wl12xx on VAR-STK/DVK-OM44
.../devicetree/bindings/arm/omap/omap.txt | 6 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/omap4-var-dvk-om44.dts | 71 +++++ arch/arm/boot/dts/omap4-var-om44customboard.dtsi | 235 ++++++++++++++ arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi | 68 ++++ arch/arm/boot/dts/omap4-var-som-om44.dtsi | 344 +++++++++++++++++++++ arch/arm/boot/dts/omap4-var-som.dts | 96 ------ arch/arm/boot/dts/omap4-var-stk-om44.dts | 17 + arch/arm/mach-omap2/pdata-quirks.c | 7 + 10 files changed, 751 insertions(+), 97 deletions(-) create mode 100644 arch/arm/boot/dts/omap4-var-dvk-om44.dts create mode 100644 arch/arm/boot/dts/omap4-var-om44customboard.dtsi create mode 100644 arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi create mode 100644 arch/arm/boot/dts/omap4-var-som-om44.dtsi delete mode 100644 arch/arm/boot/dts/omap4-var-som.dts create mode 100644 arch/arm/boot/dts/omap4-var-stk-om44.dts
Signature · 1 line
1.8.0
PATCH v2 1/4 ARM: dts: Add support for OMAP4 Variscite OM44 family
Add support for VAR-SOM-OM44[1] SODIMM system on module from Variscite. SoM features a OMAP4460, 1GB RAM, Gigabit Ethernet (LAN7500) and optional WLAN/BT.
Also add support for VAR-STK-OM44 development board from Variscite. This kit features a VAR-SOM-OM44 and the carrier board VAR-OM44CustomBoard[2]. The VAR-STK-OM44 is the same as VAR-DVK-OM44 but without the LCD display.
omap4-var-stk-om44.dts replace the old and very limited omap4-var-som.dts.
[1] http://www.variscite.com/products/system-on-module-som/cortex-a9/var-som-om44-cpu-ti-omap-4-omap4460
[2] http://www.variscite.com/products/single-board-computers/var-om44customboard
--- .../devicetree/bindings/arm/omap/omap.txt | 3 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/Makefile | 2 +- arch/arm/boot/dts/omap4-var-om44customboard.dtsi | 235 ++++++++++++++ arch/arm/boot/dts/omap4-var-som-om44.dtsi | 344 +++++++++++++++++++++ arch/arm/boot/dts/omap4-var-som.dts | 96 ------ arch/arm/boot/dts/omap4-var-stk-om44.dts | 16 + 7 files changed, 600 insertions(+), 97 deletions(-) create mode 100644 arch/arm/boot/dts/omap4-var-om44customboard.dtsi create mode 100644 arch/arm/boot/dts/omap4-var-som-om44.dtsi delete mode 100644 arch/arm/boot/dts/omap4-var-som.dts create mode 100644 arch/arm/boot/dts/omap4-var-stk-om44.dts
Documentation/devicetree/bindings/arm/omap/omap.txt +3 -0
@@ -102,6 +102,9 @@ Boards: - OMAP4 DuoVero with Parlor : Commercial expansion board with daughter board compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; +- OMAP4 VAR-STK-OM44 : Commercial dev kit with VAR-OM44CustomBoard and VAR-SOM-OM44 w/WLAN + compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; + - OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x compatible = "ti,omap3-evm", "ti,omap3"
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -127,6 +127,7 @@ toshiba Toshiba Corporation toumaz Toumaz usi Universal Scientifc Industrial Co., Ltd. v3 V3 Semiconductor +variscite Variscite Ltd. via VIA Technologies, Inc. voipac Voipac Technologies s.r.o. winbond Winbond Electronics corp.
arch/arm/boot/dts/Makefile +1 -1
@@ -273,7 +273,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ omap4-panda.dtb \ omap4-panda-a4.dtb \ omap4-panda-es.dtb \ - omap4-var-som.dtb \ + omap4-var-stk-om44.dtb \ omap4-sdp.dtb \ omap4-sdp-es23plus.dtb \ omap5-uevm.dtb \
arch/arm/boot/dts/omap4-var-om44customboard.dtsi new file +235 -0
235 lines not on this page · raw message
arch/arm/boot/dts/omap4-var-som-om44.dtsi new file +344 -0
344 lines not on this page · raw message
arch/arm/boot/dts/omap4-var-som.dts deleted +0 -96
96 lines not on this page · raw message
arch/arm/boot/dts/omap4-var-stk-om44.dts new file +16 -0
@@ -0,0 +1,16 @@ +/* + * Copyright (C) 2014 Joachim Eastwood <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +/dts-v1/; + +#include "omap4-var-som-om44.dtsi" +#include "omap4-var-om44customboard.dtsi" + +/ { + model = "Variscite VAR-STK-OM44"; + compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; +};
Signature · 1 line
1.8.0
PATCH v2 2/4 ARM: dts: Add support for OMAP4 VAR-DVK-OM44
In reply to Joachim Eastwood--- .../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap4-var-dvk-om44.dts | 70 ++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 arch/arm/boot/dts/omap4-var-dvk-om44.dts
Documentation/devicetree/bindings/arm/omap/omap.txt +3 -0
@@ -105,6 +105,9 @@ Boards: - OMAP4 VAR-STK-OM44 : Commercial dev kit with VAR-OM44CustomBoard and VAR-SOM-OM44 w/WLAN compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; +- OMAP4 VAR-DVK-OM44 : Commercial dev kit with VAR-OM44CustomBoard, VAR-SOM-OM44 w/WLAN and LCD touchscreen + compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; + - OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x compatible = "ti,omap3-evm", "ti,omap3"
arch/arm/boot/dts/Makefile +1 -0
@@ -273,6 +273,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ omap4-panda.dtb \ omap4-panda-a4.dtb \ omap4-panda-es.dtb \ + omap4-var-dvk-om44.dtb \ omap4-var-stk-om44.dtb \ omap4-sdp.dtb \ omap4-sdp-es23plus.dtb \
arch/arm/boot/dts/omap4-var-dvk-om44.dts new file +70 -0
70 lines not on this page · raw message
Signature · 1 line
1.8.0
PATCH v2 3/4 ARM: dts: Add VAR-SOM-OM44 WLAN nodes
In reply to Joachim EastwoodBoth the VAR-STK-OM44 and VAR-DVK-OM44 boards comes with the WLAN/BT version of the system on module VAR-SOM-OM44.
--- arch/arm/boot/dts/omap4-var-dvk-om44.dts | 1 + arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi | 68 ++++++++++++++++++++++++++ arch/arm/boot/dts/omap4-var-stk-om44.dts | 1 + 3 files changed, 70 insertions(+) create mode 100644 arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi
arch/arm/boot/dts/omap4-var-dvk-om44.dts +1 -0
@@ -8,6 +8,7 @@ /dts-v1/; #include "omap4-var-som-om44.dtsi" +#include "omap4-var-som-om44-wlan.dtsi" #include "omap4-var-om44customboard.dtsi" / {
arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi new file +68 -0
68 lines not on this page · raw message
arch/arm/boot/dts/omap4-var-stk-om44.dts +1 -0
@@ -8,6 +8,7 @@ /dts-v1/; #include "omap4-var-som-om44.dtsi" +#include "omap4-var-som-om44-wlan.dtsi" #include "omap4-var-om44customboard.dtsi" / {
Signature · 1 line
1.8.0
PATCH v2 4/4 ARM: OMAP2+: Use pdata quirks for wl12xx on VAR-STK/DVK-OM44
In reply to Joachim Eastwood--- arch/arm/mach-omap2/pdata-quirks.c | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/mach-omap2/pdata-quirks.c +7 -0
@@ -254,6 +254,11 @@ static void __init omap4_panda_legacy_init(void) {legacy_init_wl12xx (WL12XX_REFCLOCK_38 ,0 ,53 ); } + +static void __init var_som_om44_legacy_init (void ) +{ +legacy_init_wl12xx (WL12XX_REFCLOCK_38 ,0 ,41 ); +}#endif #if defined(CONFIG_ARCH_OMAP4 ) || defined(CONFIG_SOC_OMAP5 )
@@ -364,6 +369,8 @@ static struct pdata_init pdata_quirks[] __initdata = { #ifdef CONFIG_ARCH_OMAP4 { "ti,omap4-sdp", omap4_sdp_legacy_init, }, { "ti,omap4-panda", omap4_panda_legacy_init, }, + { "variscite,var-dvk-om44", var_som_om44_legacy_init, }, + { "variscite,var-stk-om44", var_som_om44_legacy_init, }, #endif #ifdef CONFIG_SOC_AM33XX { "ti,am335x-evmsk", am335x_evmsk_legacy_init, },
Signature · 1 line
1.8.0
Tony Lindgren
maintainerv2 cover Support for Variscite OM44 modules and boards
In reply to Joachim EastwoodQuoted 8 lines · Joachim Eastwood
Hello,
This patch set adds support for Variscite OM44 series of system on modules and boards.
There weren't many comments on v1 of this patch set so I hope this can make it into 3.16. Changes since v2:
* Use OMAP IOPAD macros
Quoted 7 lines
Patch 1: Add support for the SoM itself and the reference carrier board. Together these make the VAR-STK-OM44 dev kit. Patch 2: Add support for VAR-DVK-OM44 which is just the STK with a LCD display.
Patch 3: Nodes for WLAN/BT support.
Patch 4: Add quirks so that WLAN can be used. Still waiting for proper DT bindings.Since this patch set now uses the IOPAD macros a fix from Tony is need.
See: https://patchwork.kernel.org/patch/4025421/
Just noted that the macro won't work while was about to apply these, sorry. So we're back to either using the existing OMAP4_WKUP_IOPAD or raw offset from the padconf area unless you have some great macro ideas.
Quoted 5 lines
Note that patch 1 relies upon a patch from Tomi Valkeinen add hpd-gpio (hotplug detect) to the "hdmi-connector".
See: http://marc.info/?l=linux-omap&m=139771947508021&w=2Patch 2 also relies upon a patch from Tomi that adds DT support to panel-dpi.
See: http://marc.info/?l=devicetree&m=139030201815380&w=2
Maybe also leave out the DSS changes until Tomi has confirmed those?
Regards,
Tony
v2 cover Support for Variscite OM44 modules and boards
Quoted 14 lines · Tony Lindgren
Quoted 13 lines · Joachim Eastwood
Hello,
This patch set adds support for Variscite OM44 series of system on modules and boards.
There weren't many comments on v1 of this patch set so I hope this can make it into 3.16. Changes since v2:
* Use OMAP IOPAD macrosPatch 1: Add support for the SoM itself and the reference carrier board. Together these make the VAR-STK-OM44 dev kit. Patch 2: Add support for VAR-DVK-OM44 which is just the STK with a LCD display.
Patch 3: Nodes for WLAN/BT support.
Patch 4: Add quirks so that WLAN can be used. Still waiting for proper DT bindings.
Quoted 7 lines
Quoted 2 lines
Since this patch set now uses the IOPAD macros a fix from Tony is need.
See: https://patchwork.kernel.org/patch/4025421/Just noted that the macro won't work while was about to apply these, sorry. So we're back to either using the existing
OMAP4_WKUP_IOPADor raw offset from the padconf area unless you have some great macro ideas.
I see. I'll take another look at the macro's and see what I can come up with.
Quoted 8 lines
Quoted 5 lines
Note that patch 1 relies upon a patch from Tomi Valkeinen add hpd-gpio (hotplug detect) to the "hdmi-connector".
See: http://marc.info/?l=linux-omap&m=139771947508021&w=2Patch 2 also relies upon a patch from Tomi that adds DT support to panel-dpi.
See: http://marc.info/?l=devicetree&m=139030201815380&w=2Maybe also leave out the DSS changes until Tomi has confirmed those?
I can split the patch set and put a patch with the DSS DT nodes at the end. Maybe this last patch can go through Tomi if he has a DSS DT branch. I don't want to drop it entirely from the patch set because some other people has expressed interest in testing it with full display and hdmi support.
I am traveling right now and don't have access to my development machine. So I won't be able to rework the patch set until early next week.
regards
Joachim Eastwood
v2 cover Support for Variscite OM44 modules and boards
Quoted 31 lines · Joachim Eastwood
Quoted 14 lines · Tony Lindgren
Quoted 13 lines · Joachim Eastwood
Hello,
This patch set adds support for Variscite OM44 series of system on modules and boards.
There weren't many comments on v1 of this patch set so I hope this can make it into 3.16. Changes since v2:
* Use OMAP IOPAD macrosPatch 1: Add support for the SoM itself and the reference carrier board. Together these make the VAR-STK-OM44 dev kit. Patch 2: Add support for VAR-DVK-OM44 which is just the STK with a LCD display.
Patch 3: Nodes for WLAN/BT support.
Patch 4: Add quirks so that WLAN can be used. Still waiting for proper DT bindings.Quoted 7 lines
Quoted 2 lines
Since this patch set now uses the IOPAD macros a fix from Tony is need.
See: https://patchwork.kernel.org/patch/4025421/Just noted that the macro won't work while was about to apply these, sorry. So we're back to either using the existing
OMAP4_WKUP_IOPADor raw offset from the padconf area unless you have some great macro ideas.I see. I'll take another look at the macro's and see what I can come up with.
Quoted 6 lines
Quoted 5 lines
Note that patch 1 relies upon a patch from Tomi Valkeinen add hpd-gpio (hotplug detect) to the "hdmi-connector".
See: http://marc.info/?l=linux-omap&m=139771947508021&w=2Patch 2 also relies upon a patch from Tomi that adds DT support to panel-dpi.
See: http://marc.info/?l=devicetree&m=139030201815380&w=2
Quoted 8 lines
Quoted 2 lines
Maybe also leave out the DSS changes until Tomi has confirmed those?
I can split the patch set and put a patch with the DSS DT nodes at the end. Maybe this last patch can go through Tomi if he has a DSS DT branch. I don't want to drop it entirely from the patch set because some other people has expressed interest in testing it with full display and hdmi support.
I have the HDMI and panel-dpi patches queued for 3.16. As this is a new board, and there's no compile time dependency on DSS stuff, I think all these patches can go through Tony.
For the display related parts in these patches:
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140509/1ddeb4c1/attachment-0001.sig>