pinctrl: remove slew-rate parameter from tz1090
authorHeiko Stübner <heiko@sntech.de>
Tue, 25 Jun 2013 12:56:36 +0000 (14:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Jun 2013 13:34:49 +0000 (15:34 +0200)
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>
Documentation/devicetree/bindings/pinctrl/img,tz1090-pdc-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt
drivers/pinctrl/pinctrl-tz1090-pdc.c
drivers/pinctrl/pinctrl-tz1090.c

index 9f7a85bb8fca6fd8f3ecfb7c0e420b7e36ecef5f..a186181c402ba693b43c71e5f129e6cb05cfcde7 100644 (file)
@@ -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
@@ -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
index 39bfd9cd6bba6d3de601c5199468e6ba214f934d..4b27c99f7f9d496028ae215b7c79d3cc4b1e995b 100644 (file)
@@ -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
@@ -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.
@@ -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
index 12e4808694683e1d7d2370282eb9b6b8bec09cc7..d4f12cc556b446b311d9fb59cb1f5d187737b9fe 100644 (file)
@@ -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;
index 02ff3a2381681d12dfc391aa78c1c48d73ca1a64..4edae08a0a61754d5694b983fcfc99ccdcb49d1d 100644 (file)
@@ -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;