Re: [PATCH v2] OMAPDSS: HACK: Ensure DSS clock domain gets out of idle when HDMI is enabled
From: Cousson, Benoit <hidden>
Date: 2012-02-16 10:16:42
Also in:
linux-fbdev
From: Cousson, Benoit <hidden>
Date: 2012-02-16 10:16:42
Also in:
linux-fbdev
On 2/16/2012 9:22 AM, Tomi Valkeinen wrote:
On Wed, 2012-02-15 at 11:59 -0800, Kevin Hilman wrote:quoted
"Cousson, Benoit"[off-list ref] writes:quoted
quoted
Kevin, Do we still need to set the dev.parent to omap_device_parent?Nope.quoted
I guess the default&platform_bus parent is good enough and potentially the DSS children should be able to overwrite that.Yes, now that we use PM domains, we don't need it. I just sent a patch to remove omap_device_parent.But it's still not possible to create a custom parent-child hierarchy with omap_devices. Or can I change the parent of a platform_device after it has been created? (doesn't sound very clean even if I can)
Nope, it has to be done before platform_device_add.
Thanks to Ohad patch [1] that Tony has just resent, you can use the
internal omap_device API and thus will be able to change the parent
before the registration.
Benoit
[1] ARM: OMAP: omap_device: Expose omap_device_{alloc, delete, register}