From patchwork Tue Aug 20 00:24:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13769230 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4EF69C52D6F for ; Tue, 20 Aug 2024 00:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=jyY7KvfdY8BQUqejSKI0d6l3cGtzDeM4pEyelBoVR8M=; b=mB2P1qloS2B7wst5zk0cGT0NxZ y1LTRMOGGUjMu1nuI0Z9QupUxd71OvqQADcVGgODl8cZlekzawnf6dbbgy8DuoVcES7NPiXNZyTt1 oA4vf1Zp1AkwSQ9W0uPHYEpq/Zzm5OIZMbP2tS0MyFyvQggJ3rAY1xpgI70sqWVDfMrZt4rIAXmGF Lt2qK0YspIo0OhyCHkalAq3hkNXvGDd4UChJOwsAFPIp0t/lMNdIg7LJnWaWlFKibzZ5V1Tiu6/X5 ein+OF+9axqzb1a/lnafmmfGeV/vCFjc+hM5yRsRY+LZxE/BkW8hrywXkR9QaJUGc+NgUsNVezfXm miYQnCFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgCgh-00000003JfF-2QEl; Tue, 20 Aug 2024 00:25:27 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgCg0-00000003JXD-16NX for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 00:24:45 +0000 Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2d3ba4e6ad9so932694a91.2 for ; Mon, 19 Aug 2024 17:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724113483; x=1724718283; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jyY7KvfdY8BQUqejSKI0d6l3cGtzDeM4pEyelBoVR8M=; b=EpVMV0YQIR3CIEbFrS3tZz8/MKri80MkOUC4blRsf+EJEOjz9uIybn4uyAkZC3QISc cC46ON0WtbJU7cVEBkjiqSa/1kFGmtAOZFGHd8c4WXkKxlWMBzm/S0L4+a7sRgyELAZ+ RvD+T4KFRNSDCHOo/GDjLBru7zZVId/vrtT5NXQW0fZ0u4r9zQfJu93I2UsYYp9pi+GW Q2wS36ueOsVcAiRy/VZmjAk7Q47P5gd0+zy3iRo8miA1T6QIrpysUJtYIPYDg7btDW0J vQ1yRwg+6DXWXfT71Eg+dXCqMKvKjO/vnqOLdZV6j8Ghe6/3n9DjkqWzohNlPrSsjU0X 5Enw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724113483; x=1724718283; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jyY7KvfdY8BQUqejSKI0d6l3cGtzDeM4pEyelBoVR8M=; b=ssplnGaVKA9t/W5hLUYNZv7Bt4JbrGoZfcgJrfMEj1/1b1RUE7LiEKHaW4y6LSu04s DlFvcKjMQzru+XlWMNEsOZ7yC27hqFou3Sziitz/MWLNasPFV8MCK/IsQVT4cFRrdDMY o+0u3ADXXP9AZc4+x+qA/8DvpoQtTOjLo3vyZOmefgLKY09sIqrj0eNKQFs7tWzN8/kS Zp+GdMrMZdjqSCrxnQwtK0U5fS5KJ0HHnOeESy+sRHXxxkL3+wdT88GD27JpN+oza2tL +imzRz3AKPu7dTZybdHW6UC5Dv8FQJgq0sS3lSnfUPpsOzrnvJHPZ7EdTbpzT9SfiGVz FFbQ== X-Forwarded-Encrypted: i=1; AJvYcCWpc6h42OOzck7USver0fFRpPz27ZEq4W740fJTJNIgyNUjWMrMv3hCcYOUcfHRxoejJCybyO7qEniFh0TpLYtA@lists.infradead.org X-Gm-Message-State: AOJu0YycZgKBZCOVwNmmkhPmsot3EAL8B3utll4X15lSEtaiQQm4Tupq ybMbEWnuYwg77hVh5SWEh+h9zoP/xdnCJCJ5TofZaaICW1n5/YOl X-Google-Smtp-Source: AGHT+IESaJelozfAIAijBJAYP86Yy1Wl/XlDjoYSD8ZNBJtH7FLy7ntIF9kbH1PJRaohkLNVard2Dw== X-Received: by 2002:a17:902:c60c:b0:201:e4c9:5e95 with SMTP id d9443c01a7336-20203eeed06mr78838685ad.5.1724113483399; Mon, 19 Aug 2024 17:24:43 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:9187:7fc0:77bb:926e]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f03b432csm67915155ad.307.2024.08.19.17.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 17:24:42 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx28-apx4devkit: Fix the regulator description Date: Mon, 19 Aug 2024 21:24:35 -0300 Message-Id: <20240820002435.1411201-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_172444_323392_60E46492 X-CRM114-Status: GOOD ( 11.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam The regulator should not be placed under simple-bus. Remove it from simple-bus to fix the following dt-schema warnings: 'regulators' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$' regulators: #size-cells:0:0: 0 is not one of [1, 2] regulators: regulator@0:reg:0: [0] is too short regulators: 'ranges' is a required property Signed-off-by: Fabio Estevam --- .../arm/boot/dts/nxp/mxs/imx28-apx4devkit.dts | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-apx4devkit.dts b/arch/arm/boot/dts/nxp/mxs/imx28-apx4devkit.dts index f9bf40d96568..4c4ea91c286f 100644 --- a/arch/arm/boot/dts/nxp/mxs/imx28-apx4devkit.dts +++ b/arch/arm/boot/dts/nxp/mxs/imx28-apx4devkit.dts @@ -11,19 +11,13 @@ memory@40000000 { reg = <0x40000000 0x04000000>; }; - 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-3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; }; sound {