Thread (6 messages) 6 messages, 5 authors, 2018-08-31

[PATCH v2] gpio: brcmstb: allow 0 width GPIO banks

From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2018-08-20 21:08:25
Also in: linux-gpio, lkml

On 08/17/2018 05:52 PM, Andrew Lunn wrote:
On Fri, Aug 17, 2018 at 04:47:39PM -0700, justinpopo6 at gmail.com wrote:
quoted
From: Justin Chen <redacted>

Sometimes we have empty banks within the GPIO block. This commit allows
proper handling of 0 width GPIO banks.
Hi Justin

This is coming from DT? Why do you put 0 width banks in DT in the
first place?
The way the binding is defined, the "reg" property must cover the entire
GPIO block. On our chips we typically have two blocks, one called GIO
and one called AON_GIO. One of our chips, BCM7429 unfortunately does not
have contiguous banks (groups of 32 GPIOs) within the GIO register
range, it has a first bank from 0 -> 0x20, then nothing, then another
one from 0x40 -> 0x60, which is why this change was proposed, since it
does not break any existing DT blob.
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help