Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1499112ybl; Tue, 13 Aug 2019 13:47:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOKibDtzc2FYKmVIF4onBhcaloiMITEIM41KIv6Sq5KkVWeNM66/jseggT7mISHS0b4xfM X-Received: by 2002:a65:6256:: with SMTP id q22mr36030914pgv.408.1565729253647; Tue, 13 Aug 2019 13:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565729253; cv=none; d=google.com; s=arc-20160816; b=Tg8tFPMejMYMvUFzfvd7eSVQRLJi/uOwiff0iZf8c8wojtkZc4lf6/YhjzkcoD3iVj EU9gesVZfJAhs+kyGjYsrQycA7sSJu5wj5VA6r1XNJN2D5LNTAlgzMlLnSvkDex+282E moMOqdJqt37FJY7xhTV8rVVuGvCmznFn1evwzBjrUEDusddKrZsWpXKm7RjyxnjUTzHY Yv8HWuydxToDUT7/TkCSM+jGZxLC3DrtLuWcfhEbGisJnJjm+UqfsYF8zhcpKBdauIw1 OGmp2AUlvluci2/Ql0Cp5YIIcOqjGLd7YGsJvxfv1P+Rqawb5t2mz3XpxYC+7trc2k5E Vg8w== 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=yF0YecWnxppiOGRPdX8DrNWqa01iriuDB+Cszyr03Ec=; b=bviDwtDchWf00+yZSZw4cj9nLls9+ohWMLhHqQ/bq9cFV3o0tavXycnMmay7WPiUkB RjxRK/dQgBFLaITbCKDcXRJNqpROBTggJO2F1PfLwcaT1YTmhWcC1s5Il6nMqGgE1CD+ vrIPq5k0Y0jdNfIO3+J7jPvzy9lqjeN9BSpMPNAg+WzgmhMjVQqb4WIdhoo0Gbs27kQw w0eaniowxMcwbgR17hQwu9ckjUNih6YGoCe+DECk8ikT4UHp9ufbfvh7LfW7/UCXk3es yttixmtQ6b7aFPJ85Q3yCJcrlXc1Bg3KKyRL5ZZ3LeVnc+S9Ib0Tv1KTv/8D7eTeTNwb BAhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IeVIHF0Z; 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 q145si6598110pfc.31.2019.08.13.13.47.11; Tue, 13 Aug 2019 13:47:33 -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=IeVIHF0Z; 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 S1726275AbfHMUqd (ORCPT + 99 others); Tue, 13 Aug 2019 16:46:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:44226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbfHMUqc (ORCPT ); Tue, 13 Aug 2019 16:46:32 -0400 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 A4DD520840; Tue, 13 Aug 2019 20:46:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565729191; bh=VD7sMXa3g5jKV36WcN4HRJExOcbvrg4QBwPRahfXpKk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IeVIHF0ZwSJrd8lOx/x1iP3SExjG5HpTVZKO/OmVMeHHCVOz0GqrN8CSqkunNQbjC gaLd+mhqbQEjSq8lXYkWzVr/LfBbtqrw2ML/mmfRy3DNH0fKVc+ajiCZsxWA3ql78O +sDw3Fy6NLXs6Xc9McLlCCMnt/RHjgoxnWmrvnXA= Received: by mail-qt1-f173.google.com with SMTP id v38so15427799qtb.0; Tue, 13 Aug 2019 13:46:31 -0700 (PDT) X-Gm-Message-State: APjAAAXQF7GN9s2yRf87+OBTRVzzOO/jI60fp/FYmkR2ymAT3/6ZmDaV WS2MR5HhR4npqnszVQ+JRVeBC55STuaWsxyWBg== X-Received: by 2002:ac8:7593:: with SMTP id s19mr27753241qtq.136.1565729190807; Tue, 13 Aug 2019 13:46:30 -0700 (PDT) MIME-Version: 1.0 References: <20190723092529.11310-1-jonnyc@amazon.com> <20190723092711.11786-1-jonnyc@amazon.com> <20190813153046.GA31480@bogus> <06c198ff2f8f9b1b29283a7b8764ab776c1e574b.camel@amazon.com> In-Reply-To: <06c198ff2f8f9b1b29283a7b8764ab776c1e574b.camel@amazon.com> From: Rob Herring Date: Tue, 13 Aug 2019 14:46:19 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 5/8] dt-bindings: PCI: Add Amazon's Annapurna Labs PCIe host bridge binding To: "Chocron, Jonathan" Cc: "linux-kernel@vger.kernel.org" , "jingoohan1@gmail.com" , "Woodhouse, David" , "Hanoch, Uri" , "devicetree@vger.kernel.org" , "lorenzo.pieralisi@arm.com" , "gustavo.pimentel@synopsys.com" , "Wasserstrom, Barak" , "Saidi, Ali" , "mark.rutland@arm.com" , "Hawa, Hanna" , "Shenhar, Talel" , "Krupnik, Ronen" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "benh@kernel.crashing.org" 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 Tue, Aug 13, 2019 at 10:49 AM Chocron, Jonathan wrote: > > On Tue, 2019-08-13 at 09:30 -0600, Rob Herring wrote: > > On Tue, Jul 23, 2019 at 12:27:08PM +0300, Jonathan Chocron wrote: > > > Document Amazon's Annapurna Labs PCIe host bridge. > > > > > > Signed-off-by: Jonathan Chocron > > > --- > > > .../devicetree/bindings/pci/pcie-al.txt | 45 > > > +++++++++++++++++++ > > > MAINTAINERS | 3 +- > > > 2 files changed, 47 insertions(+), 1 deletion(-) > > > create mode 100644 Documentation/devicetree/bindings/pci/pcie- > > > al.txt > > > > > > diff --git a/Documentation/devicetree/bindings/pci/pcie-al.txt > > > b/Documentation/devicetree/bindings/pci/pcie-al.txt > > > new file mode 100644 > > > index 000000000000..89876190eb5a > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/pci/pcie-al.txt > > > @@ -0,0 +1,45 @@ > > > +* Amazon Annapurna Labs PCIe host bridge > > > + > > > +Amazon's Annapurna Labs PCIe Host Controller is based on the > > > Synopsys DesignWare > > > +PCI core. > > > +It shares common functions with the PCIe DesignWare core driver > > > and inherits > > > > Driver details are irrelevant to the binding. > > > Will remove. > > > > +common properties defined in > > > Documentation/devicetree/bindings/pci/designware-pcie.txt. > > > +Properties of the host controller node that differ from it are: > > > + > > > +- compatible: > > > + Usage: required > > > + Value type: > > > + Definition: Value should contain > > > + - "amazon,al-pcie" > > > > Needs to be SoC specific. > > > I'm not sure I follow. The PCIe controller can be implemented in > different SoCs. Could you please clarify? All the features, bugs, and integration will be exactly the same on all SoCs and you will never need to distinguish? This is standard convention for compatible strings and how you avoid updating the DT (part of firmware) when you find some difference the OS needs to handle down the road. If the next SoC is 'the same', then you do: compatible = "amazon,newsoc-pcie", "amazon,oldsoc-pcie"; Rob