From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70B82C433FF for ; Sun, 28 Jul 2019 13:21:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49AAB214C6 for ; Sun, 28 Jul 2019 13:21:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gJPqB8Gr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 49AAB214C6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VVxyoQ9dY+CEKzmk2Xc65psPfHHk0wiHxy5zgFlW9K4=; b=gJPqB8GrEcBQFK 9U20m0TEafeB7AcJ2yy81e0mFfig6BHBDHNIlnuSLEFK06wlC3LlIJhRZD4J1BJwprFR4otyRpSuV 8R3dTUc72BsyCfyr8blIMosaLe1uina4dx9zyTapD4xBdNU39O4OyP9n5eEhZ5WvW5dC2ld5Y7asw oRx6PFRybRKW8hd8TmRAbj0nl+3SvYOF+uiFvlyomvQCdbVmKFyRJLS4RYohQcwe/kkLfm/nrD9GB ryIVarXBnwAmsA0eefaIheJf8XkVrPDLYsG8ucCaIehDu8GrvvN2CnNCZm7eb+f75ScV/gFW8ONuy 7XaKHgAZGU3/xidoUloQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hrj6p-0006Oz-Sg; Sun, 28 Jul 2019 13:21:07 +0000 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hrj6m-0006MT-D6 for linux-arm-kernel@lists.infradead.org; Sun, 28 Jul 2019 13:21:06 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 02D3F80234; Sun, 28 Jul 2019 15:20:40 +0200 (CEST) Date: Sun, 28 Jul 2019 15:20:47 +0200 From: Pavel Machek To: Evgeny Kolesnikov Subject: Re: [PATCH 0/5] Add support for WD MyCloud EX2 Ultra (+ versatile UART-based restart/poweroff drivers) Message-ID: <20190728132047.GA8718@xo-6d-61-c0.localdomain> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190728_062104_598483_D89D28E9 X-CRM114-Status: GOOD ( 14.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Jason Cooper , linux-pm@vger.kernel.org, Gregory Clement , Sebastian Reichel , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon 2019-07-22 21:53:00, Evgeny Kolesnikov wrote: > This patchset consists of the DTS, which describes the WD MyCloud EX2 Ultra device, > 'poweroff' and 'resert' drivers for power-managing MCUs connected to a board via UART > (these drivers are more versatile than qnap-poweroff and could be used as a substitude), > and DT bindings for these drivers. > > The difference between uart-poweroff and qnap-poweroff is small, but important: > uart-poweroff is able to send to an MCU a command of arbitrary length, and the command > itself is defined in a DTS file for a specific device/board, thus making this driver > applicable to wider range of devices. > > drivers/power/reset/uart-poweroff.c | 155 +++++++++ > drivers/power/reset/uart-restart.c | 204 ++++++++++++ These twon really need to be combined somehow. Plus... does it have mini-16550 driver in it? Should it use serdev instead? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel