aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-02-19 08:20:16 +0100
committerLubomir Rintel <lkundrak@v3.sk>2019-04-19 07:28:33 +0200
commit7f59c8b6960dd3b5cf71d650ad881998b2467570 (patch)
tree3a78ceac6f4ca2771da970d4e52a673852bc4e3e
parentc273fe9138cefb9b73b5fa976e4b5a1f752322de (diff)
downloadopenfirmware-7f59c8b6960dd3b5cf71d650ad881998b2467570.tar.gz
olpc/gpio-i2c: specify i2c-gpio,timeout-ms for /camera-i2c
i2c/i2c-gpio.txt TODO: Why
-rw-r--r--cpu/arm/olpc/gpio-i2c.fth2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/arm/olpc/gpio-i2c.fth b/cpu/arm/olpc/gpio-i2c.fth
index a4ce0912..c5fd19fc 100644
--- a/cpu/arm/olpc/gpio-i2c.fth
+++ b/cpu/arm/olpc/gpio-i2c.fth
@@ -39,6 +39,8 @@ dev /
0 0 reg \ So linux will assign a static device name
+ d# 1000 " i2c-gpio,timeout-ms" integer-property
+
: encode-unit ( phys.. -- str ) push-hex (u.) pop-base ;
: decode-unit ( str -- phys.. ) push-hex $number if 0 then pop-base ;