Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2393922imu; Thu, 24 Jan 2019 12:01:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN7AAfLz9EE4fkKKQIF0J4X5EHtlrEkuBBfC/xSgozEWiqzVD8rMaPEWOfumyqNtTKHazas0 X-Received: by 2002:a63:ce08:: with SMTP id y8mr7148640pgf.388.1548360085854; Thu, 24 Jan 2019 12:01:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548360085; cv=none; d=google.com; s=arc-20160816; b=sBHy9OV/SQu0ofen3bAOGyvpPM8gCP5TaDviJcY1xNt/lZ/CbSdttd3hHgTndlcb9e HZUno/HLDVicy/kQiLKK8K6cOu7yhj23+XN04rLEc7/qrYZNGgkDHkZMKq6BriDQeTlS 9ht5ZoiLIkYUi4WpiO9XUGbZNT3SJHZdUX8VW5JlQYi5GxJHZ3XYvvF332T6Xa4YWV8E sG4H4XiQS/lVFiclQQEzP0PFaSjnen3XaPwhRPtWXC3D1euLUnpgGX5pysR6+52drwDa Bn/8hDNUFZii2MuJhSnzmjvIVKAE0jSwpLU0t+54USR8jMSfKjlOfuuxzNiiBAKkLoW0 SpAA== 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=lUl8gOFhrx4lYOm2vF/JCpXkf8drgoe2NMxhC71Dtbc=; b=XlJN3uDDcYvmj0SMJphTo/GL1zRAaDdQhH9FTcJEzB4X468Ti33TcRTtZ2HFhpm8gb 6CW4uCq+QN0z/8cN90j1VB1n8T8QvIWJUjl+kFTE6HXfai9FnZKMymzgxEAqyq4FOExX ePcUZKY8VSUvh2t62wZeNYq3pyGPDW/rHrlYLf7lMl2f/Dwl91gNe24pox+loDy8GokG vu0sztVI24LVq0ptoJSm+RNT9W5SmKVLjPP2Z3obEJ6AXxCD3CnvqB5nwGpXtKUqF1AN n243K6LIzdO3MXqLXCAR1m71LhFmIPDBtT2wYzmBGK3AKEp98j2F9QbdkLSTpekzZX52 wAuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="jeWZ5DF/"; 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 y15si2095998pgf.321.2019.01.24.12.01.11; Thu, 24 Jan 2019 12:01:25 -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=@amarulasolutions.com header.s=google header.b="jeWZ5DF/"; 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 S1731961AbfAXT7y (ORCPT + 99 others); Thu, 24 Jan 2019 14:59:54 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:41479 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730517AbfAXT7w (ORCPT ); Thu, 24 Jan 2019 14:59:52 -0500 Received: by mail-pl1-f194.google.com with SMTP id u6so3377253plm.8 for ; Thu, 24 Jan 2019 11:59:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lUl8gOFhrx4lYOm2vF/JCpXkf8drgoe2NMxhC71Dtbc=; b=jeWZ5DF/Sq8J4qQFqwK9SuQ1fhIqjn/TB18xw+ErxMSSqUzs8Y3r+0dB8MgQhwvsX3 REJe4AZyHAZRrDnOdJHNNP/DWhsjbhyP4KfIRizxp+8dTz2lQnuEr+rn+6DLBbFCY1ul BwsO3bb7BcuEbfryNfa3yYWkfc5Bay5zpgTD8= 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:mime-version:content-transfer-encoding; bh=lUl8gOFhrx4lYOm2vF/JCpXkf8drgoe2NMxhC71Dtbc=; b=HSq13n/L+SsMMoYEMOWAh78et8eCiu/HaPQ2TJCMGMGlAvQHZi8UzqbCSnF1ZNGBkp MztFdNXiuMc9oj1sCUv0RgmR05/T23yzD0Us8OHGXTBCRV1ZOvVRVcpXLAKHHOV6U87+ zt4Pj6IE97Ct0C/hboKZjTiyzm5N/L6G2b2TP2Xq9XHixoExxQeF6y5nVL7fGPi4bftA mFqRc4hzdkzYTlK6BuUIT0awReQg20Ouo42mcWp5BopaP0j5miMWmfICBnpZGLR6bSMS G6BK5GsOKjuRNOITQdLSuC681/qSJxyWBwn/A2kXSHDCNhWHB9C9Ohe2W/VliN/tAqUR OCXA== X-Gm-Message-State: AJcUukf0OlKju7y9EB/vHQ/2800yUF7VBjY4lGB4S4Bhcuuz75eboBot 1xfXMIFhC2HcXf95j/zao8AVoA== X-Received: by 2002:a17:902:6b87:: with SMTP id p7mr8016256plk.282.1548359991632; Thu, 24 Jan 2019 11:59:51 -0800 (PST) Received: from localhost.localdomain ([115.97.179.75]) by smtp.gmail.com with ESMTPSA id x11sm61637003pfe.72.2019.01.24.11.59.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 11:59:50 -0800 (PST) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai , Michael Turquette , Rob Herring , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com, Jagan Teki Subject: [PATCH v6 06/22] drm/sun4i: sun6i_mipi_dsi: Probe tcon0 during dsi_bind Date: Fri, 25 Jan 2019 01:28:44 +0530 Message-Id: <20190124195900.22620-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190124195900.22620-1-jagan@amarulasolutions.com> References: <20190124195900.22620-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Probe tcon0 during dsi_bind, so-that the tcon attributes like divider value, clock rate can get whenever it need. Signed-off-by: Jagan Teki --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 7 +++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index 16a86d35dc5a..2aeaa19a8d1e 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -24,6 +24,7 @@ #include #include "sun4i_drv.h" +#include "sun4i_tcon.h" #include "sun6i_mipi_dsi.h" #include