From patchwork Wed May 1 22:57:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 10925703 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 6EA0D933 for ; Wed, 1 May 2019 22:57:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EBA228C6D for ; Wed, 1 May 2019 22:57:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5293328F60; Wed, 1 May 2019 22:57:54 +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 E3FCD28C6D for ; Wed, 1 May 2019 22:57:53 +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=6yXBzQXoK6PrIRGmRNZM9Ozj5z4I0brKcs15reapQb4=; b=Sxn XHfA/DKcNgQTnWBlfwgl1NrECsreLDnQxiYpG5ZDLKjl8nE1rOS6LNxDE5SZl4+j5/5MT7/0q4bkD HinOoRWgiJ6LYj0Qg/Q2jzLIS3m9TpiEVOtoTvyvuARpl5MfjTw9Di2e7yWrExnWOamr75jrc7jVp MKJ60eGswYsmy07pAq3qmYQh08s5SXTN5D3XZq6SXIk8nqoqCvsaL1Abdze4Wfaqznask9WCQ0WNt a7/HlOWk1mOhrRkyX9ykOmMAjIvLcrj+SgYxwtBkZMeoMQ3pvlFlrUx98IKxU4OItLdRGcuVCC73/ xyg1SqVtZxdSCk3Y4xDI2vlX2x0FvgQ==; 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 1hLyAh-0004aq-1k; Wed, 01 May 2019 22:57:51 +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 1hLyAN-0004DJ-UY for linux-arm-kernel@lists.infradead.org; Wed, 01 May 2019 22:57:34 +0000 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 068524E2050; Wed, 1 May 2019 22:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1556751448; bh=87SETz9I8gVQlR+3xH3Kd2u5LAaaIkJnVBbPxK4CLlY=; h=From:To:Cc:Subject:Date; b=m2Kz+qSYaDJz5RNwnYiv8YseqSpwgBbPe6kYQxQ5PCnaKZvLHn0AcqAB/IV+b2l1w ZT/uMUFDmrSGgvjdVtlRKhb81HdQZIeGh3r45GbcTD582fKCqiApZCzDNamyZv3ADD dKgyhIOtieaCPKoM+QC6EtrewDSTIUK6rgvBO+fA= 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 oTmigFlXg-cN; Wed, 1 May 2019 22:57:27 +0000 (UTC) Received: from localhost.localdomain (198-48-167-13.cpe.pppoe.ca [198.48.167.13]) by node.akkea.ca (Postfix) with ESMTPSA id E31F94E204B; Wed, 1 May 2019 22:57:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1556751447; bh=87SETz9I8gVQlR+3xH3Kd2u5LAaaIkJnVBbPxK4CLlY=; h=From:To:Cc:Subject:Date; b=dt4gROCKQoFh1xXyIleLnM368fcxkOXynGt6vucREcSkLeQJe+Nn5GunAjddbHwXq vv7/QVBlCjUyunNdB9Tb/w9ornZjP6qvHKmvC3QssxlDhfo4bfstggdjMhNYd9+Jwq mWzKuIDbm/yc19nVbtdYUteHD07eNWG+DhFwquYQ= From: "Angus Ainslie (Purism)" To: Subject: [PATCH v8 0/3] Add support for the Purism Librem5 devkit Date: Wed, 1 May 2019 16:57:16 -0600 Message-Id: <20190501225719.3257-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-20190501_155731_994373_1C04B52D X-CRM114-Status: GOOD ( 11.08 ) 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, Shawn Guo , Sascha Hauer , "Angus Ainslie \(Purism\)" , 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 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.txt | 1 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 823 ++++++++++++++++++ 4 files changed, 832 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts