Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1495516imc; Mon, 11 Mar 2019 15:22:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBsk+5beP5RblaStK7j7aQ2jv2FdNGtwFUahLqem1oVLueqECSjeJhgmbf+ShPpfHz/jcv X-Received: by 2002:a17:902:ab82:: with SMTP id f2mr2457607plr.93.1552342939348; Mon, 11 Mar 2019 15:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552342939; cv=none; d=google.com; s=arc-20160816; b=njlM+yKxxc47LEVd+ipNANGLcaFfQ6SVA+Qx4Y3NhWOn0BMdhYFGnrIQIAAOoF2Jmf zrTNg/PwxjRBR1DRmiL51+ryq7n8Dh/Zv1qp1qBxUxX8/rKe+tSwEHyz3SMo6RjVxoD7 FiHUwpqieyQ6MJ3w9cfM4+TkaPwj0tZf1vsbwkkwOaxb9gSFNagAvduIGnUqh8jiuw7p JhIID5VeorbM/EUR/AUw254TZmJlO47E1CUMkLasX6XtSQubAdXvliBSaORbpjyyPeOE c02bFIIC4V8Nc7zUmkQNz6QJuaIwWnEMPK5c1iLJnHL8dkpOuoQvibiMxNoH/6teTXn9 EtgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=usWh8C0ICesDz2nDaUJkmxEPx4LYxLwV+TsuQDQXA8s=; b=B3vB99pxN4ffWTDpnwK6U/PGvJEPF4JI/w+rdQi5BQZhpKXFowJYZARE1mzy4+Wdn7 Py/J4ltt0LEDYbxt1o4cumxUUvgyt7l9z0l3fG82uwDR0tAjuqNHUqTCciX+V4jXkzGP 5RBPIFzfpgbLWxViRZp7aGh2wXz0LpkKGsO+YzuUvwuQZTDqhca7HT1G1B+Ko79+ahIm SMs4xaCzPFLklADpbrOGsmdpsx7ivieA9Pl9c+C5jbnI3YpufdYZHKozlw6GaF0YJXMw b03kdyJCfhkxgygna+WZ6RmInustVecOzrvwl7cqKg1QqXvVq4MXBKWirjSsYyOmnuU2 symw== 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 u22si6304448plq.145.2019.03.11.15.22.03; Mon, 11 Mar 2019 15:22:19 -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 S1728196AbfCKWUK (ORCPT + 99 others); Mon, 11 Mar 2019 18:20:10 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:46318 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727027AbfCKWUJ (ORCPT ); Mon, 11 Mar 2019 18:20:09 -0400 Received: by mail-ot1-f65.google.com with SMTP id c18so644632otl.13; 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=RWMtkXYAUPF8tW7cvaFr9t/QAkpWyDeij5vCVzEWxIGWUGoSGfluIz46Pxc9H7DGl/ c8oOqaaf7lhOYnZ5gpRebLp+KveDePDTWGcJWrrRT1yJ4A2hNTupPHsSJtj2cr2qiFWV 11M6FP2qS8UJv93SqWGPr8nR+fZ0/XMu+z2a1eJwgesYsabIb+tY8aj8cnsVaqGT0JOZ EBa/JQErWVSjEI5kQwU3KSQ+W9DeY8XQirq0p9QLk2RQ/4/JVfkKki1/XIne5DqGx1yM b8l+YcPSGlbplcqyUs5SQHHe/zm0C1w2Rv8PteXgZe5aaxqedEjRWklu73Y2AnXRCcz3 bQJw== X-Gm-Message-State: APjAAAXK2Httj2ZdYwoBpzEY93sGTcwJs30/8AbJBoSTTN2liFQSzkv9 CyMwlfhXBEw5dMfEoDExCg== 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 Cc: mark.rutland@arm.com, joel@jms.id.au, andrew@aj.id.au, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190304185536.211084-1-venture@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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