From patchwork Fri May 22 10:44:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Gong X-Patchwork-Id: 11564411 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09410912 for ; Fri, 22 May 2020 02:44:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8B822072C for ; Fri, 22 May 2020 02:44:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oHgVdGvD"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Ox/c+p4J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8B822072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=302ICZS6GX/e5S9pGV/VzkIEiied+6RKCI3es3KH444=; b=oHgVdGvDbXcxod A2RtJ19ddhOb7h1ZsOLZFBtMKvT1InTrYrJ1r7EIs4E0U0Lgc8daDP00TXJcfTyr+/K5i0mPHGdx1 h79eUHlXtqeUWGP4I/VEiAfJR9gv0muWTqL85t3aRcnKlPtkkLAlhIGPMMO0l+YIvKw88urcYSYBy 5aJh+aiHe1OC6iwSyarVUSwDerzKO0BTqasrBS8cxxYecMAw5YEo2ngpIjWqnwspNQnVGyfWIhRXi +TogkGzw0lcrDb12dxcTtcAPzfjL8yFCtofjN40pWi4faG7Q2x0ntBmYAmGbn9PtWnIOX+NmhBq3w wWhYq6id5ST2OiTnnmIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbxfq-0008M1-HL; Fri, 22 May 2020 02:44:38 +0000 Received: from mail-eopbgr40082.outbound.protection.outlook.com ([40.107.4.82] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbxfn-0008Ld-Gx for linux-arm-kernel@lists.infradead.org; Fri, 22 May 2020 02:44:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ej7rMnAnzJdKELTXzvUuvd8YhHW/TxKRzsMm/buCK/qkp3NZ4fLZT2Q/q/0pWXtjsyJin4VoJq5Z85XZtd1gF4QJnFTwPlHzKlZ3daUWlLswlF3wD+6P4nDKfxvra/tG4SV2Xwb7+5vZ/+18WUhwgYZ+44OTdAqat6EQ8zp1OWqU13+/Jem2ZMVy7uJOWAnXWsDwHsaScU+9ouv3ui3Acg1sma6wMffaxQwufxEH6dbJRpXNTYJPET//036cS1wGP3ToZ/K9BL7WtbpqToBVs8g/CPcN9vu2XlLqu6L4AP0yBpg6Ni3AKAXNnVa+hSnPdnRXOI8HY44FXrHtljYfww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pgYsAjr9K1UvP4JXtaOUtUr+SMosEV9mraTpiZkmXII=; b=eViElQw8N5bGqmcxa/1iAeFe/4lUslYw0ZHNx0NKtt4BzjkqnOL2g8hWBwrxLpFAzDxjFaQaFaUq/ogy6s8eAmp7w7b3/OZuvoR00sPCLxV5AM/s5m+ulQ8EVSURVUf8pOTITSq7zoqQW81vdp6oSkmUl11YY4buWoAQC2t0HqJfHtYl8LRWJhfCwqc7GtPQbyXrVhw0s0+FoWKDzVOAsxGWmo8OBqZ5z+7ewwC0aKrer03K4e0jEKD5RbPQZX0j3r6LMBZGImU46O2TZ/2SbgytbiLLeEpyC/7CncJCkrb9F57pflu/HPbtM2SxX3YZhgys5phEFqRpVw9N96ozuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pgYsAjr9K1UvP4JXtaOUtUr+SMosEV9mraTpiZkmXII=; b=Ox/c+p4Jp3JJk1Lk0g1hg5VY8m5jfANrBGQ0bRuaMYU3g+FBuq0vjyGopnyU/8mvhkA6xy70Lyp5i89k7NydKd29LZ8hDzI3VxpcnuwnjCer9XW4QoM4bjhmeoAw8ypwWmzXIzA0r/aQ+s+5ZJ0unVBFIFQ/K3fOzQFLLWfOB7Y= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) by VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:120::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.26; Fri, 22 May 2020 02:44:32 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::5cc4:23a5:ca17:da7d]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::5cc4:23a5:ca17:da7d%6]) with mapi id 15.20.3021.020; Fri, 22 May 2020 02:44:32 +0000 From: Robin Gong To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, anson.huang@nxp.com, peng.fan@nxp.com, leonard.crestez@nxp.com, aisheng.dong@nxp.com Subject: [PATCH v3 1/2] arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range Date: Fri, 22 May 2020 18:44:50 +0800 Message-Id: <1590144291-18526-1-git-send-email-yibin.gong@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR04CA0169.apcprd04.prod.outlook.com (2603:1096:4::31) To VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from robin-OptiPlex-790.ap.freescale.net (119.31.174.66) by SG2PR04CA0169.apcprd04.prod.outlook.com (2603:1096:4::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3021.24 via Frontend Transport; Fri, 22 May 2020 02:44:27 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 486e10ed-c089-4993-99f7-08d7fdfa0e21 X-MS-TrafficTypeDiagnostic: VE1PR04MB6365: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-Forefront-PRVS: 04111BAC64 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5OXTR9UW79zDWu1I14/46V+22Dp34gJhn+VzodaVI304arEIBtrhpGc1ojddzc1Zop+vtCXTWMVTTd1rFAwKXN1k/iI2oZwGxZRlrKoOUFPG9EwHa/pc0z3OGVCDPwGwejNObeXQDAyIdoBgRoX4RHK/n61kih8GJbOVWwExx+EwaQ2Yx8pvMZSA3/GvlAH/Nug9q6aOSPBEYtzn5KUXwW4SRjFIt9C4yOtvVZq4gshV3txCSl2b/9mg9oZgi2VsNt+YBmYvR4WNB5Ay7Vj6fJspmFo3af6/t/8f4CcpELgVWNKrVmP7cdG739Sct8jI8Yoez3zFFhgw5kLGBxqhSIXupUQmoYAIdULQ4+RQFWNj1PB1chWLGSPj5npeIp+MVEV7FM8LkJsjN+MaoRqkqIago9RPsjqwPg3hTJsWknih693SRReVemoWc12C8KDIa+KEYKWaeT+Qze1NuGPNKpUl0GoK3/YDGsFx9d5kxtzCnMcyGUycheGWqxiEsDzn X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6638.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(136003)(366004)(346002)(396003)(376002)(8676002)(6506007)(4326008)(2906002)(6512007)(52116002)(6636002)(6666004)(186003)(66946007)(6486002)(8936002)(2616005)(36756003)(956004)(16526019)(5660300002)(26005)(316002)(86362001)(66556008)(478600001)(66476007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: xbP2DZF/6z45mpCslyrmJVW1jwa34m1ullIESSzGQ/XlbU+9XBNaUElqX51CXqJxoBdcnj2hSjhPvb/TEU1C0n0ZwSHc/Rr4hkuejJHxAdoOrpCg2e8jsgXv30heuF+iqUTcxBy+QeofdHSGiVal2NasTjDoVNyhym+pPbb8qjcn+TurxVDPOlJGeVqjtGgIc6FtEDwkdQFl39CwUM0l+ib7ZQ6dT3OA9oVzsphJ8Tk5kUyQOsHUMe7564C+1k6WGUDXnd2VriVwl9yFtIjST0yBLuyVaBSxTUIJdamdeXwoosL0GVI54oXRp6XXzNSnyimghtu/YfEdWhsU8Fwk6misM8vklNT9k86a4okLi3l9blSyEnYWj4PHBJWMYuP7j7WHcWBcvUina5Vq6BQiRlxxCDW4MjrJLWElgZMTsBQWQge9xr+x3mrkzSHwXsCHceQH3GL+RvQBJ9ACabBwJLRLIVrTA5cKpvMWiq1IMWU= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 486e10ed-c089-4993-99f7-08d7fdfa0e21 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2020 02:44:32.0277 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kqSVl+3q+74xhlO0bh5zEPT2YEdSEcejiKC5NAFXNkEjf2K1K+8bok2dqs4gpXhXEXUJOXcH1zFQd/5bwm0N5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6365 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200521_194435_558622_2F2C8DC7 X-CRM114-Status: UNSURE ( 8.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.4.82 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.4.82 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Correct ldo1 voltage range from wrong high group(3.0V~3.3V) to low group (1.6V~1.9V) because the ldo1 should be 1.8V. Actually, two voltage groups have been supported at bd718x7-regulator driver, hence, just corrrect the voltage range to 1.6V~3.3V. For ldo2@0.8V, correct voltage range too. Otherwise, ldo1 would be kept @3.0V and ldo2@0.9V which violate i.mx8mm datasheet as the below warning log in kernel: [ 0.995524] LDO1: Bringing 1800000uV into 3000000-3000000uV [ 0.999196] LDO2: Bringing 800000uV into 900000-900000uV Fixes: 78cc25fa265d ("arm64: dts: imx8mm-evk: Add BD71847 PMIC") Cc: stable@vger.kernel.org Signed-off-by: Robin Gong Reviewed-by: Dong Aisheng Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index e5ec832..0f1d7f8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -208,7 +208,7 @@ ldo1_reg: LDO1 { regulator-name = "LDO1"; - regulator-min-microvolt = <3000000>; + regulator-min-microvolt = <1600000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; @@ -216,7 +216,7 @@ ldo2_reg: LDO2 { regulator-name = "LDO2"; - regulator-min-microvolt = <900000>; + regulator-min-microvolt = <800000>; regulator-max-microvolt = <900000>; regulator-boot-on; regulator-always-on;