Hi,
I'm trying to set mux modes for a 3530, package CBC in my board.c
(2.6.32 kernel) using an omap_board_mux entry:
 OMAP3_MUX(GPMC_WAIT1, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),

, but sysfs reports mode4:
# grep WAIT1 /sys/kernel/debug/omap_mux/board
OMAP3_MUX(GPMC_WAIT1, OMAP_PIN_INPUT | OMAP_MUX_MODE4),

I tried adding to bootargs "omap_mux=gpmc_wait1.gpmc_wait1=0x100", but
still got MODE4.  Doing "echo 0x100 >
/sys/kernel/debug/omap_mux/gpmc_wait1" gave me MODE0, but I'd prefer
to init pins in board.c.  I've also noticed for pin SDMMC2_DAT3 that
my OMAP3_MUX() entry specifies MODE1, but sysfs shows MODE4; it
changed to MODE1 after adding:
 omap_mux_init_signal("mcspi3_cs0", OMAP_PIN_OUTPUT);

Is just having the mode in omap_board_mux entries sufficient?

Thanks!
,
John
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to