Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions
From: Michal Simek
Date: Wed Feb 13 2013 - 11:21:25 EST
2013/2/7 Rob Herring <robherring2@xxxxxxxxx>:
> From: Rob Herring <rob.herring@xxxxxxxxxxx>
> In cases where we have multiple nodes of the same type, we may need the
> node pointer to know which node was matched. Passing the node pointer
> also keeps the init function from having to match the node a 2nd time.
> Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>
> Cc: John Stultz <johnstul@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> drivers/clocksource/clksrc-of.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Tested-by: Michal Simek <michal.simek@xxxxxxxxxx>
The rest is just the same as I have done. Any option to add these
patches to v3.9?
Because I need these patches for zynq timer because we have two in the soc.
Is it OK to register several clock source and clockevent devices?
btw: there is still one issue because you can just setup only one
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/