Device-Tree: SDHCI node properties

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Device-Tree: SDHCI node properties

1,540 Views
gdobato
Contributor I

Hello,

I am working on a IMX6DL based SoM. I have notice that some warnings/errors are reported on Kernel trace regarding cd-gpio and wp-gpio of the SDHCI node :

sdhci: Secure Digital Host Controller Interface driver

[    1.814823] sdhci: Copyright(c) Pierre Ossman

[    1.819209] sdhci-pltfm: SDHCI platform and OF driver helper

[    1.825789] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/soc/aips-bus@02100000/usdhc@02190000[0]'

[    1.825807] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/aips-bus@02100000/usdhc@02190000[0]'

[    1.825843] sdhci-esdhc-imx 2190000.usdhc: GPIO lookup for consumer cd

[    1.825857] sdhci-esdhc-imx 2190000.usdhc: using device tree for GPIO lookup

[    1.825875] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/soc/aips-bus@02100000/usdhc@02190000[0]'

[    1.825891] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/soc/aips-bus@02100000/usdhc@02190000[0]'

[    1.825905] sdhci-esdhc-imx 2190000.usdhc: using lookup tables for GPIO lookup

[    1.825921] sdhci-esdhc-imx 2190000.usdhc: lookup for GPIO cd failed

[    1.825937] sdhci-esdhc-imx 2190000.usdhc: GPIO lookup for consumer wp

[    1.825951] sdhci-esdhc-imx 2190000.usdhc: using device tree for GPIO lookup

[    1.825968] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/aips-bus@02100000/usdhc@02190000[0]'

[    1.825984] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc/aips-bus@02100000/usdhc@02190000[0]'

[    1.825998] sdhci-esdhc-imx 2190000.usdhc: using lookup tables for GPIO lookup

[    1.826012] sdhci-esdhc-imx 2190000.usdhc: lookup for GPIO wp failed

[    1.826049] sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode

[    1.872405] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

[    1.884771] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/soc/aips-bus@02100000/usdhc@02194000[0]'

[    1.884790] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/aips-bus@02100000/usdhc@02194000[0]'

AFAIK, both properties should be optionals, right ? Is there away to avoid the reported errors ?

Thank you,

Gabriel

Labels (6)
0 Kudos
Reply
1 Reply

727 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Most of the console debug messages are shown thanks to the pr_debug function.

You may try to disable the DEBUG flag when compiling the kernel. The -U option may help.

Preprocessor Options - Using the GNU Compiler Collection (GCC)

Best Regards,

Alejandro

0 Kudos
Reply