Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1480466
| From | Chris Zhong <zyw@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v15 1/5] extcon: Introduce EXTCON_PROP_DISP_HPD property |
| Date | 2016-09-10 04:20 +0200 |
| Message-ID | <sfG3D-2EW-11@gated-at.bofh.it> (permalink) |
| References | <sfG3D-2EW-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
EXTCON_PROP_DISP_HPD is need by display port, if the system has no hpd interrupt, this property can be used. Signed-off-by: Chris Zhong <zyw@rock-chips.com> --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None include/linux/extcon.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 9147c42..4411893 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -131,9 +131,21 @@ #define EXTCON_PROP_JACK_MAX 100 #define EXTCON_PROP_JACK_CNT (EXTCON_PROP_JACK_MAX - EXTCON_PROP_JACK_MIN + 1) +/* + * Properties of EXTCON_TYPE_DISP. + * + * - EXTCON_PROP_DISP_HPD + * @type: integer (intval) + * @value: 0 (no hpd) or 1 (hpd) + * @default: 0 (no hpd) + * + */ + +#define EXTCON_PROP_DISP_HPD 150 + /* Properties of EXTCON_TYPE_DISP. */ #define EXTCON_PROP_DISP_MIN 150 -#define EXTCON_PROP_DISP_MAX 150 +#define EXTCON_PROP_DISP_MAX 151 #define EXTCON_PROP_DISP_CNT (EXTCON_PROP_DISP_MAX - EXTCON_PROP_DISP_MIN + 1) /* -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v15 1/5] extcon: Introduce EXTCON_PROP_DISP_HPD property Chris Zhong <zyw@rock-chips.com> - 2016-09-10 04:20 +0200 Re: [PATCH v15 1/5] extcon: Introduce EXTCON_PROP_DISP_HPD property Chanwoo Choi <cw00.choi@samsung.com> - 2016-09-13 07:30 +0200
csiph-web