Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3744610imm; Mon, 6 Aug 2018 09:51:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeG893jN/O0mlhEBB1YqGZN+4/6chnmtGIYyYj1Sm/fBJzuYgqKj5RmUebSSzKKHhT4e5z/ X-Received: by 2002:a17:902:820e:: with SMTP id x14-v6mr14650642pln.218.1533574287711; Mon, 06 Aug 2018 09:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533574287; cv=none; d=google.com; s=arc-20160816; b=ruwvHG9LsYG8RKQrjOe1Pxi/bQYEmONI0hdR9Fnt7Ut3nt0IFH+ZKuDby6U+1KOWlq zmqZMrRsmZWSdB9ZquWVSdbV3/W8VIZzAyOk7y2Ex43d7KIOb52PPjlC3l8CiGwd93R5 ozTFPR+M7NH2xz17wA8uwzMaVZipQ5hFFG1IGshcx03rAO16p8NzZyt7Pt+h99x++7Lg NGegzo1w01kA4aHbd3vVxcoj7I1ZtPvuGQzJjRuhYPVQuAx83vQcP1d8wxkFdAZVd6x+ xPAJjdmp+n3cTCClBVv3bUvTol4rEKlG5L3CqK4S+J5nzwZ1y6qPy+2NftGQj9+28RGv GlcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=8Dbv1il3vERjiqfsrV16gt/SH4BHsxyO5T5DH4Hq6DU=; b=U5IucwMjp7wH+sDjufrzujJbWY354WPtmxWnjk4QwOs45YJwP9R5Om0T139JnphT9d 92QEaXpGjZcWAMFqUlxKG4BAeX2u+rLE09pT3AHt7B2BMgFnieeF8luErd1r8f1i3brC cw5GZFBlQ/JXN4QYu0nt13wW1GPkKOaoxLL8lzor5TYqEn6iXX+d9BDEprIQWfU719PM EF8ftZA/eIbAANk7X7qB0VOwKcEKHbbs8i6x8dncyxcxtPh5a/XK593dRNonlNPA0Pyi 6WIw3bDzyZQuKAWDOLDbbdQynxWpwAz+QrHOut+G3OZtIjBHdMqFe503MV19NLp5S7h9 Jt8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si11437402pge.531.2018.08.06.09.51.13; Mon, 06 Aug 2018 09:51:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732410AbeHFS7k (ORCPT + 99 others); Mon, 6 Aug 2018 14:59:40 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:60447 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731993AbeHFS7j (ORCPT ); Mon, 6 Aug 2018 14:59:39 -0400 Received: from kresse.hi.pengutronix.de ([2001:67c:670:100:1d::2a]) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1fmihL-0002Ha-JU; Mon, 06 Aug 2018 18:49:35 +0200 Message-ID: <1533574172.2809.11.camel@pengutronix.de> Subject: Re: [PATCH v8 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property From: Lucas Stach To: Robin Gong , Oleksij Rempel , Shawn Guo , Mark Brown , "Rafael J. Wysocki" Cc: Mark Rutland , "devicetree@vger.kernel.org" , Michael Turquette , Stephen Boyd , "linux-kernel@vger.kernel.org" , Liam Girdwood , Rob Herring , dl-linux-imx , "kernel@pengutronix.de" , "A.s. Dong" , Fabio Estevam , Russell King , Andrew Morton , Leonard Crestez , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Date: Mon, 06 Aug 2018 18:49:32 +0200 In-Reply-To: References: <20180726092220.17250-1-o.rempel@pengutronix.de> <20180726092220.17250-2-o.rempel@pengutronix.de> <84c1921c-922e-4b5d-b688-db89047fa1db@pengutronix.de> <1532680211.32306.36.camel@pengutronix.de> <02f4b642-14a8-f2db-ea23-c42a4f6f1652@pengutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::2a X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 06.08.2018, 02:34 +0000 schrieb Robin Gong: > > > > Not all boards follow the reference design, that's a fact of > > > > life. > > > > > > > > Please look at the i.MX6Q reference manual. The sequence > > > > implemented > > > > in this patchset can be found as a valid way to power off the > > > > system > > > > in > > > > "60.4.3 Power mode transitions" "Normal ON to OFF with external > > > > PMIC", so there is hardly any way to argue that this is a board > > > > specific quirk. This is one of the Freescale/NXP recommended > > > > sequences to > > > > turn off the system. > > > > > Okay, but could you add one more comment for this solution? RTC > > > alarm > > > and ONOFF Button wakeup feature can't be support in this case. > > > > Enough to add it in to changelog? or should it go to the binding > > documentation? > > The binding doc is better. Sorry, I disagree. A binding is a way to describe a specific hardware layout, it isn't the right place to advice a hardware designer on the implications of a specific hardware implementation. The NXP hardware design guide is a more suitable place for this information. We also don't mention in random bindings that the system won't be able to brew a fresh cup of coffee. Regards, Lucas