From patchwork Tue Mar 19 15:24:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 10859779 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 642F01708 for ; Tue, 19 Mar 2019 15:24:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B88628A94 for ; Tue, 19 Mar 2019 15:24:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F0612975C; Tue, 19 Mar 2019 15:24:55 +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,FREEMAIL_FROM,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 38AE229757 for ; Tue, 19 Mar 2019 15:24:54 +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: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=/N+RDmuX+CtOqlqopl1kLHCdOgh86Scw8iJcrYu5F2I=; b=dPkf//vOp7FXFf ak1nud9vntxV7lEzMp69sAdeGnKwiMkpQoCckY7HEpNt+9tTBPCqwtgFazST+Kj3FK5rsHqraT/3R g9t2pFlHzNxq6kRS348ClavMtXDO44aqcjioWCNx5JWTCbW6HhKeSM/AWnAk+2d03Cpjv4Uk9WQ4r sVQgu0Loja1nOfyEu7hGB3UE2eTGw5fK95RJe/F6g6Ang+vBx8T9U6E2tLKzEnhz1+yxQrbJBiw5a M/ZGyZMPHqLW7GC2A6yBZplcJKhwOw2q3OX8woF1ND5ui16GrhSRH08PmXxdQ4loaR2ZcCzffO/8K tEBMaHPxiVGIaNBRSHwQ==; 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 1h6Gbk-0001NY-Fv; Tue, 19 Mar 2019 15:24:52 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Gbf-0001J8-Dd for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 15:24:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1553009075; bh=idC0Frf0MQ+X1IZan2qPvfUKs86PwQeHY6WHbPRgshU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=fyaALP0e+uvc4W9lchEIJlGU1+FsldnyGUlt88QvGeRd+GPR5AyclyTymASkpxcpI UdVxHM0bMAfcy9EFSmm5rhUCeadnn2tFYkMShAeh8lcIvLJR6PTeq5snwpWWThDBbD YRRrInZGQe3hqaDffKt3gq6xEIkpnwet7iYT/zCU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([109.90.232.48]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MKqOW-1h6GbT0f9k-0000rG; Tue, 19 Mar 2019 16:24:35 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/5] ARM: Initial devicetree for Kobo Aura Date: Tue, 19 Mar 2019 16:24:15 +0100 Message-Id: <20190319152421.16179-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:ANUokbXIXrt+WdEwWYfdguz8F3r6YT4KtuiY43BC8L1c3wxnpPi zuQJpXPSLhIAw/76Zh/dUtG5dwfI6UnicX4mLUu6nbD7y1Be8UYYo2of6Sm7kkhujbxMeAO 6TYLL7FckSnJnS9LLVJQAM2WE4zGZ3Qg7Nxcz/hQBMEeWw4V/gVF3hWRvrrB7PNzOAzhcT5 Ix8MroDNXLv3tcdKhRXvg== X-UI-Out-Filterresults: notjunk:1;V03:K0:2yBFLwoLqa8=:q8UDSmPfVCyOf6OJjrDHkU Bd9mppP5mJApt/4nS1PK/z/DCZ9n8XRo/S5DwbE4P4Ytc8M8dmGKEEIr6Yib09f4vKdKkkkIA LMPOmU0MU7oOKTblBbzcDHhaMkWPWJdbupwODwszMdWDgRnI44R5wlR37TKzNq4qgYwGcMk/f qjRVpLDw1y6SVJGlPLTwW7iSTtxwos4Ofy2RHS6DR49vyPuALDnEi/ZYL+UY5kC+sRbcdbmif k0G7dnMrck3Mmt1ln8J1w2YMdJ9SWg7kT9PbZKtmxi9/6JERGL7uz4PG/P/kQC5DPNSDcTBfF 3XGgfsHC2SXpmxkJx1v7DCPKrpaD6JtCwxW+hgM3x3UXd0C1YPyUIESMU+YM192yk7HbBHIFH 2nCc9C4ypSWf7/SNk8FZlm5eKeGo+SR/us5m1Z9c750FtXJwZvYWTQQ3+w3t/DeR3EwBomt5N WRNpYDTJFPqgxAX47KoYh47l4vh02whJ1elmy5OEuhZ19IMbMfuvgjPSCNlgpMl3fLpDZgmxx B4o87RGHw8mrk+GsFrwB1PBPnQKMi9Ntqa3sv1nnKOlVO5GbGZuIaVUxrsVS3SWYeJ2JbvMLg M5sxaKScQXygFKWOsD7YUmMfIx6KXUX9nEI5Lkj6HWRdriGgLe+ev8fzjaej0FAoiFOct12EQ ok3Wl11wSmWG6MyP16ktyrPvRXSi4RWQRAimwNK6bu4b6VsiPJvuxjvU/o7ZWYZMfRqSemHlt yXekbiSbDCsrWkXu7EIfHCnOJgxRfBhRdjKPqHq+/BpWLoKuD+S6CVncPw14XG7XQO2oqqzhI JfFEaOyKueABMMF3BDpqbG+9yTG2j/fkwXbQAUoEOhHq+67BM1mUt+/sAWSH5JmG4LfotQUWd d3MuBZFHlM/d4sNGY88KcuaidobGfLmauWKT4as1icrX8nXoy12eXX/T2fU9+mRdGX6Cq0Y8L W16y5EYiO2w== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_082447_783467_99598D78 X-CRM114-Status: GOOD ( 13.45 ) 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, Heiko Stuebner , Martin Blumenstingl , Shawn Guo , Sascha Hauer , Johan Hovold , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Manivannan Sadhasivam , =?utf-8?q?Jonatha?= =?utf-8?q?n_Neusch=C3=A4fer?= , Thierry Reding , Fabio Estevam , Kevin Hilman , Jagan Teki 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 This series adds a devicetree for the i.MX507-based Kobo Aura e-book reader, and fixes a few things in imx50.dtsi along the way. A lot of functionality is still missing: - poweroff/reboot, RTC, and battery monitoring support, as well as a PWM channel for the display backlight are provided by a custom embedded controller, which will be supported by a future patchset. The EC driver will also tell the EC to keep the board powered on; otherwise the EC will power the board off after about ten seconds (presumably to avoid battery drain if the OS is missing or corrupted) - The touchscreen controller, eKTF2132, currently doesn't have a mainline driver. - The e-paper display controller (EPDC) embedded in the i.MX50 SoC will need a whole new DRM driver, devicetree bindings, etc. - The TPS65185 PMIC, which generates the voltages necessary for driving the E Ink panel, also needs a driver - The backlight doesn't quite fit the existing pwm-backlight DT binding, because it uses an additional GPIO to boost the brightness. This requires some devicetree work - Linux doesn't currently support suspend-to-ram on i.MX50 In order to keep the system running when CONFIG_PM is enabled, the following fix is also required: https://lore.kernel.org/lkml/20190318231737.8459-1-j.neuschaefer@gmx.net/ My own notes about this machine can be found here: https://github.com/neuschaefer/linux/wiki/Kobo-Aura Jonathan Neuschäfer (5): dt-bindings: Add vendor prefix for Rakuten Kobo, Inc. ARM: dts: imx50: Add Kobo Aura DTS ARM: dts: imx50: Add PHY node for usbotg and adjust clocks ARM: dts: imx50-kobo-aura: Enable USB support ARM: dts: imx50: Fix the numbering of the I2C controllers .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx50-kobo-aura.dts | 263 ++++++++++++++++++ arch/arm/boot/dts/imx50.dtsi | 14 +- 4 files changed, 279 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/imx50-kobo-aura.dts --- 2.20.1