Other Parts Discussed in Thread: TLV320AIC3106
Hello Everyone,
We are using Am437x based custom board. Kernel image is builded by SDK04.02. I changed my dts file to achieve particular functionalities. I can able to get that but i had a doubt regarding gpios which appearing under dmesg though all working well i also want to bring all gpios to make my image perfect.
- When i checked /sys/class/gpio/ the result is like this.
root@am437x-evm:/sys/class/gpio# ls
export gpio16 gpiochip0 gpiochip128 gpiochip32 gpiochip64 gpiochip96 unexport
Here i realised all the gpios are not reared here.
- So here my question is how to bring all the gpios readed under /sys/class/gpio/ ?
- Also here is the result got for me when i checked for gpio in dmesg for pin conflicts if any. but i couldn't able to figureout any useful thing out if . can someone help me any way in understanding these dmesg and do changes in dts so that all gpios will appear under my path.
root@am437x-evm:/sys/class/gpio# dmesg | grep gpio
[ 0.216378] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_defaule
[ 0.216688] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_defaule
[ 0.216985] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_pins_defaule
[ 0.217264] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio4_pins_defaule
[ 0.217529] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_defaule
[ 0.266927] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-v3_3d[0]'
[ 0.298413] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
[ 0.298419] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
[ 1.216153] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
[ 1.216159] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
[ 1.216184] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
[ 1.216188] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
[ 1.425970] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
[ 1.425976] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
[ 1.426003] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
[ 1.426008] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
[ 1.483669] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[ 1.483674] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[ 1.483702] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[ 1.483706] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[ 1.785064] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
[ 1.785335] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
[ 1.796839] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
[ 1.797116] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
[ 1.798422] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
[ 1.798678] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
[ 1.832694] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
[ 1.832959] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
[ 1.844979] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
[ 1.845251] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
[ 1.846949] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
[ 7.035318] of_get_named_gpiod_flags: can't parse 'powerdown-gpios' property of node '/ocp@44000000/i2c@44e0b000/adv7180@21[0]'
[ 7.035324] of_get_named_gpiod_flags: can't parse 'powerdown-gpio' property of node '/ocp@44000000/i2c@44e0b000/adv7180@21[0]'
[ 7.352997] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp@44000000/i2c@44e0b000/tlv320aic3106@18[0]'
I am requesting to please letme know if any procedure to get all gpios for any board.
Thanking you
A.N.V.Lavanya