Re: [PATCH] ARM: dts: disable mmc by default and enable when needed for dm814x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Nicolas Chauvet <kwizart@xxxxxxxxx> [160504 07:06]:
> This patch disable mmc nodes by default in the dm814x.dtsi and
> enable only when needed on a given dts

It's actually better to do it the other way around where we
by default have everything enabled. This is because if we set
something with status = "disabled", Linux kernel completely
ignores the device as if it never existed. So it's better to
disable things if really needed in the board specific DTS files
from PM point of view as things are then initialized to a sane
state in the kernel.

Note that I suggested additional status = "fail-hw-incomplete"
to deal with cases like this, but that discussion is still going
on so it will be a while where we can probe the device and bail
out after idling it.

Cheers,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux