Skip to content

Commit

Permalink
pinctrl: remove slew-rate parameter from tz1090
Browse files Browse the repository at this point in the history
As the binding for slew-rate is under discussion and seems to need
more tought it will get removed for now, so it doesn't get an offical
release.

Therefore remove it again from the only current user, tz1090.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Heiko Stübner authored and Linus Walleij committed Jun 25, 2013
1 parent 256aeb6 commit a7b3bf5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ Optional subnode-properties:
- bias-pull-down
- input-schmitt-enable
- input-schmitt-disable
- slew-rate: Integer, control slew rate of pins.
0: slow (half frequency)
1: fast
- drive-strength: Integer, control drive strength of pins in mA.
2: 2mA
4: 4mA
Expand Down Expand Up @@ -83,7 +80,7 @@ Valid values for pin and group names are:

drive groups:

These support input-schmitt-enable, input-schmitt-disable, slew-rate,
These support input-schmitt-enable, input-schmitt-disable,
drive-strength, low-power-enable, and low-power-disable.

pdc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ Optional subnode-properties:
- bias-pull-down
- input-schmitt-enable
- input-schmitt-disable
- slew-rate: Integer, control slew rate of pins.
0: slow (half frequency)
1: fast
- drive-strength: Integer, control drive strength of pins in mA.
2: 2mA
4: 4mA
Expand Down Expand Up @@ -124,7 +121,6 @@ Valid values for pin and group names are:
function: afe, ts_out_0.
input-schmitt-enable: supported.
input-schmitt-disable: supported.
slew-rate: supported.
drive-strength: supported.
pdm_d
pins: pdm_d.
Expand Down Expand Up @@ -153,12 +149,11 @@ Valid values for pin and group names are:
lcd_trace, phy_ringosc.
input-schmitt-enable: supported.
input-schmitt-disable: supported.
slew-rate: supported.
drive-strength: supported.

drive groups:

These all support input-schmitt-enable, input-schmitt-disable, slew-rate,
These all support input-schmitt-enable, input-schmitt-disable,
and drive-strength.

jtag
Expand Down
5 changes: 0 additions & 5 deletions drivers/pinctrl/pinctrl-tz1090-pdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,11 +809,6 @@ static int tz1090_pdc_pinconf_group_reg(struct pinctrl_dev *pctldev,
*width = 1;
*map = tz1090_pdc_boolean_map;
break;
case PIN_CONFIG_SLEW_RATE:
*shift = REG_GPIO_CONTROL2_PDC_SR_S;
*width = 1;
*map = tz1090_pdc_boolean_map;
break;
case PIN_CONFIG_DRIVE_STRENGTH:
*shift = REG_GPIO_CONTROL2_PDC_DR_S;
*width = 2;
Expand Down
5 changes: 0 additions & 5 deletions drivers/pinctrl/pinctrl-tz1090.c
Original file line number Diff line number Diff line change
Expand Up @@ -1834,11 +1834,6 @@ static int tz1090_pinconf_group_reg(struct pinctrl_dev *pctldev,
*width = 1;
*map = tz1090_boolean_map;
break;
case PIN_CONFIG_SLEW_RATE:
*reg = REG_PINCTRL_SR;
*width = 1;
*map = tz1090_boolean_map;
break;
case PIN_CONFIG_DRIVE_STRENGTH:
*reg = REG_PINCTRL_DR;
*width = 2;
Expand Down

0 comments on commit a7b3bf5

Please sign in to comment.