From patchwork Tue Dec 13 23:38:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9473379 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 39F32607F0 for ; Tue, 13 Dec 2016 23:38:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EB282855A for ; Tue, 13 Dec 2016 23:38:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 234A6285EF; Tue, 13 Dec 2016 23:38:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB8842855A for ; Tue, 13 Dec 2016 23:38:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751704AbcLMXh7 (ORCPT ); Tue, 13 Dec 2016 18:37:59 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:41946 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905AbcLMXh7 (ORCPT ); Tue, 13 Dec 2016 18:37:59 -0500 Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 2C273207F0; Wed, 14 Dec 2016 00:37:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1481672263; bh=UQmGNQ61WCmLIix/uc4n4qyAWKdjCduK+Mmkn9WdFK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1NdaqPyBtzT1LDE3pBdw+kVhxHNTXl2GSYmh2Mt4Yh2PbzlE+VDMw2syuWlwheFg K2yweYMGiQd4iJwbWC+aueSi/6vRD39wZEjU3Pvb99CMZw22CwG3uUraWYvY9OnVUV Lnd9sbF2641rQd2k/q68LfDtDLQqCJ5hVd2ouiXM= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: linux-omap@vger.kernel.org, Tomi Valkeinen Subject: [PATCH/RFC 1/7] drm: omapdrm: Add OMAP revision to omapdss platform data Date: Wed, 14 Dec 2016 01:38:20 +0200 Message-Id: <1481672306-22564-2-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1481672306-22564-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1481672306-22564-1-git-send-email-laurent.pinchart@ideasonboard.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The revision is passed from platform code to the omapdrm driver through the omapdrm platform device's platform data. This is the last reason to create a virtual omapdrm platform device that we have otherwise no need for. By passing the revision through the omapdss platform data we will be able to remote the omapdrm device. Signed-off-by: Laurent Pinchart --- include/linux/platform_data/omapdss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/platform_data/omapdss.h b/include/linux/platform_data/omapdss.h index 679177929045..e71bb1d1b7ba 100644 --- a/include/linux/platform_data/omapdss.h +++ b/include/linux/platform_data/omapdss.h @@ -32,6 +32,7 @@ struct omap_dss_board_info { void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask); int (*set_min_bus_tput)(struct device *dev, unsigned long r); enum omapdss_version version; + u32 omaprev; }; #endif /* __OMAPDSS_PDATA_H */