Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3202d19 authored by Anton Sviridenko's avatar Anton Sviridenko Committed by Mauro Carvalho Chehab
Browse files

media: solo6x10: export hardware GPIO pins 8:31 to gpiolib interface



24 GPIO pins from 32 available on solo6x10 chips are exported
to gpiolib. First 8 GPIOs are reserved for internal use on capture card
boards, GPIOs in range 8:15 are configured as outputs to control relays,
remaining 16:31 are configured as inputs to read sensor states.
Now with this patch userspace DVR software can switch relays and read
sensor states when GPIO extension cards are attached to Softlogic solo6x10
based video capture cards.

Signed-off-by: default avatarAnton Sviridenko <anton@corp.bluecherry.net>
Signed-off-by: default avatarIsmael Luceno <ismael@iodev.co.uk>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 22469022
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment