Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1337977pxa; Fri, 28 Aug 2020 09:54:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIUQSZjhy5V85U8+zrQY07vNhG2w6tLtR/rjBgbCjpInoYKQkETOOpKt3QzRdeSp3D4lMi X-Received: by 2002:a17:906:560a:: with SMTP id f10mr2752680ejq.35.1598633645849; Fri, 28 Aug 2020 09:54:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598633645; cv=none; d=google.com; s=arc-20160816; b=QTM3wHhi9wCiyqYa3utnwYkmrvqjyV654HPEXv2OMvLO5aGKlEfiftrwVtNAZZSbfC Ygcw2ZTGY2AYUiI2/K1I52Rd4B+ggSQSWFKP8nWqa/HbApdU1A7IIVrrEMFq3XtZNILa mYh/gUdoZ15wLw7ouE4xuqsEJw/2FNXT1oiHvw2wro/ZHoT39AVUF9xOdnB4MFm90Uq+ DX84/EUpxF0ziKd+n/6/UUtD4ue9JYaCjVu6mZuufnTWad4QV6oEB8RLHH/bAiwku93p 2kXFl21Uj9jqlFOOe6YG/+YxOOgdlluynUYdkip0E7ssJtDYJNsJATeBVue8UU38hrqA vziw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=xTby481ziFMEZE4/FtRK6BUdk7VD6zdqfpKV8w9I9wE=; b=qU86NQVsaDMsSAL+9I9H3yhqsM5f4c7dfTGZd8pHqvlR/NIXhepUb3EJReGFzkh8TQ RYweL3pwK4jMnL6TLx4MulELW0MBsn7FEVFRNk+qDEqTcLKJf2Mj8rFILtHvwleZ7zIH dCz921ZwCNloPkwFGNbQeziePeS/J/HlrckrdVIgP+gQmxhU034eAcqpaI3jCxrFAyeG 11K+Hh/eFtSKNLrCrrAF2kTxjCyczjK4a/zxscg/UvevEWqtEDeLLzWpDbpok/MgOAr8 nYXo07vXrh2vPejYijiYWzkc1fUISuu6N2QZsCvuZuA7a+Gfs6LgW3cL/F9EcLCkGUU9 FxSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iHaskwAU; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m21si3925ejl.493.2020.08.28.09.53.43; Fri, 28 Aug 2020 09:54:05 -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=@kernel.org header.s=default header.b=iHaskwAU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728540AbgH1QuY (ORCPT + 99 others); Fri, 28 Aug 2020 12:50:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:43424 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728434AbgH1Qta (ORCPT ); Fri, 28 Aug 2020 12:49:30 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D932D2098B; Fri, 28 Aug 2020 16:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598633370; bh=dWb6Lk3PEO/ihjY1mYtRuF3qrkOs5J2DZ2JXafKUdnA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iHaskwAUO6BmM7Jzw3TpyZ3+7f99F70IjFhlFSU2gJoSrmq2uAmwf/3AZqILHmBnR dyvktFxnooohyCjPHyt5vB/j18K23zwsBPwWe1Sxkxv8OvjZM2NfBRx4H8fggOpOhP c5CG7LaAzSfphvVC94TT3/PsCLu3kNbplonpUl20= From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Anson Huang , Matti Vaittinen , Han Xu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 07/19] arm64: dts: imx8mm-evk: Align regulator names with schema Date: Fri, 28 Aug 2020 18:47:38 +0200 Message-Id: <20200828164750.10377-8-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200828164750.10377-1-krzk@kernel.org> References: <20200828164750.10377-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Device tree schema expects regulator names to be lowercase. Changing to lowercase has multiple effects: 1. LDO6 supply is now properly configured, because regulator driver looks for supplies by lowercase name, 2. User-visible names via sysfs or debugfs are now lowercase, 2. dtbs_check warnings are fixed: pmic@4b: regulators:LDO1:regulator-name:0: 'LDO1' does not match '^ldo[1-6]$' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index c1f7d44651df..3cb8b6bcb657 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -151,7 +151,7 @@ regulators { buck1_reg: BUCK1 { - regulator-name = "BUCK1"; + regulator-name = "buck1"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1300000>; regulator-boot-on; @@ -160,7 +160,7 @@ }; buck2_reg: BUCK2 { - regulator-name = "BUCK2"; + regulator-name = "buck2"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1300000>; regulator-boot-on; @@ -172,7 +172,7 @@ buck3_reg: BUCK3 { // BUCK5 in datasheet - regulator-name = "BUCK3"; + regulator-name = "buck3"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1350000>; regulator-boot-on; @@ -181,7 +181,7 @@ buck4_reg: BUCK4 { // BUCK6 in datasheet - regulator-name = "BUCK4"; + regulator-name = "buck4"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>; regulator-boot-on; @@ -190,7 +190,7 @@ buck5_reg: BUCK5 { // BUCK7 in datasheet - regulator-name = "BUCK5"; + regulator-name = "buck5"; regulator-min-microvolt = <1605000>; regulator-max-microvolt = <1995000>; regulator-boot-on; @@ -199,7 +199,7 @@ buck6_reg: BUCK6 { // BUCK8 in datasheet - regulator-name = "BUCK6"; + regulator-name = "buck6"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; regulator-boot-on; @@ -207,7 +207,7 @@ }; ldo1_reg: LDO1 { - regulator-name = "LDO1"; + regulator-name = "ldo1"; regulator-min-microvolt = <1600000>; regulator-max-microvolt = <3300000>; regulator-boot-on; @@ -215,7 +215,7 @@ }; ldo2_reg: LDO2 { - regulator-name = "LDO2"; + regulator-name = "ldo2"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <900000>; regulator-boot-on; @@ -223,7 +223,7 @@ }; ldo3_reg: LDO3 { - regulator-name = "LDO3"; + regulator-name = "ldo3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; @@ -231,7 +231,7 @@ }; ldo4_reg: LDO4 { - regulator-name = "LDO4"; + regulator-name = "ldo4"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <1800000>; regulator-boot-on; @@ -239,7 +239,7 @@ }; ldo6_reg: LDO6 { - regulator-name = "LDO6"; + regulator-name = "ldo6"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <1800000>; regulator-boot-on; -- 2.17.1