i2c: initial bus drivers for am335x and dm37xx

Change-Id: I478704fbf30dbf6d3382bcbfb11e75b512c032a1
This commit is contained in:
Thomas Cort
2013-07-15 11:11:13 -04:00
parent 2dab6a5384
commit 550fdfb443
22 changed files with 1968 additions and 7 deletions
+13
View File
@@ -183,6 +183,19 @@ start)
daemonize syslogd
echo .
# i2c only supported on ARM at the moment
if [ $ARCH = earm ]
then
echo -n "Starting i2c subsystem: "
for bus in 1 2 3
do
test -e /dev/i2c-${bus} || (cd /dev && MAKEDEV i2c-${bus})
up i2c -dev /dev/i2c-${bus} -label i2c.${bus} \
-args instance=${bus}
done
echo .
fi
if [ "$net" ]
then
if [ -f /etc/rc.net ]