Other Parts Discussed in Thread: TPS65910, TMP275
Tool/software: Linux
I have a problem relative to gpio registration.
I filled in cd-gpios field in mmc block of dts file. (the dts file is copy of am335x-evm.dts)
But, after entire booting, I could'nt see the gpio interrupt entry of mmc like shown.
My dts is like this.
Due to this problem, am3352 couldn't detect the mmc memory.
My kernel log is shown
~# dmesg | grep mmc [ 1.084390] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.084411] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.084443] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 1.084532] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.089296] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.089311] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.089323] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 1.089334] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 1.089345] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.089357] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 1.188728] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.188754] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.188789] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 1.188878] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.193529] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.193538] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.193549] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 1.193560] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 1.193570] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.193582] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 6.965842] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 6.965872] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 6.966124] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 6.966225] omap_hsmmc 48060000.mmc: Got CD GPIO [ 6.970881] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 6.970891] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 6.970904] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 6.970915] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 6.970925] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 6.970937] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 7.275062] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 7.275082] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 7.275118] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 7.275193] omap_hsmmc 48060000.mmc: Got CD GPIO [ 7.328324] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 7.328434] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 7.328457] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 7.328469] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 7.328480] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 7.328492] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 7.614726] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 7.614758] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 7.614796] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 7.614889] omap_hsmmc 48060000.mmc: Got CD GPIO [ 7.645697] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 7.645733] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 7.645752] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 7.645763] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 7.645774] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 7.645787] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 7.717309] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 7.717340] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 7.717377] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 7.717404] omap_hsmmc 48060000.mmc: Got CD GPIO [ 7.722054] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 7.722064] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 7.722075] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 7.722086] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 7.722096] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 7.722108] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
I'm working on custom board and SDK 2.0.2.11.
I am testing the mmc1 (=mmc0 in H/W) in order to use mmc3 (=mmc2 in H/W)
Somebody help me.