Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1336049pxa; Fri, 28 Aug 2020 09:50:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqrRHBdgMO84TkR3nXkyRQ4cMqs0r2y8Ddc39GaWDbetLkC/2EUEgCZllIhjoBmj54VQig X-Received: by 2002:a17:906:2f17:: with SMTP id v23mr2756480eji.343.1598633446767; Fri, 28 Aug 2020 09:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598633446; cv=none; d=google.com; s=arc-20160816; b=XHwFEB60iMTWgxKgAxkiffcbgdAM89HphZxfgqZQA3pQfw5A/yANYXRQxHob3Bs8pU CCtwyhSN93MGknT+VDnQOGl9dNN2dUAZhO/yoBz0qrBHvPxd8IjIN65RcW23XCrpK28L KLtqvph5hiJTQVmO7OMeLLaB+63BYhJWKJbD2oMBDiNqrQKkdxBvRzHLzKtBRdf0Brsp LzDNB9VJ/+zdTSmWIH5l6X3k6jT21tMO3xIeXuTYCBEyW/Ho/QCZlD5fGurHAWOVg4vF xsDnqOy1251hK6j/jWvj58XI7ODbRzoYTG+b6FCohFcx7b0hRzYN+1sV/M8dKAYPd+yw TGzQ== 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=M4Ph/RMspwcLZ+nG+S5XsMH1Kr99AK7jQ/SR24R7HxQ=; b=e2Y2eDaLNygFmIfGSuvInv7lwEPSTv9iUd/SvB91XCEoukA8GRVfoNyfCXKbKMdJQF UiAXCwS2lGH5uT8LWt9FdOsA6eyF53dnGP0TrnFBV8var5Nm2nXzarogz90jYJ1fv9Oo jzCa2EREVz/5zou0Kpl8bhdLkHSUkLrI6d+aaUyfsdWJF+kqRDTaVs/hkArw3h99Gdp+ 1BbCTeAVGPM6BdQ/CrJg7LK3LJTWfB8shxi8VwmItuhMfzh6B5/OB4XZSEJtjyB408Js yKC2GThX1Kz0t14tcyEzlYGczYkawTJUtfWXgZYxGiD9czV//VFCcLmoga8ChYnyjMwG Bp+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K6K3N9wz; 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 b6si33184ejb.68.2020.08.28.09.50.24; Fri, 28 Aug 2020 09:50:46 -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=K6K3N9wz; 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 S1727058AbgH1Qt0 (ORCPT + 99 others); Fri, 28 Aug 2020 12:49:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:43130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728411AbgH1QtR (ORCPT ); Fri, 28 Aug 2020 12:49:17 -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 15D7920848; Fri, 28 Aug 2020 16:49:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598633356; bh=L7V/fZmvMYn+I9d6Q43WyzdCTSdcBitg3AhIwRjBFJk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K6K3N9wzm2uWvu1TiSb1qkHo4I1cIvrust62+zZL5CWIJIAz695IqdKnmP30lsgyD qpURlT2UToAqvtTjiF1VVuGrM2Snw2CUqx0qw8MNJobKFb61EV/QNhnzznUc3a3UXp VJCOn7OaHpXOkerLmWa/NI6AGJLMcaixCdoRgStc= 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 04/19] arm64: dts: imx8mm-beacon-som: Align regulator names with schema Date: Fri, 28 Aug 2020 18:47:35 +0200 Message-Id: <20200828164750.10377-5-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 --- .../boot/dts/freescale/imx8mm-beacon-som.dtsi | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index 94911b1707ef..f627e82ad929 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi @@ -79,7 +79,7 @@ regulators { buck1_reg: BUCK1 { - regulator-name = "BUCK1"; + regulator-name = "buck1"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1300000>; regulator-boot-on; @@ -88,7 +88,7 @@ }; buck2_reg: BUCK2 { - regulator-name = "BUCK2"; + regulator-name = "buck2"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1300000>; regulator-boot-on; @@ -100,7 +100,7 @@ buck3_reg: BUCK3 { // BUCK5 in datasheet - regulator-name = "BUCK3"; + regulator-name = "buck3"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1350000>; regulator-boot-on; @@ -109,7 +109,7 @@ buck4_reg: BUCK4 { // BUCK6 in datasheet - regulator-name = "BUCK4"; + regulator-name = "buck4"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>; regulator-boot-on; @@ -118,7 +118,7 @@ buck5_reg: BUCK5 { // BUCK7 in datasheet - regulator-name = "BUCK5"; + regulator-name = "buck5"; regulator-min-microvolt = <1605000>; regulator-max-microvolt = <1995000>; regulator-boot-on; @@ -127,7 +127,7 @@ buck6_reg: BUCK6 { // BUCK8 in datasheet - regulator-name = "BUCK6"; + regulator-name = "buck6"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; regulator-boot-on; @@ -135,7 +135,7 @@ }; ldo1_reg: LDO1 { - regulator-name = "LDO1"; + regulator-name = "ldo1"; regulator-min-microvolt = <1600000>; regulator-max-microvolt = <3300000>; regulator-boot-on; @@ -143,7 +143,7 @@ }; ldo2_reg: LDO2 { - regulator-name = "LDO2"; + regulator-name = "ldo2"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <900000>; regulator-boot-on; @@ -151,7 +151,7 @@ }; ldo3_reg: LDO3 { - regulator-name = "LDO3"; + regulator-name = "ldo3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; @@ -159,7 +159,7 @@ }; ldo4_reg: LDO4 { - regulator-name = "LDO4"; + regulator-name = "ldo4"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <1800000>; regulator-boot-on; @@ -167,7 +167,7 @@ }; ldo6_reg: LDO6 { - regulator-name = "LDO6"; + regulator-name = "ldo6"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <1800000>; regulator-boot-on; -- 2.17.1