Lines Matching +full:k2g +full:- +full:dss
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
34 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_get()
36 r = pm_runtime_get_sync(tidss->dev); in tidss_runtime_get()
45 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_put()
47 r = pm_runtime_put_sync(tidss->dev); in tidss_runtime_put()
57 return dispc_runtime_suspend(tidss->dispc); in tidss_pm_runtime_suspend()
67 r = dispc_runtime_resume(tidss->dispc); in tidss_pm_runtime_resume()
80 return drm_mode_config_helper_suspend(&tidss->ddev); in tidss_suspend()
89 return drm_mode_config_helper_resume(&tidss->ddev); in tidss_resume()
117 .desc = "TI Keystone DSS",
130 struct device *dev = &pdev->dev; in tidss_probe()
138 tidss = devm_drm_dev_alloc(&pdev->dev, &tidss_driver, in tidss_probe()
143 ddev = &tidss->ddev; in tidss_probe()
145 tidss->dev = dev; in tidss_probe()
146 tidss->feat = of_device_get_match_data(dev); in tidss_probe()
160 dispc_runtime_resume(tidss->dispc); in tidss_probe()
165 if (ret != -EPROBE_DEFER) in tidss_probe()
203 dispc_runtime_suspend(tidss->dispc); in tidss_probe()
212 struct device *dev = &pdev->dev; in tidss_remove()
214 struct drm_device *ddev = &tidss->ddev; in tidss_remove()
226 dispc_runtime_suspend(tidss->dispc); in tidss_remove()
244 { .compatible = "ti,k2g-dss", .data = &dispc_k2g_feats, },
245 { .compatible = "ti,am65x-dss", .data = &dispc_am65x_feats, },
246 { .compatible = "ti,j721e-dss", .data = &dispc_j721e_feats, },
269 MODULE_DESCRIPTION("TI Keystone DSS Driver");