| .. | .. |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | struct dw_hdmi; |
|---|
| 5 | 5 | |
|---|
| 6 | +#define CEC_EN BIT(0) |
|---|
| 7 | +#define CEC_WAKE BIT(1) |
|---|
| 8 | + |
|---|
| 6 | 9 | struct dw_hdmi_cec_ops { |
|---|
| 7 | 10 | void (*write)(struct dw_hdmi *hdmi, u8 val, int offset); |
|---|
| 8 | 11 | u8 (*read)(struct dw_hdmi *hdmi, int offset); |
|---|
| 9 | 12 | void (*enable)(struct dw_hdmi *hdmi); |
|---|
| 10 | 13 | void (*disable)(struct dw_hdmi *hdmi); |
|---|
| 14 | + void (*mod)(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned int reg); |
|---|
| 11 | 15 | }; |
|---|
| 12 | 16 | |
|---|
| 13 | 17 | struct dw_hdmi_cec_data { |
|---|
| 14 | 18 | struct dw_hdmi *hdmi; |
|---|
| 15 | 19 | const struct dw_hdmi_cec_ops *ops; |
|---|
| 16 | 20 | int irq; |
|---|
| 21 | + int wake_irq; |
|---|
| 17 | 22 | }; |
|---|
| 18 | 23 | |
|---|
| 24 | +void dw_hdmi_hpd_wake_up(struct platform_device *pdev); |
|---|
| 25 | + |
|---|
| 19 | 26 | #endif |
|---|