From patchwork Sat Sep 24 00:13:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 9348991 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AACC5607D0 for ; Sat, 24 Sep 2016 00:13:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8758C2AE75 for ; Sat, 24 Sep 2016 00:13:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BE632AE77; Sat, 24 Sep 2016 00:13:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 309232AE75 for ; Sat, 24 Sep 2016 00:13:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315AbcIXANi (ORCPT ); Fri, 23 Sep 2016 20:13:38 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33027 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752987AbcIXANh (ORCPT ); Fri, 23 Sep 2016 20:13:37 -0400 Received: by mail-pa0-f50.google.com with SMTP id hm5so44634641pac.0 for ; Fri, 23 Sep 2016 17:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=bN/2hGuWhBwyn1vRfcHEdZqjxtTsqboNBS5Q8MycPSY=; b=R13OFdei6U96XmQtyy2IZ2sArTSNLfPUP9MVx9AC9FaZRvJpGQ4e+NHnUBG+6W3naT kZeNmjwsRlRHhQBZYpP32gesFSKV9NHS6c9oOP1T7RS6rIS49WZM6r8mk0eMehcWIUGU zb8nJQ616quAJuydGhtU8Gc1PRnFzb1vZWVFQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bN/2hGuWhBwyn1vRfcHEdZqjxtTsqboNBS5Q8MycPSY=; b=DZVm2nJm1qOPUggSZ8IyOxpVDNUBlDXMtCTy1h2Yi1IO+vZTvc/u0CVehPgB62hx6z xeySpS4PKw3rRSX0C1v4Mv38EPFCvrg+r0R0CTF5yxRCSlKIWP8dhV1vb00uUexU5r4w VYX8lxFcjHr5EEwcJ0Nbm0zEwi7khx1y0nxedfDS1nFi880rsx01U8s+u72M8Uvmb0EJ il1gAtLbqfUyGXELjGXq9RIK6wmhwuDH+EatT+d1O5l8O8/84bVsEuUdDpKOJ8I8DS10 5pQmw7+NjAy1NPdtbrhpPB0PSMvFMCtXv0EGSVEN9UvblFaiigoEhHv3JzqkBW0aNpEj bgQQ== X-Gm-Message-State: AE9vXwMmj13orDAcj+/2jdTU3Y8x7c8Hn4jDA2ZjyEQHQr56qKdV6JhscgcwXZloB+uL5dmo X-Received: by 10.66.150.134 with SMTP id ui6mr16747493pab.41.1474676016959; Fri, 23 Sep 2016 17:13:36 -0700 (PDT) Received: from localhost.localdomain (c-73-67-244-238.hsd1.or.comcast.net. [73.67.244.238]) by smtp.gmail.com with ESMTPSA id q25sm13956114pfj.48.2016.09.23.17.13.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 17:13:35 -0700 (PDT) From: John Stultz To: Andy Gross Cc: John Stultz , Kees Cook , Bjorn Andersson , Rob Clark , Stephen Boyd , Vinay Simha , Archit Taneja , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7 Date: Fri, 23 Sep 2016 17:13:33 -0700 Message-Id: <1474676013-26106-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add pstore support for the nexus7. This was useful in debugging a crash where the cpus were getting stuck with irqs off and serial output wasn't reliably working. Cc: Kees Cook Cc: Bjorn Andersson Cc: Rob Clark Cc: Stephen Boyd Cc: Andy Gross Cc: Vinay Simha Cc: Archit Taneja Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.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 7637092..3005576 100644 --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts @@ -15,6 +15,20 @@ stdout-path = "serial0:115200n8"; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + ramoops@0x88d00000{ + compatible = "ramoops"; + reg = <0x88d00000 0x100000>; + record-size = <0x00020000>; + console-size = <0x00020000>; + ftrace-size = <0x00020000>; + }; + }; + ext_3p3v: regulator-fixed@1 { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>;