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: 334803 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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, 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 05F3AC64E7B for ; Mon, 30 Nov 2020 21:12:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0F0C206A5 for ; Mon, 30 Nov 2020 21:12:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="DS0MrhBE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728295AbgK3VMg (ORCPT ); Mon, 30 Nov 2020 16:12:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbgK3VMf (ORCPT ); Mon, 30 Nov 2020 16:12:35 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A66E5C0613CF for ; Mon, 30 Nov 2020 13:11:55 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id o19so1438551pgn.10 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=mmgImyql8yCqIbAL5TBCNNbReC+Qp2OVqlAEzFPBTME=; b=DS0MrhBEnJT4rsHg3x3vo1pwZ7doKZZAjCEhEORo8+sf5N+ZOryc6oalRb4Aru40TF YoAeM5ItU0BJkTM+xYCPVlXjFR5/ZqZSfoIer57+8Mxf8/1WJgQ3hQcAdlf04PUePfDE LpXmKPyi+5Qs67N2X15H+Wn4esXGemlhltuyY= 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=mmgImyql8yCqIbAL5TBCNNbReC+Qp2OVqlAEzFPBTME=; b=MQN89JrEuDL/IZ5puvUMzk/c45uWJK3Y6QDNUBmzXfXmkHL1eG6Dt+D91SnhnYsZUJ gyJIYSoERX/4h7d8lg0FBvNEjmjtNT0GMww/WC56IstWxRod49zJAqn8J8871Jsjy27H gAfYYyRyrKtjq3M8SmSYg4ZUGz0ShQEITbW2xHDXo9w8ICM00J+en58hkpvYdt/yTCiI 9nOt2FN26WYbV9y5zROfKFD6zSENsC6xqLEtwMer0rf8UgxohCG51RgJLGe/GCrYPhB+ 8cNOqPPqKZkwDk7TTcoVgT9T1tqK+SF1Kqj/hISydHlacHKc0ybNOIXQYKmlOSVLMEle bygQ== X-Gm-Message-State: AOAM530p5T52MCMqtiEOz+I+zjGEswEoGPk1PYp058+uHu5eGlfI4z+8 KpiOT3BhQyuw7yeYI+xYlbkrGw== 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: devicetree@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(-)