From c8cb92f25323752275d3322ee3ca7b5aa4cf33f5 Mon Sep 17 00:00:00 2001 From: Jarkko Nikula Date: Tue, 6 Jul 2010 17:05:32 +0300 Subject: [PATCH] omap: rx51: Set regulator V28 always on It seems that the battery cover sensor in Nokia N900 is powered from the V28 domain. Now if this regulator is disabled it causes that the gpio 160 reads only zero which effectively causes uSD removal detection. Currently the bootloader enabled V28 is kept on but this may change in the future according to comment in drivers/regulator/core.c: regulator_has_full_constraints. Also if there are any consumers on the V28 domain doing regulator_enable regulator_disable cycle the V28 will be disabled after that. Prepare for these by defining the V28 as always_on regulator. Signed-off-by: Jarkko Nikula Cc: Adrian Hunter Signed-off-by: Tony Lindgren --- Reading git-format-patch failed