Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp757047pxb; Wed, 3 Nov 2021 11:51:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+TyKASgHnIGuY5uKLyDmVlouGG7Q9/mpLAlAcyLBgCC/F/OAvEqBs6msuyDpL/Oep2gXu X-Received: by 2002:a05:6638:13d2:: with SMTP id i18mr209054jaj.3.1635965518892; Wed, 03 Nov 2021 11:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635965518; cv=none; d=google.com; s=arc-20160816; b=HT+lCHIVUBpGS3qQdrJygPYdfg41mnyV/rXw+vZpe3YwKoUYhNtEEow70KGW9A6lVg XVrxzVl+SPbFnO4kWNaAuywhGKq/pFrTa1hy6eL5mY2D04Wz79euJ8ko8V+kMKXY4SIN 2cS7uv0692qQuaeyodceb8/PGD1rFbul7HqMmAZ0k/+ld9987d2j+P4GzSd5DX5Y87RX BdKsMf3kW4fChiV+N8tx//MxVZnhhfpcq8drtmlHdLX/ubyMyMvuWNfc0s5bbUXhL+VZ ZithXCvQjFGYylG0VKluQzyfvUXjd9/t3gfKpx4WX6Z0MNe9V5ct97G7X9lRRhNLsa6k 0hDA== 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=XxDFU6zngH2MiSJPUrDOxFHmK942PXrD/2AGczC8Ul8=; b=p14uFWgcQIfRdyLdZtXx14sjUw8Yb5Q4WVhvFmMKrgS196CFvx5bacn8Kp+IB0Tbz0 zISG2SiFQnpESX3PZv/b/L8m09SLdo9Y/s2Iel6EZm7LaGJ381hvpFSPgQR5pzpzxA0E vmEAYivge9hlk4FlbBWu7QzkX3RNWZFRv9ikiskK4CKs4AJXhO9LpM2LAMLU2zPuT2zW dmWOzKD12oYLsnW/LgZ2J/3IsFMr2zu1ozVsf+vilIhDBYz++XExpwzk01avJj8Qt8A2 ONAN0cU6o6UKVaQQfJJqciAQ2AUdEplU9A9N6uia2sKrFcmdzVX1OBf0TOuMmWBRdR0S R3Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pZG5T96z; 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 w17si6214321jad.68.2021.11.03.11.51.24; Wed, 03 Nov 2021 11:51:58 -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=pZG5T96z; 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 S231431AbhKCSwd (ORCPT + 99 others); Wed, 3 Nov 2021 14:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbhKCSw2 (ORCPT ); Wed, 3 Nov 2021 14:52:28 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A5ACC061203; Wed, 3 Nov 2021 11:49:51 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id t21so3116697plr.6; Wed, 03 Nov 2021 11:49:51 -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=XxDFU6zngH2MiSJPUrDOxFHmK942PXrD/2AGczC8Ul8=; b=pZG5T96zGfFKOpbOk4/fe7AakdF5UfixT2t71nwLmhH5Mx0X+IqI0nA1ljOfxTfLuH BplUo3adJ8WAG5PaZT5lVlKfHBk0oQzabZ/g4SUiOYrQPEN7Yo+c1jKM4MamKeiww10n DdHaN09TRhET2EMztgaY6Pc8BfS7jpN8wh8MZ7WckLx0UMiW4oSogYTIhpCvJTVR10GZ O5OPrMn8nbqKa8rQLbYP1PY+tlfSA4n1Y1ZplmD1zzEtQ1qvgVFHOQF0FOQe9KgyloG6 HKyl4g8GpreFi6bV8OGgBJbm8QLWoseN5CqHiAlRIuj7VE1tNcjciO2MJrP1cwxz7CxX 5SVw== 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=XxDFU6zngH2MiSJPUrDOxFHmK942PXrD/2AGczC8Ul8=; b=31Tva6kz14KjKbVqxhjQPohEiUph6TMyksfK6poXcNCuLGX6Ad1D0AdTHI/6katVKX /XxtDyJUDeXrDFCgIpmwtnT0GB8s6v9LzKfWLWtpFcI522R9phoCMHg5ixa6Hj1BmWiK 7c7kl7SxVgBdLj1ss384jgcgdgxtzg6zEsASthkNlkjdCBxKBN/TH5n1V8GCCPvSqIMn Q1iqntzKkTTVmuUziYtVWu11QHQt47sDywwBZ5wxxTZ8kcP7SDPqztvMUu9EBIhHPbuS z0AJ+88SzbmHJkRz1sE2dUe9FW5+7PNPgJ5CvL+LEvrST/qWRZG3crRfARD14L5n5xw4 2Kkw== X-Gm-Message-State: AOAM531tzNPgRPV6D4u5kygeTfmPEMUjM48VME0lXY6/2phoDlU8jK6v /cG7R4X0habqEcpp82T9p6i84NxXIln/gw== X-Received: by 2002:a17:90b:3802:: with SMTP id mq2mr16547475pjb.213.1635965390969; Wed, 03 Nov 2021 11:49:50 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.11.250]) by smtp.gmail.com with ESMTPSA id j6sm2379065pgq.0.2021.11.03.11.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 11:49:50 -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-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-arm-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 v7 2/7] dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators Date: Wed, 3 Nov 2021 14:49:32 -0400 Message-Id: <20211103184939.45263-3-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211103184939.45263-1-jim2101024@gmail.com> References: <20211103184939.45263-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-ep@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/63 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 508e5dce1282..ef2427320b7d 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -158,5 +158,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>; + compatible = "pciclass,0604"; + device_type = "pci"; + vpcie3v3-supply = <&vreg7>; + ranges; + + /* PCIe endpoint */ + pci-ep@0,0 { + assigned-addresses = + <0x82010000 0x0 0xf8000000 0x6 0x00000000 0x0 0x2000>; + reg = <0x0 0x0 0x0 0x0 0x0>; + compatible = "pci14e4,1688"; + #address-cells = <3>; + #size-cells = <2>; + + ranges; + }; + }; }; }; -- 2.17.1