From patchwork Wed Dec 18 19:10:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 935 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C317A3F08E for ; Wed, 18 Dec 2019 20:10:51 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id ci21sf601267pjb.2 for ; Wed, 18 Dec 2019 11:10:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576696250; cv=pass; d=google.com; s=arc-20160816; b=p+5uajedhNKh+RFnqtivUoenTUy2fw+egPe+QqmBZg8WuPE28FLX7Bi9a7p92hSwE0 8Vj0V02xwJd/8o6Fjexy3h5NltDTEuyZe2v/6wl+f8dUstM40swD+zmo5a6ah33oUH55 CHZGNJHzlEdAKlfojgVfvL+WNF1lt3B6lYXbzqvgYEu6kHSCyD4UFYXs92IehbrlNKA6 z7Ku0QsxQzWQCPQVxlp7uH2Li9Y3sWKA5jy5FVQQqZc7CVfdNgqf1RdICuK63dPlJPZQ JW9sjjsTXNk0A9Z5ANx2pyEZIwZAtQxKGM3RwZ1pHvxbF5H4903HWe5VZMUu1SP7werg nTYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=LbC3xDex6kLeCaXPRklt1f7R6kAk6ykEs6L4ftTbeNQ=; b=WkWGCGwle4m8u8TekbYWyULyPGh9uzlbfvgUbyp2ywaXH95S48I82g1YQLW46VHLmS mw7MS+UKGLsY3Ogcgd00gptDJysJwUNWCsoKx+tYaebyT02TduYMdttsbkTO0HkxN4ZJ bCwOCbh4VcQAqcRvaxQHBsPcykv/771M4nWawfyNmI4+ohrltOBkDJKwC61+sve13s+k nNlhypJn4slMUxSDHsPlpiTwMCH7tlrrNyCsI1yaGikODWMOF9uX+YCHnDj3JsM4YVdU g9kPQj3DaUyqAgNMG+x2Px7hrbUl20cT4YuJcIYsP3k+/xnbAFpPah1uTrgAg8cJquol lpsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pZ8uPDUy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=LbC3xDex6kLeCaXPRklt1f7R6kAk6ykEs6L4ftTbeNQ=; b=CxifYg54/U5fvRU9Kx1RX9Sv3divCVVh9F+KNlHi0LC0coprzU3z2ycDzhkynsQ1It sYIkkTC6t0yq/kj/WyJ5Wna0kAD2rXzke4dB4Z81vvB8b8DPV/pXjcsfMbR2+ZXTbwvT aZtOFx5y3Cel0Mztzy5yz/ax0f/ShAvyv7jxY= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=LbC3xDex6kLeCaXPRklt1f7R6kAk6ykEs6L4ftTbeNQ=; b=fFNAyNsulB9HQ3R7D/8fHWasbcuxvZrdJ8KCMPmjQaYFZNjaJYy6CMBHMGIyzAZXeX B5o8fVk2iS/DCssjDQW2e6aZ564JnbeJuH8SPDZLpoogrgoCM7t9NzSrupYuFpdorJ2z ieYzlsvcVp8ra3lmKJSbmVURE0lYdJzrW/v3RDEo79AHHgD5LA0OePy/kfYo+x8f/ChD cQ/3eCaIGVW6OoIX+MD4sQ3SwU1QO8GXHcOFmO8ESCd/ZFVy8rQw89zNcwRowWYcLn98 U5S19qzTb0DELGagnl0nIwwQsxb1dYkVGh7wlxS0aXSUaroY2Yo3oEIsU4KWcz4uzkj9 6VJQ== X-Gm-Message-State: APjAAAWooOIVFmlwk19RpfLeee+zTbkYFJBcXrgm0R1DxBtFsokwHIZ2 VyCjAbSFOaCFtrxAMY6jOh4lX0VG X-Google-Smtp-Source: APXvYqzNKS3Uo4PbojtLbrZtYpMhp3cbIpjJ1Ncw4CK4XQNbsVGKXS4yrZqbC4HZycw1CRhRM0lOzQ== X-Received: by 2002:a63:4503:: with SMTP id s3mr4720821pga.311.1576696250496; Wed, 18 Dec 2019 11:10:50 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:3b42:: with SMTP id t2ls753759pjf.2.gmail; Wed, 18 Dec 2019 11:10:50 -0800 (PST) X-Received: by 2002:a17:90a:d807:: with SMTP id a7mr4814400pjv.15.1576696249940; Wed, 18 Dec 2019 11:10:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576696249; cv=none; d=google.com; s=arc-20160816; b=cfIEmUWgEpLfqfBdiek4EVKnAJSlvnsmobkqgSJro54h+Ty1WpcZh7F3ZiZKXYItAf nKOBnTJxHvLCkiF1NQM3e3h6quRkBYk1bI2T5hxjkN+LlfoRykmxKLSL+Ao16wtWuCTY +/LYHLZZMXGfLUF0jhOHHyq+VNu3r0xQ3Fo/gapdL1JFiCe8JQNKZhR5UvK0IrHMiQ7k TVDURDGlpzRQCdpbfrgb7dRmQHpBqJgv7c1AvPlZd/kosiVYUtZzOEtLe5meGEWYWD10 2r8Wze3fYG9l9ilrIhAt3t3IMRBqkLwOyn7mDTXxgJ4Fu2xMwKJRYRyZFktg4US8RQUP 7LAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=c+shghrwvHSuaCCAe91cOcF/cABrNe9ZFXBpEs6T1pk=; b=1GQxeukntMnMegdQ/LOIqB2ktmdKs5OaLDo/wcQrkOm3MdwbPtMNyfsYzgrv5x7sQt NjwbvbH6xHSE7DEa1P5WSUK6vsYygzSlTz+5O3mQtlBMHWu4HU/WWyRiAKZ1BODEt2u2 sQNVw4cykJV2l9aWtPa9//mMfOjPUV0XobIdIrQb5COBHszZU9MTci3MxcCrcDz/BeW6 8gw1vjFVqIC/36mWVZ9gkvTp454bBxV/+DWEtYW8BG4zVd/rAobQSXpNDIExWe+d4MTE UC14LUBPb/r88RtlG3HyHXysc+O+tKXjehzLse0n21xa1fAGKt4KuOCb4aESbQKH4pnd 8zSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pZ8uPDUy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a207sor3711330pfa.20.2019.12.18.11.10.49 for (Google Transport Security); Wed, 18 Dec 2019 11:10:49 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:c541:: with SMTP id j62mr4808803pfg.237.1576696249620; Wed, 18 Dec 2019 11:10:49 -0800 (PST) Received: from localhost.localdomain ([2405:201:c809:c7d5:78ea:e014:edb4:e862]) by smtp.gmail.com with ESMTPSA id q7sm3745855pjd.3.2019.12.18.11.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2019 11:10:49 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland Cc: michael@amarulasolutions.com, Icenowy Zheng , linux-sunxi , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v13 5/7] drm/sun4i: dsi: Add Allwinner A64 MIPI DSI support Date: Thu, 19 Dec 2019 00:40:15 +0530 Message-Id: <20191218191017.2895-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191218191017.2895-1-jagan@amarulasolutions.com> References: <20191218191017.2895-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pZ8uPDUy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- Changes for v13: - update the changes since has_mod_clk is dropped in previous patch drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index de8955fbeb00..8669d5f0e744 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -1264,6 +1264,7 @@ static const struct dev_pm_ops sun6i_dsi_pm_ops = { static const struct of_device_id sun6i_dsi_of_table[] = { { .compatible = "allwinner,sun6i-a31-mipi-dsi" }, + { .compatible = "allwinner,sun50i-a64-mipi-dsi" }, { } }; MODULE_DEVICE_TABLE(of, sun6i_dsi_of_table);