[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1473473748-22331-2-git-send-email-zyw@rock-chips.com>
Date: Fri, 9 Sep 2016 19:15:44 -0700
From: Chris Zhong <zyw@...k-chips.com>
To: dianders@...omium.org, tfiga@...omium.org, heiko@...ech.de,
yzq@...k-chips.com, groeck@...omium.org, myungjoo.ham@...sung.com,
cw00.choi@...sung.com, wulf@...k-chips.com, marcheu@...omium.org,
briannorris@...omium.org, zhengxing@...k-chips.com,
cychiang@...omium.org, hychao@...omium.org, broonie@...nel.org
Cc: linux-rockchip@...ts.infradead.org,
Chris Zhong <zyw@...k-chips.com>, linux-kernel@...r.kernel.org
Subject: [PATCH v15 1/5] extcon: Introduce EXTCON_PROP_DISP_HPD property
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@...k-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
Powered by blists - more mailing lists