Hi @Amir-Avni,
Does your silkscreen on VOXL2 show M0154 or M0054?
If M0054, it's 'hard coded' as an output only... behind a uni-directional level shifter.....
If it's M0154, there's a directional level shifter in front of that GPIO that allows us to (with a kernel tweak) switch between UART and SPI.
By default we are configured for UART use case, and the level shifter is set to allow an INPUT, by setting GPIO 67 low (as default), which is setup in device tree here, see "67" in modalai,gpio-init-output-low
https://gitlab.com/voxl-public/system-image-build/meta-voxl2-bsp/-/blob/v1.8.02/recipes-kernel/linux-msm/files/dts/common/m0xxx-modalai-gpio.dtsi?ref_type=tags#L12
To enable VOXL2 J10 pin6 (gpio46) as an input, make sure gpio67 is set to low