From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750882AbcHJE2l (ORCPT ); Wed, 10 Aug 2016 00:28:41 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:33424 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbcHJE2i (ORCPT ); Wed, 10 Aug 2016 00:28:38 -0400 Date: Tue, 9 Aug 2016 21:28:34 -0700 From: Bjorn Andersson To: John Stultz Cc: lkml , Rob Herring , Andy Gross , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] device-tree: nexus7: Add IMEM syscon and reboot reason support Message-ID: <20160810042834.GG26240@tuxbot> References: <1470695643-32169-1-git-send-email-john.stultz@linaro.org> <1470695643-32169-2-git-send-email-john.stultz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1470695643-32169-2-git-send-email-john.stultz@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 08 Aug 15:34 PDT 2016, John Stultz wrote: > This patch add the IMEM syscon memory region to the DT, > as well as addds support for the magic reboot reason > values that are written to the address for each mode. > This looks good, double checked the addresses and magics. But I think you should move the entire thing to qcom-apq8064.dtsi, as this is common to the base platform. And I would prefer if you updated the subject prefix... With the move and subject update: Reviewed-by: Bjorn Andersson Regards, Bjorn > Cc: Rob Herring > Cc: Andy Gross > Cc: Bjorn Andersson > Cc: Stephen Boyd > Cc: linux-arm-msm@vger.kernel.org > Cc: devicetree@vger.kernel.org > Signed-off-by: John Stultz > --- > arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts > index 7b05f07..ff856c3 100644 > --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts > +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts > @@ -272,5 +272,19 @@ > vqmmc-supply = <&pm8921_s4>; > }; > }; > + > + imem@2a03f000 { > + compatible = "syscon", "simple-mfd"; > + reg = <0x2a03f000 0x1000>; > + > + reboot-mode { > + compatible = "syscon-reboot-mode"; > + offset = <0x65c>; > + > + mode-normal = <0x77665501>; > + mode-bootloader = <0x77665500>; > + mode-recovery = <0x77665502>; > + }; > + }; > }; > }; > -- > 1.9.1 >