Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7117738ybi; Thu, 13 Jun 2019 09:52:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyW4PJb+O5mo1yX6s2mdMlaQMoH0wmwgIiToSo4kRDgumaU/VuCvIiG3gx5TbsAnKhU+w29 X-Received: by 2002:a63:4a1f:: with SMTP id x31mr21554581pga.150.1560444720393; Thu, 13 Jun 2019 09:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560444720; cv=none; d=google.com; s=arc-20160816; b=btW23g9M2dgqeJNtFPXejzdFoMSZ+ZUtBbyJ7pinAzbRMboetgBaqQ5xcRoewVBEGS JRJQe18Wg9c1HRZZ5ozG2bwW69HQ/Khzuz0c3D9ubKAoYrwQ8USi/VFXVSv20b9Xcmy2 eOW724XO4dlRRg02D7BAPct/IrHl5zt09eTb79Im4+kDzjZSqS1Tft65lNt4gsirA6RG RhcbWbN2xHi2/lSA69ATgkbASfhNYuoCEQguGK2xz1AQEb9uFEjZWWUbPS6NJi3xR36V w+62N8NxI/QL1yJ8Z+JiDmSqvS5bXR/syIKlchhUBvZGzH7SjpTo3gnJIUEMAnf1SmkD V21w== 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=bdmk1oVPbtS1uMMH9YHTq6QbzFXdcBvoQ7Nd+cagado=; b=QZ1oAAlJL6qlUIqhVyChdkeKV6O/hzLM5dmDVR/lwpEv6KEZhAZCvgwi3+h1B0VX8w ub987QpK6rqWQ0AOum78QhdVy5SYD61cp06M0UZTuIfZ75DfUOqmQk9n7kLBIc8hJpiJ X2FGpb8JQo6dE+VdB+RHZN6cMVNFTN+PlMq4eXouL3VbKLQPJZnYWWz3iyO9KcWJK4Ad RrqX4qPUDJwPyUSKVtuxXNvvRf6n+IeILtQR6W2ka5lblc7N1NXbGJgdwlKk+2nsi7A0 1WaZ7qJ238VcLjs0Fd1hpcWwwy+JoGCuiJ/73PkaQrGaDsCXgqNS7Fij88W3l8z0Zhf9 xP1Q== 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 g31si99279plb.241.2019.06.13.09.51.45; Thu, 13 Jun 2019 09:52:00 -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 S2404102AbfFMQvP (ORCPT + 99 others); Thu, 13 Jun 2019 12:51:15 -0400 Received: from inva020.nxp.com ([92.121.34.13]:57892 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730150AbfFMDdw (ORCPT ); Wed, 12 Jun 2019 23:33:52 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1ED301A030B; Thu, 13 Jun 2019 05:33:51 +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 91F9A1A02F9; Thu, 13 Jun 2019 05:33:46 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B6D764030E; Thu, 13 Jun 2019 11:33:36 +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 6/6] ARM: dts: imx6sll: Enable SNVS poweroff according to board design Date: Thu, 13 Jun 2019 11:35:27 +0800 Message-Id: <20190613033527.40555-6-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 poweroff 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 to external PMIC. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sll-evk.dts | 4 ++++ arch/arm/boot/dts/imx6sll.dtsi | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts index 61aa074..3e1d32f 100644 --- a/arch/arm/boot/dts/imx6sll-evk.dts +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -269,6 +269,10 @@ vin-supply = <&sw2_reg>; }; +&snvs_poweroff { + status = "okay"; +}; + &snvs_pwrkey { status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6sll.dtsi b/arch/arm/boot/dts/imx6sll.dtsi index 4384023..b0a77ff 100644 --- a/arch/arm/boot/dts/imx6sll.dtsi +++ b/arch/arm/boot/dts/imx6sll.dtsi @@ -568,6 +568,7 @@ regmap = <&snvs>; offset = <0x38>; mask = <0x61>; + status = "disabled"; }; snvs_pwrkey: snvs-powerkey { -- 2.7.4