Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3631126imu; Mon, 28 Jan 2019 08:08:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN7LE+tJJBNCSiNZHto0miqgFwn4jrGlBlNiAuP+yKmOsFM4FwqI9Gil1CzoHzdbf/sDOHqm X-Received: by 2002:a63:2d46:: with SMTP id t67mr20731494pgt.140.1548691693651; Mon, 28 Jan 2019 08:08:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691693; cv=none; d=google.com; s=arc-20160816; b=LEdRaX0Eg2o51AuQdFL4PdajI0w3B5Tf0A5Zo8APkkMBQsu0nMc/rbGTDTEf5SyB7G 9Jbo80WgRADW/5FOnsrPs8JcG9ODykMxF85O5W6ZY1cUjrK4ylNqGPvFPFIzc5OxML60 Sr/HdCn/YnIxMZDCvsGjmVSWodAX1c/hyPCnlxhvYEcj8jlMv7n3Ynuhi4qdMAJNO5MD m551dyxuz2rBt/AokyH7ADJ2z8fzNUxBXbE0cDzfM62ZLSUZB+4jOeE3PbBUw/uR6eKf 0C5OSqvC9FW4Xgp3Vbigioi7/XcsaZMlPVsQmx7ldplhXmP5tJpC9SbdHEllicxDWV5F 0hZA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CsqShFT/2PNTGlLa2l5hmD2pNDT5M9ejJAUMqdzKseo=; b=OZnBt2rg8NT37fubm/KRBB4KIggsSs7KYEeCgL6Ktf5it++iHjG1MIh7PWKkNwxjbl o+xtH95UNzj6C0lWwISwAWXWVmlSImOdxJT80GOTTSPT6rHkeIvOHoCDE0hegNcqjcEO j10Y/qYbpz/8ATTJ38TLvi7bIFaXhFhJB/qrZro5eXP3XxNWZM+7u7stZzXVROG3Ex8u cDqPtRrUliJ/DBmNE58NK5QzPChuqnJg9utKh3BjFVL3NSf8OdXLpJmZUJW7uiVlZ8yA WAOd9n6NIlyNSXp7qJwFL3xm47DZh55zeMg18dNW5kPoNmr5WP8ZssWgcewd/6P2NgTF uzWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IzJji+dq; 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 b26si18894302pgl.539.2019.01.28.08.07.57; Mon, 28 Jan 2019 08:08:13 -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=IzJji+dq; 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 S1731434AbfA1QFu (ORCPT + 99 others); Mon, 28 Jan 2019 11:05:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:53130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731419AbfA1QFr (ORCPT ); Mon, 28 Jan 2019 11:05:47 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 CA21F20989; Mon, 28 Jan 2019 16:05:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691545; bh=erUnjmWMM4EK60WS+qexEeg+GIott08M6ICGnnF2XrM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IzJji+dqok7vG7sueEAYUG0xtnWtj1J17siEiWMak3YTTeaC06+o7s+RiUNJZNRZC 7pnPHB/vjLa27mv9UhhmBJL0mUtEGRpFNYqa7w/aqi2wORminV5nZvfzUvMXRw9X1y 3xUBqxGSl/6e+e+P7Ldb32YGV9uU8dNzdJP2OAWc= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Abhinav Kumar , Sean Paul , Rob Clark , Sasha Levin , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH AUTOSEL 4.19 137/258] drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver Date: Mon, 28 Jan 2019 10:57:23 -0500 Message-Id: <20190128155924.51521-137-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Abhinav Kumar [ Upstream commit c1866d44d149a1ea5c303632114fb6aa08cfd263 ] Fix the dsi clock names in the DSI 10nm PLL driver to match the names in the dispcc driver as those are according to the clock plan of the chipset. Changes in v2: - Update the clock diagram with the new clock name Reviewed-by: Sean Paul Signed-off-by: Abhinav Kumar Signed-off-by: Sean Paul Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c index 41bec570c518..31205625c734 100644 --- a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c +++ b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c @@ -17,7 +17,7 @@ * | | * | | * +---------+ | +----------+ | +----+ - * dsi0vco_clk ---| out_div |--o--| divl_3_0 |--o--| /8 |-- dsi0pllbyte + * dsi0vco_clk ---| out_div |--o--| divl_3_0 |--o--| /8 |-- dsi0_phy_pll_out_byteclk * +---------+ | +----------+ | +----+ * | | * | | dsi0_pll_by_2_bit_clk @@ -25,7 +25,7 @@ * | | +----+ | |\ dsi0_pclk_mux * | |--| /2 |--o--| \ | * | | +----+ | \ | +---------+ - * | --------------| |--o--| div_7_4 |-- dsi0pll + * | --------------| |--o--| div_7_4 |-- dsi0_phy_pll_out_dsiclk * |------------------------------| / +---------+ * | +-----+ | / * -----------| /4? |--o----------|/ @@ -690,7 +690,7 @@ static int pll_10nm_register(struct dsi_pll_10nm *pll_10nm) hws[num++] = hw; - snprintf(clk_name, 32, "dsi%dpllbyte", pll_10nm->id); + snprintf(clk_name, 32, "dsi%d_phy_pll_out_byteclk", pll_10nm->id); snprintf(parent, 32, "dsi%d_pll_bit_clk", pll_10nm->id); /* DSI Byte clock = VCO_CLK / OUT_DIV / BIT_DIV / 8 */ @@ -739,7 +739,7 @@ static int pll_10nm_register(struct dsi_pll_10nm *pll_10nm) hws[num++] = hw; - snprintf(clk_name, 32, "dsi%dpll", pll_10nm->id); + snprintf(clk_name, 32, "dsi%d_phy_pll_out_dsiclk", pll_10nm->id); snprintf(parent, 32, "dsi%d_pclk_mux", pll_10nm->id); /* PIX CLK DIV : DIV_CTRL_7_4*/ -- 2.19.1