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=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 4F649C282D8 for ; Fri, 1 Feb 2019 15:44:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2078B20855 for ; Fri, 1 Feb 2019 15:44:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="JDwATJVL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730761AbfBAPnP (ORCPT ); Fri, 1 Feb 2019 10:43:15 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43423 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730746AbfBAPnO (ORCPT ); Fri, 1 Feb 2019 10:43:14 -0500 Received: by mail-lf1-f67.google.com with SMTP id x201so4081611lff.10 for ; Fri, 01 Feb 2019 07:43:13 -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=4aZjzTCb7nb2tKftkTHdgQPoUpPvat/+j26yjBhx4a4=; b=JDwATJVLIRANYmNxWOY+tdnl8MBY99Uv8xzUB/mvnm/ixBPg0Yk9K6Bw/tuhzo1Rfy GIE9GIxYaNphC0QqB4EFcBGfNndjUo975r01z4SrCbqxrdacbAn50p0+CyHl5lnvjPp1 7R5p90d5SoFMOPTyGw3Z0ELtMH39BCZTt/Z/M= 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=4aZjzTCb7nb2tKftkTHdgQPoUpPvat/+j26yjBhx4a4=; b=q+s5qodqdI9v3LaeP3hrT5nWtjv1P41Zh5AY4hUsWhSc4DLaLKpf73mZpM0z+mHPv3 Ozh4zkIplOMbbuaK+8+PCfHflaEpQSFDsa1yuBzZCDdvC6+cDNG7z9UrkJ56cCzzc9YK 7CyzI7PYFlt0UiSTBGPezstgU5xRdHGHlq5mFXINFrEhEajvO+JcuvLoDtXVnL4xx5b3 wsgnrs0h5D+XWHaVEJ7LsK3/gp5+srSk9mn/woyFeI4t5UTn7kEiRH1sq98yrHmUECup 1GOdrLJ6vIlPH/vdzJv9rZm1nbvwD6z7euvlj/SOJOpD2Q3BhS6UDT1jp/EXy9zERXIX Nklg== X-Gm-Message-State: AJcUuke81Fnm4gYPJavCRC1ap1mgUlUZO9xkD11PwBCAJGVzf0cXcPL2 kK5Z+1DXZ/4oI01yQOreFTKFpQ== X-Google-Smtp-Source: ALg8bN48XbZpc/7XwnNE112fo8VcA1h2Tot+eMsP4TZ3TubNUgilRPPeFrZUr5WpmZiFVxYgbc+Knw== X-Received: by 2002:a19:7919:: with SMTP id u25mr32430275lfc.18.1549035792565; Fri, 01 Feb 2019 07:43:12 -0800 (PST) Received: from localhost.localdomain ([217.76.202.68]) by smtp.gmail.com with ESMTPSA id i13-v6sm1305712ljg.82.2019.02.01.07.43.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 07:43:11 -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 v7 16/23] drm/sun4i: sun6i_mipi_dsi: Add Allwinner A64 MIPI DSI support Date: Fri, 1 Feb 2019 21:12:25 +0530 Message-Id: <20190201154232.10505-17-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190201154232.10505-1-jagan@amarulasolutions.com> References: <20190201154232.10505-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The MIPI DSI controller in Allwinner A64 is similar to A33. But unlike A33, A64 doesn't have DSI_SCLK gating so add compatible for Allwinner A64 with uninitialized has_mod_clk driver. Signed-off-by: Jagan Teki Tested-by: Merlijn Wajer --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index de7d9dcb049f..a0697d78b915 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -1252,11 +1252,18 @@ static const struct sun6i_dsi_variant sun6i_a31_mipi_dsi = { .has_mod_clk = true, }; +static const struct sun6i_dsi_variant sun50i_a64_mipi_dsi = { +}; + static const struct of_device_id sun6i_dsi_of_table[] = { { .compatible = "allwinner,sun6i-a31-mipi-dsi", .data = &sun6i_a31_mipi_dsi, }, + { + .compatible = "allwinner,sun50i-a64-mipi-dsi", + .data = &sun50i_a64_mipi_dsi, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, sun6i_dsi_of_table); -- 2.18.0.321.gffc6fa0e3