Thread (43 messages) flat view 43 messages, 5 authors, 2012-07-19
STALE5162d

Revision v1 of 16 in this series.

Revisions (16)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v1 [diff vs current]
  7. v1 [diff vs current]
  8. v1 current
  9. v1 [diff vs current]
  10. v2 [diff vs current]
  11. v2 [diff vs current]
  12. v2 [diff vs current]
  13. v2 [diff vs current]
  14. v2 [diff vs current]
  15. v2 [diff vs current]
  16. v2 [diff vs current]

[PATCH 3/7] ARM: mxs: convert m28evk board to device tree

From: marex@denx.de (Marek Vasut)
Date: 2012-07-09 08:46:36

Dear Shawn Guo,

[...]
quoted
Drop the pwm3 stuff, it's not used.
Okay.  I saw the following in mach-m28evk.c, and thought it's being
used by backlight.  But you knows it better than me.
Well ... the support for that board that's in current mainline is pretty 
deprecated. And I wasn't really able to update it due to all the DT hype, you 
know the rest of the story more then well etc. etc.
static const iomux_cfg_t m28evk_pads[] __initconst = {
	...
        /* Backlight */
        MX28_PAD_PWM3__GPIO_3_28 | MXS_PAD_CTRL,
};
quoted
quoted
+			pinctrl at 80018000 {
+				pinctrl-names = "default";
+				pinctrl-0 = <&hog_pins_a>;
+
+				hog_pins_a: hog-gpios at 0 {
+					reg = <0>;
+					fsl,pinmux-ids = <
+						0x30a3 /*
MX28_PAD_AUART2_CTS__GPIO_3_10 */
quoted
+						0x30b3 /*
MX28_PAD_AUART2_RTS__GPIO_3_11 */
These two were copied from your initial m28evk DTS file, which says
GPIO_3_10 is used as wp-gpios of mmc0 and GPIO_3_11 is used as
phy-reset-gpios of fec.
Ah. Leave them there then. Just checked, they're correct.
quoted
quoted
+						0x3103 /*
MX28_PAD_PWM0__GPIO_3_16 */
quoted
+						0x3113 /*
MX28_PAD_PWM1__GPIO_3_17 */
From what mach-m28evk.c tells, they are used as m28evk_leds.
There're no leds on the thing that are controlled by GPIOs.

[...]
quoted
quoted
+	else if (of_machine_is_compatible("denx,m28evk"))
+		m28evk_init();
I think you need to call imx28_evk_init() here ?
Eh, why?
To start the enet_out clock.

[...]

Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help