Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp327554pxm; Tue, 22 Feb 2022 11:32:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsyyX8lm/c0qsI1BRFwMXTn8VVJYnNqhtTmbuDOMkDggEMcFjCDNkLnOLr8m2blycvdnVP X-Received: by 2002:a17:90a:7405:b0:1b8:bb04:b62 with SMTP id a5-20020a17090a740500b001b8bb040b62mr5726028pjg.83.1645558373485; Tue, 22 Feb 2022 11:32:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645558373; cv=none; d=google.com; s=arc-20160816; b=uLHRGX+2JcsGcY8CEVPfenxyHVfj8p/Pd6HpEpmYVOsBXq+VZkAoSxnQFEYAJvKGTS 1b+H8Mmoj3Xy4qiFwsAK6+5o7zFPYrBawDTzvnytqa+c6YSFvEM4KWgX+6bTZ8HBKDET 4xONiRZ9OKid00Rq/IUDMR9SOmUdBI0IM4ZbzANuXfDR+dpidlzmdv1+AI9MvsP9++1n VlmpzgoLu40SSQl9/wYG2zwuyvukc5zKRjVVq7PmcHH/Ve/2epDhdRUbNO2qDIGgo3gF IQOhqlhhvw2bV/zFKzAYZuYerO/6wow3yMmNFiUE3Y0dL6GvlRqEKowNF147p8wnCIod rvDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TsPBYBxfhxqR9ExHcENfZ5XziRRTEGAyca7apIBWjuE=; b=VTEWoewk+6ug26owcOT/QlCeEtPPZduHyiOyZHuK8ez3XSH5kr2hAKnyw4qsVpyP6n uxI4/yROagBbA/H7foQcTHClqXFQEjbJHb/bXrfe04lP38ZRJduUZ5+aMAUMLoa1PMRJ aZfWtQ9MgFNUoFVNMnF0SJ2HmD2N3qKrLGrmPslPNKBb/LAVx63QB51iin6BEOY31tOu xWewFbtsywl6qlJgq6n878SyVzgJQH4GK7qIjqaJ96+HY9GcU4mXHbCJmyE8xOG3DHTl RcCWB8SjD10+LhjdD9mZOgJ0qzeZwu/rZfmUvBsGaoVbbFtJ9G4weLzIJEttpSOKQ1pK qlHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owqOXQsm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14si13445037pgr.715.2022.02.22.11.32.37; Tue, 22 Feb 2022 11:32:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owqOXQsm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234103AbiBVQdO (ORCPT + 99 others); Tue, 22 Feb 2022 11:33:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234056AbiBVQcp (ORCPT ); Tue, 22 Feb 2022 11:32:45 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79C1C6E8E7; Tue, 22 Feb 2022 08:32:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id EEB6ACE1767; Tue, 22 Feb 2022 16:32:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DCF7C340E8; Tue, 22 Feb 2022 16:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645547536; bh=deQThiFosCfgbDDY9+kUsiyxUvwfdDyovhHUVd2d6Es=; h=From:To:Cc:Subject:Date:From; b=owqOXQsmE+DCQm/rkbWl89cTxGH6CkxC7SDpWtLvOdiSFd+pmRreHeb++Q27fRxJ5 8TVokOpf4FHh+KrCnrm5atIUkG83YW0TD0KbvxnBFB6AHGcgkwsU6rH1V2TIj23ufS NBKNtGpynCuuzWK1a7cA37qcDr4HhFhkNqI8K2P4WmcIHIivFWBaKNe3qMzyIOf8xX c7El312WoZotOkpJ4DcqkMYf+j3dDS+mCgIh2pFWgthQkGXTM3LVF8VpvKPGZLaHsx +wH2uHfLmWr20lUPKhEJTNh3fYtiqM1oCId9QpRPMFENHdPYDGtFNPqlm47qiT6BNd e9L/xRe4Nkp5Q== Received: by pali.im (Postfix) id E2C85FDB; Tue, 22 Feb 2022 17:32:13 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Lorenzo Pieralisi , Bjorn Helgaas , Rob Herring , Andrew Lunn , Thomas Petazzoni , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Russell King , Gregory Clement Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] PCI: mvebu: Slot support Date: Tue, 22 Feb 2022 17:31:52 +0100 Message-Id: <20220222163158.1666-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add slot support to pci-mvebu.c driver. It is based on branch pci/mvebu of git repository: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git Some patches were reviewed in other patch series. Pali Rohár (6): PCI: Add PCI_EXP_SLTCTL_ASPL_DISABLE macro PCI: Add PCI_EXP_SLTCAP_*_SHIFT macros dt-bindings: Add 'slot-power-limit-milliwatt' PCIe port property PCI: Add function for parsing 'slot-power-limit-milliwatt' DT property PCI: mvebu: Add support for sending Set_Slot_Power_Limit message ARM: dts: turris-omnia: Set PCIe slot-power-limit-milliwatt properties Documentation/devicetree/bindings/pci/pci.txt | 6 ++ arch/arm/boot/dts/armada-385-turris-omnia.dts | 3 + drivers/pci/controller/pci-mvebu.c | 85 +++++++++++++++++-- drivers/pci/of.c | 64 ++++++++++++++ drivers/pci/pci.h | 15 ++++ include/uapi/linux/pci_regs.h | 4 + 6 files changed, 172 insertions(+), 5 deletions(-) -- 2.20.1