Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1641472imc; Mon, 11 Mar 2019 19:41:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBVl4C7BK4tIo2JYsMfWd52wvFoQ2UDZeD4dRy7DFDgVa8umR+b0ojlq+PC8dm42HVBs8u X-Received: by 2002:a63:1354:: with SMTP id 20mr7188225pgt.198.1552358499987; Mon, 11 Mar 2019 19:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552358499; cv=none; d=google.com; s=arc-20160816; b=h08k0gUakiqg4l+nyCsgT9Ulmkh4bUK0mqwEeTo7xj0CN27XeLGQ4dvy/pXLJCzsLB 3VZ2ZF834xOqxFoJFfVm7H0pek/UJBTcqlMN6wG100RCA/36SQPlYSntJabBNqF06vAB KadcihLUjmyr71Tjt7NLdY5cMLkTYQOdcSTz/agGomkHFaEhLsShUvfxcboa+BooC8u0 DdXwARksk7S+/QEBB3swD/BXuNxf291fzqJZ93s3mQpOtY73gv6PIz99+WDhVuGbfwYp 4KL1/HkdjRh9+xumPvXIvuo20AEAFCi92zIASv5XQTmD+qN4PUkJMTkWHW9yMTQE30EC rTHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=guHbXyNzStVEVx5WKCyhGWzW4jRa7JRfLpwXgihxvyc=; b=oGeLAye9L/t+x3Oe4S/WXs5KeLMZoMPlEMSgMKDod12Z2KwA7apBtO38nmpwB2o9tt +ToVJbzhk/i8CR+k0SPzKmrrn/SiTQaGPYWhaC3eloct47Mu6fl7X1hLAr28kJ69FbAH I4KDh9XUpUmlUAoUqfdQAVZr0AEtA8R4fHgOVMZlFG8yVbb/Tv0wCCRRW2RZRqR3YhYe fmsRRPowGhDn7q3G4N1zKqrLmeAl9ouUe08brCNzyT/ZUQrXvm8C+8IEV/iAlWNYt231 yrCl28TSG/L4ZPWZRxmA7gJDBZHiX1VySKXkRcuxL2328zjI4wElKlsiXO8En1Op8d8I xuVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EzilIesN; 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=pass (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 v2si6589281pga.5.2019.03.11.19.41.23; Mon, 11 Mar 2019 19:41:39 -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; dkim=pass header.i=@kernel.org header.s=default header.b=EzilIesN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726841AbfCLCiz (ORCPT + 99 others); Mon, 11 Mar 2019 22:38:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:45868 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbfCLCiz (ORCPT ); Mon, 11 Mar 2019 22:38:55 -0400 Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 149912175B; Tue, 12 Mar 2019 02:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552358334; bh=JXdzeVfZX3Q3GwE9L2uuADdFHApAcwGlujUZ0+o9tvI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=EzilIesNrm+OEdNLA/jAu1NWUR6C7y2jUbdJjL+9AX68vNlWq7fS8J6Sdqsy84TJf NNykaro/Xin1FBRm2ridVbXs3rAxhaQqdKCGpwdhSk/YKbEdqITNoPDUpeR3lUFMrD uEzEYlJctggH6pfByHzNPCM3vxgvIgCOCMoOPFaE= Received: by mail-qt1-f180.google.com with SMTP id u7so939968qtg.9; Mon, 11 Mar 2019 19:38:54 -0700 (PDT) X-Gm-Message-State: APjAAAXSqLPjCG0WLYOQ+Zk8fpUJ5XHmmJ2cexO5fGu+RanlmDKyTrWt lXpVCUbhKSiCncMdju1ON9OQzQoKRl96vTNBog== X-Received: by 2002:ac8:267c:: with SMTP id v57mr589228qtv.76.1552358333209; Mon, 11 Mar 2019 19:38:53 -0700 (PDT) MIME-Version: 1.0 References: <20190304185536.211084-1-venture@google.com> <20190311222007.GA16254@bogus> In-Reply-To: From: Rob Herring Date: Mon, 11 Mar 2019 21:38:41 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 1/2] dt-bindings: misc: aspeed-p2a-ctrl: add support To: Patrick Venture Cc: Mark Rutland , Joel Stanley , Andrew Jeffery , Greg KH , devicetree@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-aspeed@lists.ozlabs.org, Linux Kernel Mailing List 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 On Mon, Mar 11, 2019 at 6:49 PM Patrick Venture wrote: > > On Mon, Mar 11, 2019 at 3:20 PM Rob Herring wrote: > > > > 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. > > You're suggesting I make this a child of the syscon? Yes. Rob