clk: mxs: add clkdev lookup for pwm
Subsystems (2)
PATCH 1/1 clk: mxs: add clkdev lookup for pwm
Add pwm clock lookup for imx23 and imx28 booting from device tree.
--- drivers/clk/mxs/clk-imx23.c | 1 + drivers/clk/mxs/clk-imx28.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/clk/mxs/clk-imx23.c +1 -0
@@ -189,6 +189,7 @@ int __init mx23_clocks_init(void) }clk_register_clkdev (clks[clk32k],NULL ,"timrot" ); +clk_register_clkdev (clks[pwm],NULL ,"80064000.pwm" );clk_register_clkdevs (clks[hbus], hbus_lookups,ARRAY_SIZE (hbus_lookups));clk_register_clkdevs (clks[xbus], xbus_lookups,ARRAY_SIZE (xbus_lookups));clk_register_clkdevs (clks[uart], uart_lookups,ARRAY_SIZE (uart_lookups));
drivers/clk/mxs/clk-imx28.c +1 -0
@@ -314,6 +314,7 @@ int __init mx28_clocks_init(void)clk_register_clkdev (clks[clk32k],NULL ,"timrot" );clk_register_clkdev (clks[enet_out],NULL ,"enet_out" ); +clk_register_clkdev (clks[pwm],NULL ,"80064000.pwm" );clk_register_clkdevs (clks[hbus], hbus_lookups,ARRAY_SIZE (hbus_lookups));clk_register_clkdevs (clks[xbus], xbus_lookups,ARRAY_SIZE (xbus_lookups));clk_register_clkdevs (clks[uart], uart_lookups,ARRAY_SIZE (uart_lookups));
Signature · 1 line
1.7.5.4
PATCH 1/1 clk: mxs: add clkdev lookup for pwm
Mike,
I queued this one on my clk/mxs-for-3.6 branch together with another couple of clk/mxs patches, and will send you a pull-request at a later time.
Regards,
Shawn
Quoted 36 lines · Shawn Guo
Add pwm clock lookup for imx23 and imx28 booting from device tree.
Signed-off-by Shawn Guo <[email protected]>--- drivers/clk/mxs/clk-imx23.c | 1 + drivers/clk/mxs/clk-imx28.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)drivers/clk/mxs/clk-imx23.c +1
-0@@ -189,6 +189,7 @@ int __init mx23_clocks_init(void) }clk_register_clkdev (clks[clk32k],NULL ,"timrot" ); +clk_register_clkdev (clks[pwm],NULL ,"80064000.pwm" );clk_register_clkdevs (clks[hbus], hbus_lookups,ARRAY_SIZE (hbus_lookups));clk_register_clkdevs (clks[xbus], xbus_lookups,ARRAY_SIZE (xbus_lookups));clk_register_clkdevs (clks[uart], uart_lookups,ARRAY_SIZE (uart_lookups));drivers/clk/mxs/clk-imx28.c +1
-0@@ -314,6 +314,7 @@ int __init mx28_clocks_init(void)clk_register_clkdev (clks[clk32k],NULL ,"timrot" );clk_register_clkdev (clks[enet_out],NULL ,"enet_out" ); +clk_register_clkdev (clks[pwm],NULL ,"80064000.pwm" );clk_register_clkdevs (clks[hbus], hbus_lookups,ARRAY_SIZE (hbus_lookups));clk_register_clkdevs (clks[xbus], xbus_lookups,ARRAY_SIZE (xbus_lookups));clk_register_clkdevs (clks[uart], uart_lookups,ARRAY_SIZE (uart_lookups));Signature · 1 line
1.7.5.4
PATCH 1/1 clk: mxs: add clkdev lookup for pwm
Quoted 6 lines · Shawn Guo
Mike,
I queued this one on my clk/mxs-for-3.6 branch together with another couple of clk/mxs patches, and will send you a pull-request at a later time.
Shawn,
OK great. This patch looks fine to me and I finally got a branch into clk-next, so just send your pull request along and I'll get it in.
Regards,
Mike
Quoted 41 lines
Regards,
ShawnQuoted 36 lines · Shawn Guo
Add pwm clock lookup for imx23 and imx28 booting from device tree.
Signed-off-by Shawn Guo <[email protected]>--- drivers/clk/mxs/clk-imx23.c | 1 + drivers/clk/mxs/clk-imx28.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)drivers/clk/mxs/clk-imx23.c +1
-0@@ -189,6 +189,7 @@ int __init mx23_clocks_init(void) }clk_register_clkdev (clks[clk32k],NULL ,"timrot" ); +clk_register_clkdev (clks[pwm],NULL ,"80064000.pwm" );clk_register_clkdevs (clks[hbus], hbus_lookups,ARRAY_SIZE (hbus_lookups));clk_register_clkdevs (clks[xbus], xbus_lookups,ARRAY_SIZE (xbus_lookups));clk_register_clkdevs (clks[uart], uart_lookups,ARRAY_SIZE (uart_lookups));drivers/clk/mxs/clk-imx28.c +1
-0@@ -314,6 +314,7 @@ int __init mx28_clocks_init(void)clk_register_clkdev (clks[clk32k],NULL ,"timrot" );clk_register_clkdev (clks[enet_out],NULL ,"enet_out" ); +clk_register_clkdev (clks[pwm],NULL ,"80064000.pwm" );clk_register_clkdevs (clks[hbus], hbus_lookups,ARRAY_SIZE (hbus_lookups));clk_register_clkdevs (clks[xbus], xbus_lookups,ARRAY_SIZE (xbus_lookups));clk_register_clkdevs (clks[uart], uart_lookups,ARRAY_SIZE (uart_lookups));Signature · 1 line
1.7.5.4