aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-02-18 22:44:14 +0100
committerLubomir Rintel <lkundrak@v3.sk>2019-04-19 07:28:33 +0200
commita834f44b1dc99dc24a272548a70c9ed374fa921f (patch)
tree11c2677d43ca2802fc154fc103547b28ee2db880
parent1f5c839d29b3b546ea6d2685ef57e7027cccc59a (diff)
downloadopenfirmware-a834f44b1dc99dc24a272548a70c9ed374fa921f.tar.gz
olpc: make /image-sensor compatible with ovti,ov7670
That is what the Linux driver binds to as described in media/i2c/ov7670.txt.
-rw-r--r--cpu/arm/olpc/gpio-i2c.fth2
-rw-r--r--dev/olpc/ov7670.fth2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm/olpc/gpio-i2c.fth b/cpu/arm/olpc/gpio-i2c.fth
index 3afc54a4..4464aab6 100644
--- a/cpu/arm/olpc/gpio-i2c.fth
+++ b/cpu/arm/olpc/gpio-i2c.fth
@@ -65,7 +65,7 @@ dev /
\ The reg and compatible properties are set by probing, based on the actual
\ image sensor encountered. For example:
\ h# 21 1 reg
- \ " omnivision,ov7670" +compatible
+ \ " ovti,ov7670" +compatible
0 0 encode-bytes
cam-pwr-gpio# 0 encode-gpio
diff --git a/dev/olpc/ov7670.fth b/dev/olpc/ov7670.fth
index 0b595982..56d8b3a7 100644
--- a/dev/olpc/ov7670.fth
+++ b/dev/olpc/ov7670.fth
@@ -167,7 +167,7 @@ purpose: Omnivision OV7670 image sensor driver
" OV7670" " sensor" string-property
[ifdef] set-sensor-properties
- " omnivision,ov7670" camera-smb-slave set-sensor-properties
+ " ovti,ov7670" camera-smb-slave set-sensor-properties
[then]
['] ov7670-set-mirrored to set-mirrored