From: Daniel Schwierzeck Date: Sat, 19 Sep 2020 21:34:25 +0200 Subject: [PATCH v2 2/2] mips: dts: Fix PIC32MZDA GPIO register definitions In-Reply-To: References: Message-ID: <3202f73c0c0df50586d46074b8e3b218102fa96e.camel@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Dienstag, den 01.09.2020, 18:02 +0000 schrieb John Robertson: > The GPIO bank name for banks J and K are not correct when using the > 'gpio' command from the console. > > The driver derives the bank name from the device tree instance string by > using the instance value and adding 'A': gpio0 at xxaddrxx is Bank A, > gpio1 at yyaddryy is Bank B and so on. > > On the PIC32, there is no Bank I so instances 8 and 9 need to be > incremented as a minimum change. > > An alternative (less opaque) implementation would be to use a bank-name > property instead but this would require modifying the driver code too. > > Signed-off-by: John Robertson > --- > > arch/mips/dts/pic32mzda.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > applied to u-boot-mips/fixes, thanks. -- - Daniel