Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753599AbcKYJSM (ORCPT ); Fri, 25 Nov 2016 04:18:12 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36614 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230AbcKYJSC (ORCPT ); Fri, 25 Nov 2016 04:18:02 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH 7/9] clocksource/drivers/rockchip_timer: implement clocksource timer From: Alexander Kochetkov In-Reply-To: <1800621.EhepfMxccR@diego> Date: Fri, 25 Nov 2016 12:17:53 +0300 Cc: daniel.lezcano@linaro.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Message-Id: <3FBBE6BD-3090-40AE-A4C7-5035D75A0F4C@gmail.com> References: <1479922177-20136-1-git-send-email-al.kochet@gmail.com> <1479922177-20136-7-git-send-email-al.kochet@gmail.com> <1800621.EhepfMxccR@diego> To: =?utf-8?Q?Heiko_St=C3=BCbner?= X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id uAP9IGAO010857 Content-Length: 1695 Lines: 48 Hello Heiko! > 24 нояб. 2016 г., в 15:17, Heiko Stübner написал(а): > > When touching devicetree-properties, please also adapt the binding document > Documentation/devicetree/bindings/timer,rockchip,rk-timer.txt > in this case and also include the devicetree maintainers. Could you please clarify, i should send whole patch series and include devicetree maintainers for whole patch series or i should send devicetree patches separately? > 24 нояб. 2016 г., в 16:21, Heiko Stübner написал(а): > > correct, use both but also update the binding, like > mmc/rockchip-dw-mshc.txt does. Here devicetree patch for this: http://www.spinics.net/lists/devicetree/msg152246.html > 24 нояб. 2016 г., в 17:32, Heiko Stübner написал(а): > >> I may suggest such solution here: if I want clocksource, I have to declare >> two timer in device tree. First probed timer would be clockevent and second >> one would be clocksource. All other timers will be ignored. Is that >> solution good? > > yep, sounds good, especially as with your patch 9/9 you already declare these > necessary timers. > >> If I want one timer and want it be clocksource not clockevent how that >> situation should be configured? Device tree not good for this. Kconfig not >> good. Pass that configuration on kernel command line? > > simply ignore that case :-) Here devicetree patch for this: http://www.spinics.net/lists/devicetree/msg152247.html And I’ll going to resend new patch series with discussed modifications. It will contain only rk_timer and dts modifications. I have to do more tests. Regards, Alexander.