hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h
....@@ -1,19 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2012, 2017-2018, The Linux Foundation. All rights reserved.
2
- *
3
- * This program is free software; you can redistribute it and/or modify
4
- * it under the terms of the GNU General Public License version 2 and
5
- * only version 2 as published by the Free Software Foundation.
6
- *
7
- * This program is distributed in the hope that it will be useful,
8
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
- * GNU General Public License for more details.
113 */
124
135 #ifndef __DPU_IO_UTIL_H__
146 #define __DPU_IO_UTIL_H__
157
16
-#include <linux/gpio.h>
178 #include <linux/platform_device.h>
189 #include <linux/types.h>
1910
....@@ -21,12 +12,6 @@
2112 #define DEV_INFO(fmt, args...) pr_info(fmt, ##args)
2213 #define DEV_WARN(fmt, args...) pr_warn(fmt, ##args)
2314 #define DEV_ERR(fmt, args...) pr_err(fmt, ##args)
24
-
25
-struct dss_gpio {
26
- unsigned int gpio;
27
- unsigned int value;
28
- char gpio_name[32];
29
-};
3015
3116 enum dss_clk_type {
3217 DSS_CLK_AHB, /* no set rate. rate controlled through rpm */
....@@ -42,8 +27,6 @@
4227 };
4328
4429 struct dss_module_power {
45
- unsigned int num_gpio;
46
- struct dss_gpio *gpio_config;
4730 unsigned int num_clk;
4831 struct dss_clk *clk_config;
4932 };