mirror of https://github.com/OpenIPC/firmware.git
[T40] Add OSDRV
parent
9dbeb31891
commit
4ee9dcec44
|
@ -4,6 +4,7 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,27 +0,0 @@
|
|||
if [ ! -d "/sys/class/gpio/gpio49" ]
|
||||
then
|
||||
echo 49 > /sys/class/gpio/export
|
||||
fi
|
||||
if [ ! -d "/sys/class/gpio/gpio50" ]
|
||||
then
|
||||
echo 50 > /sys/class/gpio/export
|
||||
fi
|
||||
|
||||
echo out > /sys/class/gpio/gpio49/direction
|
||||
echo out > /sys/class/gpio/gpio50/direction
|
||||
|
||||
echo 0 > /sys/class/gpio/gpio49/active_low
|
||||
echo 0 > /sys/class/gpio/gpio50/active_low
|
||||
|
||||
|
||||
echo 0 > /sys/class/gpio/gpio49/value
|
||||
|
||||
usleep 10000
|
||||
|
||||
echo $1 > /sys/class/gpio/gpio49/value
|
||||
echo $2 > /sys/class/gpio/gpio50/value
|
||||
|
||||
|
||||
usleep 10000
|
||||
echo 0 > /sys/class/gpio/gpio49/value
|
||||
echo 0 > /sys/class/gpio/gpio50/value
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: gc2053
|
||||
address: 0x37
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: gc2083
|
||||
address: 0x37
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: gc4653
|
||||
address: 0x29
|
||||
width: 2560
|
||||
height: 1440
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: imx307
|
||||
address: 0x1a
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: imx335
|
||||
address: 0x1a
|
||||
width: 2592
|
||||
height: 1920
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: imx415
|
||||
address: 0x1a
|
||||
width: 3840
|
||||
height: 2160
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxf22
|
||||
address: 0x40
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxf23
|
||||
address: 0x40
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxf37
|
||||
address: 0x40
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxh42
|
||||
address: 0x30
|
||||
width: 1280
|
||||
height: 720
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxh62
|
||||
address: 0x30
|
||||
width: 1280
|
||||
height: 720
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxk04
|
||||
address: 0x40
|
||||
width: 2560
|
||||
height: 1440
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxq03
|
||||
address: 0x40
|
||||
width: 2304
|
||||
height: 1296
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: jxq03p
|
||||
address: 0x40
|
||||
width: 2304
|
||||
height: 1296
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: ov2735
|
||||
address: 0x3c
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: ov2735b
|
||||
address: 0x3c
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
|
@ -0,0 +1,6 @@
|
|||
sensor:
|
||||
name: ov4689
|
||||
address: 0x36
|
||||
width: 2048
|
||||
height: 1520
|
||||
bus: i2c
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue