: add remaining support for IGEP boards
Subsystems (4)
v2 cover : add remaining support for IGEP boards
In order to make mach-omap2 Device Tree only, the board file for IGEP boards was removed even when support for wifi and display was still not supported by its DTS.
This is a second version of a patch-set that adds support for these remaining peripherals and also adds support for USB, HDMI and user LED for the am33xx SoC based IGEP Aquila board.
The patch-set is composed of the following patches:
Enric Balletbo i Serra (7):
ARM: dts: omap3-igep: Fix bus-width for mmc1.
ARM: dts: omap3-igep: Add support for LBEE1USJYC WiFi connected to SDIO.
ARM: dts: omap3-igep: Update to use the TI AM/DM37x processor.
ARM: dts: AM33XX BASE0033: add pinmux and hdmi node to enable display
ARM: dts: AM33XX BASE0033: add pinmux and user led support.
ARM: dts: AM33XX BASE0033: add 32KBit EEPROM support.
ARM: dts: AM33XX IGEP0033: add USB support.
Javier Martinez Canillas (4):
ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
ARM: dts: omap3-igep0020: Add pinmuxing for DVI output
ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
ARM: dts: omap3-igep0020: name twl4030 VPLL2 regulator as vdds_dsi
Changes since v1:
Don't add a workaround in drivers/video/omap2/dss/dpi.c to use the VPLL2 regulator from twl4030 if VDDS_DSI regulator is not linked to the DPI device since the used regulator is a per board configuration.
Instead add a regulator-name = "vdds_dsi" property to the regulator in the IGEPv2 DTS file as suggested by Tony Lindgren.
Tony,
Most of these patches are just DTS changes so they have to be picked by Benoit besides the following patch that has to go through your tree
[PATCH 10/11] ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
Since we have removed the board file for IGEP boards I think these can be considered as regression fixes for 3.13 although I don't mind if you prefer to wait for 3.14.
Thanks a lot and best regards,
Javier
PATCH v2 1/11 ARM: dts: omap3-igep: Fix bus-width for mmc1.
From: Enric Balletbo i Serra <[email protected]>
Both, IGEPv2 and IGEP COM MODULE have a bus-width of 4 not 8, so fix this and do not mux data pins from mmc1_data4 to mmc1_data7.
--- arch/arm/boot/dts/omap3-igep.dtsi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
arch/arm/boot/dts/omap3-igep.dtsi +1 -5
@@ -65,10 +65,6 @@ 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ - 0x120 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat4.sdmmc1_dat4 */ - 0x122 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat5.sdmmc1_dat5 */ - 0x124 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat6.sdmmc1_dat6 */ - 0x126 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat7.sdmmc1_dat7 */ >; };
@@ -114,7 +110,7 @@ pinctrl-0 = <&mmc1_pins>; vmmc-supply = <&vmmc1>; vmmc_aux-supply = <&vsim>; - bus-width = <8>; + bus-width = <4>; }; &mmc2 {
Signature · 1 line
1.8.4.2
PATCH v2 2/11 ARM: dts: omap3-igep: Add support for LBEE1USJYC WiFi connected to SDIO.
In reply to Javier Martinez CanillasFrom: Enric Balletbo i Serra <[email protected]>
The LBEE1USJYC is a WiFi/BT combo module used on OMAP3-based IGEP boards. In both cases, IGEPv2 Rev. C and IGEP COM MODULE, the module is connected using the same MMC interface and uses the same GPIOs.
--- arch/arm/boot/dts/omap3-igep.dtsi | 45 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-)
arch/arm/boot/dts/omap3-igep.dtsi +44 -1
@@ -24,6 +24,25 @@ ti,mcbsp = <&mcbsp2>; ti,codec = <&twl_audio>; }; + + vdd33: regulator-vdd33 { + compatible = "regulator-fixed"; + regulator-name = "vdd33"; + regulator-always-on; + }; + + lbee1usjyc_vmmc: lbee1usjyc_vmmc { + pinctrl-names = "default"; + pinctrl-0 = <&lbee1usjyc_pins>; + compatible = "regulator-fixed"; + regulator-name = "regulator-lbee1usjyc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>; /* gpio_138 WIFI_PDN */ + startup-delay-us = <10000>; + enable-active-high; + vin-supply = <&vdd33>; + }; }; &omap3_pmx_core {
@@ -48,6 +67,15 @@ >; }; + /* WiFi/BT combo */ + lbee1usjyc_pins: pinmux_lbee1usjyc_pins { + pinctrl-single,pins = < + 0x136 (PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 */ + 0x138 (PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 */ + 0x13a (PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 */ + >; + }; + mcbsp2_pins: pinmux_mcbsp2_pins { pinctrl-single,pins = < 0x10c (PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */
@@ -68,6 +96,17 @@ >; }; + mmc2_pins: pinmux_mmc2_pins { + pinctrl-single,pins = < + 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */ + 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */ + 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */ + 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */ + 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */ + 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */ + >; + }; + smsc911x_pins: pinmux_smsc911x_pins { pinctrl-single,pins = < 0x1a2 (PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */
@@ -114,7 +153,11 @@ }; &mmc2 { - status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; + vmmc-supply = <&lbee1usjyc_vmmc>; + bus-width = <4>; + non-removable; }; &mmc3 {
Signature · 1 line
1.8.4.2
PATCH v2 3/11 ARM: dts: omap3-igep: Update to use the TI AM/DM37x processor.
In reply to Javier Martinez CanillasFrom: Enric Balletbo i Serra <[email protected]>
Most of the boards are using the TI AM/DM37x processor, there is only a small quantity of IGEP Processor Boards based on TI OMAP3530. So it's better use the omap36xx.dtsi include instead of omap34xx.dtsi include.
To avoid confusion we have added to the model the (TI AM/DM37x) comment.
--- arch/arm/boot/dts/omap3-igep.dtsi | 4 ++-- arch/arm/boot/dts/omap3-igep0020.dts | 4 ++-- arch/arm/boot/dts/omap3-igep0030.dts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/omap3-igep.dtsi +2 -2
@@ -1,5 +1,5 @@ /* - * Device Tree Source for IGEP Technology devices + * Common device tree for IGEP boards based on AM/DM37x * * Copyright (C) 2012 Javier Martinez Canillas <[email protected]> * Copyright (C) 2012 Enric Balletbo i Serra <[email protected]>
@@ -10,7 +10,7 @@ */ /dts-v1/; -#include "omap34xx.dtsi" +#include "omap36xx.dtsi" / { memory {
arch/arm/boot/dts/omap3-igep0020.dts +2 -2
@@ -1,5 +1,5 @@ /* - * Device Tree Source for IGEPv2 board + * Device Tree Source for IGEPv2 Rev. (TI OMAP AM/DM37x) * * Copyright (C) 2012 Javier Martinez Canillas <[email protected]> * Copyright (C) 2012 Enric Balletbo i Serra <[email protected]>
@@ -13,7 +13,7 @@ #include "omap-gpmc-smsc911x.dtsi" / { - model = "IGEPv2"; + model = "IGEPv2 (TI OMAP AM/DM37x)"; compatible = "isee,omap3-igep0020", "ti,omap3"; leds {
arch/arm/boot/dts/omap3-igep0030.dts +2 -2
@@ -1,5 +1,5 @@ /* - * Device Tree Source for IGEP COM Module + * Device Tree Source for IGEP COM MODULE (TI OMAP AM/DM37x) * * Copyright (C) 2012 Javier Martinez Canillas <[email protected]> * Copyright (C) 2012 Enric Balletbo i Serra <[email protected]>
@@ -12,7 +12,7 @@ #include "omap3-igep.dtsi" / { - model = "IGEP COM Module"; + model = "IGEP COM MODULE (TI OMAP AM/DM37x)"; compatible = "isee,omap3-igep0030", "ti,omap3"; leds {
Signature · 1 line
1.8.4.2
PATCH v2 4/11 ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
In reply to Javier Martinez CanillasAdd pin muxing support for IGEP boards i2c controllers.
--- arch/arm/boot/dts/omap3-igep.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
arch/arm/boot/dts/omap3-igep.dtsi +30 -0
@@ -113,10 +113,33 @@ >; }; + i2c1_pins: pinmux_i2c1_pins { + pinctrl-single,pins = < + 0x18a (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */ + 0x18c (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */ + >; + }; + + i2c2_pins: pinmux_i2c2_pins { + pinctrl-single,pins = < + 0x18e (PIN_INPUT | MUX_MODE0) /* i2c2_scl.i2c2_scl */ + 0x190 (PIN_INPUT | MUX_MODE0) /* i2c2_sda.i2c2_sda */ + >; + }; + + i2c3_pins: pinmux_i2c3_pins { + pinctrl-single,pins = < + 0x192 (PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */ + 0x194 (PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */ + >; + }; + leds_pins: pinmux_leds_pins { }; }; &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; clock-frequency = <2600000>; twl: twl at 48 {
@@ -136,9 +159,16 @@ #include "twl4030_omap3.dtsi" &i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; clock-frequency = <400000>; }; +&i2c3 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins>; +}; + &mcbsp2 { pinctrl-names = "default"; pinctrl-0 = <&mcbsp2_pins>;
Signature · 1 line
1.8.4.2
PATCH v2 5/11 ARM: dts: omap3-igep0020: Add pinmuxing for DVI output
In reply to Javier Martinez CanillasThe IGEPv2 has a TFP410 DPI-to-DVI encoder attached to OMAP's Display SubSystem (DSS).
Add mux setup for DSS pins and also for the GPIO 170 pin that is used to ensure that the DVI-D is powered down on power up.
--- arch/arm/boot/dts/omap3-igep0020.dts | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)
arch/arm/boot/dts/omap3-igep0020.dts +41 -0
@@ -67,6 +67,8 @@ pinctrl-names = "default"; pinctrl-0 = < &hsusbb1_pins + &tfp410_pins + &dss_pins >; hsusbb1_pins: pinmux_hsusbb1_pins {
@@ -85,6 +87,45 @@ 0x5ba (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d7.hsusb1_data3 */ >; }; + + tfp410_pins: tfp410_dvi_pins { + pinctrl-single,pins = < + 0x196 (PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */ + >; + }; + + dss_pins: pinmux_dss_dvi_pins { + pinctrl-single,pins = < + 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ + 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ + 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ + 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ + 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ + 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ + 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ + 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ + 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ + 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ + 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ + 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ + 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ + 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ + 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ + 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ + 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ + 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ + 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ + 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ + 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ + 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ + 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ + 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ + 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ + 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ + 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ + 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ + >; + }; }; &leds_pins {
Signature · 1 line
1.8.4.2
PATCH v2 6/11 ARM: dts: AM33XX BASE0033: add pinmux and hdmi node to enable display
In reply to Javier Martinez CanillasFrom: Enric Balletbo i Serra <[email protected]>
Enable the hdmi output and the LCD Controller on IGEP AQUILA. Also configure the correct pinmux for output of video data from the SoC to the HDMI encoder.
--- arch/arm/boot/dts/am335x-base0033.dts | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+)
arch/arm/boot/dts/am335x-base0033.dts +47 -0
@@ -13,4 +13,51 @@ / { model = "IGEP COM AM335x on AQUILA Expansion"; compatible = "isee,am335x-base0033", "isee,am335x-igep0033", "ti,am33xx"; + + hdmi { + compatible = "ti,tilcdc,slave"; + i2c = <&i2c0>; + pinctrl-names = "default", "off"; + pinctrl-0 = <&nxp_hdmi_pins>; + pinctrl-1 = <&nxp_hdmi_off_pins>; + status = "okay"; + }; +}; + +&am33xx_pinmux { + nxp_hdmi_pins: pinmux_nxp_hdmi_pins { + pinctrl-single,pins = < + 0x1b0 (PIN_OUTPUT | MUX_MODE3) /* xdma_event_intr0.clkout1 */ + 0xa0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data0 */ + 0xa4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data1 */ + 0xa8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data2 */ + 0xac (PIN_OUTPUT | MUX_MODE0) /* lcd_data3 */ + 0xb0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data4 */ + 0xb4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data5 */ + 0xb8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data6 */ + 0xbc (PIN_OUTPUT | MUX_MODE0) /* lcd_data7 */ + 0xc0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data8 */ + 0xc4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data9 */ + 0xc8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data10 */ + 0xcc (PIN_OUTPUT | MUX_MODE0) /* lcd_data11 */ + 0xd0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data12 */ + 0xd4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data13 */ + 0xd8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data14 */ + 0xdc (PIN_OUTPUT | MUX_MODE0) /* lcd_data15 */ + 0xe0 (PIN_OUTPUT | MUX_MODE0) /* lcd_vsync */ + 0xe4 (PIN_OUTPUT | MUX_MODE0) /* lcd_hsync */ + 0xe8 (PIN_OUTPUT | MUX_MODE0) /* lcd_pclk */ + 0xec (PIN_OUTPUT | MUX_MODE0) /* lcd_ac_bias_en */ + >; + }; + nxp_hdmi_off_pins: pinmux_nxp_hdmi_off_pins { + pinctrl-single,pins = < + 0x1b0 (PIN_OUTPUT | MUX_MODE3) /* xdma_event_intr0.clkout1 */ + >; + }; }; + +&lcdc { + status = "okay"; +}; +
Signature · 1 line
1.8.4.2
PATCH v2 7/11 ARM: dts: AM33XX BASE0033: add pinmux and user led support.
In reply to Javier Martinez CanillasFrom: Enric Balletbo i Serra <[email protected]>
Enable the user leds on the IGEP AQUILA EXPANSION. The has two leds, one green and one red, that are controllable by software.
--- arch/arm/boot/dts/am335x-base0033.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
arch/arm/boot/dts/am335x-base0033.dts +26 -0
@@ -22,6 +22,25 @@ pinctrl-1 = <&nxp_hdmi_off_pins>; status = "okay"; }; + + leds_base { + pinctrl-names = "default"; + pinctrl-0 = <&leds_base_pins>; + + compatible = "gpio-leds"; + + led at 0 { + label = "base:red:user"; + gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; /* gpio1_21 */ + default-state = "off"; + }; + + led at 1 { + label = "base:green:user"; + gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; /* gpio2_0 */ + default-state = "off"; + }; + }; }; &am33xx_pinmux {
@@ -55,6 +74,13 @@ 0x1b0 (PIN_OUTPUT | MUX_MODE3) /* xdma_event_intr0.clkout1 */ >; }; + + leds_base_pins: pinmux_leds_base_pins { + pinctrl-single,pins = < + 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */ + 0x88 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn3.gpio2_0 */ + >; + }; }; &lcdc {
Signature · 1 line
1.8.4.2
PATCH v2 8/11 ARM: dts: AM33XX BASE0033: add 32KBit EEPROM support.
In reply to Javier Martinez CanillasFrom: Enric Balletbo i Serra <[email protected]>
The IGEP AQUILA EXPANSION has a 32KBit EEPROM for user data storage.
--- arch/arm/boot/dts/am335x-base0033.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/am335x-base0033.dts +7 -0
@@ -87,3 +87,10 @@ status = "okay"; }; +&i2c0 { + eeprom: eeprom at 50 { + compatible = "at,24c256"; + reg = <0x50>; + }; +}; +
Signature · 1 line
1.8.4.2
PATCH v2 9/11 ARM: dts: AM33XX IGEP0033: add USB support.
In reply to Javier Martinez CanillasFrom: Enric Balletbo i Serra <[email protected]>
Add node to support the USB Host and the USB OTG on the IGEP AQUILA Processor Board.
--- arch/arm/boot/dts/am335x-igep0033.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
arch/arm/boot/dts/am335x-igep0033.dtsi +29 -0
@@ -199,6 +199,35 @@ pinctrl-0 = <&uart0_pins>; }; +&usb { + status = "okay"; + + control at 44e10000 { + status = "okay"; + }; + + usb-phy at 47401300 { + status = "okay"; + }; + + usb-phy at 47401b00 { + status = "okay"; + }; + + usb at 47401000 { + status = "okay"; + }; + + usb at 47401800 { + status = "okay"; + dr_mode = "host"; + }; + + dma-controller at 07402000 { + status = "okay"; + }; +}; + #include "tps65910.dtsi" &tps {
Signature · 1 line
1.8.4.2
PATCH v2 10/11 ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
In reply to Javier Martinez CanillasIGEP's DVI connector's DDC pins are connected to OMAP's third i2c bus.
When booting with Device Trees the requested bus number is set to -1 which means that the bus number should be dynamically assigned. So the third i2c bus has 2 has a bus number.
Since now only DT booting is supported for IGEP boards after commit 06ff74fd ("ARM: OMAP2+: remove legacy support for IGEP boards"), the i2c bus number has to be changed.
--- arch/arm/mach-omap2/dss-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/dss-common.c +1 -1
@@ -223,7 +223,7 @@ void __init omap_4430sdp_display_init_of(void)static struct connector_dvi_platform_data omap3_igep2_dvi_connector_pdata = { .name ="dvi" , .source ="tfp410.0" , - .i2c_bus_num =3 , + .i2c_bus_num =2 , };static struct platform_device omap3_igep2_dvi_connector_device = {
Signature · 1 line
1.8.4.2
PATCH v2 11/11 ARM: dts: omap3-igep0020: name twl4030 VPLL2 regulator as vdds_dsi
In reply to Javier Martinez CanillasOn Device Tree boot the VDDS_DSI regulator is not linked to the DPI device so omapfb driver probing fails with:
[ 3.186035] OMAPFB: omapfb_probe [ 3.190704] omapdss DPI error: can't get VDDS_DSI regulator [ 3.196594] omapfb omapfb: failed to connect default display [ 3.202667] omapfb omapfb: failed to init overlay connections [ 3.208892] OMAPFB: free_resources [ 3.212493] OMAPFB: free all fbmem [ 3.216735] omapfb omapfb: failed to setup omapfb
As a workaround name the VPLL2 regulator from twl4030 as vdds_dsi so getting the VDDS_DSI regulator will succeed on dpi_init_regulator().
--- arch/arm/boot/dts/omap3-igep0020.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/omap3-igep0020.dts +5 -0
@@ -215,3 +215,8 @@ &usbhsehci { phys = <&hsusb1_phy>; }; + +&vpll2 { + /* Needed for DSS */ + regulator-name = "vdds_dsi"; +};
Signature · 1 line
1.8.4.2
v2 cover : add remaining support for IGEP boards
In reply to Javier Martinez CanillasQuoted 41 lines · Javier Martinez Canillas
In order to make mach-omap2 Device Tree only, the board file for IGEP boards was removed even when support for wifi and display was still not supported by its DTS.
This is a second version of a patch-set that adds support for these remaining peripherals and also adds support for USB, HDMI and user LED for the am33xx SoC based IGEP Aquila board.
The patch-set is composed of the following patches:
Enric Balletbo i Serra (7):
ARM: dts: omap3-igep: Fix bus-width for mmc1.
ARM: dts: omap3-igep: Add support for LBEE1USJYC WiFi connected to SDIO.
ARM: dts: omap3-igep: Update to use the TI AM/DM37x processor.
ARM: dts: AM33XX BASE0033: add pinmux and hdmi node to enable display
ARM: dts: AM33XX BASE0033: add pinmux and user led support.
ARM: dts: AM33XX BASE0033: add 32KBit EEPROM support.
ARM: dts: AM33XX IGEP0033: add USB support.Javier Martinez Canillas (4):
ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
ARM: dts: omap3-igep0020: Add pinmuxing for DVI output
ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
ARM: dts: omap3-igep0020: name twl4030 VPLL2 regulator asvdds_dsiChanges since v1:
Don't add a workaround in
drivers/video/omap2/dss/dpi.cto use the VPLL2 regulator from twl4030 ifVDDS_DSIregulator is not linked to the DPI device since the used regulator is a per board configuration.Instead add a regulator-name = "
vdds_dsi" property to the regulator in the IGEPv2 DTS file as suggested by Tony Lindgren.Tony,
Most of these patches are just DTS changes so they have to be picked by Benoit besides the following patch that has to go through your tree
[PATCH 10/11] ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
Quoted 7 lines
Since we have removed the board file for IGEP boards I think these can be considered as regression fixes for 3.13 although I don't mind if you prefer to wait for 3.14.
Thanks a lot and best regards,
Javier
--
Hi Benoit and Tony,
Now that 3.13-rc1 is out, do you think that it would be possible to include this series as a fix for the -rc cycle?
Otherwise we will have missing functionality for IGEP boards on 3.13 due the board file removal. The changes are mostly DT and won't affect other boards.
Thanks a lot and best regards,
Javier
v2 cover : add remaining support for IGEP boards
Quoted 51 lines · Javier Martinez Canillas
Quoted 41 lines · Javier Martinez Canillas
In order to make mach-omap2 Device Tree only, the board file for IGEP boards was removed even when support for wifi and display was still not supported by its DTS.
This is a second version of a patch-set that adds support for these remaining peripherals and also adds support for USB, HDMI and user LED for the am33xx SoC based IGEP Aquila board.
The patch-set is composed of the following patches:
Enric Balletbo i Serra (7):
ARM: dts: omap3-igep: Fix bus-width for mmc1.
ARM: dts: omap3-igep: Add support for LBEE1USJYC WiFi connected to SDIO.
ARM: dts: omap3-igep: Update to use the TI AM/DM37x processor.
ARM: dts: AM33XX BASE0033: add pinmux and hdmi node to enable display
ARM: dts: AM33XX BASE0033: add pinmux and user led support.
ARM: dts: AM33XX BASE0033: add 32KBit EEPROM support.
ARM: dts: AM33XX IGEP0033: add USB support.Javier Martinez Canillas (4):
ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
ARM: dts: omap3-igep0020: Add pinmuxing for DVI output
ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
ARM: dts: omap3-igep0020: name twl4030 VPLL2 regulator asvdds_dsiChanges since v1:
Don't add a workaround in
drivers/video/omap2/dss/dpi.cto use the VPLL2 regulator from twl4030 ifVDDS_DSIregulator is not linked to the DPI device since the used regulator is a per board configuration.Instead add a regulator-name = "
vdds_dsi" property to the regulator in the IGEPv2 DTS file as suggested by Tony Lindgren.Tony,
Most of these patches are just DTS changes so they have to be picked by Benoit besides the following patch that has to go through your tree
[PATCH 10/11] ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
Quoted 7 lines
Since we have removed the board file for IGEP boards I think these can be considered as regression fixes for 3.13 although I don't mind if you prefer to wait for 3.14.
Thanks a lot and best regards,
Javier
--
Quoted 8 lines
Hi Benoit and Tony,
Now that 3.13-rc1 is out, do you think that it would be possible to include this series as a fix for the -rc cycle?
Otherwise we will have missing functionality for IGEP boards on 3.13 due the board file removal. The changes are mostly DT and won't affect other boards.
The DSS related parts look fine to me.
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131126/2396ccc3/attachment.sig>
Tony Lindgren
maintainerv2 cover : add remaining support for IGEP boards
Quoted 54 lines · Tomi Valkeinen
Quoted 53 lines · Javier Martinez Canillas
Quoted 41 lines · Javier Martinez Canillas
In order to make mach-omap2 Device Tree only, the board file for IGEP boards was removed even when support for wifi and display was still not supported by its DTS.
This is a second version of a patch-set that adds support for these remaining peripherals and also adds support for USB, HDMI and user LED for the am33xx SoC based IGEP Aquila board.
The patch-set is composed of the following patches:
Enric Balletbo i Serra (7):
ARM: dts: omap3-igep: Fix bus-width for mmc1.
ARM: dts: omap3-igep: Add support for LBEE1USJYC WiFi connected to SDIO.
ARM: dts: omap3-igep: Update to use the TI AM/DM37x processor.
ARM: dts: AM33XX BASE0033: add pinmux and hdmi node to enable display
ARM: dts: AM33XX BASE0033: add pinmux and user led support.
ARM: dts: AM33XX BASE0033: add 32KBit EEPROM support.
ARM: dts: AM33XX IGEP0033: add USB support.Javier Martinez Canillas (4):
ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
ARM: dts: omap3-igep0020: Add pinmuxing for DVI output
ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
ARM: dts: omap3-igep0020: name twl4030 VPLL2 regulator asvdds_dsiChanges since v1:
Don't add a workaround in
drivers/video/omap2/dss/dpi.cto use the VPLL2 regulator from twl4030 ifVDDS_DSIregulator is not linked to the DPI device since the used regulator is a per board configuration.Instead add a regulator-name = "
vdds_dsi" property to the regulator in the IGEPv2 DTS file as suggested by Tony Lindgren.Tony,
Most of these patches are just DTS changes so they have to be picked by Benoit besides the following patch that has to go through your tree
[PATCH 10/11] ARM: OMAP: dss-common: change IGEP's DVI DDC i2c bus
Quoted 7 lines
Since we have removed the board file for IGEP boards I think these can be considered as regression fixes for 3.13 although I don't mind if you prefer to wait for 3.14.
Thanks a lot and best regards,
Javier
--Hi Benoit and Tony,
Quoted 8 lines
Quoted 6 lines
Now that 3.13-rc1 is out, do you think that it would be possible to include this series as a fix for the -rc cycle?
Otherwise we will have missing functionality for IGEP boards on 3.13 due the board file removal. The changes are mostly DT and won't affect other boards.
The DSS related parts look fine to me.
Thanks, applying the whole series into omap-for-v3.13/fixes-take4.
Regards,
Tony