| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2013 Red Hat |
|---|
| 3 | 4 | * Author: Rob Clark <robdclark@gmail.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 7 | | - * the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 12 | | - * more details. |
|---|
| 13 | | - * |
|---|
| 14 | | - * You should have received a copy of the GNU General Public License along with |
|---|
| 15 | | - * this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 | 5 | */ |
|---|
| 17 | 6 | |
|---|
| 18 | 7 | #ifndef __HDMI_CONNECTOR_H__ |
|---|
| .. | .. |
|---|
| 22 | 11 | #include <linux/clk.h> |
|---|
| 23 | 12 | #include <linux/platform_device.h> |
|---|
| 24 | 13 | #include <linux/regulator/consumer.h> |
|---|
| 14 | +#include <linux/gpio/consumer.h> |
|---|
| 25 | 15 | #include <linux/hdmi.h> |
|---|
| 16 | + |
|---|
| 17 | +#include <drm/drm_bridge.h> |
|---|
| 26 | 18 | |
|---|
| 27 | 19 | #include "msm_drv.h" |
|---|
| 28 | 20 | #include "hdmi.xml.h" |
|---|
| .. | .. |
|---|
| 33 | 25 | struct hdmi_platform_config; |
|---|
| 34 | 26 | |
|---|
| 35 | 27 | struct hdmi_gpio_data { |
|---|
| 36 | | - int num; |
|---|
| 28 | + struct gpio_desc *gpiod; |
|---|
| 37 | 29 | bool output; |
|---|
| 38 | 30 | int value; |
|---|
| 39 | | - const char *label; |
|---|
| 40 | 31 | }; |
|---|
| 41 | 32 | |
|---|
| 42 | 33 | struct hdmi_audio { |
|---|