Browse files

beaglebone: add stub for the camera cape to disable w1-gpio

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent bb5ba76 commit 4b5c9a2a37b43b64ab6da24b7a1ae29647e1325e @koenkooi koenkooi committed May 18, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 arch/arm/mach-omap2/board-am335xevm.c
View
5 arch/arm/mach-omap2/board-am335xevm.c
@@ -2384,6 +2384,11 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context
pr_info("BeagleBone cape: initializing CAN cape\n");
tt3201_init(0,0);
}
+
+ if (!strncmp("BB-BONE-CAM-01", cape_config.partnumber, 14)) {
+ pr_info("BeagleBone cape: recognized Camera cape\n");
+ beaglebone_w1gpio_free = 0;
+ }
if ((capecount > 3) && (beaglebone_tsadcpins_free == 1)) {
pr_info("BeagleBone cape: exporting ADC pins to sysfs\n");

0 comments on commit 4b5c9a2

Please sign in to comment.