From mboxrd@z Thu Jan 1 00:00:00 1970 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 A4A07EEB57A for ; Sat, 9 Sep 2023 01:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3HyG7brk19vrIe2cht29Aeu6LvMXEbn3pvp/wgSdND4=; b=LgF+hd4wnqNdkH mHbU+S1h1gbDQeV2psAAMZ65EedrnzsNxajuhynK1tWC/KtK+Orl73mH2BhJ927p0oHNgj+JebQGO BZ7vkdgEhCKbAl6kstu5NXmxzzrW07jW97UKRp3Ymibnfy/FCXJiucnAwMFMjQz4DOGD+3wliiHjr O+dQMa+LPIzOYzBQMeDebWkAYCx34qAx0isHccuhzZaGLXwFp7fufzis0HlzlQUzHLRijWdJGefhj bZ3sqfUkJUqxrV3OY+ZVv2914ahlSHg3Eu1qlWXcS/WtfO6kkDwGVF7Nk8Gz6Za5OAD33b3yv3vX8 usV6yYzXhAbErkgDRZyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qemtF-00EqpA-07; Sat, 09 Sep 2023 01:36:01 +0000 Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qemtC-00Eqoe-0Q for linux-arm-kernel@lists.infradead.org; Sat, 09 Sep 2023 01:35:59 +0000 Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-57328758a72so555741eaf.1 for ; Fri, 08 Sep 2023 18:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694223356; x=1694828156; 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=SYXpMUBXqi5GP561H6HvmWBrQEsjeeV8nwPogcVw8Zk=; b=Z+srv8r23l8Ym3WgqKF16bcX2Fbn5iC27UDgQPdsloTqfP0076wNabOGhkOBZYtNtx FIo1bic4ifPDWnEKpv2yA70F/uOI0+jkt1lhHuKFC3T+4Wy8BioJcK+oeY52yNDXfbCH BUAE5bD4a3yzSNAI8AxhLJLCgMW17lw2IwRivTeY0X7G86WiJABjbDzVrcW7ZEVKgaW5 q12XVFQXWUNh6V2ZGd7OlXZy6QkjUOqIUSE4Fd7EQl/JPvfPOnteDwmYM62GRsBUkZTg xzvJmE2oTecnIE5vHhlqLhPnqPXvSAtcyJ/2bI7dNlumjdpGIWBXGGzKQAQzJL1dYtpq c+/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694223356; x=1694828156; 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=SYXpMUBXqi5GP561H6HvmWBrQEsjeeV8nwPogcVw8Zk=; b=jMqV6uj0qcA+amTYvBMsboU5Uoi0Dt7x7OYJmVhOH+RIFVOzZhdlcxuhKZQf4+qy9D FY4p9bZLZleDP3DLPfqv5btfmPuAxQRQPsaPfY0gNwAwG491KmoWETBrBRzCGQyq7edv zQsyBrA/OX43HI126Vuy8SMnBz4zk8STde/MCp4H7myHofS22d+HE9CaNSjgwhrGtBJv aewsl3aORxGucn4yyMtuRFF5/mITBSg3eBs8EayVEk5xPB6JUvn2dEOYkV/uL48hSW+9 4cU3qyxYFuSmVaPlEWfMCOMhLOA0DMTEBSc08jmXd6aBhHmeIKYF4TJtEOvzXv+jeoqb f9oA== X-Gm-Message-State: AOJu0YxyCqgT0u9nqBWv/Sge/xu8X3mEjnR6jTc67UYY0t+JVeKwO4rr 3rSiX/RepKcD0HECCgPEmPQ= X-Google-Smtp-Source: AGHT+IHg0bdUMOLMJkdf7cnrJxgciYw1w3GLfn+hwhVjF1OQ/6bETO8Bd3tZdV5PBsXGxq9pzy/8yg== X-Received: by 2002:a05:6820:555:b0:571:1906:47f0 with SMTP id n21-20020a056820055500b00571190647f0mr4621634ooj.1.1694223356147; Fri, 08 Sep 2023 18:35:56 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:3785:ad26:cd88:709]) by smtp.gmail.com with ESMTPSA id v62-20020a4a5a41000000b005634ef4f1c0sm1301483ooa.31.2023.09.08.18.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 18:35:55 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, m.felsch@pengutronix.de, Fabio Estevam Subject: [PATCH] arm64: dts: imx8mp-debix-som-a-bmb: Fix EEPROM #size-cells Date: Fri, 8 Sep 2023 22:35:47 -0300 Message-Id: <20230909013547.958134-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-20230908_183558_234129_213E6B99 X-CRM114-Status: GOOD ( 12.84 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam The mac-address is passed as a subnode of the eeprom and its 'reg' property describe a range of addresses in the eeprom. Therefore, #size-cells should be set to 1 instead of 0. This fixes the following schema warnings: imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: #size-cells:0:0: 1 was expected from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@0:reg: [[0], [12]] is too long from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@c:reg: [[12], [12]] is too long from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'mac-address@0', 'mac-address@c' were unexpected) from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts b/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts index 0b0c95432bdc..0afd90224a59 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts @@ -220,7 +220,7 @@ eeprom@52 { reg = <0x52>; pagesize = <16>; #address-cells = <1>; - #size-cells = <0>; + #size-cells = <1>; /* MACs stored in ASCII */ ethmac1: mac-address@0 { -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DE6FEEB57B for ; Sat, 9 Sep 2023 01:36:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231160AbjIIBgC (ORCPT ); Fri, 8 Sep 2023 21:36:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbjIIBgB (ORCPT ); Fri, 8 Sep 2023 21:36:01 -0400 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF7BF186 for ; Fri, 8 Sep 2023 18:35:56 -0700 (PDT) Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5711d5dac14so561871eaf.0 for ; Fri, 08 Sep 2023 18:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694223356; x=1694828156; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SYXpMUBXqi5GP561H6HvmWBrQEsjeeV8nwPogcVw8Zk=; b=c+BZw4itW8/ty2xhp6na/4R6n0FUqF+P4or7ab4PB8V/7AvV9VdlI+Be32vN6DYgiu Ec03XBzQo3uLklPqGbTTF7UFyGgOt/50f8JLkSqblr/+NslOo5jhNwqfuA+HzhD4+OV3 iKHiuRiXvlfcMrfsaP1idofdR+fvYmgGq/4g1UrawkhQhnGcTcF3bVGVLVu6sxS0pZzD NPeMcnml0Oqnj2+eYCRqWoKkauQPwZiFv5WWyE2gRv7OE/zb/Kcea9T9JLWnNnnBou6y wF1p9UbJT8XnF+PHdZEMn7Nh3KTy57qGMsLPwdQaeFdua3PfRyKtbLw2jt6t+W9XT02D wj6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694223356; x=1694828156; 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=SYXpMUBXqi5GP561H6HvmWBrQEsjeeV8nwPogcVw8Zk=; b=tvFo1uE5DvQBP5nh1GEGFmexlWC0/f+nifO6C2YdYep2D0FZ3Ocb64yfe0m/GuYhc5 Ex4TUTo6vdSMf2Oi1DZWUK/n2sYxqm7NwLTU1Oevfu1Pv9SuEDH/6qBoLwD+qb3xQsdW vl5Trbwbyu7J8DjAJRII+s15mniW07+KurE7rHbl09TLwTtWSLKyVkxV7cb9QHFhDmTE BSEkP5EaiE5QPdhpIGAXBd4hzeOo+WqPPybjqJ0MjtXQ3u3ti1IOIK3mYgUgLx13db3q Mghaxs3+vmzDCRcPMOjPI/o5dsLlricsq3IcW2CTUxWa/LJnbU97wQaPPji/bBGKqF5A c+9w== X-Gm-Message-State: AOJu0YyUfE0hIw1GkhHSuj/9SlKo98wcc/l9hh+r1okpLpWd4y7lcfiT VAAx7Do/M8qMBJo6GOzcFWgbKkIuH5Q= X-Google-Smtp-Source: AGHT+IHg0bdUMOLMJkdf7cnrJxgciYw1w3GLfn+hwhVjF1OQ/6bETO8Bd3tZdV5PBsXGxq9pzy/8yg== X-Received: by 2002:a05:6820:555:b0:571:1906:47f0 with SMTP id n21-20020a056820055500b00571190647f0mr4621634ooj.1.1694223356147; Fri, 08 Sep 2023 18:35:56 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:3785:ad26:cd88:709]) by smtp.gmail.com with ESMTPSA id v62-20020a4a5a41000000b005634ef4f1c0sm1301483ooa.31.2023.09.08.18.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 18:35:55 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, m.felsch@pengutronix.de, Fabio Estevam Subject: [PATCH] arm64: dts: imx8mp-debix-som-a-bmb: Fix EEPROM #size-cells Date: Fri, 8 Sep 2023 22:35:47 -0300 Message-Id: <20230909013547.958134-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Fabio Estevam The mac-address is passed as a subnode of the eeprom and its 'reg' property describe a range of addresses in the eeprom. Therefore, #size-cells should be set to 1 instead of 0. This fixes the following schema warnings: imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: #size-cells:0:0: 1 was expected from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@0:reg: [[0], [12]] is too long from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@c:reg: [[12], [12]] is too long from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'mac-address@0', 'mac-address@c' were unexpected) from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml# Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts b/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts index 0b0c95432bdc..0afd90224a59 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a-bmb-08.dts @@ -220,7 +220,7 @@ eeprom@52 { reg = <0x52>; pagesize = <16>; #address-cells = <1>; - #size-cells = <0>; + #size-cells = <1>; /* MACs stored in ASCII */ ethmac1: mac-address@0 { -- 2.34.1