From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A997CC282C3 for ; Thu, 24 Jan 2019 20:01:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B00B21726 for ; Thu, 24 Jan 2019 20:01:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZUlm+805"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="jeWZ5DF/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B00B21726 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DWMUQ831kLZZLT4X+b/bcFd9CdwQsipXEToRp8EAX2w=; b=ZUlm+8059XZC0R N5PLdVWUFPR7QPiVhR4KPOjlUN/p0Jr448t4bzAoHAsre1TzpanxnIygb8h/XtPyWHaO7wK3ApHKj elrtJoEiHeDVaGIEgUCqFvKVxhWqkh/67+xnGI8+0FV8voYuov5oy1Rtug7uP2BXuhf7HbjfsjrrI ihqwKSp5puCNDL6eZfOa9Cew/Z699CmM86qQEn1ij/zBGVlXDc+eqgv6IprmfrOqEZxzrkFIXZ05s g8QyK/Cbzjmebww9nKZgfaXI+dKs+tijZF3jSwr+k95MeRRG2n3Q3b8A2XVIqNapnFb/0mSilTCL1 WPgGTATNKqs8Jg6lqAlA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmlC1-0001v4-7P; Thu, 24 Jan 2019 20:01:41 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmlAG-0007Vy-LF for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 20:00:30 +0000 Received: by mail-pl1-x644.google.com with SMTP id b5so3377306plr.4 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=CpeQFelthMKYXLNwLdVYU6+D6laG1eZ6HMzdoTNdorJMEhHXYyo0p1P0Idnqiq/vuB /6aKDEylnzZ2o4NtT7wQwS5wwXTQ0eqjxsFVbrjF5CVr5Zrp7mR+QyT4wZOpjnjzfHpF R/bLeYzVarFITKxy5alBPLld12RLtsbUqNZN/5/3fgLb9LEg+Ly/Xr3m0S8fUpL+h08J ofDw7fbzcZDoLd+W9jeIVvEHmiQS5vdJySGMC6Fv+Z6wKXcVBLb5QVT66ITiMvQG0P+S bxQx6Xg2ZKh7qzcs5HsZF000tB3Af2z2D3aAegRlJaMMcyY0b38ximWQ+H6gAbLnwKQm b5+g== X-Gm-Message-State: AJcUukfWXIhj/W2M9iIZYk1GQgSquXFtseI5dDRDqQlQlK7Uexn9JVVb kv7A43cZ39vuEM/m4l+NswevhQ== X-Google-Smtp-Source: ALg8bN7NESCraba3ImvDdbMW3YOUxJbvyN6X4qxs9MVe4v22yd3Dc0+wGfyMcok3MAgjFBhFhIabxQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_115953_620482_303A4731 X-CRM114-Status: GOOD ( 13.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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