Received: by 10.192.165.148 with SMTP id m20csp536734imm; Wed, 2 May 2018 04:52:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo5oCK/JPcI2yUp2jWzhJueULKcyQaQPQMaubhKAMBmi0gU7FrjVmfN4hEbMzOFf5qz3Rhb X-Received: by 2002:a63:7f56:: with SMTP id p22-v6mr16037210pgn.306.1525261925889; Wed, 02 May 2018 04:52:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525261925; cv=none; d=google.com; s=arc-20160816; b=EjP/YaYyU5vie8FE5r3aqAJ1MX7ow7dGWLVjhFHVWpeZKUPPGscjMt2EY1UmwU1iH/ BYnmvyz8lNVwJbaqJUZplun5FbtElv4cpNBKlyN1ZfDULvWV/tKx2m1thN2LkiM0WSSV UEc1mmwJPEC5TgKi6elOLlgE3Kez7pfTs4hpUbzsvtPtlzvnb9nVoud6N+jaZQvdmCC1 oHtAWUldR4a0NVlVyAuGTjmXR4LDf1cX4XQS2QFBYLAe71QnoneeigXEPtPHJLnHlneq /xiUUrwD1p9hyPrp5ggbdPtFjbBAWDSnWxaRplNdU2M52i9mKWMlQW7XMwq5Xnbnca1O kfUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=XtOnHQkRpIhUm23hud2ozuLZpb6fdlyfA9JOfyZjV8E=; b=UfkWssA2JMHdoPu+bnW+SyLeHBdGHGCiosV6yZktLGWbTpDiyiMf8NMHHlfm2JHJtj cxGbTD7ALb9AKRdk3R3wDvUzzSu+mnj9HOH1OTRh3Mu0FADXvh2HyY8VG+ZjUMyWAy/C 2Q49nMAEzS1xcQiy4hAwUeBOyP+NW7uX9EHKGWovikwKLNC471wsdXYNs3kqiMGcZ/7o 5x6UA3M5lGcFX2Sk3+TkX7hh23Y8ivz8N9mSw7b3LuJPOA0zX3QlPbNVE7/TvchOnqM6 XpUCt5V0QjO1+HKH9C4aDuwMizP/NHlP/3L06hvhXckdipUpmM0yt8PfqZtKeJ8AcAT0 fyEA== 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 g130si6288276pfc.366.2018.05.02.04.51.51; Wed, 02 May 2018 04:52:05 -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; 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 S1751538AbeEBLtx (ORCPT + 99 others); Wed, 2 May 2018 07:49:53 -0400 Received: from mail.bootlin.com ([62.4.15.54]:48008 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751276AbeEBLtg (ORCPT ); Wed, 2 May 2018 07:49:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 81B1C207D4; Wed, 2 May 2018 13:49:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.187]) by mail.bootlin.com (Postfix) with ESMTPSA id 46C78206FB; Wed, 2 May 2018 13:49:24 +0200 (CEST) Date: Wed, 2 May 2018 13:49:24 +0200 From: Maxime Ripard To: Icenowy Zheng Cc: Jagan Teki , Chen-Yu Tsai , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [linux-sunxi] Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU Message-ID: <20180502114924.pq5k5p33svedgca4@flea> References: <20180430114058.5061-1-jagan@amarulasolutions.com> <20180430114058.5061-3-jagan@amarulasolutions.com> <20180502113250.5i2eyzv237t5oyl6@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tlzwoke5jer4kmrx" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tlzwoke5jer4kmrx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 02, 2018 at 07:34:21PM +0800, Icenowy Zheng wrote: >=20 >=20 > =E4=BA=8E 2018=E5=B9=B45=E6=9C=882=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D=887= :32:50, Maxime Ripard =E5=86=99=E5=88=B0: > >On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: > >> DE2 in A64 has clock control unit and behavior is > >> same like H3/H5, so reuse the same in A64. > >>=20 > >> Signed-off-by: Jagan Teki > >> --- > >> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++++++++++++++ > >> 1 file changed, 15 insertions(+) > >>=20 > >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >> index 1b2ef28c42bd..67b80bbe5bf5 100644 > >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >> @@ -43,9 +43,11 @@ > >> */ > >> =20 > >> #include > >> +#include > >> #include > >> #include > >> #include > >> +#include > >> =20 > >> / { > >> interrupt-parent =3D <&gic>; > >> @@ -168,6 +170,19 @@ > >> #size-cells =3D <1>; > >> ranges; > >> =20 > >> + display_clocks: clock@1000000 { > >> + compatible =3D "allwinner,sun50i-a64-de2-clk", > >> + "allwinner,sun50i-h5-de2-clk"; > > > >The A64 was released before the H5, so that should be the other way > >around. > > > >> + reg =3D <0x01000000 0x100000>; > >> + clocks =3D <&ccu CLK_DE>, > >> + <&ccu CLK_BUS_DE>; > >> + clock-names =3D "mod", > >> + "bus"; > >> + resets =3D <&ccu RST_BUS_DE>; > >> + #clock-cells =3D <1>; > >> + #reset-cells =3D <1>; > >> + }; > >> + > > > >So it turns out we don't need the SRAM to access the CCU driver? >=20 > As now U-Boot claims SRAM, people may forget thus :-( This is definitely not ok. We should have that described in the DT as well. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --tlzwoke5jer4kmrx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrppcMACgkQ0rTAlCFN r3TS6g//carLuWzIy6gha+84NR2oYZHnfTrCZDzIfkV9OoHOlG3v+7nyfdYl0O4G dTibYK/6m7OV1lbOtAyT3Kg04jwoRTnHZiRD5GIvIIPAm0H/xP8R93AsDlMRfW4y rGQc2yLAUzJQd9K5BnqcZnxaxG2brl56JYs36r9H9cCslnu2K6gRblQjRt9kExT3 lRvL7hGdSMk6K60xc1BHe5WQjcxqpo7vXuhaAjGfXvU3NfXOS2eZzLzRZGsH3Pk3 YAr3aEBkKnx65nvx9OsAAEWk3CkTozRKqiN1EQwU86LsCNohF27rpFa34QOeprLw 0gBUacVvfDXFiiU4uh7JqUR+IlwMA8DQaAWhyn6thMpU5vIzhTodapEQlPgWhcDT QlEJNeDgTy/418H+IFmq+hfZ+jtUu1rYj0SeFdji3d/5m+cY02P5dE4Dy/dbGUER /lo6z4tQ+ibn0hfpvZglqS2rlnfUU0UJ/igzXaq6MLRZcrayUGqG+dWOLpwIM8jb G8QHhAqcltvHqU2PM5PabUm1jQYXXjYAtNelryvBTRxoR22NqSqPz2lzY8nAkM6y bXtIZ1iqiJ8eYVNGOu0NLx/6S1YJEBm1Doq46igyah23oBUe2Z8TfEJhkvDfUUV2 Cl1PfMcz+wdhXZdCIJVSeMc/FXYoQdSsXueyCp1PefbxhfSr3q8= =b0Cy -----END PGP SIGNATURE----- --tlzwoke5jer4kmrx--