Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio/tegra: Use engineering names in DT compatible property

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>

authored by

Stephen Warren and committed by
Grant Likely
f7f678a0 a6b09191

+2 -2
+1 -1
Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
··· 1 1 NVIDIA Tegra 2 GPIO controller 2 2 3 3 Required properties: 4 - - compatible : "nvidia,tegra250-gpio" 4 + - compatible : "nvidia,tegra20-gpio" 5 5 - #gpio-cells : Should be two. The first cell is the pin number and the 6 6 second cell is used to specify optional parameters (currently unused). 7 7 - gpio-controller : Marks the device node as a GPIO controller.
+1 -1
drivers/gpio/gpio-tegra.c
··· 347 347 * driver is converted into a platform_device 348 348 */ 349 349 tegra_gpio_chip.of_node = of_find_compatible_node(NULL, NULL, 350 - "nvidia,tegra250-gpio"); 350 + "nvidia,tegra20-gpio"); 351 351 #endif /* CONFIG_OF_GPIO */ 352 352 353 353 gpiochip_add(&tegra_gpio_chip);