drivers/am335xgpio: Migrate to adapter gpio commands
authorSteve Marple <stevemarple@googlemail.com>
Tue, 17 May 2022 20:51:17 +0000 (21:51 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 15 Aug 2022 13:24:36 +0000 (13:24 +0000)
commitace028262ba0bda0e921afb11e6eb7d87708d889
tree84ce9acb56cc5d0097d755eb8b7b3c3666647309
parent82fd4005427b6774a754b791bdf384f3ef45072d
drivers/am335xgpio: Migrate to adapter gpio commands

Use the new "adapter gpio" commands to configure the GPIOs used by the
am335xgpio driver. The AM335x has 4 GPIO 'chips' (chip number 0-3
inclusive), with each one providing 32 GPIOs (gpio_num 0-31 inclusive).

Change-Id: I7c63c0e4763657ea51790c43fc40d32b7c3580bb
Signed-off-by: Steve Marple <stevemarple@googlemail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6984
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
doc/openocd.texi
src/jtag/drivers/am335xgpio.c
src/jtag/startup.tcl
tcl/interface/beaglebone-jtag-native.cfg
tcl/interface/beaglebone-swd-native.cfg
testing/test-am335xgpio-deprecated-commands.cfg [new file with mode: 0644]