Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932471AbcJNNPe (ORCPT ); Fri, 14 Oct 2016 09:15:34 -0400 Received: from mail.kernel.org ([198.145.29.136]:36754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932205AbcJNNP1 (ORCPT ); Fri, 14 Oct 2016 09:15:27 -0400 Date: Fri, 14 Oct 2016 15:15:16 +0200 From: Sebastian Reichel To: xiaogang@codeaurora.org Cc: Andy Yan , andy.gross@linaro.org, Dmitry Eremin-Solenikov , David Woodhouse , Rob Herring , Mark Rutland , Krzysztof Kozlowski , John Stultz , Alexandre Belloni , Nicolas Ferre , Chris Brand , Richard Weinberger , Moritz Fischer , Florian Fainelli , "open list:POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH 1/2] power: reset: Add qcom reboot mode driver Message-ID: <20161014131516.bkyi3tsx2nhqfyhm@earth> References: <1476410823-8912-1-git-send-email-xiaogang@codeaurora.org> <54841aee-34ec-2776-e802-9e36d12e77c2@rock-chips.com> <9c8d80ce39a10274da06e99735944ffa@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oupzpfgts3fmfvym" Content-Disposition: inline In-Reply-To: <9c8d80ce39a10274da06e99735944ffa@codeaurora.org> User-Agent: NeoMutt/20160916 (1.7.0) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2219 Lines: 60 --oupzpfgts3fmfvym Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Oct 14, 2016 at 11:06:14AM +0800, xiaogang@codeaurora.org wrote: > =E5=9C=A8 2016-10-14 10:41=EF=BC=8CAndy Yan =E5=86=99=E9=81=93=EF=BC=9A > > On 2016=E5=B9=B410=E6=9C=8814=E6=97=A5 10:02, Xiaogang Cui wrote: > > > This is a initial version so it's very similar with syscon > > > reboot mode driver. We will add more functionalities in the > > > further after dependency is ready. > > >=20 > > > Signed-off-by: Xiaogang Cui > > > --- > >=20 > > As your commit messages said, "it's very similar with syscon > > reboot mode driver", so maybe we can try to reuse the syscon > > reboot mode driver, and extend your new function on it. >=20 > Since it will heavily depend on Qualcomm qpnp and download mode > driver. I prefer to add a new driver for this. So use syscon driver until then. In its current state is more or less a copy of syscon driver with s/syscon/qcom/g. I will not queue that. Just add a more specific compatible value in addition to the syscon one: compatible =3D "qcom,reboot-mode", "syscon-reboot-mode"; Then syscon driver is used and if something more complex is required later we can easily switch to it. -- Sebastian --oupzpfgts3fmfvym Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJYANphAAoJENju1/PIO/qaKwkP/juhatAbBGpmsf3rX4CnBa8s qAvN4iSuBb+oY3V0Dd/ZfeKHMxBlG3H95HHCqm3iHYMTQdD51SsPOVTfz2UTcUDt ds7/N4Hvs0pgICisnHadNQ1HPt/FBMc0hgGxlxgYMjZnhmp2uDAURJpPtFU/e/wx zVrtmxPdCTI7UpFpfLlItaPWPleDDJ+dueEhXQgrjnWHuyyC1QPFdo5jkAofFn6e ivFjSNxq7b7RiebdBuhvGAPAqUmTbLhKrZEFZlqf/3DsPnp0tfSi+u4xnuTZ4SzD 6/MeL7VGZIBu+lU+Zouxva4LpaZSZaDVYgZlvsVb5D+5MKbZMf8At51opFGn9uAV r4w7Ohx4evNogimzacwXKvu0N/DfUN+xW+NQlKcIo+J+dzbs7m28rKwNbAcE0YIL xgJD1dZRFBrzYu1NnhFFLH+G1Va/xo1IvSH4acccol0ueXTd3iaoiuErYs59PqpO IipFfH9woLZAvLoStDgOjmTcoPBF18oN1nwNQW+H6drFuU0d6cr7JN5djhHvw1Ua SrPpRUe0AwVTR6/uvgS2PIoKnbb3i+YaRZr//4Mx7dvmj5BYXr1FWzTxTuK6mKlg mvS8YudfmvYQMUVzGmWrVb+NOgi7gCfFERtHBZ4Z75qEJ3cAlwk+Otwn4tjxtK+b knqlwyD1Nc6gnW624AVg =pBAM -----END PGP SIGNATURE----- --oupzpfgts3fmfvym--