From patchwork Mon Nov 30 21:11:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 1408484 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=YsvxNkkQ; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4ClHxw5G9vz9sW4 for ; Tue, 1 Dec 2020 08:12:52 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728178AbgK3VMi (ORCPT ); Mon, 30 Nov 2020 16:12:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729243AbgK3VMg (ORCPT ); Mon, 30 Nov 2020 16:12:36 -0500 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03BF7C0613D3 for ; Mon, 30 Nov 2020 13:11:56 -0800 (PST) Received: by mail-pg1-x531.google.com with SMTP id m9so10862094pgb.4 for ; Mon, 30 Nov 2020 13:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=qMgB8usSBwyEogyGsMziFs4UuTCNB2pcZ/WPEIOccA0=; b=YsvxNkkQAdXoSFhxPDR5wHwf0d9EHjezlN6CHTFwropGKIMxMVW4lpXOkY4FRJxvRX n1htlGIFhEQ/boiwRzLGg0iwEnck6uzwVmgf6RSQQvhE0xTJfqy8poZ6gYHM9uNMU82X FclgDZ/ytH1gQgYjZ9PfKBYxQXuACfkbCZxZM= 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; bh=qMgB8usSBwyEogyGsMziFs4UuTCNB2pcZ/WPEIOccA0=; b=JqD+zbPM4YLxmIr/8tM5D0r3C3OfMwFtO29qOboJVjiLIT4J/fyuY2ehKiwRWtEzJy VKmX/tSa/5hlKWwcWmWxGkZXV2jxVSMJnSyIHJz4Sg/HVdWqLGoEKSJfupXVWOBC/3G5 mhrnCPKgHcaTg7zutcq194KjSc5A/WMo/7aSD+gVwprDB+xi/CLYSuGRPkx+lCJ9v9Nx UCfG5ufTwAPvkIQ91lfSTJ3pcGryTKfZ8yEvRP1Rj4Oewe8DnzWsJcHV6Le8yW/pLWS+ TpWiEaF/R5u8V6/s3O7y/rVV8EalJxLgBTrfsaA+epeNW+k46N6QovsnNRX3O6eDHt+D kQ0g== X-Gm-Message-State: AOAM531l1q9iCQv/DvRpiL9kV16UNDAtyUCLpIKS1jV+Aw3HBqGIG9AG pckC8nEWcrkUVDt1bd966ODcekyizsIq6PSeDWXkI0hD2hz6qIfOHcUiZj9yvKU7xtO3/ps13NT FIbGFy0e1OSPG1EN3SM7W2ErbztE7oeXyP6kAS0CWSZbDG9rxOXV6v0wYIXARu2MsQOXn/Gm4wT TzdlU7 X-Google-Smtp-Source: ABdhPJxd4yJEv3hQRv/8j06c/RxanWnkUmo9Ev/BhEeCZHHVPk7YAsqLxNa+8EFM/Lvz99JZpgALJg== X-Received: by 2002:a65:42c7:: with SMTP id l7mr4671889pgp.438.1606770714916; Mon, 30 Nov 2020 13:11:54 -0800 (PST) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id m7sm18320441pfh.72.2020.11.30.13.11.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 13:11:54 -0800 (PST) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , broonie@kernel.org, bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com Cc: devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), Rob Herring Subject: [PATCH v2 0/6] brcmstb: add EP regulators and panic handler Date: Mon, 30 Nov 2020 16:11:37 -0500 Message-Id: <20201130211145.3012-1-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org v2 -- Use regulator bulk API rather than multiple calls (MarkB). v1 -- Bindings are added for fixed regulators that may power the EP device. -- The brcmstb RC driver is modified to control these regulators during probe, suspend, and resume. -- 7216 type SOCs have additional error reporting HW and a panic handler is added to dump its info. -- A missing return value check is added. Jim Quinlan (6): dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators PCI: brcmstb: Add control of EP voltage regulator(s) PCI: brcmstb: Do not turn off regulators if EP can wake up PCI: brcmstb: Give 7216 SOCs their own config type PCI: brcmstb: Add panic/die handler to RC driver PCI: brcmstb: check return value of clk_prepare_enable() .../bindings/pci/brcm,stb-pcie.yaml | 12 + drivers/pci/controller/pcie-brcmstb.c | 219 +++++++++++++++++- 2 files changed, 228 insertions(+), 3 deletions(-)