From patchwork Tue Nov 18 19:10:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 41082 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EEE98241C9 for ; Tue, 18 Nov 2014 19:11:49 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id t10sf3511884eei.0 for ; Tue, 18 Nov 2014 11:11:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=nQeCd4vjRgkWm7WxXk+Lp8recVD0t0uDQ6VT+KJZsYU=; b=Js+fc+l2IRjRruIFfTsvgpBEYOfOZW/nWRRqaiZQco5WVvThIVNOFgj4OfbwcHvFHe PTP13EG23FeXygcWbvBmFTBa4B3MTpcRGdsnEPuVIhKQfCYVwkEVAhdEsto+BqvybGPY KiintSnYq/smXvLsmJ23GDfkI4ue3DNzj8+S6wYJ47Iqcqvt5Md7rmTd5gDvDlvo5hzu +nC2a+WHGeATWw2YqWfYeHEez1g30ob8y7KUd/Cn4ztRPQapn3I/nsnAAy861p0rZeX0 WbOMpPeptF0auj0ULsMG+g2483f8GgIIa9d6m8IalVNl+GZb38skXbPmZ1t/HDTq9cXH 0YZw== X-Gm-Message-State: ALoCoQkwy7ciYwQLmdGrF4bD2H4ZybYo3OwwKYe20yPokhDVEeRCXo3GZyBC29xlqLY2lfbu5U9U X-Received: by 10.180.19.226 with SMTP id i2mr6173603wie.5.1416337909205; Tue, 18 Nov 2014 11:11:49 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.39 with SMTP id p7ls551386lap.5.gmail; Tue, 18 Nov 2014 11:11:48 -0800 (PST) X-Received: by 10.152.43.197 with SMTP id y5mr783774lal.82.1416337908908; Tue, 18 Nov 2014 11:11:48 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id y9si39536183lbw.115.2014.11.18.11.11.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Nov 2014 11:11:48 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id f15so19949896lbj.13 for ; Tue, 18 Nov 2014 11:11:48 -0800 (PST) X-Received: by 10.112.14.69 with SMTP id n5mr858973lbc.34.1416337908722; Tue, 18 Nov 2014 11:11:48 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp1386625lbc; Tue, 18 Nov 2014 11:11:47 -0800 (PST) X-Received: by 10.66.253.34 with SMTP id zx2mr5482248pac.96.1416337906447; Tue, 18 Nov 2014 11:11:46 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pc1si36994466pbb.242.2014.11.18.11.11.45 for ; Tue, 18 Nov 2014 11:11:46 -0800 (PST) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755064AbaKRTL0 (ORCPT + 4 others); Tue, 18 Nov 2014 14:11:26 -0500 Received: from mail-pd0-f176.google.com ([209.85.192.176]:33553 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755051AbaKRTLZ (ORCPT ); Tue, 18 Nov 2014 14:11:25 -0500 Received: by mail-pd0-f176.google.com with SMTP id y10so4578543pdj.35 for ; Tue, 18 Nov 2014 11:11:25 -0800 (PST) X-Received: by 10.70.32.197 with SMTP id l5mr29208096pdi.67.1416337885183; Tue, 18 Nov 2014 11:11:25 -0800 (PST) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id zn2sm38561414pbb.41.2014.11.18.11.11.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Nov 2014 11:11:24 -0800 (PST) From: Tyler Baker To: linux-arm-kernel@lists.infradead.org, arm@kernel.org Cc: kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org, Tyler Baker Subject: [PATCH] ARM: multi_v7_defconfig: fix failure setting CPU voltage by enabling dependent I2C controller Date: Tue, 18 Nov 2014 11:10:53 -0800 Message-Id: <1416337853-1558-1-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.3 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tyler.baker@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch fixes a long standing issue introduced during the 3.16 merge window. Shortly after the merge, exynos5250-based arndale boards began to produce the following errors: kern.err kernel: exynos-cpufreq exynos-cpufreq: failed to set cpu voltage kern.err kernel: cpufreq: __target_index: Failed to change cpu frequency: -22 Further analysis revealed that the S5M8767 voltage regulator used on the exynos5250-based arndale board utilizes the S3C2410 I2C controller. If the S3C2410 I2C controller driver is not enabled, the S5M8767 voltage regulator fails to probe. Therefore a dependency exists between these two drivers. In the exynos_defconfig both CONFIG_REGULATOR_S5M8767 and CONFIG_I2C_S3C2410 options are enabled, and no errors are produced. However, in the multi_v7_defconfig only the CONFIG_REGULATOR_S5M8767 option is enabled and the errors are present. So let's enable the CONFIG_I2C_S3C2410 option in the multi_v7_defconfig to allow the S5M8767 voltage regulator to probe. Signed-off-by: Tyler Baker Acked-by: Kukjin Kim --- This issue was reported [1]. I've also confirmed this fix on two different arndale boards. [1] https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg38765.html arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 3487046..9d7a32f 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -217,6 +217,7 @@ CONFIG_I2C_CADENCE=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_EXYNOS5=y CONFIG_I2C_MV64XXX=y +CONFIG_I2C_S3C2410=y CONFIG_I2C_SIRF=y CONFIG_I2C_TEGRA=y CONFIG_I2C_ST=y