From patchwork Tue Feb 25 16:11:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 11404193 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 68593138D for ; Tue, 25 Feb 2020 16:12:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 459AD21744 for ; Tue, 25 Feb 2020 16:12:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IKhO5cZG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 459AD21744 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=andred.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+FcrcHdUBIQr96Esl2+q0S20/Gw9qQM6ZsTbUDdKtbQ=; b=IKhO5cZGhz1DAM 40hN1Q/KdXpIjrIJwqOvRo+Bq0S900Txa7pULvzzLehtbsLnedKP8IN4v9dKS3XZ/TnTgvOCIlxtV bPH6FN9BrODeZ42/AzNXIwLX/GkO361DRHeHh3t/Cxc3lasf23X6CQw90BYZEfu2Q9EaCBX/CHG6f ej/EZPh4TNTjFlKift/RYMpMT5wJg9gZpXrf+Q56bmn0P/gL+IHGwKi35gOBSzQ1Dgwtxeu6ISuQZ unorbfxy9gajC4lACTs91AmbmcpQGlNIAzThzu0IEqxZsX0KwTPhf5b162JJOedXEH+yc/IdTT+Zm Qr77kyUqSRcM5MCTOITg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6col-0005XB-SC; Tue, 25 Feb 2020 16:12:19 +0000 Received: from mail-wm1-f67.google.com ([209.85.128.67]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6coZ-0005Kk-HM for linux-arm-kernel@lists.infradead.org; Tue, 25 Feb 2020 16:12:08 +0000 Received: by mail-wm1-f67.google.com with SMTP id m3so3539452wmi.0 for ; Tue, 25 Feb 2020 08:12:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sdeifxeE4hzWYWIT9laRsQZ2w7d8/CJoVsmACfUBNlY=; b=UUkawDAVUuNNTfyMHluahGX16kzGo+GFZnd0BlhJCnlmI6ld36U0l574EqGkJyAxrB hApIXCKDPuNSgXWrPtUbbUj51a1YJntbPEiR+XawWVqEg9Rewpk2pgTxyaC10bQpvynG Y4yx1xm2SFc//g839h+DTV/4n1YG2MhZ2UO6kdOHNreQXY5PSK2rJyLeWeQa/tCu4YW0 p941qlKVRGrCfhbTfqk59wCOAHOy7mk3seiBVenVfRAXgz2YqzfywaokeWsevVfyu2r0 lYh/Jbil6Mq8zqjd5O5lDaosUYvI5C03mxpGwwmQXkC8zggBWWGiW5LHtG9b7NlkHFIc 9p/Q== X-Gm-Message-State: APjAAAXpEpcf5rB6+hgwxvUqN7AOqllJ5vsuJY3FaiYDumfOpxlXCxVm oV1ooJMR0Wvr3gBkPMl2ccA= X-Google-Smtp-Source: APXvYqw+HC3E0o+9joAk3gJaqGZqzCQ72Gyh2WWimQ2jitq2NlTC1r9f2qBIs5dB+oJPxlIClsMSyg== X-Received: by 2002:a1c:6189:: with SMTP id v131mr6270952wmb.185.1582647125537; Tue, 25 Feb 2020 08:12:05 -0800 (PST) Received: from 1aq-andre.garage.tyco.com ([77.107.218.170]) by smtp.gmail.com with ESMTPSA id h10sm4757339wml.18.2020.02.25.08.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 08:12:05 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] ARM: dts: imx7s: add snvs clock to pwrkey Date: Tue, 25 Feb 2020 16:11:57 +0000 Message-Id: <20200225161201.1975-2-git@andred.net> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20200225161201.1975-1-git@andred.net> References: <20200225161201.1975-1-git@andred.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200225_081207_570915_E855DB34 X-CRM114-Status: GOOD ( 14.89 ) X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.67 listed in list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [andre.draszik[at]gmail.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.67 listed in wl.mailspike.net] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Rob Herring , Aymen Sghaier , Herbert Xu , =?utf-8?q?Horia_Geant=C4=83?= , Anson Huang , =?utf-8?q?Andr=C3=A9_Draszik?= , Sascha Hauer , Dmitry Torokhov , Fabio Estevam , devicetree@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , linux-input@vger.kernel.org, Robin Gong , Shawn Guo , "David S. Miller" , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On i.MX7, the SNVS requires a clock. This is similar to the clock bound to the SNVS RTC node, but if the SNVS RTC driver isn't enabled, then SNVS doesn't work, and as such the pwrkey driver doesn't work (i.e. hangs the kernel, as the clock isn't enabled). Also see commit ec2a844ef7c1 ("ARM: dts: imx7s: add snvs rtc clock") for a similar fix. Signed-off-by: André Draszik Acked-by: Rob Herring Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Herbert Xu Cc: "David S. Miller" Cc: Rob Herring Cc: Mark Rutland Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: Dmitry Torokhov Cc: Anson Huang Cc: Robin Gong Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-input@vger.kernel.org --- v2: * split documentation and i.MX7 dts update into two patches --- arch/arm/boot/dts/imx7s.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 139ab9b98472..edc8c542da7e 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -611,6 +611,8 @@ compatible = "fsl,sec-v4.0-pwrkey"; regmap = <&snvs>; interrupts = ; + clocks = <&clks IMX7D_SNVS_CLK>; + clock-names = "snvs-pwrkey"; linux,keycode = ; wakeup-source; status = "disabled";