From patchwork Thu Oct 27 15:06:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9399699 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 188AC6057E for ; Thu, 27 Oct 2016 15:08:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0566F2A331 for ; Thu, 27 Oct 2016 15:08:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC5C62A334; Thu, 27 Oct 2016 15:08:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 09FF32A33A for ; Thu, 27 Oct 2016 15:08:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzmH2-0001Jf-CG; Thu, 27 Oct 2016 15:07:20 +0000 Received: from mail-co1nam03on0042.outbound.protection.outlook.com ([104.47.40.42] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzmGu-0001FR-56 for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 15:07:16 +0000 Received: from BN6PR03CA0003.namprd03.prod.outlook.com (10.168.230.141) by CO2PR03MB2376.namprd03.prod.outlook.com (10.166.93.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12; Thu, 27 Oct 2016 15:06:49 +0000 Received: from BY2FFO11FD005.protection.gbl (2a01:111:f400:7c0c::158) by BN6PR03CA0003.outlook.office365.com (2603:10b6:404:23::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12 via Frontend Transport; Thu, 27 Oct 2016 15:06:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD005.mail.protection.outlook.com (10.1.14.126) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.679.5 via Frontend Transport; Thu, 27 Oct 2016 15:06:48 +0000 Received: from r49496.am.freescale.net (r49496.am.freescale.net [10.29.244.201]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u9RF6kir030926; Thu, 27 Oct 2016 08:06:47 -0700 From: Fabio Estevam To: Subject: [PATCH v2] ARM: dts: imx53-qsb: Fix regulator constraints Date: Thu, 27 Oct 2016 13:06:44 -0200 Message-ID: <1477580804-1423-1-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131220544090029984; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(77096005)(626004)(586003)(92566002)(86362001)(4326007)(50986999)(5660300001)(68736007)(81156014)(6916009)(110136003)(8676002)(2906002)(81166006)(19580405001)(19580395003)(7846002)(8936002)(50226002)(305945005)(356003)(11100500001)(189998001)(8666005)(97736004)(229853001)(2351001)(105606002)(106466001)(47776003)(50466002)(48376002)(104016004)(33646002)(6666003)(5003940100001)(69596002)(36756003)(87936001)(85426001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2376; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD005; 1:z9bMdL5AtlAzqagWbDPrZWSvN7ToRaf2KDRgEFdPt+Orek9tkkmDBwQEzI7xTG0QTqSNj8tntXd65w05YRTa3EG0Evq3tZE3rEwys7vZmCXzZ2SwEiFIbnnWpa8z6IFXHcxNoYwASoum1MkqFNrwkcULRj/Jh1eZWdGhkAHJ3rMwZJsUrxP91dCHnQcihKcenl7urZSx+prtK+k07mo2rB58j4krTrQPi6PBmnE2aGMBzVBAtRZVXVN8PFLzeD4k8MN7YIhFzlD3//l9ybKQj31Bt95BxMws98ipj0cXaujKMqsNO9hic/BHsIK6Hpujmin7SZk3hOC7Qbo0JDZoJlpmdUEVJYFHmm+HN/Tf4tR82HT+gy4yW6/RgYNO2kBZFCwsMHteDB+VhP1qGwiQqSGLTqCMB6LkQc+gz+hSGh4MPizdQ86iv4yEEWMTQEvWQ6W85nmvQXqwwnkOu2aU6SU1SIE79WkPBEc5hv/544EH2p+Ib20WANFqLyU826hz/mtAagmGpd41pWc7nEP1TC8yohWygFZ5za0Tn7Ysstob1fIyrzbVx3ZHDFOReAmlnpgkNJxiFinzhDk5ISVGw8hGfrD4o1Qghr19gDsFYOR0od/Vf9i8fO54+MJiLx2s MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 6bef7371-28e1-4d84-3fa0-08d3fe7ae02f X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2376; 2:kE5eTSDFeymSsU53ZutTSYVQzSnFnUGO0N5ROrF9bFfC300xi7Jh57C2k1G9KM/J28wQ916tT4OTT3jAcYkbj0Pmt4jZNusc1YYIm2Rj8I3eAsdEgjj5re8egvziWuZVmfYomNg87w+vZUPWiu3ZacfRp4+AGzR54B0gRYiBh5NmLVwpuD/eDJ3JwU+gDY/owFtvFwGPtht1philmfqGlQ==; 3:+yaKzEIF5/bMKjNXnfp7defU3IEB57E8948kRN3UoKQb0izkboGFzpaHX30lPawUShyvKNH/1wl8FifT3ZckKqD8oGrm9c+EPc4sQBWB7QOn/qVI4+TLiH3IlMYjdzmit6oybyAdasH9bg4rJO2iqYyBr5Y16+hhZHHrOuC9bCkl9z/YK+CVDdcGWJrqOpBwPWaCaT9uIy5r0sO6HmmQykq9yMZZOIQ8X0mdMjggUWk6dL71v9zqWuxGcDRHE4Es X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR03MB2376; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2376; 25:kJSn6Iql/SsxQftgRWjsFGP0Q2ZkqEt8wDnJ72LyV56t+EWOr49x69qMnZn8pV9WWEqZNlNTYX9fV+ZnjXrVBhpgfJyjWtoaf1ccGVWsFR2BY4A6+minohFN6pRxibMWMFrdK35S8py2LNGnWQAsatspDP1NEuqpzoHfjGEgbPqcFVnNYS9VAcYsjuApstLsK42j+Snu1Vwki2RNl8bokgv1mIP/0gfwyvJan0MZTzJ93DJoqCwPiRHFObqgGaPFvyIRRB4B6vx3frN2Zmc5hNA/x8oZxKTguin/36S87zhcQKik4yCObtrgzES7V//gzHhs/eCPH4ixB+ECw0Yr+t9wNjQwjsxMEbbnnDGq/LBp7Ty1y9V7l7W0Pj+iys2nKDWXUvun4KrpkE7lJUCxC104FrbkBCaDdAATELNxfFHg1IFqJ9n0DYErYBEYlCvWwyJpbnHWKAJJ1h/O+Eth8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4vJeFW3ys4qNNuuT/G5kGDA3ZOznfjyUng6WcdU1azkrjl12ikqU1yyhUQsoa6s1vZswLZMXd35YdSdS46/OJYBVwJsyKQA+1XUL8jQARh95wGn7wiED7y7JrCEifQHsvRvm0YzlV6Q0wMEsUEjmxbzL4tg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13017025)(13023025)(13024025)(13015025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:CO2PR03MB2376; BCL:0; PCL:0; RULEID:(400006); SRVR:CO2PR03MB2376; X-Forefront-PRVS: 0108A997B2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2376; 23:upx4quncPFK20/KD/vaeCDUq/KJVZREfMWPHAdHsK?= =?us-ascii?Q?r376EWB13v6g1nGV0J3BLQ5vpIl4XhaBvPs5tHbmIlQlf3v8J7kjUS2HbUIr?= =?us-ascii?Q?Z8NsojNOtZxwTuAGk17yDzjH/SO1eDI8yaHB2fybyww0ejrIbtNAXl25y5Sx?= =?us-ascii?Q?ZxLG2PJ3vw9nTlov4NEpUgMqoHHVU/WvKtqRuJEMEPD17Vr/OsMDfvbfjpbQ?= =?us-ascii?Q?Up5tlFzh0Tvphrv8O2Tfs5r1XYLxhe03Me2PQxlEqr0HBOlaL4DphL4GIFnd?= =?us-ascii?Q?I079AKYLatrpiFDJWejyYutlm9GUtEvB7QTHfXOySUKxoBjjyNqlv7cqmtpx?= =?us-ascii?Q?NUnk70uQKZxNTx7h/TQUCTK7EhnyXZ9hHxMGUMMr8tdygUHeCjEsz1fOjk5q?= =?us-ascii?Q?AJxZxmAmOieYkXHGSnZsRcRWR9czljXe6DRq06ful/W5smAtwEq+eOgEznPp?= =?us-ascii?Q?lRu2WW46P+w/HuK11sQb5B9mAz6ajupfCCIU7KWcm7ZnsNBy45cbndQzrRr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Rd1tJXnM8bh7nOoXOVPY/Bxsq4YopBIzO3wsJ+vCUKOveTUf1QkcPjWTU1+ija1nZZr4hDIsXMh3ytndG2VK6YjHd2p0Nk7bxkG8r8ylvq5HStSCrlTk0NWWF5U70+fT8; 5:aRoJNqCtsebUAnqjJ2QZ6s182mX+35xj7+YTrg/d7N/5Hk15jBxjQDuWEEqU0RDalrfKrTo7HRfmP/oGocGv2N/HstZdqxl8/Vr3ERQzHxUge7EuFlEsn5Wp84WIKaj6SMsJOYuno25cNXiQp2cmLpowdjsKhQoJ9Ff4sBIgT8rzyGXM6wD+QM+izkQOJ1lb; 24:rZjHHgzlXhT92NkG9sVBDPMye8JzEg+pmlbaCLMgG/EEznDsytoVcSv4YRqv/Lt9mrnr1iJP2AuQMALWCodOB7VvZV5ysK36vXqKuslHEEI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2376; 7:R5kQhtWbMXTvaLno1EVOHlgahW9if2Ad2pon3QpJ2Xs8IX+59sbrcYf97SKL0ZvbxoUkfpV1r1MBNJ9DmH1CKn4jR77x8fGgsR8WG4TOn4sNV/WrgSjFzp2kxNitlEgsy9JTVv1zzHAIlLVf3v7Iuy6NSivmAdIPaO0C0bJj2S0FThK0/cwBSc7NB+B/6lgT9POPg1Qllf/LzmMEk/Bfu4+MR53UwnB1jPco2yPLwZKqkBwLLGhyHzCutN6PLwHw52sn8tkYaCHUtrkfawvQEfXOKMJO4dCgyNTDJFA/AFOe0ZfT1euQ3GZhYivRVehZ7j4eumZu4YMRwmFNal5so/WvhwIAxGuqJx7+jwcETdQ= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2016 15:06:48.8938 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2376 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_080712_328420_903CCC36 X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , "# 4 . 7 . x" , linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit fa93fd4ecc9c ("regulator: core: Ensure we are at least in bounds for our constraints") the imx53-qsb board populated with a Dialog DA9053 PMIC fails to boot: LDO3: Bringing 3300000uV into 1800000-1800000uV The LDO3 voltage constraints passed in the device tree do not match the valid range according to the datasheet, so fix this accordingly to allow the board booting again. While at it, fix the other voltage constraints as well. Cc: # 4.7.x Signed-off-by: Fabio Estevam --- Changes since v1: - Mention the commit that causes the issue arch/arm/boot/dts/imx53-qsb.dts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts index dec4b07..3799396 100644 --- a/arch/arm/boot/dts/imx53-qsb.dts +++ b/arch/arm/boot/dts/imx53-qsb.dts @@ -64,8 +64,8 @@ }; ldo3_reg: ldo3 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1725000>; + regulator-max-microvolt = <3300000>; regulator-always-on; }; @@ -76,8 +76,8 @@ }; ldo5_reg: ldo5 { - regulator-min-microvolt = <1725000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3600000>; regulator-always-on; }; @@ -100,14 +100,14 @@ }; ldo9_reg: ldo9 { - regulator-min-microvolt = <1200000>; + regulator-min-microvolt = <1250000>; regulator-max-microvolt = <3600000>; regulator-always-on; }; ldo10_reg: ldo10 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <3650000>; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3600000>; regulator-always-on; }; };