File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
soc/sensry/ganymed/sy1xx/common Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -74,3 +74,19 @@ child-binding:
74
74
description : |
75
75
Pin mux selection. See the SOC level pinctrl header
76
76
for a defined list of these options.
77
+
78
+ slew-rate :
79
+ type : int
80
+ enum :
81
+ - 0 # 2pF
82
+ - 1 # 4pF
83
+ - 2 # 8pF
84
+ - 3 # 16pF
85
+ default : 0
86
+ description : |
87
+ Selects the output drive strength. Choices represent approximate capacitive load.
88
+ The default corresponds to the reset value of the register field.
89
+ - 0.. 2pF, Weakest drive
90
+ - 1.. 4pF, Low drive
91
+ - 2.. 8pF, Medium drive
92
+ - 3.. 16pF, Strongest drive
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ typedef struct {
45
45
(SY1XX_PULL_UP_ENABLE * DT_PROP(node, bias_pull_up)) << SY1XX_PAD_PULL_UP_OFFS | \
46
46
(SY1XX_PULL_DOWN_ENABLE * DT_PROP(node, bias_pull_down)) \
47
47
<< SY1XX_PAD_PULL_DOWN_OFFS | \
48
+ (DT_PROP(node, slew_rate) << SY1XX_PAD_DRIVE_OFFS) | \
48
49
(SY1XX_TRISTATE_ENABLE * DT_PROP(node, bias_high_impedance)) \
49
50
<< SY1XX_PAD_TRISTATE_OFFS | \
50
51
(SY1XX_OUTPUT_ENABLE & (1 - DT_PROP(node, input_enable))) << SY1XX_PAD_DIR_OFFS \
You can’t perform that action at this time.
0 commit comments