lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 5 Nov 2012 14:02:32 +0100 From: Michal Simek <monstr@...str.eu> To: Josh Cartwright <josh.cartwright@...com> Cc: Grant Likely <grant.likely@...retlab.ca>, Rob Herring <rob.herring@...xeda.com>, Russell King <linux@....linux.org.uk>, Mike Turquette <mturquette@...com>, John Stultz <johnstul@...ibm.com>, Thomas Gleixner <tglx@...utronix.de>, Alan Cox <alan@...ux.intel.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, John Linn <John.Linn@...inx.com>, devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-serial@...r.kernel.org Subject: Re: [PATCH 8/8] clocksource: xilinx_ttc: add OF_CLK support 2012/10/31 Josh Cartwright <josh.cartwright@...com>: > Add support for retrieving TTC configuration from device tree. This > includes the ability to pull information about the driving clocks from > the of_clk bindings. > > Signed-off-by: Josh Cartwright <josh.cartwright@...com> > --- > arch/arm/boot/dts/zynq-7000.dtsi | 53 ++++++++ > arch/arm/boot/dts/zynq-zc702.dts | 10 ++ > drivers/clocksource/xilinx_ttc.c | 273 ++++++++++++++++++++++----------------- > 3 files changed, 218 insertions(+), 118 deletions(-) > > diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi > index 5fb763f..9a2442c 100644 > --- a/arch/arm/boot/dts/zynq-7000.dtsi > +++ b/arch/arm/boot/dts/zynq-7000.dtsi > @@ -109,5 +109,58 @@ > }; > }; > }; > + > + ttc0: ttc0@...01000 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "xlnx,ttc"; > + reg = <0xF8001000 0x1000>; > + clocks = <&cpu_clk 3>; > + clock-names = "cpu_1x"; > + clock-ranges; > + > + ttc0_0: ttc0.0 { > + status = "disabled"; > + reg = <0>; > + interrupts = <0 10 4>; > + }; > + ttc0_1: ttc0.1 { > + status = "disabled"; > + reg = <1>; > + interrupts = <0 11 4>; > + }; > + ttc0_2: ttc0.2 { > + status = "disabled"; > + reg = <2>; > + interrupts = <0 12 4>; > + }; > + }; > + > + ttc1: ttc0@...02000 { Also this is ttc1: ttc1. These type of faults can be simple removed by proper dts node generation. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists