From patchwork Thu Mar 24 08:12:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8658761 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E65E29F36E for ; Thu, 24 Mar 2016 08:12:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1481520390 for ; Thu, 24 Mar 2016 08:12:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E52E201EF for ; Thu, 24 Mar 2016 08:12:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752144AbcCXIMi (ORCPT ); Thu, 24 Mar 2016 04:12:38 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:9346 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751454AbcCXIMf (ORCPT ); Thu, 24 Mar 2016 04:12:35 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O4J00IFAASUZY00@mailout1.w1.samsung.com>; Thu, 24 Mar 2016 08:12:31 +0000 (GMT) X-AuditID: cbfec7f4-f796c6d000001486-15-56f3a16edfb5 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id D9.3A.05254.E61A3F65; Thu, 24 Mar 2016 08:12:30 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O4J00DQHASNJ550@eusync3.samsung.com>; Thu, 24 Mar 2016 08:12:30 +0000 (GMT) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Ulf Hansson , Mark Brown , Ivaylo Dimitrov Subject: [PATCH] ARM: dts: exynos: Fix invalid maximum voltage for buck9 supplying SD card Date: Thu, 24 Mar 2016 17:12:05 +0900 Message-id: <1458807125-13580-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42I5/e/4Vd28hZ/DDLatN7OY+vAJm8X8I+dY LZZcOcRu8fqFoUX/49fMFpseX2O1uLxrDpvFkf/9jBYzzu9jsji+NtyBy2PnrLvsHptWdbJ5 3Lm2h81j85J6j74tqxg9Pm+SC2CL4rJJSc3JLEst0rdL4MroOZ9b8JmrYu66GywNjB2cXYyc HBICJhI/d89hhbDFJC7cW8/WxcjFISSwlFHiwOybrBDOf0aJmYc/s4BUsQkYS2xevgSsSkTg C6PEis7jjCAJZoEqiYnHv4MVCQvESKxpucAGYrMIqEq8WrUerIZXwF1i+5V9zF2MHEDr5CQW XEifwMi9gJFhFaNoamlyQXFSeq6hXnFibnFpXrpecn7uJkZIGH3Zwbj4mNUhRgEORiUe3htc n8OEWBPLiitzDzFKcDArifBunA8U4k1JrKxKLcqPLyrNSS0+xCjNwaIkzjt31/sQIYH0xJLU 7NTUgtQimCwTB6dUA+O0IKE8O+FLvst0vfQCayTKqrT/rg7t2/9pgmr/Ikb5VOv33u2BHZkq 21VP8p/bqL7+c9mRz2H/eromFuht9Xz2TSbJp0LMRd/L5GHHj3LhjdOWq5T+nhr70HvuDNfH 7AqFesffsDgFtH0L/2zYyeT9SCRngsJ8U+GF2ik+1S/+/ij7nGm6VImlOCPRUIu5qDgRADl8 AjwfAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The buck9 regulator of S2MPS11 PMIC had incorrect maximum voltage - lower by 5 mV than specified by datasheet. This buck9 provides power to other regulators, including LDO13 and LDO19 which supply the MMC2 (SD card). When constraints were applied, the depending regulators were not providing enough power, leading to SD card detection errors: mmc1: card never left busy state mmc1: error -110 whilst initialising SD card Fixes: 86a2d2ac5e5d ("ARM: dts: Add dts file for Odroid XU3 board") Signed-off-by: Krzysztof Kozlowski Tested-by: Jaehoon Chung --- The issue can be reproduced on next-20160324 with bae4fdc88d7f7dda1 (regulator: core: Ensure we are at least in bounds for our constraints). --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 1bd507bfa750..82b2ba632cf6 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -299,7 +299,7 @@ buck9_reg: BUCK9 { regulator-name = "vdd_2.8v_ldo"; regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3750000>; + regulator-max-microvolt = <3755000>; regulator-always-on; regulator-boot-on; };