From patchwork Thu Apr 1 21:21:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 12179607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C0F8C433B4 for ; Thu, 1 Apr 2021 21:33:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 87443610F7 for ; Thu, 1 Apr 2021 21:33:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87443610F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3sVP3rgP53xgnZmeE0lO3GQXbU93wG6xfV+E7oX+0uM=; b=fXeyeTMKlhL3pZuo0a1V4X58m4 1cNlZiDjKH6/aOpWAbPHSEFl0/7Ii4bKkxl6Kgcrsqq95GMTKOiJLKJ9Oxx7manaCkXVKUpQF8o9B SDiQmgI0rjxheAHuPUVPlfXdRpYqQK+NaDpdPzxlqnAUHMyw+ISj17oLwcdQb9r7UMjNnwBQqGSa+ 2Qj3B6pfC6b6b6g3VNz0aQxR74Yic1Ap4yabufkROSRi6jmngqbZiwrUbkUrRiv0v0dw7/6gktYAJ QTANNsxPXh/Isk+v6WlYwtrSrCx9FJc2Yp8F/a324pyEophSVSGZ3rb5GD2O7uTC4+4WJkAzszgPJ eW6D5hEw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lS4sk-00B44J-CU; Thu, 01 Apr 2021 21:29:38 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lS4lL-00B35N-DM; Thu, 01 Apr 2021 21:22:54 +0000 Received: by mail-pg1-x52f.google.com with SMTP id f3so2416808pgv.0; Thu, 01 Apr 2021 14:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OE1GPy2uIOsC5BPQ8KNKWKnU0bskwsFqEC7/aDazAJ8=; b=d+F70zzCcRNcUn6JgGk0dSebsptHa6texPhBSXUtvlhJNc9/RqncITqT/RF4S6A5wh 1ORnJwgArYHIZYIo0oGV9o1b6gtHa5+/hHzyhmn4f9tUaXQTtda2eJxz1EHPkbzGT6HK D+r5sp2WJGG5yh4IL3Gxhpo7EsxQmFxqANDNcZN7NGQq5aun+pduy7sWbcb1VR/CACfW GsOSZMCt3eOPHuM5VPYXuB5nomnJ0XPVhQzguRUvLLI43TDhxt9Jr6m+02X3RE2AF4OE x+6mWuMY7B0vGvCKDb2qOdAIKXCfBQAFXVPaEgl1L301MvyevGDK/ea2Br23UR3EPId9 Kguw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OE1GPy2uIOsC5BPQ8KNKWKnU0bskwsFqEC7/aDazAJ8=; b=L+Bk/RKjEFC1dUNDDjOO9qh3b5JP2ZvnEwvju5RnVj2U+CMr5x+JQcPVfSARlR5SSP yKC99Zl21yCf6+2WW9EcMaq1leWHEBqTFvJ9acoNacGT47FeV6867SL/y3cP9IhB+a7N IKvetmHWGf63O4Y1e1J1bp0R+fYOlXIujcosuYNi6Jd0lkjHqcBIALjQtAZFJc+C2lAK bnq61lwPQmRbM3uJ209PpML6azpB4mxCtG4tuI7YIxNQ9Prf+WBRFcWaXx53wQ9Eva2J TVuqmhYgO6KcsfLmpBNeQosEccQvRL39RKhxe5eZrYKIwldMsj3NN4OOljIDKmgklfHM w74w== X-Gm-Message-State: AOAM532gKiURmB0672sMpAcrHgzB4/Xghr9b/Xj25T/q+e9I5P+2da0h iOCgRYdsVBYbImL5hTzBUoE= X-Google-Smtp-Source: ABdhPJxIQxjnKwL2oIoNRT4BO7QMOaNJKDHKvahHfGc+telOcRy17DZ4zmM6/qQz0RXjvNGz8uIUag== X-Received: by 2002:a62:5a83:0:b029:222:c9de:5c65 with SMTP id o125-20020a625a830000b0290222c9de5c65mr9304697pfb.23.1617312117974; Thu, 01 Apr 2021 14:21:57 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id q5sm5926707pfk.219.2021.04.01.14.21.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 14:21:57 -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 , 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 v4 2/6] dt-bindings: PCI: Add bindings for Brcmstb endpoint device voltage regulators Date: Thu, 1 Apr 2021 17:21:42 -0400 Message-Id: <20210401212148.47033-3-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210401212148.47033-1-jim2101024@gmail.com> References: <20210401212148.47033-1-jim2101024@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210401_222249_691431_33F2FA34 X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index f90557f6deb8..f2caa5b3b281 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -64,6 +64,9 @@ properties: aspm-no-l0s: true + vpcie12v-supply: true + vpcie3v3-supply: true + brcm,scb-sizes: description: u64 giving the 64bit PCIe memory viewport size of a memory controller. There may be up to @@ -156,5 +159,6 @@ examples: <0x42000000 0x1 0x80000000 0x3 0x00000000 0x0 0x80000000>; brcm,enable-ssc; brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>; + vpcie12v-supply = <&vreg12>; }; };