浏览代码

efHotAgingTrendMining environmentalTemperatureAnalysis.h 吉超博 commit at 2020-11-25

吉超博 4 年之前
父节点
当前提交
2cae2b2b54
共有 1 个文件被更改,包括 22 次插入0 次删除
  1. 22 0
      efHotAgingTrendMining/analysisOfEnvironmentalFactors/environmentalTemperatureAnalysis.h

+ 22 - 0
efHotAgingTrendMining/analysisOfEnvironmentalFactors/environmentalTemperatureAnalysis.h

@@ -166,3 +166,25 @@ struct omap_ball {
  */
 struct omap_board_mux {
 	u16	reg_offset;
+	u16	value;
+};
+
+#define OMAP_DEVICE_PAD_REMUX		BIT(1)	/* Dynamically remux a pad,
+						   needs enable, idle and off
+						   values */
+#define OMAP_DEVICE_PAD_WAKEUP		BIT(0)	/* Pad is wake-up capable */
+
+/**
+ * struct omap_device_pad - device specific pad configuration
+ * @name:		signal name
+ * @flags:		pad specific runtime flags
+ * @enable:		runtime value for a pad
+ * @idle:		idle value for a pad
+ * @off:		off value for a pad, defaults to safe mode
+ * @partition:		mux partition
+ * @mux:		mux register
+ */
+struct omap_device_pad {
+	char				*name;
+	u8				flags;
+	u16				enable;