From patchwork Tue May 28 12:57:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 10964871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 89C396C5 for ; Tue, 28 May 2019 12:58:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69757271CB for ; Tue, 28 May 2019 12:58:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 588C31FF41; Tue, 28 May 2019 12:58:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A4C3D1FF41 for ; Tue, 28 May 2019 12:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=qkrj+RXR+QBvGaRWZldTqHMMHYXi2ihSvYF3KKHn8lE=; b=RR1 rx8WFs93v7v6UNBY10uLJhxdktV8PQJ7BmX5kbQPFy99bjOFDP5dCzCeYEaLbS3rNVd9gRR//SB6P ceWbu4MF0xO9CeibXmIFuIVOnDYqdWeFUe7aJy6G+wu1bJawvYeN99+PgyZqolsx6gEg6RclMPjDM +ipycRtLar+UEfoAERUumMRHwTrKWlO3Lp42/zZbuehZixHsyKy8bJuVEJzDrJLmKj/c3z8WHBqQA 7VOVpspktL483qa4a+jGbPCbHtcgSvv4g4/Imw3BqUetTuBEWxDJWgJj4z/kH5TH+PJNCt5lIyEXz oHIjhHyJFqYL8TOTHOT/BN/jO0UnbzA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVbg4-0005qL-Jm; Tue, 28 May 2019 12:58:04 +0000 Received: from node.akkea.ca ([192.155.83.177]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVbg1-0005pB-Lz for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 12:58:03 +0000 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 9D1D64E204E; Tue, 28 May 2019 12:58:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1559048280; bh=NPw47n7CKjoHKEhwxDO6pHZ9PlEL71gPrZ8VwbmE5cY=; h=From:To:Cc:Subject:Date; b=iBdnYWDh7luWPmjhUg3+n+LRehgA5v21ohYdJdjwnmGbCpmgazMhihkJ5TkkALwD9 D7bBiL9rz6nXzHlrPZ0KjafruOieYNpFURP4AdOF5VlR0pYSu899IGQlmq+Bxda9Mj 38g6/hg/rgr/zH4x3EdaCEumUpabOG/5lsWUJPpg= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P-A9JZb9dDqC; Tue, 28 May 2019 12:58:00 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 76ABB4E204B; Tue, 28 May 2019 12:57:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1559048280; bh=NPw47n7CKjoHKEhwxDO6pHZ9PlEL71gPrZ8VwbmE5cY=; h=From:To:Cc:Subject:Date; b=iBdnYWDh7luWPmjhUg3+n+LRehgA5v21ohYdJdjwnmGbCpmgazMhihkJ5TkkALwD9 D7bBiL9rz6nXzHlrPZ0KjafruOieYNpFURP4AdOF5VlR0pYSu899IGQlmq+Bxda9Mj 38g6/hg/rgr/zH4x3EdaCEumUpabOG/5lsWUJPpg= From: "Angus Ainslie (Purism)" To: angus.ainslie@puri.sm Subject: [PATCH v15 0/3] Add support for the Purism Librem5 devkit Date: Tue, 28 May 2019 05:57:44 -0700 Message-Id: <20190528125747.1047-1-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_055801_764983_AD3B50BA X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Abel Vesa , Carlo Caione , Andrey Smirnov , Shawn Guo , Sascha Hauer , "Angus Ainslie \(Purism\)" , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , =?utf-8?q?Guido_G=C3=BCnther?= , linux-arm-kernel@lists.infradead.org, Lucas Stach MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Librem5 devkit is based on the imx8mq from NXP. This is a default devicetree to boot the board to a command prompt. Changes since v14: Add regulator-always-on for the SNVS regulators. Added pgc nodes. Fixed charger pre-current. Changes since v13: Moved haptic motor from pwm-led to gpio-vibrator. Cleaned up regulator node naming. Whitescpace cleanup. Re-indent pinmux stanzas. Drop pwm2 node. Drop MAINTAINERS patch. Changes since v12: Updated patch to vendor-prefixes.yaml. Dropped always on from regulators. Changes since v11: Added reviewed-by tags. Fixed subject typo. Changes since v10: Moved MAINTAINERS entry to "ARM/FREESCALE IMX" section Changes since v9: Added a MAINTAINERS entry for arm64 imx devicetree files. Changes since v8: Fixed license comment. Changed regulators to all lower case. Changed clock frequency for NXP errata e7805. Dropped blank line. Changes since v7: More regulators always on for USB. Add vbus regulator. Drop vbat regulator. Replace legacy "gpio-key,wakeup" with "wakeup-source". Add vbus-supply to get rid of warning imx8mq-usb-phy 382f0040.usb-phy: 382f0040.usb-phy supply vbus not found, using dummy regulator Changes since v6: Dropped unused regulators. Fix regulator phandles case. Dropped extra whitespace. Changes since v5: Added reviewed-by tags. Moved USB port links to USB controller node. Changes since v4: Compiled against linux-next next-20190415. Added imx8mq to the arm yaml file. Re-arrange regulator nodes to drop undefined supplies. Additional ordering for aesthetics. Split some long lines. Added lots of blank lines. Moved pinctl muxes to where they are used. Cleaned out reg defintions from regulator nodes. Changes since v3: Freshly sorted and pressed nodes. Change the backlight to an interpolated scale. Dropped i2c2. Dropped devkit version number to match debian MR. Changes since v2: Fixed incorrect phy-supply for the fsl-fec. Dropped unused regulator property. Fixup Makefile for linux-next. Changes since v1: Dropped config file. Updated the board compatible label. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq boards .../devicetree/bindings/arm/fsl.yaml | 7 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 806 ++++++++++++++++++ 4 files changed, 816 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts