Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp32812pja; Fri, 22 Nov 2019 03:05:24 -0800 (PST) X-Google-Smtp-Source: APXvYqy2bn703GSnms1TEF/aFtmTYqAQgPCJg5CGhcyXLTirMcL8BfqGX8OqgMKLhwjo39Y9nyfC X-Received: by 2002:a17:906:d293:: with SMTP id ay19mr21232431ejb.146.1574420724063; Fri, 22 Nov 2019 03:05:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574420724; cv=none; d=google.com; s=arc-20160816; b=FW5ZzXjqri2aQri1xTaCUEKPhiGtd98uqO6ptAEGr/+kTohBswblCOKlLwNxLzfIgq l4aw/f4DaH0lwdvDmm2KPEz/XVb18m+Rx/OyFFez43e3V97uGaYvs3Qr5wimiQcsbdkb 4Ml0NwwFm3akn4q9HHYZVdYNbhEClBuVvpiV1B/z+nf4HhJ/ZS0J5uLUAmJ0X24OUkGX hu/PMxW9ofuHFThS310ZSi0eZQFNyuukh30BRTNmwAfa+lQohYpW8xZYNZsZzoNHnh5B Knqhk/Vwb757DVx5633xnw3uXkMcSRQG5XfvbsdR+ce0iDlA1uzeJWPwMsjgFH03xTW2 3FHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=I5R2KcZg/mgDUgFx9FuwcNFdRmItr2e+kgqeZiD0Dz8=; b=ZkNkKj6J6H3Vxp6CdHM7kB5ME7NT4cvBCzksXm9DoDei5zFQdaqeB8N+MykIach1it V1H5XVTmuOayNHs7s7rqz8TgYLCZ1JOn8spO4yFU/wxFDZ1T53CEVeeN7nmIb8TUGVSZ UicK8NaxQiaKtViZP8Swc1iiPWBnB5aI0o+eW+7fP47CHmyar6GRJ2f8hKhw6KfUOSKz 7Ec1aspen0aPGJzp2APTb5OyJItwFWGlPn0hp9KzsLWbYahvSqJmA7GuFE1HfsNs9rMg vXgOeMmKarVBmrhdbrK7e74E5PqgQtafqXad+jdg+uHlGc4si6uzx+1Xe4MWVXx2yrmG JHww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iGWyxjbx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h43si1626139edb.89.2019.11.22.03.04.59; Fri, 22 Nov 2019 03:05:24 -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=iGWyxjbx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730406AbfKVLBW (ORCPT + 99 others); Fri, 22 Nov 2019 06:01:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:54128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731164AbfKVLBT (ORCPT ); Fri, 22 Nov 2019 06:01:19 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED5C720706; Fri, 22 Nov 2019 11:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574420478; bh=221mBZOSqyC1aa3HHmVpBQpmE2Dgo0l8iN1fqn2XFIo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iGWyxjbxxFiVQZeNYBWVrvpRES6kMvfWfhM1BNr6Yhh+sFek2INTqXiZzeM4iD+07 byW8DW86JuvloVcV+ugc/xfIbxaRXV0ZvezirUIsuRiri499KpuieuLAClzW2h9VKm i0XQWx5Dn/S3sQMASUW/rSKgUW8OTT1mofPFXe44= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joonyoung Shim , Marek Szyprowski , Sylwester Nawrocki , Sasha Levin Subject: [PATCH 4.19 118/220] clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or Exynos5420 Date: Fri, 22 Nov 2019 11:28:03 +0100 Message-Id: <20191122100921.215277501@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100912.732983531@linuxfoundation.org> References: <20191122100912.732983531@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joonyoung Shim [ Upstream commit d32dd2a1a0f80edad158c9a1ba5f47650d9504a0 ] The bit of GATE_BUS_PERIS1 for CLK_SECKEY is just reserved on exynos5422/5800, not exynos5420. Define gate clk for exynos5420 to handle the bit only on exynos5420. Signed-off-by: Joonyoung Shim [m.szyprow: rewrote commit subject] Signed-off-by: Marek Szyprowski Signed-off-by: Sylwester Nawrocki Signed-off-by: Sasha Levin --- drivers/clk/samsung/clk-exynos5420.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index d4f77c4eb277a..ce30862617a6e 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -634,6 +634,7 @@ static const struct samsung_div_clock exynos5420_div_clks[] __initconst = { }; static const struct samsung_gate_clock exynos5420_gate_clks[] __initconst = { + GATE(CLK_SECKEY, "seckey", "aclk66_psgen", GATE_BUS_PERIS1, 1, 0, 0), GATE(CLK_MAU_EPLL, "mau_epll", "mout_mau_epll_clk", SRC_MASK_TOP7, 20, CLK_SET_RATE_PARENT, 0), }; @@ -1163,8 +1164,6 @@ static const struct samsung_gate_clock exynos5x_gate_clks[] __initconst = { GATE(CLK_TMU, "tmu", "aclk66_psgen", GATE_IP_PERIS, 21, 0, 0), GATE(CLK_TMU_GPU, "tmu_gpu", "aclk66_psgen", GATE_IP_PERIS, 22, 0, 0), - GATE(CLK_SECKEY, "seckey", "aclk66_psgen", GATE_BUS_PERIS1, 1, 0, 0), - /* GEN Block */ GATE(CLK_ROTATOR, "rotator", "mout_user_aclk266", GATE_IP_GEN, 1, 0, 0), GATE(CLK_JPEG, "jpeg", "aclk300_jpeg", GATE_IP_GEN, 2, 0, 0), -- 2.20.1