dispc.c (a940daa52167e9db8ecce82213813b735a9d9f23) | dispc.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/io.h> 18#include <linux/jiffies.h> 19#include <linux/seq_file.h> 20#include <linux/delay.h> 21#include <linux/workqueue.h> 22#include <linux/hardirq.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/io.h> 18#include <linux/jiffies.h> 19#include <linux/seq_file.h> 20#include <linux/delay.h> 21#include <linux/workqueue.h> 22#include <linux/hardirq.h> 23#include <linux/platform_device.h> 24#include <linux/pm_runtime.h> |
25#include <linux/property.h> |
|
25#include <linux/sizes.h> 26#include <linux/mfd/syscon.h> 27#include <linux/regmap.h> 28#include <linux/of.h> | 26#include <linux/sizes.h> 27#include <linux/mfd/syscon.h> 28#include <linux/regmap.h> 29#include <linux/of.h> |
29#include <linux/of_device.h> | |
30#include <linux/component.h> 31#include <linux/sys_soc.h> 32#include <drm/drm_fourcc.h> 33#include <drm/drm_blend.h> 34 35#include "omapdss.h" 36#include "dss.h" 37#include "dispc.h" --- 4722 unchanged lines hidden (view full) --- 4760 /* 4761 * The OMAP3-based models can't be told apart using the compatible 4762 * string, use SoC device matching. 4763 */ 4764 soc = soc_device_match(dispc_soc_devices); 4765 if (soc) 4766 dispc->feat = soc->data; 4767 else | 30#include <linux/component.h> 31#include <linux/sys_soc.h> 32#include <drm/drm_fourcc.h> 33#include <drm/drm_blend.h> 34 35#include "omapdss.h" 36#include "dss.h" 37#include "dispc.h" --- 4722 unchanged lines hidden (view full) --- 4760 /* 4761 * The OMAP3-based models can't be told apart using the compatible 4762 * string, use SoC device matching. 4763 */ 4764 soc = soc_device_match(dispc_soc_devices); 4765 if (soc) 4766 dispc->feat = soc->data; 4767 else |
4768 dispc->feat = of_match_device(dispc_of_match, &pdev->dev)->data; | 4768 dispc->feat = device_get_match_data(&pdev->dev); |
4769 4770 r = dispc_errata_i734_wa_init(dispc); 4771 if (r) 4772 goto err_free; 4773 4774 dispc->base = devm_platform_ioremap_resource(pdev, 0); 4775 if (IS_ERR(dispc->base)) { 4776 r = PTR_ERR(dispc->base); --- 146 unchanged lines hidden --- | 4769 4770 r = dispc_errata_i734_wa_init(dispc); 4771 if (r) 4772 goto err_free; 4773 4774 dispc->base = devm_platform_ioremap_resource(pdev, 0); 4775 if (IS_ERR(dispc->base)) { 4776 r = PTR_ERR(dispc->base); --- 146 unchanged lines hidden --- |