From: Alexander Syring Date: Wed, 02 Mar 2016 15:50:18 +0100 Message-ID: <3385442.a3NuqbveQI@alex-xw9400> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: [Xenomai] Portation of Allwinner A20 to Ipipe List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hello I've read the FAQ to port to new SoC but I don't know where to start with the timers. The A20 uses this drivers as I can see from the dts: [..] timer { compatible = "arm,armv7-timer"; interrupts = , , , ; }; [...] timer@01c20c00 { compatible = "allwinner,sun4i-a10-timer"; reg = <0x01c20c00 0x90>; interrupts = , , , , , ; clocks = <&osc24M>; }; [...] hstimer@01c60000 { compatible = "allwinner,sun7i-a20-hstimer"; reg = <0x01c60000 0x1000>; interrupts = , , , ; clocks = <&ahb_gates 28>; }; [...] So I found these drivers for the compatible tag arm,armv7-timer : drivers/clocksource/arm_arch_timer.c (with ipipe enabled) allwinner,sun4i-a10-timer : drivers/clocksource/sun4i_timer.c (no ipipe) allwinner,sun7i-a20-hstimer : drivers/clocksource/timer-sun5i.c (no ipipe) Can someone give me a hint in which file I have to change something or wihich file is the main file to do something? Regards Alex