Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp549530ybe; Wed, 11 Sep 2019 00:38:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxWHI59E1nHbYMZZ3gJzax7M32ZYW4AeR18BQ/7IbWzu5MKsvUz0rC09KPy2EJb+JiyvWr X-Received: by 2002:a17:906:1a12:: with SMTP id i18mr23422304ejf.19.1568187525745; Wed, 11 Sep 2019 00:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568187525; cv=none; d=google.com; s=arc-20160816; b=ZglS5D5rR929N4PcTBA2+Z0XVOiJh/C3g7EDiIude18HU4OjNmXM1L3BpbKtXTMwcn uDoqlqzgdPhCBMBT2xhJeu5RyYTJZi0EHq7ZMPNsn6ar864vKYjMeMNQkp58SMaJO7ck a0KpD4m5KF1TV44XA6CDoXeawvujM22vtq/sqa1/7M1TY5rL+P/DRq95bboBrTFmeDW3 o3RHbUyd9yu/YF71tKmft052o7nEDNSHsCvPhZpllRtKCYlGdym6GJynBYEYW1dTcvBH B2AZwPCcZNY32qY1795UAk/Nk4SJBJoiXZQJiozMeoqgWh3U6qSbmA0e5YLyiu9v5Z37 MLiQ== 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=KxFo50tFeI5RqL0Qa5kmFsC1t0438hCSVp1XKFoqvOo=; b=zy9zKWoRR/Ko83xIuQjF20DGl/szzriIpbgo4by/NGsMPcBjPVwjMG3/ofnEqsvOjl 0aLWXnFGkBq0jovfJkDCBl4mSZlHVSurUelLDYpewVkevGiqUfuPxKoAYyZ9GFQ1TyLW 6FdZDdSd4AzroPflnKfo1eeJ/+wszvGjHK/S5qEfxYLwAcSzAY7KMNnin/TPYwsZRF5M vld8hHxgqzExRdtfg8xQu48fLaFusGDv+5Qp1i+dxa41OHfFWC93infhDwP7Pvcenyyb nZ/KziXW+XT8X2qunf1YDYLVA66Ddj9FB56aD6K3lzYlIrqnC6D/xIIT32Zr7be0CZBN spTQ== 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 c54si12028659edb.230.2019.09.11.00.38.22; Wed, 11 Sep 2019 00:38:45 -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 S1727120AbfIKHgM (ORCPT + 99 others); Wed, 11 Sep 2019 03:36:12 -0400 Received: from mail-sh.amlogic.com ([58.32.228.43]:56151 "EHLO mail-sh.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726702AbfIKHgL (ORCPT ); Wed, 11 Sep 2019 03:36:11 -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; Wed, 11 Sep 2019 15:37:02 +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: <09d7f5cc-9063-28f4-b68f-79f21fca500b@amlogic.com> Date: Wed, 11 Sep 2019 15:37:02 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.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, On 2019/9/10 1:24, Martin Blumenstingl wrote: > Hi Jianxin, > > On Mon, Sep 9, 2019 at 2:03 PM Jianxin Pan wrote: >> >> Hi Martin, >> >> On 2019/9/7 23:02, Martin Blumenstingl wrote: >>> Hi Jianxin, >>> >>> On Fri, Sep 6, 2019 at 7:58 AM Jianxin Pan wrote: >>> [...] >>>>> 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. >>> OK, thank you for the explanation >>> since you're going to re-send the patch anyways: can you please >>> include the apb_32b bus? >>> all other upstream Amlogic .dts are using the bus definitions, so that >>> will make A1 consistent with the other SoCs >> In A1 (and the later C1), BUS is not mentioned in the memmap and register spec. >> Registers are organized and grouped by functions, and we can not find information about buses from the SoC document. > do you know why the busses are not part of the documentation? > >> Maybe it's better to remove bus definitions for these chips. > my understanding is that devicetree describes the hardware > so if there's a bus in hardware (that we know about) then we should > describe it in devicetree > > personally I think busses also make the .dts easier to read: > instead of a huge .dts with all nodes on one level it's split into > multiple smaller sub-nodes - thus making it easier to keep track of > "where am I in this file". > OK, I will add the bus description for A1. Thank you for your suggestion. > > Martin > > . >