From patchwork Fri Feb 22 06:48:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 15025 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D6B17242A3 for ; Fri, 22 Feb 2013 06:58:34 +0000 (UTC) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by fiordland.canonical.com (Postfix) with ESMTP id 8A6F9A18272 for ; Fri, 22 Feb 2013 06:58:34 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id n11so221173vch.19 for ; Thu, 21 Feb 2013 22:58:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=bLmM93GRGT3J017d7hFFnI1RNZjmD7wZnBImup172x4=; b=ARddP7ZZqsFs35FMuWkdVS5VX2nOSNUBgIxhb0c4j0kEuJUW+6TPjbgATDUS30Ty56 XfXmLwzT0xYD2mW6LYwru++donnTmZW6H6PhlKxBNv+kXTfuEcAnaqCOhNNsIuafIGO+ 1MODov155UYoZmvv7pjTSgCGHeYU4TamR5VbNUTNynfq9jrJHtxNQSUwMwpCNkbivLdD nLwmSp4J04VacNrWciVDOnphMthwwq69DFfArU7DObfuX+yqxiqRyDjicuuJ31T2qo5F ZHCTGWMpZ7P1U1b8Mke8sS42DxQsUNJVJ49kBzhLxtjHwL6Cf5VOqpVGt6Iwwz9PyNbq 7ALQ== X-Received: by 10.58.205.179 with SMTP id lh19mr1238497vec.7.1361516313994; Thu, 21 Feb 2013 22:58:33 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp74726veb; Thu, 21 Feb 2013 22:58:33 -0800 (PST) X-Received: by 10.68.235.36 with SMTP id uj4mr1494727pbc.54.1361516312479; Thu, 21 Feb 2013 22:58:32 -0800 (PST) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by mx.google.com with ESMTPS id qp8si1310208pbc.213.2013.02.21.22.58.31 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Feb 2013 22:58:32 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.52; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pb0-f52.google.com with SMTP id ma3so237763pbc.39 for ; Thu, 21 Feb 2013 22:58:31 -0800 (PST) X-Received: by 10.67.5.168 with SMTP id cn8mr2486041pad.12.1361516311887; Thu, 21 Feb 2013 22:58:31 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id kl4sm1513778pbc.31.2013.02.21.22.58.28 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 21 Feb 2013 22:58:31 -0800 (PST) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kgene.kim@samsung.com, john.stultz@linaro.org, patches@linaro.org Subject: [PATCH] ARM: EXYNOS: Keep USB related LDOs always active on Origen Date: Fri, 22 Feb 2013 12:18:27 +0530 Message-Id: <1361515707-8571-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <51271673.9090003@linaro.org> References: <51271673.9090003@linaro.org> X-Gm-Message-State: ALoCoQm5hjvipk/QClKwQMTAWm3OlB0iGoOlq4Yd14eTvuiVdb26qVxzXqxg6CoaYIg3VVZWo1uM LDO3 and LDO8 are used for powering both device and host phy controllers. These regulators are not handled in USB host driver. Hence we get unexpected behaviour when the regulators are disabled elsewhere. It would be best to keep these regulators always on. Signed-off-by: Tushar Behera Tested-by: John Stultz --- Based on v3.8. arch/arm/mach-exynos/mach-origen.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 5e34b9c..7351063 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c @@ -169,6 +169,7 @@ static struct regulator_init_data __initdata max8997_ldo3_data = { .min_uV = 1100000, .max_uV = 1100000, .apply_uV = 1, + .always_on = 1, .valid_ops_mask = REGULATOR_CHANGE_STATUS, .state_mem = { .disabled = 1, @@ -227,6 +228,7 @@ static struct regulator_init_data __initdata max8997_ldo8_data = { .min_uV = 3300000, .max_uV = 3300000, .apply_uV = 1, + .always_on = 1, .valid_ops_mask = REGULATOR_CHANGE_STATUS, .state_mem = { .disabled = 1,