Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7117402ybi; Thu, 13 Jun 2019 09:51:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoNvaAIjfv4nZ7UwaIp+lOaM51hHCFJJjajTbFkLhuyPrydOZ4CeoqGu1te2/kdboN4XV4 X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr88231559plg.190.1560444694726; Thu, 13 Jun 2019 09:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560444694; cv=none; d=google.com; s=arc-20160816; b=UotttjGdc9b18Dyrr/klnHSbPtXeWaCwplN6+BVXpDh8EAQ+bVpsqfszTUNuv1yDfd PotqFxkPxh9rTODq/3cZDJKhIUSudfOZWRPiM503AJVPrx3f6tlBCVxcxl8KG6qn0Ijc kCgtrFwXW9PIyC8jCjvSsUkl0mjP22NQSMkWfk4WnC2dXfoG94K9Bj0Ep/tX7gSgacMj QLSlv8zYWnpinq7nDtbH+NddX2yjnsHc99LuhGZa6J/ccbLVqpPrT3LDabsGNgPCE7MI uJFfbsg8k7UGkZgSvZlrmXFhIP+ukA2+bD0/lYpcLE5ZvYca2PVzshWM1Llfc5Lf/1Sk XP4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=EGz96FXTVs9a5Q/FMwU6f/aIGpf6KefN5NGQKQmpuDI=; b=QIbn1V9v6zJsj+se1rAaJHpRtw+rQMuAetG1w2n5edkRiC2NT0uuWTDb9BqTadhGjF 65wXc8sia8bI8jYUhGaqL9K6ONru2FnK1af6BjqXO7dVaCJsjTgLokgBmXDYMwVoqX9o /0V9mdWa85ySOJ0r18YS//sKoNlt3XGyRsY412L8YdGLo0AYVHSF1K3mKf1MI3Lfn8P4 IdaiIMqM8YwK5Zv4aqm3pJYgxX6Zwn6uxk8rkwL2VPH2ACcMR2u7LucZdtdyK04FkD4g AKbi2PP2bgc3xekoRDtP03luivMvMVPBuYbIuIHQGUzwjGspBfyqDpHC7oyDlu701Z5l U/6g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d92si98023pld.262.2019.06.13.09.51.19; Thu, 13 Jun 2019 09:51:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392670AbfFMQvS (ORCPT + 99 others); Thu, 13 Jun 2019 12:51:18 -0400 Received: from inva020.nxp.com ([92.121.34.13]:57836 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730148AbfFMDdr (ORCPT ); Wed, 12 Jun 2019 23:33:47 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 143C31A030B; Thu, 13 Jun 2019 05:33:46 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 87F401A02F9; Thu, 13 Jun 2019 05:33:41 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 795A3402E6; Thu, 13 Jun 2019 11:33:35 +0800 (SGT) From: Anson.Huang@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 5/6] ARM: dts: imx7s: Enable SNVS power key according to board design Date: Thu, 13 Jun 2019 11:35:26 +0800 Message-Id: <20190613033527.40555-5-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190613033527.40555-1-Anson.Huang@nxp.com> References: <20190613033527.40555-1-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang The SNVS power key depends on board design, by default it should be disabled in SoC DT and ONLY be enabled on board DT if it is wired up. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx7d-sdb.dts | 4 ++++ arch/arm/boot/dts/imx7s.dtsi | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index a5365b8..869efbc 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -387,6 +387,10 @@ vin-supply = <&sw2_reg>; }; +&snvs_pwrkey { + status = "okay"; +}; + &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index d8b4eb6..479be1f 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -609,6 +609,7 @@ interrupts = ; linux,keycode = ; wakeup-source; + status = "disabled"; }; }; -- 2.7.4