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: 11941307 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=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_TVD_MIME_NO_HEADERS,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 E05D6C64E7B for ; Mon, 30 Nov 2020 21:13:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 79FCE2076A for ; Mon, 30 Nov 2020 21:13:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="T2rwEE6Y"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="XE2uVjPY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79FCE2076A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.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=merlin.20170209; h=Sender:Content-Type:MIME-Version: Cc:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Message-Id:Date:Subject:To:From:Reply-To:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GdV1Y1CSR81YZIm5szSIsHmas5cLg9QoGU0XKXMdMkg=; b=T2rwEE6YhJMIjafFAZ8MlbPQMu 9BgdHNVwZ4eeESbDrtFrJ+Ot5iE5qPkmYZZZiOt9theXWL3nVEyoTtvrxSsLS2eWUOjc0ATEqdtcD baL9f5USoiPJ9XCN4xBrwntDv9gEceoKB7bsFSZDmU1/XsPjN3c8Db4yLvR9ye8lBhvoQ5aVkpkrf tJ+GKL0himU0P7ofpgbIkx+vn8ththz1SadVEPbLavQraAgWwfRz2fH0dDrchhdqMnPiRLM6CJu5p 05zya8QRraSbyO5+CZH8I5/7houjjnWsnom/7yiYyl6a0dOmk3PSBkD/RKvLrthAn3jOkN5Ke9VDa jmydM3Pg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjqSn-00030b-J7; Mon, 30 Nov 2020 21:12:01 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjqSk-0002z6-4y for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2020 21:11:59 +0000 Received: by mail-pf1-x429.google.com with SMTP id q10so11267509pfn.0 for ; Mon, 30 Nov 2020 13:11:56 -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=TdEq7GSSh/rX1KQajxlnJNty/xkL0FIX4OzQwwQ3Ax8=; b=XE2uVjPYteu6CjDrQjy6YsrUGCJn49bSkQOcbtoewIuMFXOBNbaY7vTMW2rHRd9VAt YDNxSCVyD0wwdDjgQ+KXcBRva1wi4Eop3KYS8Aa9tOetQFzYt7XbEWTdul1YFH0FAx0w FmmE4shGhNorB7iPgbKGmuoPBER20LC5XxI3o= 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=TdEq7GSSh/rX1KQajxlnJNty/xkL0FIX4OzQwwQ3Ax8=; b=g3Ht31P3BQVXsLEUj55En/7oUgV+dg0A5/CDYkTpJ8EFse3wlGpMXzCYlk08JQxeUk a7oqP4LfNyh0zY831ul0TLtomd1Tx4ZRnQ2iZa66V99nI+Ic3vBk3nV2ceSG82xoqvIi oDVH6ZRwzxvlBU0C9eWOxD0Ob2SrovQK+m+2Mx8gDFgtuZqEv9LY5tffn76HbJVyaR3j xY81xX6Ccfzsqoltf2Yspl5e91ejnyr18u2CmLKbRd334RVYZ9NiKl8kygZcx4bCx91t LYozclycc5BBAaSCxsiMy52JAFxchq3KCGOJnA6lJXBlEaXR8MLc7Ra+su9YlhHo/L2Q IwLA== X-Gm-Message-State: AOAM531I0XXmwq0t8ad0TmvtWd+Ifd1QNWuGXiww0HTa94f55xHqIpN0 DHmdSTPU86zesPEmlIb2WmMDLA== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201130_161158_445443_96E15B78 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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(-)