diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-02-18 22:58:54 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-19 07:28:33 +0200 |
commit | 92c2d67990d4686ed2e835b9f99b449527a3c69b (patch) | |
tree | 9cb3f3273e339f785dea6b8d8fcc9d4400ca9d22 | |
parent | a834f44b1dc99dc24a272548a70c9ed374fa921f (diff) | |
download | openfirmware-92c2d67990d4686ed2e835b9f99b449527a3c69b.tar.gz |
olpc/gpio-i2c: add powerdown-gpios and reset-gpios to /image-sensor
The Linux bindings use these properties, described by
media/i2c/ov7670.txt.
-rw-r--r-- | cpu/arm/olpc/gpio-i2c.fth | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/arm/olpc/gpio-i2c.fth b/cpu/arm/olpc/gpio-i2c.fth index 4464aab6..2c216833 100644 --- a/cpu/arm/olpc/gpio-i2c.fth +++ b/cpu/arm/olpc/gpio-i2c.fth @@ -71,6 +71,9 @@ dev / cam-pwr-gpio# 0 encode-gpio cam-rst-gpio# 0 encode-gpio " gpios" property + + 0 0 encode-bytes cam-pwr-gpio# 1 encode-gpio " powerdown-gpios" property + 0 0 encode-bytes cam-rst-gpio# 1 encode-gpio " reset-gpios" property finish-device finish-device |