pinctrl get 25 is the correct method to use. It doesn't change the mode of the pin to input. It reads the current level of the actual pin no matter if it is set to input or output.
Statistics: Posted by rpdom — Thu Jul 04, 2024 8:19 am