Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2530855imu; Thu, 29 Nov 2018 06:29:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/X0YmiVXsn655Aj0MaC+LF/OIfXf1hxqZZURMqam2yt8bcByGHzlrpVzfztkPqMy8DuIu3h X-Received: by 2002:a65:55ca:: with SMTP id k10mr1409684pgs.448.1543501744913; Thu, 29 Nov 2018 06:29:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501744; cv=none; d=google.com; s=arc-20160816; b=RnVlUUxC63aWZosQrspZyDhCzahT4hGBW6mWdaI5EinZCgV5ZCIGDX943aUZTpemcW T/OMLZQk7t9VYjEnBOTF2DKFAyj2uev9ncnxiwv295G03S4e00NoKkTnxuUz7qUQJ7RU 2pvK15B7hVYSJcOvBnjJCCfhc1E3k7y15gp/tHDWaRIMnG5GWcySRbLt87qw7iU6D7nA cOBHciK+BP0x6H/0fijSNdy/E19SB44fj7WfES7KVJmozyvjiD3rG0DlFfFJqLyDCCJL BE+x9eqe6hGZqP6N+Pltk3nuhtUcPj3hofWazV3cXKr5Gf6yvYpip5vFsyW5XDUnKW0H 0aQw== 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=X00y4xDds4I4L/pwikvf1UNg5A7Babg+3Lfnvs/CM20=; b=ZOZILB1k6foyFdigckK4rShusJoDZl2HvCenfQ1ZMRkdn1cKvkgYLYMHTvBtZk0xvm ECdv0DTXBjkQ9/MufZTP0BgQDvIuU3dJ0nUCeHgSKehY/SQZ3LryPfgBfjGWXmZlQjgD UTtJmDUXHmMjigdWRtf1tLji9oUtPX36laWtU6SYcDA4EUj1uI2T2NxpViunlrpNW97v cUxOs0dph3rqFlh0yuB9djjCcdVuAgfakISfMOREOrn2a9Tyrg2ZysuAkwQqybblIXc7 7991vcdpGmVOoOQk1zx6xwHpqpi7S8koVemhCHfNYFsjT1eNOWrQCmfwiogXeh31I/ZM wAxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c6bmO5No; 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 w32si2095726pga.337.2018.11.29.06.28.49; Thu, 29 Nov 2018 06:29:04 -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=c6bmO5No; 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 S2387967AbeK3Bdl (ORCPT + 99 others); Thu, 29 Nov 2018 20:33:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:34438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731863AbeK3Bdk (ORCPT ); Thu, 29 Nov 2018 20:33:40 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 CEACE2146D; Thu, 29 Nov 2018 14:28:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501688; bh=Lrzf6QfPvK/zsYqHv7P1QTOTrea6KsBOq+k3qdVMEgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c6bmO5NohEzfatPlz9/dp2Z+4JZfIr9cIZwdxAojQdfyPW/JKbl1ezIF9l+CBRBaX Lxs5BGbdam+axWkGaoSDAngaO1Yps/6p3tLuOZsQwZuODAKpySl+JsORad3FxT7MbT RneBIxGzWGwn6q8NPniYxWkvH04ZY2xNniy8n6ss= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Chanwoo Choi , Sylwester Nawrocki , Sudip Mukherjee Subject: [PATCH 4.14 085/100] clk: samsung: exynos5250: Add missing clocks for FIMC LITE SYSMMU devices Date: Thu, 29 Nov 2018 15:12:55 +0100 Message-Id: <20181129140106.133177825@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140058.768942700@linuxfoundation.org> References: <20181129140058.768942700@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review 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 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Marek Szyprowski commit 5b23fceec1ff94305c5d1accde018cae27448005 upstream. FIMC LITE SYSMMU devices are defined in exynos5250.dtsi, but clocks for them are not instantiated by Exynos5250 clock provider driver. Add needed definitions for those clocks to fix IOMMU probe failure: ERROR: could not get clock /soc/sysmmu@13c40000:sysmmu(0) exynos-sysmmu 13c40000.sysmmu: Failed to get device clock(s)! exynos-sysmmu: probe of 13c40000.sysmmu failed with error -38 ERROR: could not get clock /soc/sysmmu@13c50000:sysmmu(0) exynos-sysmmu 13c50000.sysmmu: Failed to get device clock(s)! exynos-sysmmu: probe of 13c50000.sysmmu failed with error -38 Signed-off-by: Marek Szyprowski Fixes: bfed1074f213 ("clk: exynos5250: Add missing sysmmu clocks for DISP and ISP blocks") Acked-by: Chanwoo Choi Signed-off-by: Sylwester Nawrocki Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- drivers/clk/samsung/clk-exynos5250.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -560,6 +560,8 @@ static const struct samsung_gate_clock e 0), GATE(CLK_GSCL3, "gscl3", "mout_aclk266_gscl_sub", GATE_IP_GSCL, 3, 0, 0), + GATE(CLK_CAMIF_TOP, "camif_top", "mout_aclk266_gscl_sub", + GATE_IP_GSCL, 4, 0, 0), GATE(CLK_GSCL_WA, "gscl_wa", "div_gscl_wa", GATE_IP_GSCL, 5, 0, 0), GATE(CLK_GSCL_WB, "gscl_wb", "div_gscl_wb", GATE_IP_GSCL, 6, 0, 0), GATE(CLK_SMMU_GSCL0, "smmu_gscl0", "mout_aclk266_gscl_sub", @@ -570,6 +572,10 @@ static const struct samsung_gate_clock e GATE_IP_GSCL, 9, 0, 0), GATE(CLK_SMMU_GSCL3, "smmu_gscl3", "mout_aclk266_gscl_sub", GATE_IP_GSCL, 10, 0, 0), + GATE(CLK_SMMU_FIMC_LITE0, "smmu_fimc_lite0", "mout_aclk266_gscl_sub", + GATE_IP_GSCL, 11, 0, 0), + GATE(CLK_SMMU_FIMC_LITE1, "smmu_fimc_lite1", "mout_aclk266_gscl_sub", + GATE_IP_GSCL, 12, 0, 0), GATE(CLK_FIMD1, "fimd1", "mout_aclk200_disp1_sub", GATE_IP_DISP1, 0, 0, 0),