Skip to content

add rotation and orientation to selfie camera

see Documentation/devicetree/bindings/media/video-interface-devices.yaml and https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-camera.html

Fixes https://source.puri.sm/Librem5/linux-next/-/issues/333

it's weird but I'm not 100% sure 90 degrees rotation is correct for the selfie cam description :) (or 270) Can you find out? The following is known: When you rotate the phone so that the buttons are facing up, the selfie cam records the external world unrotated, so that's how the sensor is rotate. is it 90 or 270 based on the above documentation? :)

Merge request reports