Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6165389ybi; Wed, 29 May 2019 03:58:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8oPUPEG7qBpsEFU0I4qbvrDwvp0aPBeBEcOWQ7wv1RUoISHiBeo8xss1PO4okvPUwQbF4 X-Received: by 2002:a17:90a:a608:: with SMTP id c8mr10979589pjq.37.1559127515514; Wed, 29 May 2019 03:58:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559127515; cv=none; d=google.com; s=arc-20160816; b=i8lpjLZaQjQ6PPHb8IoK72/8P7zbCCvMCVpsb7ohio2mL3KOWE0c/1V1G0OT8pTS3k gpScbroh1u3Uqz+dQHWXlwqCHOhN192Nx6o1vx9K7WsJpz/WBPx4gmV1M8LMEtIHgcuA IUQKl2NrCmQK0dL171diDXjC+X7/WsTCeQYJSIxmg0Efi5YvoWfmkxKQmWIwhPYLGtg3 Jv7QRxA8y7SdBDRGpQgclUdPF9m6oqysOBMP/roDR1TqJeyOzFu2BndelXrskUD8c5T5 Bb10KRTs36KWzd8CVWRIAbHynvcABBJTuF08z1/7Mw2OR/F2N8spixrwFKMV/xP3N4cX 6jqQ== 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=iSfl8JfPaQ3eWtHD/XH3XcXi2ZhQvwGTja3e/CsvDhE=; b=rcwhaMA2Vbbzq9Wk/IzjF3xnPhDu7piT0DMElUhsli9Tj4diTo6WQkPpmeHgXzJNxj shDaOhBj5bU9pcXWar/+aKWQZpynlExDB/HAPocGVYsisSUyvIwSdQJ1zbqMAe1G4/F0 /ulXAoqstLfv/Ctb5VXKFD2va8iljh649TDaoIxyYs7/4xs32F/GoSjbGkYCvi3wgduf nE6Rtd2YyjX7EkcjToaDoVAVwPinZJn+86MJvBveO180LSz25eWS2Hku2A7TzNyXMX9M N/pOO5kSKKiEk7znvuhpm2bzLTFaeo7ooHJPJLS6p3F3RU+ssuXPaaVZgfzhhIfhLIGA lW5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BqMnNZJP; 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 x9si11945865pln.364.2019.05.29.03.58.19; Wed, 29 May 2019 03:58:35 -0700 (PDT) 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=BqMnNZJP; 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 S1726842AbfE2K5B (ORCPT + 99 others); Wed, 29 May 2019 06:57:01 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:38434 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726823AbfE2K5A (ORCPT ); Wed, 29 May 2019 06:57:00 -0400 Received: by mail-pf1-f195.google.com with SMTP id a186so692274pfa.5 for ; Wed, 29 May 2019 03:56:59 -0700 (PDT) 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=iSfl8JfPaQ3eWtHD/XH3XcXi2ZhQvwGTja3e/CsvDhE=; b=BqMnNZJPVSyBNKhXZnG6jfq6xiFnuJvAVG5+M7y4c5sF/jqrlNUUSyuZGwy9Ue1GAl /ZCmlEhIuIZTCKvvoYUcUillYwzG0xAmYGy4+fzPByhP8dxCPBpbm0pgxJ2zppZ+Te2Y BZ4uWoRTtZDRHvbsNoPw0gJh6BQWkj2hEe6LM= 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=iSfl8JfPaQ3eWtHD/XH3XcXi2ZhQvwGTja3e/CsvDhE=; b=b+Fa5kvUoHSLSW76DcrbVSavcOYV/HVCDXySYsyvR4b1sCxUEcHAk9xloVs7/VVVJZ r94H3Eg3uDhzYVcTays2Rv6dAAwo5QWpSomAZRw8Lc31y2jzWnSlc52RzzKtoSgGKvBp MnlbgO+MJ3oyoWLf4V6qiK324Vj3mhM/nYTtOoFliHbCIwEbgsLKrRfr5XIrqEV6fKKx 3Ng3NiH9zfywuN1oWoOX5sh4CkeZ85WgIVS1tvmjdEx2wbRTAILoCI3gHH1PhP74dppu xCCw6zRroapBCt7ldfQ2sNRKUrxB0AEV9jgCs/s2qpkiw3ypkY2RR/aFR7FcVh8ek1XW 9CNg== X-Gm-Message-State: APjAAAU2+5FHAAvWTJCMVcEBWFGPaqp0nzpMRP4dEdSYHn+mvcZooQ+D jcPDorJOD29xGkctuBSYh2OFrg== X-Received: by 2002:a17:90a:240c:: with SMTP id h12mr11640162pje.12.1559127419415; Wed, 29 May 2019 03:56:59 -0700 (PDT) Received: from localhost.localdomain ([49.206.202.218]) by smtp.gmail.com with ESMTPSA id 184sm18974479pfa.48.2019.05.29.03.56.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 03:56:58 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Michael Trimarchi , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-amarula@amarulasolutions.com, Sergey Suloev , Ryan Pannell , bshah@mykolab.com, Jagan Teki Subject: [PATCH v9 4/9] drm/sun4i: dsi: Add Allwinner A64 MIPI DSI support Date: Wed, 29 May 2019 16:26:10 +0530 Message-Id: <20190529105615.14027-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190529105615.14027-1-jagan@amarulasolutions.com> References: <20190529105615.14027-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 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 ef878175a79b..dd68fd0888c9 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -1304,11 +1304,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