gpio/tegra: Use engineering names in DT compatible property
authorStephen Warren <swarren@nvidia.com>
Tue, 5 Jul 2011 20:15:18 +0000 (14:15 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Jul 2011 05:36:32 +0000 (23:36 -0600)
Engineering names are more stable than marketing names. Hence, use them
for Device Tree compatible properties instead.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
drivers/gpio/gpio-tegra.c

index afb3ff3134c8824a0d2294e2e6c93330ea96afa9..64aac39e6edcd8d422a1ae9480037e49455bf9b7 100644 (file)
@@ -1,7 +1,7 @@
 NVIDIA Tegra 2 GPIO controller
 
 Required properties:
-- compatible : "nvidia,tegra250-gpio"
+- compatible : "nvidia,tegra20-gpio"
 - #gpio-cells : Should be two. The first cell is the pin number and the
   second cell is used to specify optional parameters (currently unused).
 - gpio-controller : Marks the device node as a GPIO controller.
index 13afb881ffc3a87621e3943ff176d0daca67da51..747eb40e8afe267dc998a2abed4c96f81f332f49 100644 (file)
@@ -347,7 +347,7 @@ static int __init tegra_gpio_init(void)
         * driver is converted into a platform_device
         */
        tegra_gpio_chip.of_node = of_find_compatible_node(NULL, NULL,
-                                               "nvidia,tegra250-gpio");
+                                               "nvidia,tegra20-gpio");
 #endif /* CONFIG_OF_GPIO */
 
        gpiochip_add(&tegra_gpio_chip);