When I did cat /sys/kernel/debug/gpio
below is the output i got.
GPIOs 0-31, platform/209c000.gpio, 209c000.gpio:
gpio-3 (tsc_X- ) in hi
gpio-9 (VSD_3V3 ) out lo
gpio-19 (2190000.usdhc cd ) in hi
GPIOs 32-63, platform/20a0000.gpio, 20a0000.gpio:
GPIOs 64-95, platform/20a4000.gpio, 20a4000.gpio:
GPIOs 96-127, platform/20a8000.gpio, 20a8000.gpio:
gpio-119 (? ) out lo
GPIOs 128-159, platform/20ac000.gpio, 20ac000.gpio:
gpio-131 (? ) out lo
gpio-132 (headset detect ) in lo
gpio-135 (spi32766.0 ) out lo
gpio-136 (? ) out lo
gpio-138 (spi4.14 ) out lo
gpio-139 (spi4.14 ) out lo
GPIOs 248-255, spi/spi32766.0, 74hc595, can sleep:
what does this mean??
I want to configure gpio1_IO00 pin as I/O. I will connect a switch. whenever a switch is pressed it should generate a interrupt. and it should servie the ISR.
解決済! 解決策の投稿を見る。
For detailed information on GPIO configuration and operation, please refer to the Chapter 3 "Machine-Specific Layer (MSL)", especially, to the IOMUX and GPIO sections, of the attached document.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
For detailed information on GPIO configuration and operation, please refer to the Chapter 3 "Machine-Specific Layer (MSL)", especially, to the IOMUX and GPIO sections, of the attached document.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you Artur.
Now I am able to configure the GPIOS and write high and low for the same. I am able to use gpio_keys, gpio_leds and normal Gpio driver.