Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp316859yba; Sat, 30 Mar 2019 23:45:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0Y40GHqR5x25Dph7BeSnWCrmRbUousBfLejQj0ybq+m0fpptIHR4auuUG4A6eI9nGVeb4 X-Received: by 2002:a63:5366:: with SMTP id t38mr47513898pgl.425.1554014713005; Sat, 30 Mar 2019 23:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554014712; cv=none; d=google.com; s=arc-20160816; b=fsYejnZJQXq9beCWljOGUdfr2s1CD8IGmVoRSnhcQSxPjyDN8cXFbkSL+H5o6DcDg7 XPoZuVxG5yDsYpLxFBhsVeZyrAPnuEnGKD1Jgh57h0FLdIgNGLv3RHYhwAoxXRqbN2bM QOo4Oda8dCrSlWKdNfcqN5r/j8tYylVS3XNjMzxMyEz2OB0YUGl6qR6iTIZ4ElL3y2qf T8puKb7qo5/SVYj05znIwKmYQKcrCUIKG590abDyndRC+RGIIY44ilr9SI1XzspM9Wka n52Vi2K8aPa7rs3RqvcHmSK85e6nc2XRHBzW81KiVQt6BWStyp8fQmID4Q7fZupqWgy3 H8zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nrmxwv21i7rt7ROgEeilOGd2Mpbqnp4HuFs65A3bhlk=; b=jQSTsRsNywCO8oMIyKp+H8HxQQ/6OQhwXK1zAa+ie6hm/5jL8MYQyohq1SHbxcOOj1 /gBJq/bF6ZKk3E21PdnfnF0nys78QQtoH73m6MrMaAr398AdXQSz6kpMQAiV7Yat92mU JlP5AK4H1KsJU8/dbSpqR4S2yTSsQQuF1ooIRsi6bIuV3DnbIm17Oq92xEnxKqSb0x5c 0q4XjfaENHJfUSW598yQq6nPK2py8CR4yjHnr/FPYvXDyb8mjsnRjSkFqLlrBLzYMf0f y4uYTFDLRyVXohv2QoJ0scK9fu0wPs8/TURrMvty4wsXJ6PY8S3QNpYyO2OyrYdBcJR2 sHbg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si307084pgo.563.2019.03.30.23.44.58; Sat, 30 Mar 2019 23:45:12 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731215AbfCaGlg (ORCPT + 99 others); Sun, 31 Mar 2019 02:41:36 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:43968 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731185AbfCaGle (ORCPT ); Sun, 31 Mar 2019 02:41:34 -0400 Received: by mail-pl1-f196.google.com with SMTP id m10so2925646plt.10; Sat, 30 Mar 2019 23:41:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nrmxwv21i7rt7ROgEeilOGd2Mpbqnp4HuFs65A3bhlk=; b=YkAKaNItLqE9QuoDWrlL4MhAX/E4A57vLV+tl44S+b0D36Yd+USlx61TkyvEp+Mtsj 4pxY75bBey3ncCtIHPYVcyBLG6io9/ffXyf4qP0UrLvz5wB15Q4SdrW0tCthTIEquNXX mgCDJg2yiCSZs68eVqNR8quX2oeU1xtmRPwwQvCJ9LxALu3NOBs1Uyqi4zeDaS32ytEa D9LaXtGrtliFv+SaYi8Ys9Xqys1HwcmAW/HPbCFrJ7+yBNncjicw4j8VEK+QYyVMx9kl r4RHi+c2PaXiGBVWuBnKJId3rXfoQks30WO7owdMZdWPkYQXiLxQDS0ZKcR3LFhOPkLP G2hg== X-Gm-Message-State: APjAAAV4pj4E6kUruV7BPRGkZQA2c2pysw87gC6nyw9vdFgd5aGYijxm 5mctmj7EBQTGr9z8qqwQ8PGUR72Nxw== X-Received: by 2002:a17:902:442:: with SMTP id 60mr59274243ple.107.1554014493296; Sat, 30 Mar 2019 23:41:33 -0700 (PDT) Received: from localhost ([210.160.217.68]) by smtp.gmail.com with ESMTPSA id z189sm9204870pfb.146.2019.03.30.23.41.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 30 Mar 2019 23:41:32 -0700 (PDT) Date: Sun, 31 Mar 2019 01:41:30 -0500 From: Rob Herring To: qiaozhou Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/7] dt-bindings: bus: add ASR8751C APB/AXI bindings Message-ID: <20190331011030.GA24804@bogus> References: <1553349688-1946-1-git-send-email-qiaozhou@asrmicro.com> <1553349688-1946-3-git-send-email-qiaozhou@asrmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1553349688-1946-3-git-send-email-qiaozhou@asrmicro.com> X-Mutt-References: <1553349688-1946-3-git-send-email-qiaozhou@asrmicro.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 23, 2019 at 10:01:23PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add binding documentation for ASR8751C AXI/APB bus that are used > to interface with peripherals. AXI/APB bus follow standard AXI/APB > protocols. > > Signed-off-by: qiaozhou > --- > Documentation/devicetree/bindings/bus/asr,bus.txt | 42 +++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/bus/asr,bus.txt > > diff --git a/Documentation/devicetree/bindings/bus/asr,bus.txt b/Documentation/devicetree/bindings/bus/asr,bus.txt > new file mode 100644 > index 0000000..cbb1b6e > --- /dev/null > +++ b/Documentation/devicetree/bindings/bus/asr,bus.txt > @@ -0,0 +1,42 @@ > +* ASR AXI/APB Simple Bus > + > +This file documents core properties in ASR AXI and APB bus. > + > +The ASR8751C SoC has APB and AXI buses for cores to access its > +controllers, suchas i2c, sdh, rtc, clock, power management registers s/suchas/such as/ > +etc. Most ASR SoCs share the common architecture for buses. > +Generally APB and AXI bus have a source clock and power control, and > +clock rate can be changed and power can be shutdown in low power mode. Then where are the clocks? > + > +Required properties for AXI bus: > +- compatible: should be "asr,axi-bus", "simple-bus". > +- #address-cells: could be 1, or 2 > +- #size-cells: could be 1, or 2 > +- reg: iomem address of AXI bus registers > +- ranges: register ranges > + > +Example: > + axi@d4200000 { /* AXI */ > + compatible = "asr,axi-bus", "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0 0xd4200000 0 0x00200000>; > + ranges = <0 0 0 0xffffffff>; > + > + }; > + > +Required properties for APB bus: > +- compatible: should be "asr,apb-bus", "simple-bus". > +- #address-cells: could be 1, or 2 > +- #size-cells: could be 1, or 2 > +- reg: iomem address of APB bus registers > +- ranges: register ranges > + > +Example: > + apb@d4000000 { /* APB */ > + compatible = "asr,apb-bus", "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0 0xd4000000 0 0x00200000>; > + ranges = <0 0 0 0xffffffff>; > + }; > -- > 2.7.4 >