lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 27 Oct 2014 16:44:02 -0600
From:	Stephen Warren <>
To:	Matthias Klein <>,,
Subject: Re: [PATCH v2] pinctrl: bcm2835: Start GPIO numeration at zero

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
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists