From patchwork Sat Oct 31 18:21:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 11871593 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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 E609AC388F9 for ; Sat, 31 Oct 2020 18:24:04 +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 926F4206E3 for ; Sat, 31 Oct 2020 18:24:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aZqUVCqh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 926F4206E3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=paulk.fr 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-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=vRC4ac/GocCDUhWFf5kZ52FZTW7S2zi2k3NVYElBlaI=; b=aZqUVCqhXqFAJ2uI1PbqCgif+7 yizfC/cabVCpZs6cyTQTfhSpRgr5QJoQUzEio+AbtoH3i8BI6AnvmGlD1K/wsgmM9zDt9iLZIRyrf 37u7ogR+idLQBQTRRWWuvp0s5eXq2lMvgRaLF9CqHDFXxjMhAf20o1SOGzRdUgeUHsj1rz7ZJ+eAO vSu2jPUcOzh2rNMUXhtoznrIrAr1nLwQmTkJxA4OLQbjgrDUJq98HeFHX5ZyNgKfBwQ+drkfn3s2t FUs9o9UMyI2SFx9zxda7R2t55vd/bnYPs7U1V2KOxHi8FjLlaHJNMNbCU+Xeo+zvvngPFyUSUzY14 bKTgJnzA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYvW1-0004IQ-Q0; Sat, 31 Oct 2020 18:22:13 +0000 Received: from leonov.paulk.fr ([185.233.101.22]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYvVw-0004Ho-1O for linux-arm-kernel@lists.infradead.org; Sat, 31 Oct 2020 18:22:09 +0000 Received: from gagarine.paulk.fr (gagarine [192.168.1.127]) by leonov.paulk.fr (Postfix) with ESMTPS id 4F4EDC0139 for ; Sat, 31 Oct 2020 19:22:04 +0100 (CET) Received: by gagarine.paulk.fr (Postfix, from userid 114) id A60F6C1D76; Sat, 31 Oct 2020 19:22:03 +0100 (CET) Received: from localhost.localdomain (unknown [192.168.1.101]) by gagarine.paulk.fr (Postfix) with ESMTP id C6153C1D64; Sat, 31 Oct 2020 19:21:52 +0100 (CET) From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/9] Allwinner V3 SL631 Action Camera Support and Related Fixes Date: Sat, 31 Oct 2020 19:21:28 +0100 Message-Id: <20201031182137.1879521-1-contact@paulk.fr> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201031_142208_241087_FDC5C8DA X-CRM114-Status: GOOD ( 15.38 ) 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: Matteo Scordino , Paul Kocialkowski , Maxime Ripard , Chen-Yu Tsai , Rob Herring , Icenowy Zheng Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds support for the Allwinner V3-based SL631 family of Action Cameras, starting with the IMX179 fashion. A few fixes to V3 support are added along the way, most notably support for the NMI IRQ controller which is necessary for the AXP209 IRQ. Note that some patches in this series may have already been submitted (but not yet merged) by others and are included for the series to build. Happy reviewing! Paul Kocialkowski (9): ARM: sunxi: Add machine match for the Allwinner V3 SoC ARM: dts: sun8i-v3: Add UART1 PG pins description ARM: dts: sun8i-v3s: Add I2C1 PB pins description dt-bindings: irq: sun7i-nmi: Add binding for the V3s NMI irqchip/sunxi-nmi: Add support for the V3s NMI ARM: dts: sun8i-v3s: Add the V3s NMI IRQ controller ARM: dts: sun8i: Cleanup the Pinecube AXP209 node dt-bindings: arm: sunxi: Add SL631 with IMX179 bindings ARM: dts: sun8i-v3: Add support for the SL631 Action Camera with IMX179 .../devicetree/bindings/arm/sunxi.yaml | 6 + .../allwinner,sun7i-a20-sc-nmi.yaml | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun8i-s3-pinecube.dts | 8 +- arch/arm/boot/dts/sun8i-v3-sl631-imx179.dts | 12 ++ arch/arm/boot/dts/sun8i-v3-sl631.dtsi | 145 ++++++++++++++++++ arch/arm/boot/dts/sun8i-v3.dtsi | 6 + arch/arm/boot/dts/sun8i-v3s.dtsi | 16 +- arch/arm/mach-sunxi/sunxi.c | 1 + drivers/irqchip/irq-sunxi-nmi.c | 18 ++- 10 files changed, 206 insertions(+), 8 deletions(-) create mode 100644 arch/arm/boot/dts/sun8i-v3-sl631-imx179.dts create mode 100644 arch/arm/boot/dts/sun8i-v3-sl631.dtsi