From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADDE6C43381 for ; Mon, 11 Mar 2019 22:20:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D4AC2087F for ; Mon, 11 Mar 2019 22:20:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GS5x93R0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D4AC2087F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9BsgyfbHv1zVR1dHHyebku6mhgurrEMhviUMgSI/GAI=; b=GS5x93R0TNPV/C hAfZ5B9eAB+GmcfvfbqWjUzNWTiL5z16aAsHRJfXiMNEAr8s82GJIU7BOZp4CeIq5olQJvCdJ57PA Cq+ZNnD7Y4NCG7N4Hx71fLfgg10k9LWSTXOf8UuLlpR4c/Nvj7GquLXqIeLAgCkLoCV9szRGA05Du rzzuxLuJvbcvAMPA/dGCAGsacyVOqIydTb8U5RC8QhBgG75HkXNLWHIe7XvDl1KuXHqZa3xP6atrC KaHlffR4kpSZcVb1Z5t7B7QMWz/YUEqEqFxKVCGTms98JyCUh6PPAjxkzl3KxuHv0zGOwTaK4lQeS v4JLkZTwwJLoRnMTdSUQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3THJ-0003Yf-BI; Mon, 11 Mar 2019 22:20:13 +0000 Received: from mail-ot1-f66.google.com ([209.85.210.66]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3THF-0003Xu-UF for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 22:20:11 +0000 Received: by mail-ot1-f66.google.com with SMTP id n71so661749ota.10 for ; Mon, 11 Mar 2019 15:20:09 -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:user-agent; bh=usWh8C0ICesDz2nDaUJkmxEPx4LYxLwV+TsuQDQXA8s=; b=XakjVeOeQb83lddNOSxrCO7/TPBzmmx6I9Dm3GgmYKHjlxhV6OjUrgdnrz1ktPoA6u PSpB8rI9qTVnaRB1AG5dXvqKpz2NJOa5k50o5W0Yc027I/7Zayc72uaCCcNnlGxGmOLU 9r6GwL5WHHr3Tg58JDl1PcewEkwR7YczB9iHrxS44atpcqKaYzZoV5obbf5o+x3u2CyO uHydYIYjd2S13Uad1UIc6r+gAFqZ3IGbgbJBPYii0rr8WyGDK9IEmjR0yToNhcWbQ/5F zFUvxHKNmOQ6xoUz7VmsCXtbfvwi5n+sM5vZdc2+r/kFVUYtApJ7RR1ipE2HaDjtQfy0 wKTg== X-Gm-Message-State: APjAAAUNI9cEk4HPGjawcTfhRt2ATao9znNu21nVU2exjQsqg4fvQe88 QMh50mjfIiRPcSxSyEjhrVMOZ7Y= X-Google-Smtp-Source: APXvYqymLIJ8cnmYoFBplREficKBEFMrxWR2PYwpRoh7lgJhJqFmNfK765NcIXpBDd8F6MMLtSoWbg== X-Received: by 2002:a9d:740c:: with SMTP id n12mr21374816otk.312.1552342808544; Mon, 11 Mar 2019 15:20:08 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id b20sm2719797otl.55.2019.03.11.15.20.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Mar 2019 15:20:07 -0700 (PDT) Date: Mon, 11 Mar 2019 17:20:07 -0500 From: Rob Herring To: Patrick Venture Subject: Re: [PATCH v6 1/2] dt-bindings: misc: aspeed-p2a-ctrl: add support Message-ID: <20190311222007.GA16254@bogus> References: <20190304185536.211084-1-venture@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190304185536.211084-1-venture@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_152009_978192_ED9A441D X-CRM114-Status: GOOD ( 18.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, andrew@aj.id.au, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, joel@jms.id.au, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 04, 2019 at 10:55:36AM -0800, Patrick Venture wrote: > Document the ast2400, ast2500 PCI-to-AHB bridge control driver bindings. > > Signed-off-by: Patrick Venture > --- > Changes for v6: > - None > Changes for v5: > - None > Changes for v4: > - None > Changes for v3: > - None > Changes for v2: > - Added comment about syscon required parameter. > --- > .../bindings/misc/aspeed-p2a-ctrl.txt | 32 +++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt > > diff --git a/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt b/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt > new file mode 100644 > index 000000000000..1092d62d1c92 > --- /dev/null > +++ b/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt > @@ -0,0 +1,32 @@ > +====================================================================== > +Device tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver > +====================================================================== > + > +The bridge is available on platforms with the VGA enabled on the Aspeed device. > +In this case, the host has access to a 64KiB window into all of the BMC's > +memory. The BMC can disable this bridge. If the bridge is enabled, the host > +has read access to all the regions of memory, however the host only has read > +and write access depending on a register controlled by the BMC. > + > +Required properties: > +=================== > + > + - compatible: must be one of: > + - "aspeed,ast2400-p2a-ctrl" > + - "aspeed,ast2500-p2a-ctrl" > + > + - syscon: handle to syscon device node controlling PCI. > + > +Optional properties: > +=================== > + > +- memory-region: A phandle to a reserved_memory region to be used for the PCI > + to AHB mapping > + > +Example: > + > +p2a: p2a-control@1e6e2000 { > + compatible = "aspeed,ast2400-p2a-ctrl"; > + memory-region = <&reserved_memory>; > + syscon = <&syscon>; Make this node a child of what you are pointing to instead if this the only control interface. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel