From patchwork Thu Nov 25 11:07:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 12638943 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 C1B30C433F5 for ; Thu, 25 Nov 2021 11:09:38 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=zBBjGi8cfVkT6BR17njlFuMX6BcgRvqWL+havS2dEjI=; b=OKr4dQCsUiRp4N Tp1oyLiNzqtbZKnX5jP9ztj2y+AT6/pRB/kCxGbdiL3wlbVIhmgzfVDgh2EpAJxl/24tBrnEadwbq lRoEWB/8b4EIC5Lzox6g2coQ1s5fEyBDmdrMek5Q6F4H7tOUtlZ5MS9MduymKAzD9wgeH9RawM6P7 7QR7bXaG5wqAwvRtdHfBsj9Lfc/sLqT+XvMZKibRIZyz6JBaRk9ELOTzazHNQayUBkkVJ9gL4xqkc Ey8Qsz8p2nz6Qs+nJRiX2iSzd54yAUzEEmIJSKMDM2t55Iy0w9/6sfLLt31j/QivGoXQ3TMMGAE5q ZpfZMr41rQ45voaDlCpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqCd8-007AXB-Q5; Thu, 25 Nov 2021 11:09:30 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqCbY-007A0h-Vc; Thu, 25 Nov 2021 11:07:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5pRaNyWdci2lpGc10bBusQj/HKqBqRCeHDcFU0fZnOo=; b=aWLUmhftv7Sf22QSMWa0DHxnXw tHWgW5a2jAjOX3Wifw7EMbmYYOTNBP9XN5ZiyaoAls/1aVI/2oMAYLXTMmJOWkAJa4jfImp2B2wRL KxXjKiuezxcBD/ry/o1adTXf/0pxiaplQkBYuEleFqHo9i5rYYmyVLtKiuS0fCw7TQo8=; Received: from p54ae9f3f.dip0.t-ipconnect.de ([84.174.159.63] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mqCbM-0002ws-NM; Thu, 25 Nov 2021 12:07:40 +0100 From: Felix Fietkau To: linux-arm-kernel@lists.infradead.org, Matthias Brugger Cc: john@phrozen.org, linux-mediatek@lists.infradead.org Subject: [PATCH v4 00/12] Add support for Airoha EN7523 SoC Date: Thu, 25 Nov 2021 12:07:26 +0100 Message-Id: <20211125110738.41028-1-nbd@nbd.name> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_030753_257067_81207727 X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org This patchset adds support for the Airoha EN7523 SoC, intended primarily for xPON/xDSL routers. Felix Fietkau (3): clk: en7523: Add clock driver for Airoha EN7523 SoC PCI: mediatek: allow selecting controller driver for airoha arch ARM: dts: Add PCIe support for Airoha EN7523 John Crispin (9): dt-bindings: Add vendor prefix for Airoha dt-bindings: arm: airoha: Add binding for EN7523 SoC and EVB ARM: dts: Add basic support for Airoha EN7523 ARM: Add basic support for Airoha EN7523 SoC ARM: multi_v7_defconfig: Add support for Airoha EN7523 SoC dt-bindings: Add en7523-scu device tree binding documentation dt-bindings: PCI: Add support for Airoha EN7532 dt-bindings: arm: airoha: Add binding for Airoha GPIO controller gpio: Add support for Airoha EN7523 GPIO controller .../devicetree/bindings/arm/airoha.yaml | 27 ++ .../bindings/clock/airoha,en7523-scu.yaml | 58 +++ .../bindings/gpio/airoha,en7523-gpio.yaml | 63 ++++ .../devicetree/bindings/pci/mediatek-pcie.txt | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/Kconfig | 14 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/en7523-evb.dts | 47 +++ arch/arm/boot/dts/en7523.dtsi | 203 ++++++++++ arch/arm/configs/multi_v7_defconfig | 1 + drivers/clk/Kconfig | 9 + drivers/clk/Makefile | 1 + drivers/clk/clk-en7523.c | 356 ++++++++++++++++++ drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-en7523.c | 136 +++++++ drivers/pci/controller/Kconfig | 2 +- include/dt-bindings/clock/en7523-clk.h | 17 + 18 files changed, 948 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/airoha.yaml create mode 100644 Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml create mode 100644 Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml create mode 100644 arch/arm/boot/dts/en7523-evb.dts create mode 100644 arch/arm/boot/dts/en7523.dtsi create mode 100644 drivers/clk/clk-en7523.c create mode 100644 drivers/gpio/gpio-en7523.c create mode 100644 include/dt-bindings/clock/en7523-clk.h