Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp685171ybe; Fri, 6 Sep 2019 05:55:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqww7DvMiJP6/KCbmj2btNxM9jUIUjG9pA6YcfG5kGVA2ct6iRCcavnW7gSL8BLbPReGuHLs X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr9486361pjo.133.1567774516931; Fri, 06 Sep 2019 05:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567774516; cv=none; d=google.com; s=arc-20160816; b=fYM3rDxrJo5cebVhr9Z0Ize/PtwojDVg32LLgK92KYY1fBo9UU0hZzeh44ajwsR8VV CujayUki+/DpcgOFuAuXMVOdxXStOegtwDyVGNql4xNPKXxzLHlRPCueZPvP/BoU+bLp ye0XWwf+Y+EqY0PE6R/NgcwIaHmwr9XbOE6mmL8Q7+sBcAkj6eqPyxmkYK8qn5lIui2B qqq23DuCped05fbrslnJIHI9Kvfqro3IBBPAphGfO6J01vryxtsckpn3FRZeRaLDo/ZZ s6viZcLA5w7/rIHRNLJlZh4uTlvbmEqvP4BWyajp4zpIM36mMiKpDT4eHNfu49SeSV6x iI2w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=6OxbBb2zzngZgyhM5qguGrdI/JMTC3PQNJOALxyHVYI=; b=rOFgwVhNRAJYFBZjPqVyhGP3qqkkGhgsTFTBeI68r19/DJC+OrB9wgqfitFpQeeuLs w/qh7yS4asywiKecYCulz62PbTdJ99MSepdNQihnbsq3jq9E1u/bUtmxT+FRv982cI4/ jcI6YNklfmhHLxAZejbaEI6XUhqrleCMNsV5o/uGd3K7Eeu9M4eqCXq9SWOqSQMdbS+d hLaPF67CCJkwLb1rPhpgfEaKA+wEaxNka9PvJznkqsyco2VL2aRDu56P2GecGIMyyOPk rgMFVaZZM7X0zHKQ7ajdB4tD3x46Dt2K5su9mQ0BX1boacKxkeMXDkQl9OgoYsZyRYXC 0JEA== 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 o18si4798520pll.302.2019.09.06.05.55.01; Fri, 06 Sep 2019 05:55:16 -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 S1733299AbfIFF6R (ORCPT + 99 others); Fri, 6 Sep 2019 01:58:17 -0400 Received: from mail-sh.amlogic.com ([58.32.228.43]:6635 "EHLO mail-sh.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732510AbfIFF6R (ORCPT ); Fri, 6 Sep 2019 01:58:17 -0400 Received: from [10.18.29.226] (10.18.29.226) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Fri, 6 Sep 2019 13:59:06 +0800 Subject: Re: [PATCH v2 4/4] arm64: dts: add support for A1 based Amlogic AD401 To: Martin Blumenstingl CC: Kevin Hilman , , Rob Herring , Carlo Caione , Neil Armstrong , Jerome Brunet , , , , Jian Hu , Hanjie Lin , Xingyu Chen , Victor Wan , Qiufang Dai , Tao Zeng References: <1567667251-33466-1-git-send-email-jianxin.pan@amlogic.com> <1567667251-33466-5-git-send-email-jianxin.pan@amlogic.com> From: Jianxin Pan Message-ID: Date: Fri, 6 Sep 2019 13:59:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.29.226] X-ClientProxiedBy: mail-sh.amlogic.com (10.18.11.5) To mail-sh.amlogic.com (10.18.11.5) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Martin, Thanks for the review, we really appreciate your time. Please see my comments below. On 2019/9/6 4:15, Martin Blumenstingl wrote: > Hi Jianxin, > > (it's great to see that you and your team are upstreaming this early) > > On Thu, Sep 5, 2019 at 9:08 AM Jianxin Pan wrote: > [...] >> + memory@0 { >> + device_type = "memory"; >> + reg = <0x0 0x0 0x0 0x8000000>; >> + /*linux,usable-memory = <0x0 0x0 0x0 0x8000000>;*/ > why do we need that comment here (I don't understand it - why doesn't > the "reg" property cover this)? > I replaced "linux,usable-memory" with reg, but forgot to remove this comment line. I will remove this line in the next version. Thank you. >> + }; >> +}; >> + >> +&uart_AO_B { >> + status = "okay"; >> +}; >> diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi >> new file mode 100644 >> index 00000000..4d476ac >> --- /dev/null >> +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi >> @@ -0,0 +1,122 @@ >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> +/* >> + * Copyright (c) 2019 Amlogic, Inc. All rights reserved. >> + */ >> + >> +#include >> +#include >> + >> +/ { >> + compatible = "amlogic,a1"; >> + >> + interrupt-parent = <&gic>; >> + #address-cells = <2>; >> + #size-cells = <2>; >> + >> + cpus { >> + #address-cells = <0x2>; >> + #size-cells = <0x0>; > only now I notice that all our other .dtsi also use hex values > (instead of decimal as just a few lines above) here > do you know if there is a particular reason for this? > I just copied from the previous series, and didn't notice the difference before.> [...] >> + uart_AO_B: serial@fe002000 { >> + compatible = "amlogic,meson-gx-uart", >> + "amlogic,meson-ao-uart"; >> + reg = <0x0 0xfe002000 0x0 0x18>; > the indentation of the "reg" property is off here OK, I will fix it. > > also I'm a bit surprised to see no busses (like aobus, cbus, periphs, ...) here > aren't there any busses defined in the A1 SoC implementation or are > were you planning to add them later? >Unlike previous series,there is no Cortex-M3 AO CPU in A1, and there is no AO/EE power domain. Most of the registers are on the apb_32b bus. aobus, cbus and periphs are not used in A1. > > Martin > > . >