Received: by 10.192.165.148 with SMTP id m20csp1633738imm; Wed, 25 Apr 2018 23:14:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+LYtBDwHBtPbeG4/P6g2+dGAZrXSj4DDepdPcusW1CGf2W76zZ3JZ0BySoAubTplX8ogna X-Received: by 10.99.109.132 with SMTP id i126mr26221035pgc.414.1524723257395; Wed, 25 Apr 2018 23:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524723257; cv=none; d=google.com; s=arc-20160816; b=BK33zA+6pcKy1thEavn9ZGOxnpKen5Ge3MSUeqebSHGQe/SOhcIagadrDSqbrWvLR1 yCjb5Cya5ctNgsSvuN47qm5iktMT163/qak+aIep9pgNHLJdKgx1tMDmPbArmHPQoQWU f8VzIrxP2P8Z9YSGBiNkwpGO9UN2gV4zkJmm+6s0FrV5O63tn+iJzmb+3kjr8dSiRCi/ 4USwSDwnKEcasw80qLCcwHXVam5fqx8IgRKw6uLUN9KD74ykL4FoRqgPkeTfdTedO0fu js36jO/ekXUbWxelDK3YWRVhAnap2l1DTLJZKVnMc925M3NdyMpyw2kzQz+CBVg25aqE BQnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=ukvqLmXsuTmF/ewg0x0Wmxal7FnMWmBj5kgW7LAKkFA=; b=YKhaGLbsgdYbktzit3+QSTKLckJnZlnPvRLLhmIg8VdiiKirP4v7mB8eDvLnZuyEcG sCNwOJLbayKdQqed0pbgjkLiUdomhqnnIp6q6gRmq3ql2xiYOZFMRpjWwD2T3/zsI0K4 5F+fsj8wrqaryklHPlTGjAm4ge0m0uSXVQ/Bh5InrqzYTK5A1odyRyDC013dLQEg2WZT yll1CMEzfxWFAHFzUlTBSW0MsNSW3Uea3s72gvDZ4Mo9WQuPJwy3VvFqoShU25EPBJne gMuZ/y77HtXK7uFd6738xRGcD8FhfjC3bio8shrEQE/ktH2ORRlnjnO4o9uk6va6FHr5 rwbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=nbXhpsJt; 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 b97-v6si18386682plb.135.2018.04.25.23.14.03; Wed, 25 Apr 2018 23:14:17 -0700 (PDT) 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; dkim=fail header.i=@verge.net.au header.s=mail header.b=nbXhpsJt; 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 S1753003AbeDZGMz (ORCPT + 99 others); Thu, 26 Apr 2018 02:12:55 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:36624 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbeDZGMx (ORCPT ); Thu, 26 Apr 2018 02:12:53 -0400 Received: from penelope.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2D0F025BE9A; Thu, 26 Apr 2018 16:12:44 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1524723164; bh=AZVIRd2MNKZ3iK3Mh820Qic6MWZ0BfAPvX9CnmSRUgM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nbXhpsJtT/Y6uyn+pDGT3jeA1Vhq3kY6sjYfao80q0JlXoK/ZTHuGj2ky+AB30cU1 v9wgqFfp8mdA/7IYLd8Wbr8IAn6PuOvw1tlzEY5/P5SX7IJEgnliSUetjM72FH+Xxs bFgiKcuH4nis6ntKRpjoZ5ppVAX+OZ9bgRkyYseE= Received: by penelope.horms.nl (Postfix, from userid 7100) id BBA0AE20E6F; Thu, 26 Apr 2018 08:11:30 +0200 (CEST) Date: Thu, 26 Apr 2018 08:11:30 +0200 From: Simon Horman To: Jacopo Mondi Cc: geert@linux-m68k.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] ARM: dts: r8a7740: Enable CEU0 Message-ID: <20180426061124.hvgl3ijf6ulrdkmn@verge.net.au> References: <1524654920-18749-1-git-send-email-jacopo+renesas@jmondi.org> <1524654920-18749-3-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524654920-18749-3-git-send-email-jacopo+renesas@jmondi.org> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Jacopo, I'm very pleased to see this series. On Wed, Apr 25, 2018 at 01:15:20PM +0200, Jacopo Mondi wrote: > Enable CEU0 peripheral for Renesas R-Mobile A1 R8A7740. Given 'status = "disabled"' below I think you are describing but not enabling CEU0. Also in the subject. Should we also describe CEU1? > > Signed-off-by: Jacopo Mondi > --- > arch/arm/boot/dts/r8a7740.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi > index afd3bc5..05ec41e 100644 > --- a/arch/arm/boot/dts/r8a7740.dtsi > +++ b/arch/arm/boot/dts/r8a7740.dtsi > @@ -67,6 +67,16 @@ > power-domains = <&pd_d4>; > }; > > + ceu0: ceu@fe910000 { > + reg = <0xfe910000 0x100>; Should the size of the range be 0x3000 ? That would seem to match my reading of table 32.3 and also be consistent with r7s72100.dtsi. > + compatible = "renesas,r8a7740-ceu"; > + interrupts = ; > + clocks = <&mstp1_clks R8A7740_CLK_CEU20>; > + clock-names = "ceu20"; > + power-domains = <&pd_a4mp>; My reading of table 1.7 is that the power domain should be A4R (&pd_a4r). > + status = "disabled"; > + }; > + > cmt1: timer@e6138000 { > compatible = "renesas,cmt-48-r8a7740", "renesas,cmt-48"; > reg = <0xe6138000 0x170>; > -- > 2.7.4 >