From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751771AbdAWQNN (ORCPT ); Mon, 23 Jan 2017 11:13:13 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33693 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751763AbdAWQNL (ORCPT ); Mon, 23 Jan 2017 11:13:11 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH v4 2/9] ARM: dts: rockchip: update compatible property for rk3228 timer From: Alexander Kochetkov In-Reply-To: <20170123154046.GF2166@mai> Date: Mon, 23 Jan 2017 19:13:06 +0300 Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Thomas Gleixner , Heiko Stuebner , Mark Rutland , Rob Herring , Russell King , Caesar Wang , Huang Tao Message-Id: References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> <1480436092-10728-1-git-send-email-al.kochet@gmail.com> <1480436092-10728-3-git-send-email-al.kochet@gmail.com> <20170123154046.GF2166@mai> To: Daniel Lezcano 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 v0NGDPSI013772 Hello Daniel! : > + > +&timer { > + compatible = "rockchip,rk3228-timer", "rockchip,rk3288-timer"; > +}; > 23 янв. 2017 г., в 18:40, Daniel Lezcano написал(а): > > I'm not sure this is correct, to which timer &timer will refer ? > > timer { > compatible = "arm,armv7-timer"; > ... > } > > timer: timer@110c0000 { > compatible = "rockchip,rk3288-timer"; > ... > } The block '&timer { …}' change compatible string for 'timer: timer@110c0000’ timer'. It refers to it using ’timer:’ label. 'arm,armv7-timer’ has ’timer’ node name without label and cannot be addressed in underline dts files. > Why not change the compatible string in the timer definition in rk322x.dtsi ? Initially my patch series was for rk3188 only. I declared rk3188 timer using rk3228 compatible string[1]. Heiko reviewed the series and suggest[2] to use another ‘compatible=‘ binding for rk3188. And suggest[3] to update rockchip,rk-timer.txt bindings, like mmc/rockchip-dw-mshc.txt does. So I updated rockchip,rk-timer.txt. rk322x family has has two parts rk3228 and rk3229. So I replaced rk322x to rk3228 and rk3229 and updated dts file to match bindings. [1] http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013152.html [2] http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013174.html [3] http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013174.html > Same comment for the other patches doing these changes. > > -- Daniel