CHAPTER 4. THE LINUX KERNEL
6
&am33xx_pinmux {
i2c2_pins: i2c2_pins {
pinctrl-single,pins = <
0x178 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3)
/*
uart1_ctsn.i2c2_sda */
0x17c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3)
/*
uart1_rtsn.i2c2_scl */
>;
};
light_pins: light_pins {
pinctrl-single,pins = <
0x78 (PIN_INPUT | MUX_MODE7)
/* gpmc_ben1.gpio1_28
*/
>;
};
};
4.2
Downloading The Correct Version
At the time of this writing OPT3001 driver is still not merged in the Mainline
1
Linux Kernel tree. Because of that we have provided git branches for all Linux
Kernel versions starting with v3.14 all the way to v3.17.
On each of those branches, you will find the same OPT3001 driver together
with Beagle Bone Black devicetree changes for easy start.
Depending on which Linux Kernel version you’re using, download the correct
branch as per table below:
Linux Version
GIT URL
v3.14
git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git opt3001-v3.14
v3.15
git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git opt3001-v3.15
v3.16
git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git opt3001-v3.16
v3.17
git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git opt3001-v3.17
To download any of those branches a certain level of knowledge about the git
version control system is required but the short version is below
2
.
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git
linux
cloning into ’linux’...
remote: counting objects: 3802743,
done
.
remote: compressing objects: 100% (582455/582455),
done
.
remote: total 3802743 (delta 3207582), reused 3785375 (delta 3190275)
receiving objects: 100% (3802743/3802743), 801.20 mib | 1.84 mib/s,
done
.
resolving deltas: 100% (3207582/3207582),
done
.
1
Linux Kernel tree maintained by Linus Torvalds
2
we are assuming the reader already has git installed in their system
Содержание OPT3001EVM
Страница 1: ...OPT3001EVM Linux Getting Started Guide Felipe Balbi August 18 2014 ...
Страница 2: ...This page is intentionally left blank ...
Страница 7: ...CHAPTER 3 HARDWARE PLATFORM 4 Figure 3 1 connecting opt3001evm to beagle bone black ...
Страница 15: ...CHAPTER 4 THE LINUX KERNEL 12 Figure 4 10 Exitting menuconfig ...
Страница 19: ...This page is intentionally left blank ...