Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1758633pxb; Fri, 22 Oct 2021 07:09:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxRPyVQ+zsP61NRzPjHZyVTZ4hCgwZYatbbxhPXuo+83BhgD5w0gohPFgpNOp/cOWqVhXY X-Received: by 2002:a17:90a:b105:: with SMTP id z5mr14472503pjq.64.1634911753148; Fri, 22 Oct 2021 07:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634911753; cv=none; d=google.com; s=arc-20160816; b=FtHbnhw7l2efwQO+vmocV2PM8U2DoY6Z8habXzMn1H8Ze9L2y3ftFbMhCvYDzRtHfy PTfyHy1lVKJF0FaggHiyxaX+uCprS5XkjF7dQzRncFq1plV/KkoeQOaVf6KZ/V+WswwF bu4E1PWc4QgnmSWrqVXj6CbL5uHPYUZ+R/5VMtY3hOymsUaIzZcUVlkQXvhKn46bjQ/E Uhp7egDrwu/vZszYJXIAOtFw310lPer6J73iKwRogeO3CkLOz3PkodWZsyyTiTvs01iF ZRf4gIrw7oMOL6sI5cvzGvYOBSfUypVcg29UcNX0ay0iPSUtP3UB80m7W9xwPFLT58hJ yl8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=Bsq6iuwj06pXXhljM7U8duGAiebZpibGfx/z6iMK0J4=; b=jh4Ea7P7xQ/rZfidg6GlJ4+AnRXx0omgAdPCiXaUoaGk1rwuEwBEATihOiy3xCSukB uy1AvM0WZr+wV2xZGL2HIAvx+Hk7t5ZE9keYowCm7l9aEqm4dDDM6/X/vQfEOE83ZZqf 5YN3HpAo/uQxpYnIHs8xwemEpsZmgdQ6QqXYOsFglC6vHfghPPx7CqVOAsgC0YKL3eX2 esvfBz+f6fWIl/eXnNJEL/OUGDdolmIvGQRRCXDWkstSb13mgKQ1Ggt7i0TSy/of2OLw 506TM1OSObPlAmE9DTn+7PlhFncbt5KvZlikSJPWLyxmCxz4PFNvMBDzngWPJynoHkA5 82cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C3oxmrJL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si13608751plx.300.2021.10.22.07.08.55; Fri, 22 Oct 2021 07:09:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C3oxmrJL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233017AbhJVOJ6 (ORCPT + 99 others); Fri, 22 Oct 2021 10:09:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232942AbhJVOJl (ORCPT ); Fri, 22 Oct 2021 10:09:41 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 311D3C061764; Fri, 22 Oct 2021 07:07:24 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id na16-20020a17090b4c1000b0019f5bb661f9so3188462pjb.0; Fri, 22 Oct 2021 07:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Bsq6iuwj06pXXhljM7U8duGAiebZpibGfx/z6iMK0J4=; b=C3oxmrJLdQJyvbXE2u/UmMh56GtIKnVFUbbbek+adMcBUXo2Jsx5Bp0OK86COwfYjl 6oNXF6MQkJdRLBop4PBpT74JWoeLF6CvL77w1AqwE/EqQGfbzF8AV1ER1KQhE7e4e8E4 9HQYVZiaFnsb9tiT/nFRte1xEudbuvXxGc1c/kp9PZhRParOR8Dm/H8kAIUZjNJtuqew wdnEvZHd7XGsJnPIwIBEV8huYFWG37tomRsnZaK3ZxLT0kSZ4UNa2xoAXUPh6JhGDWng B+KYfUxxO3eVcyrSQ7blsSqSMF+/YPpT5qZT7FQJDHcGEFi6m4Gr2jXvDiqkoRMQZ3C9 zrTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Bsq6iuwj06pXXhljM7U8duGAiebZpibGfx/z6iMK0J4=; b=zM3IYlaXKeoduGevCkqzIj1fJtzsKpEPHFVq3L50rkoHvjslqWVpiV+94UvTNEjjtF MxPJ5I6oaSe43uc750mtwS32PHU8bXkmT23V4AtVLPqgxRIvLkn487shz3O/k/v2Otoe h2k4C4w5hEI6+ZEXDJQPqdPszDqNGE1rZYnt7jEaa1SI6/g6NANmlxvAOPPIl5cxrcB0 AIDN9yXq9ZovPBffGL1TDL0X7K6EkWewmq3lJeD5YjTG9gEYhEwMA6SQY7fIlxoVZlzu tN7iQCJAlKioyeGm8Lo5oVYXeeJXkzNAE+/X1cPvdSnnyQHv1UmjFOpwr/0urnWhMlWG B3+w== X-Gm-Message-State: AOAM530tW0R4RBwvtA3w110Dt92j8HF/fHU7JZtQnoQfBQVirOZIzkIV nU6SecwwqtbZP+9yCXEctcSW6VapTKswPQ== X-Received: by 2002:a17:902:7616:b0:13f:354a:114f with SMTP id k22-20020a170902761600b0013f354a114fmr52600pll.8.1634911642661; Fri, 22 Oct 2021 07:07:22 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.11.250]) by smtp.gmail.com with ESMTPSA id e12sm9482990pfl.67.2021.10.22.07.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 07:07:22 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Rob Herring , Mark Brown , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Florian Fainelli , Bjorn Helgaas , Rob Herring , Saenz Julienne , linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v5 1/6] dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators Date: Fri, 22 Oct 2021 10:06:54 -0400 Message-Id: <20211022140714.28767-2-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211022140714.28767-1-jim2101024@gmail.com> References: <20211022140714.28767-1-jim2101024@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to the regulator bindings found in "rockchip-pcie-host.txt", this allows optional regulators to be attached and controlled by the PCIe RC driver. That being said, this driver searches in the DT subnode (the EP node, eg pci@0,0) for the regulator property. The use of a regulator property in the pcie EP subnode such as "vpcie12v-supply" depends on a pending pullreq to the pci-bus.yaml file at https://github.com/devicetree-org/dt-schema/pull/54 Signed-off-by: Jim Quinlan --- .../bindings/pci/brcm,stb-pcie.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index b9589a0daa5c..fec13e4f6eda 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -154,5 +154,28 @@ examples: <0x42000000 0x1 0x80000000 0x3 0x00000000 0x0 0x80000000>; brcm,enable-ssc; brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>; + + /* PCIe bridge */ + pci@0,0 { + #address-cells = <3>; + #size-cells = <2>; + reg = <0x0 0x0 0x0 0x0 0x0>; + device_type = "pci"; + ranges; + + /* PCIe endpoint */ + pci@0,0 { + device_type = "pci"; + assigned-addresses = <0x82010000 0x0 0xf8000000 0x6 0x00000000 0x0 0x2000>; + reg = <0x0 0x0 0x0 0x0 0x0>; + compatible = "pci14e4,1688"; + vpcie3v3-supply = <&vreg7>; + + #address-cells = <3>; + #size-cells = <2>; + + ranges; + }; + }; }; }; -- 2.17.1