Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2940459pxb; Tue, 12 Oct 2021 17:09:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBegILkLEaxbRhIiYoCKCoWsZJ3AiMB4pTXw8E+3POmWn3B8Ag44JkolQANX4YI0dvxQHr X-Received: by 2002:a17:90a:6286:: with SMTP id d6mr9650081pjj.199.1634083742793; Tue, 12 Oct 2021 17:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634083742; cv=none; d=google.com; s=arc-20160816; b=wESyNkutaoe23ylYfi59ur/ZD5ytjsIO1/W34qtCEmN1jID5T5FADVGRbgR/l3pOBX /lvCJKIOdgpvQgs/3fsIySg2c0cOWkmdzv1pqAfSCXrSPgfTaFOFD2vRtkmYrSJV45RO XOiXCfLYS5j2Pa1nHz6PoKLBVif3rqyFILQVAsD42a0oTL8fL9a7kXkBn35EP+GVUkHP WhXusebrV4NiG3OXbT6D9QfQSvh7WjOeduEZgZHTTAoIU+JhFOOqkvGHLDtqiikhYeyc YNluMPiqhZWnhFtOE8RT0H4RLXbjWoj1MYAsDDoAXvDX1GngEzQbGGcbJh7hFhAcYdhN uTIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7fkkkmhTRef48x/i3vrO3NRM/vVLwzTPJvJgOWG06DA=; b=OAo+mso0oa/MZQB3P9iaYa0T3WZkunjuIjSfNI1hYCrWNJTBJia/C4DEyfi/xkcBUM vLHRJ8lv/GisY/rrbopVozL6hKWdDGiFk7cfLLCrmQ9y2ltymCyRbfcVvHt9U0VyjJdP 9/KRxD0wVUBYV85EJaT3RlWHC02Y4D+9cglAQ+rTKnCN6MfF+H4m/NqOnbFXQKLuWLQz Q6gmAipCo+rsmzInBFPgbN09ijJVx0fBvvB+wVoNgeTpl8aEjzcU+hdGsoNrklPuIb6G GALmFdV7y9YEOIoC7ja/Lr7jeaznG0rZ3+NgRf3yDlWW1rAs2ULVvRqx4e3eS8n3Ht2G n3Jg== ARC-Authentication-Results: i=1; mx.google.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=fail (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 f8si15898171pgv.586.2021.10.12.17.08.48; Tue, 12 Oct 2021 17:09:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236703AbhJMAIk (ORCPT + 99 others); Tue, 12 Oct 2021 20:08:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33324 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236297AbhJMAI1 (ORCPT ); Tue, 12 Oct 2021 20:08:27 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E60D9202E3A; Wed, 13 Oct 2021 02:06:23 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AEA31202E43; Wed, 13 Oct 2021 02:06:23 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.142]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 3C9C740BD3; Tue, 12 Oct 2021 17:06:23 -0700 (MST) From: Li Yang To: Shawn Guo , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Li Yang Subject: [PATCH v3 10/17] ARM: dts: ls1021a: remove regulators simple-bus Date: Tue, 12 Oct 2021 18:58:16 -0500 Message-Id: <20211012235824.31096-11-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20211012235824.31096-1-leoyang.li@nxp.com> References: <20211012235824.31096-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no regulator bus in hardware. So move the regulator nodes out and remove the regulators simple-bus. This also make the dts align with the simple-bus schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 19 ++++++------------- arch/arm/boot/dts/ls1021a-twr.dts | 19 ++++++------------- 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts index 6db6604e7a18..6e469b46229f 100644 --- a/arch/arm/boot/dts/ls1021a-qds.dts +++ b/arch/arm/boot/dts/ls1021a-qds.dts @@ -25,19 +25,12 @@ sys_mclk: clock-mclk { clock-frequency = <24576000>; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - reg_3p3v: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; + reg_3p3v: regulator { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; }; sound { diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index e162a1599264..f5c03871b205 100644 --- a/arch/arm/boot/dts/ls1021a-twr.dts +++ b/arch/arm/boot/dts/ls1021a-twr.dts @@ -23,19 +23,12 @@ sys_mclk: clock-mclk { clock-frequency = <24576000>; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - reg_3p3v: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; + reg_3p3v: regulator { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; }; sound { -- 2.25.1