dss.c (a940daa52167e9db8ecce82213813b735a9d9f23) dss.c (e17049148678725248a57ecbf9c21df0fde3b434)
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 * Some code and ideas taken from drivers/video/omap/ driver
7 * by Imre Deak.
8 */

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

17#include <linux/export.h>
18#include <linux/err.h>
19#include <linux/delay.h>
20#include <linux/seq_file.h>
21#include <linux/clk.h>
22#include <linux/pinctrl/consumer.h>
23#include <linux/platform_device.h>
24#include <linux/pm_runtime.h>
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 * Some code and ideas taken from drivers/video/omap/ driver
7 * by Imre Deak.
8 */

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

17#include <linux/export.h>
18#include <linux/err.h>
19#include <linux/delay.h>
20#include <linux/seq_file.h>
21#include <linux/clk.h>
22#include <linux/pinctrl/consumer.h>
23#include <linux/platform_device.h>
24#include <linux/pm_runtime.h>
25#include <linux/property.h>
25#include <linux/gfp.h>
26#include <linux/sizes.h>
27#include <linux/mfd/syscon.h>
28#include <linux/regmap.h>
29#include <linux/of.h>
26#include <linux/gfp.h>
27#include <linux/sizes.h>
28#include <linux/mfd/syscon.h>
29#include <linux/regmap.h>
30#include <linux/of.h>
30#include <linux/of_device.h>
31#include <linux/of_platform.h>
31#include <linux/of_graph.h>
32#include <linux/regulator/consumer.h>
33#include <linux/suspend.h>
34#include <linux/component.h>
35#include <linux/sys_soc.h>
36
37#include "omapdss.h"
38#include "dss.h"

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

1440 /*
1441 * The various OMAP3-based SoCs can't be told apart using the compatible
1442 * string, use SoC device matching.
1443 */
1444 soc = soc_device_match(dss_soc_devices);
1445 if (soc)
1446 dss->feat = soc->data;
1447 else
32#include <linux/of_graph.h>
33#include <linux/regulator/consumer.h>
34#include <linux/suspend.h>
35#include <linux/component.h>
36#include <linux/sys_soc.h>
37
38#include "omapdss.h"
39#include "dss.h"

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

1441 /*
1442 * The various OMAP3-based SoCs can't be told apart using the compatible
1443 * string, use SoC device matching.
1444 */
1445 soc = soc_device_match(dss_soc_devices);
1446 if (soc)
1447 dss->feat = soc->data;
1448 else
1448 dss->feat = of_match_device(dss_of_match, &pdev->dev)->data;
1449 dss->feat = device_get_match_data(&pdev->dev);
1449
1450 /* Map I/O registers, get and setup clocks. */
1451 dss->base = devm_platform_ioremap_resource(pdev, 0);
1452 if (IS_ERR(dss->base)) {
1453 r = PTR_ERR(dss->base);
1454 goto err_free_dss;
1455 }
1456

--- 190 unchanged lines hidden ---
1450
1451 /* Map I/O registers, get and setup clocks. */
1452 dss->base = devm_platform_ioremap_resource(pdev, 0);
1453 if (IS_ERR(dss->base)) {
1454 r = PTR_ERR(dss->base);
1455 goto err_free_dss;
1456 }
1457

--- 190 unchanged lines hidden ---