Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1153157ybk; Wed, 20 May 2020 23:21:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjlU1Kkj6COkxKI2vV9rynfhmOJs7hfwSiPZgymZONpLtvbyXjoVh4Zzud/kMg4TcmADIk X-Received: by 2002:a50:b286:: with SMTP id p6mr6786210edd.350.1590042112421; Wed, 20 May 2020 23:21:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590042112; cv=pass; d=google.com; s=arc-20160816; b=eRGVIip6s1Ca7rqPHBvb0Ar/+pcdWgzSYcN86XO6xVdqAYruoFB5/yoI4oGkLfaRKi mNRZg1ZxRMgU4z8fEHxUvbTwM5kfAStxOCziUV+pyt/KXnDOwDGF0rre2ChJXlEmSyYi Vz6Nh3txsyEZMFx78XJYWHeIHp4Lr2Pt916jq8GHp/VQsyy5FSrkFpeJ9Pfgt3PraHNi zBFMRySnPvVb5zei7UzNS4vZyb5+oytYKnfSPjupRYUGDdJ+82qbOBbTiYTjbsaoGmsL 0TCNcU/6UBlwGQ0WzvJaDZNpH2lS3t4/Si+MvSa9VpIFOwW4Ep2P+yjW39fIfOYB4ref HnHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jl91O/enUIS5CewE0lxQjFELsh1ZAJYlP7AtKwtSs/c=; b=QqNPZig9Y8UbBvw7gUepS/mE01sCwUtkXhSru+0lCKKBLiiRXeVRrQsFXj1ZIdpX5+ jeJQck4Snrbv4NGIXmf+YnJKwvLorQOyObTSrt4wAeljfQ5XP5iSOcV7X6m/RKWYA/VT 2CUgU8C4y5xzCrD58XJ2VGoxtCxyoVjfxwRvw15QD+dqEZBNhULtGBNKGnkg2pfSCZq2 LJ3ZEgqja56JZHvxirCsXwhFpio2RqRihEbjLeBaX0drwzbRGjXW9ZUybsxb4psFmFVn 4GLqr2fxgy0alOXMVOM1EfPAdPAQsQHq5bhT3utTfCtoNSHFNFgKZK1kNSOWtK3U+9KX 7XfQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=icPfX6Hz; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si2742528edj.143.2020.05.20.23.21.28; Wed, 20 May 2020 23:21:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=icPfX6Hz; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728223AbgEUGRq (ORCPT + 99 others); Thu, 21 May 2020 02:17:46 -0400 Received: from mail-eopbgr60075.outbound.protection.outlook.com ([40.107.6.75]:62466 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726938AbgEUGRn (ORCPT ); Thu, 21 May 2020 02:17:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AgL8Wm0Ms1BdffvtOMD+NdMSrCDWUesaKpLEWAIHUvN3c0y1LzrF7txSLQhnHiafuMS7BVJQR5f8f5eLI5iiI8v0zxWLD5UoMpAp3Qznfph9RLDx89vSALwQoIC7UC6Z9q1cO4DMV4vC0L+8cNqk9bkLDa32kDBTUTBNFUm9jkcN3NF/E21AcQEPDt8iQjASWk88tJ07qZqM7b4Dzc2BMhf8DMYa0LV5/wYjbqPXeHMZJNrGaSl5F/IpQfu3haS+Z33f92m9HjrPOUcEX+FtrxMfEpHJDLVUX70/sD6rBFX9vky1Aq3oEDYkVgPd2IEqPq5D4+Z49IXmZLgGptI7Qw== 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=jl91O/enUIS5CewE0lxQjFELsh1ZAJYlP7AtKwtSs/c=; b=Tve/qtgesv0UU6AGmNjUz70J3PdEJVoKABmazIGLOkmitn0XWuqtRY9GSB1RkdvPvee6+Q3tnbbRyJZqumcpuQ0LRwLQgTezUAVNJ8Z055fIm0JHGgnc/T6LMY3rMF04UQySdbgV+tx9knjOUI6Bz+48nkLtQPmmnRjDqFRUIcFjRJkcNUAgulqr114Kj9skZYHGGBNpf0/zliWr+eyJNWBlCFacWCKVlrMr1V1epS5/DCmTTPSQcndqpqJ3NX0yOs371QG3FF0GHyvv73XQJUvLH636F4hYDbtI+Ye7HRvOq3wJQl/x2Las7B0CUrBj7SqTjOBe3wtQQFfGG6fLZQ== 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=jl91O/enUIS5CewE0lxQjFELsh1ZAJYlP7AtKwtSs/c=; b=icPfX6Hz+lV0WO4Ek+sxTlQgSehUQb7PQ62W+ubuFL3xJDAJKI0sQF+gJCtnJsxoGNdXSsP49Rul9PtSLQjtfBuLroyoCBahH/SRUzFUIMdDFbfDXlBtbl34pA2QXQCbsk0qGPfOK66bKgU10i3BbeW+ctSYwiXSLR30gWtYjxA= 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 VE1PR04MB6720.eurprd04.prod.outlook.com (2603:10a6:803:123::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.26; Thu, 21 May 2020 06:17:38 +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; Thu, 21 May 2020 06:17:38 +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 Cc: kernel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH v2 2/2] arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range Date: Thu, 21 May 2020 22:17:54 +0800 Message-Id: <1590070674-23027-2-git-send-email-yibin.gong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590070674-23027-1-git-send-email-yibin.gong@nxp.com> References: <1590070674-23027-1-git-send-email-yibin.gong@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SGAP274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::22) 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 SGAP274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3021.23 via Frontend Transport; Thu, 21 May 2020 06:17:35 +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: 9ca4a6dc-314f-48e8-79fe-08d7fd4ea941 X-MS-TrafficTypeDiagnostic: VE1PR04MB6720: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-Forefront-PRVS: 041032FF37 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6+5C3mz28XLB11gmjp3eK4CnLZF8MzTfA72GyXfq27Z4ved9EogSCBOjldUbKNzN2Bmc/3ThSE9GUVAlkSblZ4MA7/oQNSOYw1H7NI8PFG5V0PIzK/ZRX5IH4UbXwhjuMhzX2AMcUFFAsHZWyEuK2CPtE76UB4eqYQNJhIAbSpOHExVrA4i3LS29vAt53JsScooP5fWp4M3Zvx52Eg/0yL8OtMlBpie2bC5zksTkAzMYGzGP1V5h1T2tyx6qxXnucZbUhpXYrGe7GKwIgsAaSLk5QwI98naulAYOzWFClajXvQ1j5YEkjKS9ysOf3CDyH9fVZt8hrrm4dxOe2MkR7Ga/egUqet4/tWFkoUeF68/dHdeUL3mK0Ni3fEkp2hsQ5+H9It7n7svQxlYnAXq9Yon6Lf5gdPokT6RewzOyCMAyKczR2+Sz1Jlj+dP4LOMUCXr2BsjhI7ziSP9eeR30CZDn6KTyql9ov6XVH8cshC4OzcMaMw86ebbQh9qbRwNP 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)(396003)(376002)(136003)(346002)(366004)(39860400002)(6506007)(36756003)(6636002)(2616005)(86362001)(6486002)(956004)(52116002)(4326008)(5660300002)(26005)(8676002)(186003)(16526019)(66476007)(66556008)(8936002)(316002)(6666004)(66946007)(2906002)(478600001)(6512007)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 3UJrDjQex/c8fhm3Qcbv/jLWle7Y2wKtapGT2yW39+lIfYkl6Wip4kGQ8YzD3rCOpZhQ9F5siiRl25epc3VH5yYlzBftioICDP9JpuAtBtfClPpuiqGmmYC5CWbozEpJplXpZyvgZnCZu7Sheu7xIAlNXUOwrrk3yEXRl46j6ibIKsLvhSrecGHs1d6lMTwlBt00IUCecf6Gv9PtVoHk/JmECMI2wPrLoEJBr4KjlSn9mTmmt7jM9Qoguoufa9QRT/QXl2g68MH2f/Zd5i0mzf5pYqX+FnjuDl9VfbLwUB3HPF1Wup1YCc5aP6hR0XNYy43KutQjOTFHgG17J4Ck/VmoYVyoaU3jhg7Qmu6mH4TYIqVrllGnuz2ccJKY933wEnv/BaUyQuke73gn246rYUG4ZzGMGHV02e/pJBHbQsyvjPOVzBoqvEuIro42QGVSbjNfuR1a8ODPQNtw0OqAvR8FwBy37g32UuEfe9tEZZqWShHVVOVcdfrWizu7nB+w X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ca4a6dc-314f-48e8-79fe-08d7fd4ea941 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2020 06:17:38.8129 (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: j6O2/BdXOc7iEbhwuanQz+dDUbipzuNvvN0ZqqnbKuhRNxhBO6T+WWxzqZnLFkfL2GOg9Dgg6A3JfjP2qEwCxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6720 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.mx8mn datasheet as the below warning log in kernel: [ 0.995524] LDO1: Bringing 1800000uV into 3000000-3000000uV [ 0.999196] LDO2: Bringing 800000uV into 900000-900000uV Signed-off-by: Robin Gong --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts index d07e0e6..a1e5483 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts @@ -113,7 +113,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; @@ -121,7 +121,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; -- 2.7.4