Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751932AbbL1LnS (ORCPT ); Mon, 28 Dec 2015 06:43:18 -0500 Received: from smtprelay4.synopsys.com ([198.182.47.9]:37171 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467AbbL1LnP (ORCPT ); Mon, 28 Dec 2015 06:43:15 -0500 Subject: Re: [PATCH v5 09/20] ARC: IRQ: use device tree to get timer device configuration To: Noam Camus , References: <1451222619-3610-1-git-send-email-noamc@ezchip.com> <1451222619-3610-10-git-send-email-noamc@ezchip.com> CC: , , , Newsgroups: gmane.linux.kernel.arc,gmane.linux.kernel From: Vineet Gupta Message-ID: <5681203F.1010907@synopsys.com> Date: Mon, 28 Dec 2015 17:12:55 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1451222619-3610-10-git-send-email-noamc@ezchip.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.197.208] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1471 Lines: 42 On Sunday 27 December 2015 06:53 PM, Noam Camus wrote: > From: Noam Camus > > We've designated: > TIMER0 for events (clockevents) > TIMER1 for free running (clocksource) > > Till now timer configuration was done on arch/arc/kernel/time.c > with constant values. > > This commit add device tree support so we can do this work > at dedicated clocksource driver which parse the DT blob. > > Such driver will get clocksource rate as well as interrupt line > from DT and use them for setting clocksourcse and clockevents. > > Note that lately called of_clk_init() is moved before we call > clocksource_probe() since at that time device from DT > need a "provider" (clocks) which will be available only after > we call to of_clk_init(). > > Signed-off-by: Noam Camus > Acked-by: Vineet Gupta For patches which change semantically, ACK should not be copied over from prev version. I do have some reservation with this patch. I think we should just fix ARC once and for all by removing the legacy registration. This would be a flag day change but I think we should be fine ! No point in keeping 2 implementations ! @Noam let me take a stab at it - OK ! -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/