From patchwork Thu Dec 9 20:47:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 12695518 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9FBDC433EF for ; Thu, 9 Dec 2021 20:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To:References: List-Owner; bh=DuuMs/wLVdz6lMbJoXzXVus8SkPEC0dTN2ojjs3iPZI=; b=bKxS7LphNqRkWr 7fvE3aNl0Bz1RLGAgOQaxOHEJQcYZZwpEzkFZ2dEHNHNE7/jLlLLo9lnuhkjxa7cUAHLFx5bWJ/MI 9GrEMX3klGAD9xpJVeomItrhPZlJUArEwhCKG27L12l1Zci+6AJNTz/l1RSrBLmwtL1YAOwHZQTvg Wre0toYVBODqw4ALXaA2KQZkGmdHXsKS5uUyS0gAwaFnQyFC0CFQB1ogaRc9zCdfLorq3aUB2gr6n CVySMTtKb2rZfi44E584Zj0nRvtORLaFpSWKxsHfh+DmJ8Y8/5ZZVfVd1W6D6h8wmWbgGKl2CMD+/ 5jhlGd7aNBscNLxMGXrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvQKL-00HW7N-6F; Thu, 09 Dec 2021 20:47:41 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvQKD-00HW4j-Ns; Thu, 09 Dec 2021 20:47:39 +0000 Received: by mail-pf1-x435.google.com with SMTP id x131so6461211pfc.12; Thu, 09 Dec 2021 12:47:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=o36OcVX9L7eLvFsZYgQvL9nIHhtbTrJVafPXVJFttzI=; b=EvFvql7MpBWvp/CefTt46XcdvlSHzd9Do2EjU5AyumHQbSnSnOhDBpgkJ54qzhzwre l82OVNKHLzUa9npZlgRFO536zfFBFJOfoO/pMmpJ545Bi014mwtwAOyEKNmUb/5oY1XH meYglxSJC4ORz/3JpRNbX/mddrYhN5QWrGdY1SanPIEZsphY8cVm9HDW6cOWrEqaT1M+ QmWXh4Z/5U999UvRjjkZhbb+483lsrNOWdYYs9FFzRJRSej7zaVqCvVy1rd9777K06VI uHqV9cD6fOHGKGOLeqd+ik/GDJP/rY8KucD9J6kEvEZs1daejx1Slnid79wQeVec48Bs ozgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=o36OcVX9L7eLvFsZYgQvL9nIHhtbTrJVafPXVJFttzI=; b=dWs8fgfGHkmH6dCIjISVcjh4iA9UScCjX4yDh4rVuLzJSpwy3d7XSSRKM1yXdMq9wS KID7I+w6xJhcFJ6k8YkTblBtedkQK0uwDESH0hb9sLCqn/BqZp/V7l0EbyLyNNsw4ZaQ oyRTtzEgL8VfKkqBYPkS/vDvitYvVBYbdqZOmr3+9WnYpp6EPgFg50ury3Y7w+Aqj5Yh SK3xwZRxA2KbTXL9jEc6rQYl0EUuc82WO6RgV+YbJ7BQriUtjUSRhn+8u/eMnjugCLiz 7STcoFw5HdmED1gv3Dsqv9wvxA6uADeCcgMipfGwsVWdeyqO5RELNCpy/0ZGo+1PdvGP 0C4g== X-Gm-Message-State: AOAM530kj3eg3GQh8+Zslo6ZuK+qM2gJmVYNjOQVotg+8oH4jmelZa2V 4NWGG1U1h3KY07tDu6X4rM4= X-Google-Smtp-Source: ABdhPJzvkVwKpNpwtnIgaVSHV1aGVVpxmbZF8wLif7t67aUOW7Ugbaqc6I5ed9ngYBtQuBa1jN6Kzg== X-Received: by 2002:a62:750e:0:b0:49f:a27d:62b3 with SMTP id q14-20020a62750e000000b0049fa27d62b3mr14030210pfc.37.1639082851868; Thu, 09 Dec 2021 12:47:31 -0800 (PST) Received: from stbsrv-and-01.and.broadcom.net ([192.19.11.250]) by smtp.gmail.com with ESMTPSA id f185sm568370pfg.39.2021.12.09.12.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 12:47:31 -0800 (PST) From: Jim Quinlan To: linux-pci@vger.kernel.org, linux-mips@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Kevin Cernekee , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , 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 , Saenz Julienne Subject: [PATCH v1 0/4] PCI: brcmstb: Augment driver for MIPs SOCs Date: Thu, 9 Dec 2021 15:47:21 -0500 Message-Id: <20211209204726.6676-1-jim2101024@gmail.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-20211209_124733_819380_D5DCEC59 X-CRM114-Status: UNSURE ( 6.82 ) X-CRM114-Notice: Please train this message. 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 With this patchset, the Broadcom STB PCIe controller driver supports Arm, Arm64, and now MIPs. Jim Quinlan (4): dt-bindings: PCI: Add compatible string for Brcmstb 74[23]5 MIPs SOCs MIPS: bmips: Add support PCIe controller device nodes MIPS: bmips: Remove obsolete DMA mapping support PCI: brcmstb: Augment driver for MIPs SOCs .../bindings/pci/brcm,stb-pcie.yaml | 2 + arch/mips/Kconfig | 1 - arch/mips/bmips/dma.c | 106 +----------------- arch/mips/boot/dts/brcm/bcm7425.dtsi | 30 +++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 30 +++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 9 ++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 9 ++ drivers/pci/controller/Kconfig | 2 +- drivers/pci/controller/pcie-brcmstb.c | 82 +++++++++++++- 9 files changed, 161 insertions(+), 110 deletions(-) base-commit: ded746bfc94398d2ee9de315a187677b207b2004 prerequisite-patch-id: d47ce1906f7e175cc394be96f85a6eade86a9097