On 10/27/2014 04:09 PM, Matthias Klein wrote:
Numerate the GPIOs from 0..53 instead of 202..255.
What's the motivation for this? The GPIO IDs should all come from DT, which encodes everything as an ID relative to a particular controllers, and hence the actual value of the base address should be irrelevant.
diff --git a/drivers/pinctrl/pinctrl-bcm2835.c b/drivers/pinctrl/pinctrl-bcm2835.c
@@ -382,7 +382,7 @@ static struct gpio_chip bcm2835_gpio_chip = {
- .base = -1, + .base = 0,
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/