Skip to content

Commit 4cbf2b6

Browse files
andy-shevwesteri
authored andcommitted
pinctrl: intel: Add a human readable decoder for pull bias values
Add a human readable decoder for pull bias values in the comment. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
1 parent 9852d85 commit 4cbf2b6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/pinctrl/intel/pinctrl-intel.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,18 @@
8585
#define PADCFG1_TERM_UP BIT(13)
8686
#define PADCFG1_TERM_SHIFT 10
8787
#define PADCFG1_TERM_MASK GENMASK(12, 10)
88+
/*
89+
* Bit 0 Bit 1 Bit 2 Value, Ohms
90+
*
91+
* 0 0 0 -
92+
* 0 0 1 20000
93+
* 0 1 0 5000
94+
* 0 1 1 ~4000
95+
* 1 0 0 1000 (if supported)
96+
* 1 0 1 ~952 (if supported)
97+
* 1 1 0 ~833 (if supported)
98+
* 1 1 1 ~800 (if supported)
99+
*/
88100
#define PADCFG1_TERM_20K BIT(2)
89101
#define PADCFG1_TERM_5K BIT(1)
90102
#define PADCFG1_TERM_4K (BIT(2) | BIT(1))

0 commit comments

Comments
 (0)