Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp21013imu; Mon, 26 Nov 2018 16:29:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/UO7q0Sqc/znh8kqPv3C02hKG/KSm/1n/DJ2F9KO9kwV3JFUJvSYpcWMTlvKZYkSk/cVwSZ X-Received: by 2002:a63:f006:: with SMTP id k6mr27159723pgh.259.1543278595468; Mon, 26 Nov 2018 16:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543278595; cv=none; d=google.com; s=arc-20160816; b=K8qbtd0mM9GXkbcz//D0iZKeQv5hmlOO/VhcfeLbVwGU849xtYaRhUwwadfdWB4HOH yuA9JKm5p5uevxya54Jmf/settYTdSOimb5g0Cj5JJkr0aeMdmtxaCOsf7/Ihb1RITHn /Dr0Kzqhdwmu1OjaRYIkGW/B5raJ9nv8zjVpeUzrh+QuMqa7xbgfTpoyNf6hyI7NKMIy uGpH+bkIiCrVVBu/W+7L+y46W45toNtLoMsCELWnM6+X2cHLLkFe9WOW20twgDAthnka kMpCmafxqsyj/fbH0Xjfdc6YzIxACvhFPVBuD6HShviaSp22yiy8t2k1+pI9Ait4i5r8 xz3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=AkFI+33Z7//zp2q7s8B+R1fm9jVx7KNU4ivhrBffxh8=; b=GLIk1+gUbGr6uv/BNKhJ2mVgiApQWgudzyDBNbxbtUU6korqJp0zYGc8TetkLlwQEj IDF5P51cmBXnaUVe34TokA18OYkEHJ3/zbovV4Iu318xwsTs7DreSeE4ObYYTHUEn4E9 Kme5xyV8ApirYq5BQF5hjHZfViC8BpqwzreE/cVQf0+Om3Farvd1ZA+/ZalA54x11L6a /9i2LmFGdpwZH6qcyDZi0NGLJfcypiJudMweGhckHD1SBwEBW45DXK/f33pFWDykOBEl +LQiwX/0lWMzxP50TSBjAa2blv+peijJCjsH1mm0Z8V0IPCrvVxNtW4yg2Yj5OGAFRD7 oCkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a68si1948357pla.267.2018.11.26.16.29.39; Mon, 26 Nov 2018 16:29:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727601AbeK0LZA (ORCPT + 99 others); Tue, 27 Nov 2018 06:25:00 -0500 Received: from gloria.sntech.de ([185.11.138.130]:33334 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727445AbeK0LZA (ORCPT ); Tue, 27 Nov 2018 06:25:00 -0500 Received: from ip5f5a905a.dynamic.kabel-deutschland.de ([95.90.144.90] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRRFM-0003Pl-Ib; Tue, 27 Nov 2018 01:29:00 +0100 From: Heiko Stuebner To: Otavio Salvador Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Thomas Gleixner , Rob Herring , Mark Rutland , Daniel Lezcano Subject: Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108 Date: Tue, 27 Nov 2018 01:28:59 +0100 Message-ID: <2433008.lBIgasatsU@phil> In-Reply-To: <20181126173506.24068-4-otavio@ossystems.com.br> References: <20181126173506.24068-1-otavio@ossystems.com.br> <20181126173506.24068-4-otavio@ossystems.com.br> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador: > Add support for the internal timer peripheral on RV1108. > > Signed-off-by: Otavio Salvador > --- looks good, but due to the newly added compatible I'll let this sit a bit longer to give Rob a chance to add a Review-tag or so. Heiko > > Changes in v2: > - add binding to doc > - fixup commit log > > .../devicetree/bindings/timer/rockchip,rk-timer.txt | 1 + > arch/arm/boot/dts/rv1108.dtsi | 8 ++++++++ > 2 files changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt > index 16a5f4577a61..d65fdce7c7f0 100644 > --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt > +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt > @@ -2,6 +2,7 @@ Rockchip rk timer > > Required properties: > - compatible: should be: > + "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108 > "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036 > "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066 > "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188 > diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi > index 23ac4b10d690..9683f3b00d9d 100644 > --- a/arch/arm/boot/dts/rv1108.dtsi > +++ b/arch/arm/boot/dts/rv1108.dtsi > @@ -293,6 +293,14 @@ > }; > }; > > + timer: timer@10350000 { > + compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer"; > + reg = <0x10350000 0x20>; > + interrupts = ; > + clocks = <&xin24m>, <&cru PCLK_TIMER>; > + clock-names = "timer", "pclk"; > + }; > + > watchdog: wdt@10360000 { > compatible = "snps,dw-wdt"; > reg = <0x10360000 0x100>; >