On Tue, Apr 6, 2021 at 12:52 AM Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> wrote: > On Mon 05 Apr 15:02 CDT 2021, Petr Vorel wrote: > > Simple testing with /sys/class/gpio/export showed that 85-88. > > 3 disables UART. I expect 0-2 are also reserved as on other msm8998. > > > > Are you saying that once you export these gpios the uart stops working? That might be a Fixes: but certainly not a regression. Using GPIO sysfs access is dangerous and if someone enables it into their kernel (which requires setting CONFIG_EXPERT) they are certainly aware that they are taking a risk. (Same goes for using the character device from userspace.) Yours, Linus Walleij