Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7117691ybi; Thu, 13 Jun 2019 09:51:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtD87+wPdWfeqb6Zc+kR6BC6O6gSOG1nQAmwPlLN82elXlVFAXBZio0kPX9ZPh4UgoqaU/ X-Received: by 2002:a17:902:2a69:: with SMTP id i96mr79913605plb.108.1560444716759; Thu, 13 Jun 2019 09:51:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560444716; cv=none; d=google.com; s=arc-20160816; b=s0EeBkpkhZns9hswbAU1C6/crV1RXuBoqOxcTI4AHs/b9OuXj6G9QiGJnDPl/4zaLE 8JiZSVpcJvyP9CEgQHHzsytpTTwKiLxLBJpp9v8yJWFxxnQdwkpK1d9DAEDCZITMWacx 27etc56GpHbIlQ5qhCu7fX1SBmTIoHeiLRmY04fSwdccwyRVrGCuSJn+gl8yBfkBm51B la0zCGwUza1Hr59YljW0hV3bjmBQv/B80dYypF0bKGlh0AeyT1VQbruxoHIYVeliJGHp 0PXqX1tbwh5FqFadiEMA1YI1Q0YDYAKMRYRoQ/k6fAUWBA/3thgZS1yE+Xvhml13Ku74 AeuQ== 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=gng+epxpTjdPyTDpg8pov9PBKgQQfLo81FFw6RPQUPw=; b=BoSFOt4oRB0rMPfqmDGcMpdTgNSNeKQhOF2Md9lCej9sxLBjE4pm9utzpF/sZS8zg3 v9/akhij91VkxtRSYQ6lLdAvRw9fEYkbeVBy5qAPH/fQeNX5Lusotv/zfkYIvINc71sU LkYptzU02SiAetVeWd45f19Qom0xn+wBZryxqVlcpkrNKjFmgiKzWerHpzvLaCFt1ISZ HG101IZnv1oeYOXNKZ80+p65HSDgXLgSF9IL63hUlUAt+O//4OXpvdlfT9Er5c04yXIM XAFy9LUMjKyQHuFxPM7K5Mbylaf2eNTSm7JYJ/HXiuAwH0COb8BuMs+boAu1vKTbqpPQ XBaQ== 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 h38si108246plb.149.2019.06.13.09.51.42; Thu, 13 Jun 2019 09:51:56 -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 S2393010AbfFMQv0 (ORCPT + 99 others); Thu, 13 Jun 2019 12:51:26 -0400 Received: from inva020.nxp.com ([92.121.34.13]:57788 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730145AbfFMDdo (ORCPT ); Wed, 12 Jun 2019 23:33:44 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9F2DA1A030B; Thu, 13 Jun 2019 05:33:42 +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 2000D1A030E; Thu, 13 Jun 2019 05:33:38 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3C725402A0; Thu, 13 Jun 2019 11:33:32 +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 2/6] ARM: dts: imx6sx: Enable SNVS power key according to board design Date: Thu, 13 Jun 2019 11:35:23 +0800 Message-Id: <20190613033527.40555-2-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/imx6sx-sdb-reva.dts | 4 ++++ arch/arm/boot/dts/imx6sx-sdb.dts | 4 ++++ arch/arm/boot/dts/imx6sx.dtsi | 1 + 3 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sdb-reva.dts b/arch/arm/boot/dts/imx6sx-sdb-reva.dts index 5b3d6c10..f1830ed 100644 --- a/arch/arm/boot/dts/imx6sx-sdb-reva.dts +++ b/arch/arm/boot/dts/imx6sx-sdb-reva.dts @@ -166,3 +166,7 @@ ®_vdd2p5 { vin-supply = <&vgen6_reg>; }; + +&snvs_pwrkey { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 10f6da8..a8ee708 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts @@ -153,3 +153,7 @@ /* Transceiver EN/STBY is active low on RevB board */ gpio = <&gpio4 27 GPIO_ACTIVE_LOW>; }; + +&snvs_pwrkey { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index bbdfdd8..bb25add 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -738,6 +738,7 @@ interrupts = ; linux,keycode = ; wakeup-source; + status = "disabled"; }; }; -- 2.7.4