From patchwork Fri May 24 18:32:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 10960287 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 F225D112C for ; Fri, 24 May 2019 18:33:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE80B28723 for ; Fri, 24 May 2019 18:33:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFC8D289FC; Fri, 24 May 2019 18:33:15 +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 18F9228723 for ; Fri, 24 May 2019 18:33:15 +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=h1CJ7LHiR5nspgxUt4f1nB0NyBk28hVigZO9IkWTtGY=; b=tYD A6t7e+VOdI8yeT0WTBPZAG9akiAjOxuUdskQQYW7vp9lBW2rgrHI0bzH/SB9oc3I9mixoshGjZmwM ZKGBNYj7HZ19obNo5DHal3Em+AowK+/NL6PK8ueKlFBIz1RsNEKk9COrWfnJ2BTo50JGBbqrtcv54 wPs7ZOsrxomGzt6ERLjkg+RuXbLPFtJVAeUj/+8jR6BN1VMNpIyHj580ZtTTPpxg9uTiXj+L7OLFz ZOOG7LB2D0WRfnubnqSRgUFf+tdq3mJrlstzjP5X5uL14v6MXoutZYvjv3uQtNyMiokOT96i2fy3g U3bx4Jt+Rp3wbMmvKLvKODOIJWNwQlA==; 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 1hUF0A-0001Bg-Q9; Fri, 24 May 2019 18:33:10 +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 1hUF06-0001AN-Se for linux-arm-kernel@lists.infradead.org; Fri, 24 May 2019 18:33:08 +0000 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 8BC524E2056; Fri, 24 May 2019 18:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1558722785; bh=GjTxWLl04/VBrp89zY7pbkJt4uF3uLA357204mKJBEw=; h=From:To:Cc:Subject:Date; b=iqQ148KskLDabUqs7ziDLJqI1JbmGYdXQTsH70U6NGTr19O8PeHiEFJh3Rf+0hzQL 4aBWLhwTCqKPsY4fWOIAJNg/LA4Gs55svP2HBtiDcjZTGe/F/4G/15TjzAN3Dsz8q2 /4/VSbZkMfI+Nv+LXmrrIZ6T58kA5AW/Lx+WvMEQ= 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 CNbJyUawJgxq; Fri, 24 May 2019 18:33:04 +0000 (UTC) Received: from localhost.localdomain (unknown [24.244.23.228]) by node.akkea.ca (Postfix) with ESMTPSA id 29B944E204B; Fri, 24 May 2019 18:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1558722784; bh=GjTxWLl04/VBrp89zY7pbkJt4uF3uLA357204mKJBEw=; h=From:To:Cc:Subject:Date; b=AK1DVFXHN3gSR8L2WvNAJAmFPwV9JmFN2/9E0ZJydzJGBJOiiynU5QhXsMFEd2WWy ANZf6ey7e3nWYE5E/y4d3lP8tGwAPUP0rLHSWONJ7ZXK4yOF+f5P+Xtr4c6ZArOR8d 3byebZw9C814EVdtmeKOyQSE77Gl1P0m1v2lyKjg= From: Angus Ainslie To: angus.ainslie@puri.sm Subject: [PATCH v14 0/3] Add support for the Purism Librem5 devkit Date: Fri, 24 May 2019 12:32:54 -0600 Message-Id: <20190524183257.16066-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-20190524_113306_978071_904DBE26 X-CRM114-Status: GOOD ( 10.24 ) 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, Pavel Machek , Shawn Guo , Sascha Hauer , Angus Ainslie , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org 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 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 | 794 ++++++++++++++++++ 4 files changed, 804 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts