Re: [PATCH 2/2] devicetree: Add DTS file to support the Nexus7 2013 (flo) device.

2016-01-04 Thread John Stultz
On Fri, Dec 11, 2015 at 5:22 PM, John Stultz <john.stu...@linaro.org> wrote: > This patch adds a dts file to support the Nexus7 2013 > device. Its based off of the qcom-apq8064-ifc6410.dts > which is similar hardware. > > Also includes some comments and context folded in

Re: [PATCH v3 0/5] Add reboot notifier driver for rockchip platform

2015-12-16 Thread John Stultz
>>> Before this version, I have sent two Series, which can be found >>> at [0] [1] >>> [0] https://patchwork.kernel.org/patch/7140751/ >>> [1] https://patchwork.kernel.org/patch/7153531/ >> >> just so it doesn't get lost, this ties into a slightly

[PATCH 1/2] devicetree: qcom-apq8064.dtsi: Add i2c3 address-cells and size-cells values

2015-12-11 Thread John Stultz
cet...@hellion.org.uk> Cc: Kumar Gala <ga...@codeaurora.org> Cc: Russell King <li...@arm.linux.org.uk> Cc: Vinay Simha BN <simha...@gmail.com> Cc: devicetree@vger.kernel.org Cc: Bjorn Andersson <bjorn.anders...@sonymobile.com> Acked-by: Bjorn Andersson <bjorn.anders...@s

[PATCH 2/2] devicetree: Add DTS file to support the Nexus7 2013 (flo) device.

2015-12-11 Thread John Stultz
Bjorn Andersson <bjorn.anders...@sonymobile.com> Signed-off-by: John Stultz <john.stu...@linaro.org> --- v2: Included Bjorn's feedback. Patch applies against -next. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 276 +

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-10 Thread John Stultz
On Thu, Dec 10, 2015 at 6:52 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Wednesday 09 December 2015 17:19:52 John Stultz wrote: >> >> If the concern is that since DT is basically ABI, one might not want >> to have such a wide interface that specifies all the

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-10 Thread John Stultz
On Thu, Dec 10, 2015 at 11:57 AM, One Thousand Gnomes <gno...@lxorguk.ukuu.org.uk> wrote: > On Thu, 10 Dec 2015 11:04:03 -0800 > John Stultz <john.stu...@linaro.org> wrote: >> On Thu, Dec 10, 2015 at 1:20 AM, Tomas Winkler <tom...@gmail.com> wrote: >> > Secon

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-10 Thread John Stultz
On Thu, Dec 10, 2015 at 1:20 AM, Tomas Winkler wrote: > Intel uses EFI variables for that on some AOS platforms. There is a > need for persistent storage abstraction and generalize the reboot > reasons strings. Yea. I've been told there isn't any sort of standardized method

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-10 Thread John Stultz
On Thu, Dec 10, 2015 at 12:24 PM, Rob Herring wrote: > The fact that we are using notifiers for reset reason and triggering > is probably some indication that some infrastructure is needed. But I > don't think you need to do that here as long as it is all kernel > internals.

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread John Stultz
On Wed, Dec 9, 2015 at 12:50 AM, Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Tue, Dec 08, 2015 at 04:13:35PM -0800, John Stultz wrote: >> >> Is there a better way? Are enums for array indexes out of fashion? > > They are not, but you have declared a variable (reas

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread John Stultz
On Wed, Dec 9, 2015 at 2:07 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Tuesday 08 December 2015 16:22:40 John Stultz wrote: >> >> diff --git a/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> >> b/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts &g

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread John Stultz
On Tue, Dec 8, 2015 at 2:07 PM, Bjorn Andersson <bjorn.anders...@sonymobile.com> wrote: > On Tue 08 Dec 13:29 PST 2015, John Stultz wrote: >> diff --git a/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> b/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> in

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-08 Thread John Stultz
On Tue, Dec 8, 2015 at 2:07 PM, Bjorn Andersson <bjorn.anders...@sonymobile.com> wrote: > On Tue 08 Dec 13:29 PST 2015, John Stultz wrote: > >> This patch adds a basic driver to allow for commands like >> "reboot bootloader" and "reboot recover

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-08 Thread John Stultz
On Tue, Dec 8, 2015 at 2:26 PM, Rob Herring <robh...@kernel.org> wrote: > On Tue, Dec 8, 2015 at 3:29 PM, John Stultz <john.stu...@linaro.org> wrote: >> This patch adds a basic driver to allow for commands like >> "reboot bootloader" and "reboot reco

[RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-08 Thread John Stultz
ha BN <simha...@gmail.com> Cc: Bjorn Andersson <bjorn.anders...@sonymobile.com> Cc: Haojian Zhuang <haojian.zhu...@linaro.org> Cc: devicetree@vger.kernel.org Cc: Android Kernel Team <kernel-t...@android.com> Signed-off-by: John Stultz <john.stu...@linaro

[RFC][PATCH] devicetree: Add DTS file to support the Nexus7 2013 (flo) device.

2015-12-04 Thread John Stultz
Cc: Vinay Simha BN <simha...@gmail.com> Cc: Bjorn Andersson <bjorn.anders...@sonymobile.com> Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz <john.stu...@linaro.org> --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/qcom-apq8064-nexus7-flo.