From patchwork Tue Nov 13 05:51:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 150916 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4009675ljp; Mon, 12 Nov 2018 21:56:55 -0800 (PST) X-Google-Smtp-Source: AJdET5dZQDJyvcLwAFQ1txvIJ80KhicoYpq5QJ9aSa9chfCC/ihx3sP/pEQuhUckZsZabAaNYVtb X-Received: by 2002:a17:902:7281:: with SMTP id d1-v6mr3733148pll.284.1542088615282; Mon, 12 Nov 2018 21:56:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542088615; cv=none; d=google.com; s=arc-20160816; b=UuEi5yxd0l4bLvmofvy8BhZtIUqkKYuClxtJU4hZtZrEdQpNOBTqdLYXkuGeJoamhn zR/I8NDkX8VhLUYxdTnTxUhWlTu+l37lDCbVCm3mmQ2ImXQIJ1hTItSuSaLk2Tl5jT56 abTTEluLs5NNs6Ygs5T8OWkz9EgjjUtlkzrB27YhecvZzxqFaCKdynyvL6eIBa6h4ZB0 DRNTOB3r3t9HmcnGVjl3zemCceepmZUBxdEtndpIarDVSwjZsttZYkfxxh6tPS0TfeP2 fs3W0GG1+V00WjB7C7kcOLcwB2tcHfe9D/E3A09rxvewanpmY/sbVyvO4CDrcx9CBNbh ztoQ== 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:dkim-signature; bh=KYMhOHolvSD+PVibd4OvsM5VTx1Pc/xcdG/vM9qmx7c=; b=hod0UL2Pdq9SpRUx0o7YQ9Uh0RrXZXX9JyT57qXAwN72FvXsV68U741Il1GCRrR+Lw XVvuNYgmAsQwxacoyH93hkUx/LVVMaYf98TSpzy9AGlAcp1f+WP1CJplr9/jVvrjhxXg IOzRfhOfQ2Me91MTR4i7zakNIt2E18tt+DZSB+aqi9DRALaiIm4ZoYBOxfWi9OLLnewP cGR25hSDUsl+bxbcsW/GhKGD4QnQacs8ZsOk+O8HOLsXoVAuQfOeNF8u+HaQ4Bv7HkwO KCyrlJW9OEo/E3rxcObN/sXwWjZ71Gu+CTav+4j3pJJx7K1jkTOTkEolUVHH85YXPxz/ v3aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eMWhUnKT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si1986885pll.58.2018.11.12.21.56.55; Mon, 12 Nov 2018 21:56:55 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=eMWhUnKT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732712AbeKMPsk (ORCPT + 32 others); Tue, 13 Nov 2018 10:48:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:35224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732690AbeKMPsj (ORCPT ); Tue, 13 Nov 2018 10:48:39 -0500 Received: from sasha-vm.mshome.net (unknown [64.114.255.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 850CB2251E; Tue, 13 Nov 2018 05:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542088331; bh=tNXc48GvDdhx8zxUMQBaxoGIvFOFCM5ACrDGB1MelxQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eMWhUnKTSk8MsQeIEw/OLF6W1GOkZMYKV6MVeT8XMPtZxDdauvMuayB6GdGGs+5+v L69Qgfhywht1qMB0W6uYSgecyM0y0ad+LgsdFZvt/Aeo4Yn3dB6c2LzWmKZpnwFbee 4CCpozTenbWUkGeBgVnB1MvFr4NAO3Dwws6pT59I= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Sasha Levin , linux-clk@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 18/26] clk: samsung: exynos5420: Enable PERIS clocks for suspend Date: Tue, 13 Nov 2018 00:51:42 -0500 Message-Id: <20181113055150.78773-18-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181113055150.78773-1-sashal@kernel.org> References: <20181113055150.78773-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski [ Upstream commit b33228029d842269e17bba591609e83ed422005d ] Ensure that clocks for core SoC modules (including TZPC0..9 modules) are enabled for suspend/resume cycle. This fixes suspend/resume support on Exynos5422-based Odroid XU3/XU4 boards. Suggested-by: Joonyoung Shim Signed-off-by: Marek Szyprowski Signed-off-by: Sylwester Nawrocki Signed-off-by: Sasha Levin --- drivers/clk/samsung/clk-exynos5420.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 25601967d1cd..500a55415e90 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -280,6 +280,7 @@ static const struct samsung_clk_reg_dump exynos5420_set_clksrc[] = { { .offset = GATE_BUS_TOP, .value = 0xffffffff, }, { .offset = GATE_BUS_DISP1, .value = 0xffffffff, }, { .offset = GATE_IP_PERIC, .value = 0xffffffff, }, + { .offset = GATE_IP_PERIS, .value = 0xffffffff, }, }; static int exynos5420_clk_suspend(void)