Hi, I've been having a problem reading GPIO pins properly. As of now, I added
CM238 to gpio.c and gpio_groups.c to get a reading on the gpio pins so I can
add them to my own GPIO.h for my coreboot port. My current machine is weird. It
uses a kaby lake cpu (7820hq) but a sky lake south bridge/PCH
Thanks for the help, I was able to run -g -G and I got this output, its the
same when you do -g
= GPIOS =
--- GPIO Community 0 ---
PCR Port ID: 0xaf
--- GPIO Group GPP_A ---
0x0400: 0x301844000502 GPP_A0 RCIN#
0x0408: 0x0019
Thanks, I was actually able to get it up and running on coreboot 4.9. The main
issue was that i am on fedora, and CONFIG_STRICT_DEVMEM is enabled by default.
adding GRUB_CMDLINE_LINUX"iomem=relaxed" while also adding the proper defines
in gpio.c and gpio_group.c seemed to fix the issue. my outpu
Thanks. I've done that and i have gotten a gpio output. Should it look like
this?
gpiobase+0x: 0x (GPIO_USE_SEL)
gpiobase+0x0004: 0x (GP_IO_SEL)
gpiobase+0x0008: 0x (RESERVED)
gpiobase+0x000c: 0x (GP_LVL)
gpiobase+0x0010: 0x (RESERVED)
gpiobase+0x0014:
4 matches
Mail list logo