sdm660-mainline / linux

Linux-sdm660 kernel source tree
Other
27 stars 17 forks source link

Invalid supplies for nt36xxx driver in some DTSes #9

Open minlexx opened 1 year ago

minlexx commented 1 year ago

in #8 @M0Rf30 said

... I also noticed that other devices using the nt36525 use an unsupported vcc-supply driver only supports optional power supplies named as vdd and vio (jasmine, lavender, platina, ....) they got it wrong as you can see here https://github.com/sdm660-mainline/linux/blob/sdm660-next-stable/drivers/input/touchscreen/nt36xxx.c#L712 in their dmesg, right now they should have

nt36xxx_ts 0-0062: supply vdd not found, using dummy regulator
nt36xxx_ts 0-0062: supply vio not found, using dummy regulator

simply because they are using vcc-supply (instead of vdd or vio)

TODO: investigate and fix