From patchwork Sun Nov 8 11:16:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Klein X-Patchwork-Id: 7578171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 00897C05C6 for ; Sun, 8 Nov 2015 11:20:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E90B205C4 for ; Sun, 8 Nov 2015 11:20:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4E4B5205B8 for ; Sun, 8 Nov 2015 11:20:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZvNyS-0000nI-2d; Sun, 08 Nov 2015 11:17:28 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZvNyO-0000lp-R5 for linux-arm-kernel@lists.infradead.org; Sun, 08 Nov 2015 11:17:25 +0000 Received: by wmww144 with SMTP id w144so56675137wmw.1 for ; Sun, 08 Nov 2015 03:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=FUPgQU2rtqWet6GAKFeC93UV59pSsRsTh6v3LCI1qLQ=; b=aQUnPj/rWjbvjsdw7WG3UHWGcyZ2QA+3F6KuJXmkop8ZxkLhTgJGpCMUtaj5LojFH1 G0HR+W7N2/7WZtufO8Lgo5ISufT4BJbEM8maQvVgJHoiw3Dnt5YWBAvV5Wi/+dV4iG0z KK2Wd0/l8dM2PpZy33Mrt7HpvS5V0QswT9tc6CshNuSCHnivYqZj9wh/csV690LdADtj gbn5Rhu+QKZvoao5zE5lvL4sYUbuU8R51daKcg2QOhEfxssCbcrKLgBgHqLThIUH1quL 9Kg5YWv829FtfmMKRQocV7RVRcrAK2a5CqYR2q3yrWrU+WMIGGS7O5jlOmL6hK0vWuVJ rI3g== X-Received: by 10.28.215.145 with SMTP id o139mr21729869wmg.27.1446981422747; Sun, 08 Nov 2015 03:17:02 -0800 (PST) Received: from [192.168.178.48] (x4d045e2d.dyn.telefonica.de. [77.4.94.45]) by smtp.gmail.com with ESMTPSA id at4sm9554415wjc.9.2015.11.08.03.17.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Nov 2015 03:17:02 -0800 (PST) Subject: Re: wrong value in kirkwood-ts219.dtsi To: Andrew Lunn References: <56390400.5070408@gmail.com> <20151103203628.GA25118@lunn.ch> <5639EC29.8010604@gmail.com> <20151104151227.GA3316@lunn.ch> From: Helmut Klein Message-ID: <563F2F29.8040005@gmail.com> Date: Sun, 8 Nov 2015 12:16:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151104151227.GA3316@lunn.ch> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151108_031725_135153_DF662761 X-CRM114-Status: GOOD ( 14.58 ) X-Spam-Score: -2.0 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gregory Clement , Jason Cooper , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hallo Andrew, i've appended a text, which might be a "canonical patch". regards Helmut Subject: arm: make QNAP power-off work for ts219 with an appended dt blob the "reg" entry in the "poweroff" section of "kirkwood-ts219.dtsi" addressed the wrong uart (0 = console). this patch changes the address to select uart 1. this is the uart connected to the pic microcontroller, which can switch the device off. Signed-off-by: Helmut Klein --- On 04.11.2015 16:12, Andrew Lunn wrote: > On Wed, Nov 04, 2015 at 12:29:45PM +0100, Helmut Klein wrote: >> Hallo Andrew, >> >> here is the patch (created with diff -up and then compressed with xz) > > Thanks. > > But unfortunately, there is a lot more process involved. Please could > you take a look at Documentation/SubmittingPatches in the kernel > sources. > > Andrew > --- linux-4.3/arch/arm/boot/dts/kirkwood-ts219.dtsi.orig +++ linux-4.3/arch/arm/boot/dts/kirkwood-ts219.dtsi @@ -40,7 +40,7 @@ }; poweroff@12100 { compatible = "qnap,power-off"; - reg = <0x12000 0x100>; + reg = <0x12100 0x100>; clocks = <&gate_clk 7>; }; spi@10600 {