sdi.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) sdi.c (c83fefd738344cf5bf22e1e1442e6f746b85c1d4)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009 Nokia Corporation
4 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
5 */
6
7#define DSS_SUBSYS_NAME "SDI"
8

--- 251 unchanged lines hidden (view full) ---

260 int r;
261
262 out->dev = &sdi->pdev->dev;
263 out->id = OMAP_DSS_OUTPUT_SDI;
264 out->type = OMAP_DISPLAY_TYPE_SDI;
265 out->name = "sdi.0";
266 out->dispc_channel = OMAP_DSS_CHANNEL_LCD;
267 /* We have SDI only on OMAP3, where it's on port 1 */
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009 Nokia Corporation
4 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
5 */
6
7#define DSS_SUBSYS_NAME "SDI"
8

--- 251 unchanged lines hidden (view full) ---

260 int r;
261
262 out->dev = &sdi->pdev->dev;
263 out->id = OMAP_DSS_OUTPUT_SDI;
264 out->type = OMAP_DISPLAY_TYPE_SDI;
265 out->name = "sdi.0";
266 out->dispc_channel = OMAP_DSS_CHANNEL_LCD;
267 /* We have SDI only on OMAP3, where it's on port 1 */
268 out->of_ports = BIT(1);
268 out->of_port = 1;
269 out->ops = &sdi_ops;
270 out->owner = THIS_MODULE;
271 out->bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE /* 15.5.9.1.2 */
272 | DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE;
273
274 r = omapdss_device_init_output(out);
275 if (r < 0)
276 return r;

--- 73 unchanged lines hidden ---
269 out->ops = &sdi_ops;
270 out->owner = THIS_MODULE;
271 out->bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE /* 15.5.9.1.2 */
272 | DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE;
273
274 r = omapdss_device_init_output(out);
275 if (r < 0)
276 return r;

--- 73 unchanged lines hidden ---