1 comment:
File src/soc/intel/alderlake/chip.c:
else if (dev->path.type == DEVICE_PATH_GPIO)
dev->ops = &soc_gpio_ops;
Ah thanks, that could indeed work - I tried this before but wasn't sure how we get the ops assigned […]
Uhm, wait... no. That will *not* work....
Example:
chip soc/intel/whateverlake
dev gpio 0 alias soc_gpio on end
chip this/is/another/chip
dev gpio 0 alias chip_gpio on end
end
chip blah/bmc
use chip_gpio as gpio
end
chip no/idea
use soc_gpio as gpio
end
end
With your code the block gpio driver will get assigned to both gpio devices which is obviously wrong.
To view, visit change 48583. To unsubscribe, or for help writing mail filters, visit settings.