Re: Tegra board file deprecation schedule

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

 



On Sat, Apr 28, 2012 at 06:09:32PM +0200, Marc Dietrich wrote:
> Another (maybe a bit off-topic) thing that puzzels me is the how to assign
> the clock to the nvec.

What's the nvec?

> The device needs the clock (tegra-i2c.2) but there is no sane way to get
> it. I was thinking to add an device name alias (nvec = tegra-i2c.2) to
> the board file so I can use clk_get(&pdev->dev, NULL) instead of 
> clk_get_sys which seems to be unwanted.

clk_get() is preferred in drivers which have struct device's to get them.
And if you know the device name, then I see no problem with the aliasing
approach.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux