Received: by 10.213.65.68 with SMTP id h4csp1423798imn; Wed, 21 Mar 2018 10:16:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELtURMECLHQp+9zttqFAxLwARUvz/VfPISo0MHKhQuzwft0JtGwpPm+2GJL/U4HFJjLUy399 X-Received: by 2002:a17:902:5409:: with SMTP id d9-v6mr9511191pli.176.1521652603057; Wed, 21 Mar 2018 10:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521652603; cv=none; d=google.com; s=arc-20160816; b=APsfoQ7HKNUbJUNVQgJOkoQdecabYF7MZfY5xxJCq97wFd6z3JkOVZgyEoa+bjabRH LDrRpbKjv6opA2MxNDW4LlSnhLZw/WtRAVMqXqoOgDJVVUo6ez+MBfFEYc4IcKVfgyZt VizqkfHhGqsRA0r2u34YNgLIs2Qd1m5C0OQ/Dp8p6hm3rvRjdWPKi4lMCssYwvdhrJaj /0eFhSgye1PDUZPi7Y0GlPFjakKKjYdItmx251OVY3UJpLv4/uyM9ZbWMULs8/W7yIma RT31vlpwfeZMhQJWi8fEqroeJrfSdVwVfXom80N1Q9C745GyKbaTa3WzzyFmsBHETrnc kg2g== 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 :arc-authentication-results; bh=3Eubuc/M/rma7Yv84Fg63IQydoiktLcVlPp7n1C2ZEQ=; b=NGZv8K5MonziD+3C/9tLvsfTjrZvFN8i0S4hTtB/3sBTWxCkOpb4aEHLl1kE8xZsqy qoBMkhZZcENggHfc5b//L/JJ82ypWpsvy/dS14MIfPldPZoVQXDqhn4pb3ff6LkEKwTx ySuaN+bsZ12d2S2Twlxl5M2FQEv7i7XLt+w2n0xgnQ860eFppUMdGMIoiToR4hNlz5Ce QMfoVLpAKDMk+ja7VcPQrsi8kiZ3EJWAsfcd0kulaK5PhbhKuAwDyJVOTQpRfamp6TSk ar1yCW//o4j3jM+ZpQxwg7uHUr4EU2coI6D6CS6v5V6komg0/8zpsQYfCJTo5Xi5BdXS UUiA== 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 w9-v6si4113126plp.425.2018.03.21.10.16.27; Wed, 21 Mar 2018 10:16:43 -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 S1751879AbeCURNv convert rfc822-to-8bit (ORCPT + 99 others); Wed, 21 Mar 2018 13:13:51 -0400 Received: from mailoutvs4.siol.net ([213.250.19.137]:54515 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751319AbeCURNt (ORCPT ); Wed, 21 Mar 2018 13:13:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id F089552040D; Wed, 21 Mar 2018 18:13:45 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id PriNTXbAgIKb; Wed, 21 Mar 2018 18:13:45 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 7DF8C52109E; Wed, 21 Mar 2018 18:13:45 +0100 (CET) Received: from jernej-laptop.localnet (unknown [194.152.15.144]) (Authenticated sender: 031275009) by mail.siol.net (Zimbra) with ESMTPA id 067E8523287; Wed, 21 Mar 2018 18:13:42 +0100 (CET) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: linux-sunxi@googlegroups.com, icenowy@aosc.io Cc: Maxime Ripard , Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [linux-sunxi] Re: [PATCH 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Date: Wed, 21 Mar 2018 18:13:42 +0100 Message-ID: <2866474.lRHIcLtROC@jernej-laptop> In-Reply-To: References: <20180316175354.21437-1-icenowy@aosc.io> <20180320184646.dynqv6qubzabroe4@flea> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Dne sreda, 21. marec 2018 ob 03:18:13 CET je Icenowy Zheng napisal(a): > 于 2018年3月21日 GMT+08:00 上午2:46:46, Maxime Ripard 写到: > >On Sat, Mar 17, 2018 at 01:53:49AM +0800, Icenowy Zheng wrote: > >> All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64 SoC > > > >to > > > >> be claimed, otherwise the whole DE2 space is inaccessible. > >> > >> Add a device tree binding of the DE2 part as a sub-bus. > > > >Where did you get the info that it was a bus? > > There's no direct evidence, just some guess. > > The DE2 is a whole part that is just allocated a memory > space at the user manual, and the SRAM controls the > access to all modules in the DE2. > > So it might be a bus. > > Implement it as a bus is a clear representation on A64. Since there is already syscon for same mmio region, we migh as well use it when loading ccu-sun8i-de2 driver on A64. Other options, like SRAM driver or bus driver, might better represent HW, but then we would have two DT nodes covering same mmio region, which I think is not really acceptable. Any suggestions? BTW, H6 has same design in this regard. Best regards, Jernej