commit | 0bbeb3c3e84bc963d1c66661e082d207023b0e5c | [log] [tgz] |
---|---|---|
author | Murali Karicheri <m-karicheri2@ti.com> | Mon Oct 22 11:58:01 2012 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 25 11:32:29 2012 -0700 |
tree | 7cde25a865c1acd1bc030da4816ea78603484ec8 | |
parent | cadf74869013dc309bde50ed446f56d33a6a9806 [diff] |
of serial port driver - add clk_get_rate() support Currently this driver expects the clock-frequency attribute. This patch allows getting clock-frequency through clk driver API clk_get_rate() if clock-frequency attribute is not defined. So in the device bindings for serial device, one can add clocks phandle to refer to the clk device to get the rate. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>