From patchwork Mon Apr 23 13:47:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 134001 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1021092lji; Mon, 23 Apr 2018 06:48:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx48cngmkzwNCcrsGM9vSRziq7kP5T9NZBTeJPA91FcYeZYSbKnFe0Jhbvpoyi32VS3iC8lRP X-Received: by 10.99.53.132 with SMTP id c126mr11082543pga.37.1524491322186; Mon, 23 Apr 2018 06:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524491322; cv=none; d=google.com; s=arc-20160816; b=POZ3O0TrTKsRHMaZKMomiCjFOqegRbTIu6wS5yGnT8l1lXdn4fdN2tPGnSbBHnEFBi b8Lq0nVG6inQdc2YLfyvJlWBiBOQaS5tLd1yFKJfgT8tbwRkMvEiTxaaYQx2NmEk+pn8 QqmJWXEQ33hfOLF9k4vG72CO/eWkca4SEh829l6/fenSaQ0eP4U0qaxOaXZMPRlCKAZ/ udTDt3SlDhYNrdQi9Fk7yT6iXNdCeAkbaBlvut3Utn/mj5MsBmTAQ/5ob6bFw//mhLgv KhmDedLtA/T9pxrpZ/olgm9yLkFdPitNhCPCHaHY5xkBpyEcddl6R6+vo3FV7cNIub+1 R3yg== 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:arc-authentication-results; bh=TXDw2nnqUaBW9r3Uq+lfdaVsT2/jSowNLh0CS/jQ66g=; b=hO0BA6mZG1Shl7nlgggDapgneHpYVDXrPQDAsYdaQ9Pw1p11JaLNEHMRrphMLWvl9O kfY/VwBcRjODwR6z4b4QRdXUi14J1LY38JZcZQbFU9y2h3NcG12xjsP92ASNL+5kQPu9 P2WdLYrt3Hy3MqCR/wSud4h9NZIOXC9yPrPo2QhcbE5rK5eR+nOBcrnwCBpD/EyzSXDP rowbMQtfzFYaiQQY6wsx0Wb93DRE8z6j4TpsPJ7NRGFmMdkNjxhes+o7jeTpH2IOcNSU EgkpiQZi2cuyfjIhwz79zylrA6GndRX/J7KvrGOVxIUnWaaESSBgrHUPl11fY1aP2STr TbNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VpHgKwrK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si9006758pgv.251.2018.04.23.06.48.41; Mon, 23 Apr 2018 06:48:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VpHgKwrK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755344AbeDWNsk (ORCPT + 6 others); Mon, 23 Apr 2018 09:48:40 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41710 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755365AbeDWNse (ORCPT ); Mon, 23 Apr 2018 09:48:34 -0400 Received: by mail-wr0-f193.google.com with SMTP id g21-v6so14017490wrb.8 for ; Mon, 23 Apr 2018 06:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=e7fq/pXcqkAya0t0UemfMY7ez5V2Vxgqm4z/yF/TrNQ=; b=VpHgKwrKPwKsxa7clw16J4w80bGqjO8pZiTXztdVJxlXF0LKENyOq6dO1ly09QwxtR gpIBuaKvazlkSt9pbL2bMTO2d1D+sVHnDN/ZfPyKfjp8kiws98EAh5TP5vKgLOMtRzWz 8ahRqlJMNmF/Ys6jp8yA1BWtTwemEH6wJPTFc= 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; bh=e7fq/pXcqkAya0t0UemfMY7ez5V2Vxgqm4z/yF/TrNQ=; b=PFS5Zk6EJjcy2Vv2IIha2Ex6iATx0ilx9HoIQmsvT7TUTp9h4IIYoO3TwGqUHB6bYq iT9vNhLVXLfiDvCgGer73/utZArxCRmRa/IvHckr73lRbW+I/890eMnfzt9dZ5+gQdya 6D2POF3plwUhAmz+HYdRilRx4HBKjZ6XPTZewkFuwggRChCjxsunGfPe+xssmO1Zm/Yv 8ax+Dsvd2GM7gytkcIzCQANOB0uHG8RCbpmiYyxj8Zn18XKEYSMtJDgtWSmsB3fv/oz4 AOu+zHPDlv7enBMPUZdj2BBzwWcm2KsHcR5QLmIYJY4DPI77zQsTRUGw59jTztyM6otc /TrQ== X-Gm-Message-State: ALQs6tBGM5tMIbTWelOyhx9K0rTIQ8N9tG8djKs8ic0jPVwIRx+FVIcn 5PQXaDNgextC906MM7Z+LydqHQ== X-Received: by 10.28.126.141 with SMTP id z135mr9862116wmc.6.1524491313519; Mon, 23 Apr 2018 06:48:33 -0700 (PDT) Received: from localhost.localdomain ([2001:8a0:6606:9100:b159:5390:182d:7dce]) by smtp.gmail.com with ESMTPSA id n14-v6sm14680319wrj.16.2018.04.23.06.48.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 06:48:32 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Steve Longerbeam , Philipp Zabel , Rob Herring Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Shawn Guo , Fabio Estevam , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ryan Harkin , Rui Miguel Silva , linux-clk@vger.kernel.org Subject: [PATCH v2 03/15] clk: imx7d: fix mipi dphy div parent Date: Mon, 23 Apr 2018 14:47:38 +0100 Message-Id: <20180423134750.30403-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423134750.30403-1-rui.silva@linaro.org> References: <20180423134750.30403-1-rui.silva@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix the mipi dphy root divider to mipi_dphy_pre_div, this would remove a orphan clock and set the correct parent. before: cat clk_orphan_summary enable prepare protect clock count count count rate accuracy phase ---------------------------------------------------------------------------------------- mipi_dphy_post_div 1 1 0 0 0 0 mipi_dphy_root_clk 1 1 0 0 0 0 cat clk_dump | grep mipi_dphy mipi_dphy_post_div 1 1 0 0 0 0 mipi_dphy_root_clk 1 1 0 0 0 0 after: cat clk_dump | grep mipi_dphy mipi_dphy_src 1 1 0 24000000 0 0 mipi_dphy_cg 1 1 0 24000000 0 0 mipi_dphy_pre_div 1 1 0 24000000 0 0 mipi_dphy_post_div 1 1 0 24000000 0 0 mipi_dphy_root_clk 1 1 0 24000000 0 0 Cc: linux-clk@vger.kernel.org Signed-off-by: Rui Miguel Silva Signed-off-by: Rui Miguel Silva --- drivers/clk/imx/clk-imx7d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Dong Aisheng diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index 975a20d3cc94..f7f4db2e6fa6 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -729,7 +729,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) clks[IMX7D_LCDIF_PIXEL_ROOT_DIV] = imx_clk_divider2("lcdif_pixel_post_div", "lcdif_pixel_pre_div", base + 0xa300, 0, 6); clks[IMX7D_MIPI_DSI_ROOT_DIV] = imx_clk_divider2("mipi_dsi_post_div", "mipi_dsi_pre_div", base + 0xa380, 0, 6); clks[IMX7D_MIPI_CSI_ROOT_DIV] = imx_clk_divider2("mipi_csi_post_div", "mipi_csi_pre_div", base + 0xa400, 0, 6); - clks[IMX7D_MIPI_DPHY_ROOT_DIV] = imx_clk_divider2("mipi_dphy_post_div", "mipi_csi_dphy_div", base + 0xa480, 0, 6); + clks[IMX7D_MIPI_DPHY_ROOT_DIV] = imx_clk_divider2("mipi_dphy_post_div", "mipi_dphy_pre_div", base + 0xa480, 0, 6); clks[IMX7D_SAI1_ROOT_DIV] = imx_clk_divider2("sai1_post_div", "sai1_pre_div", base + 0xa500, 0, 6); clks[IMX7D_SAI2_ROOT_DIV] = imx_clk_divider2("sai2_post_div", "sai2_pre_div", base + 0xa580, 0, 6); clks[IMX7D_SAI3_ROOT_DIV] = imx_clk_divider2("sai3_post_div", "sai3_pre_div", base + 0xa600, 0, 6);