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 14638CE7A91 for ; Mon, 25 Sep 2023 01:59:25 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=15qVGXXkP1gxo9Nz65/IAixVTy+3lptzbKSXMQfrMQo=; b=P5MsmK1st7UuwC 6dxjpd/rCOy0TGjjiFlbuDoIQ7zg8pffn4iTfSnEqNPUYXwnqRJJMjvJkVWgweVF7ExlcDca1gRVv D5iXjI4RElYxpKipuCXBaeuheLlvKyYelS5s8MV4nq4hO0ZO1VYg7AW8ISrXH9yE7xI/kTRWtIt26 AbzRTH7630FL9NnQtaEudEtDoTpquSKy+qzQuz3MSDzVoWVFVzUHBpmixsZQbHLrYP5xscxpLA8UO SfUaDz59KDz2ql7FziEx0jfMpqIUMhlWkckc2WYiQu7GfCePi6MG9ChI/5x9nyZVLj55vE2ZRKYcv VZm6jfGUZEc6g1ywBEMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkasK-00D7Z8-1I; Mon, 25 Sep 2023 01:59:04 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkasI-00D7YO-0D for linux-arm-kernel@lists.infradead.org; Mon, 25 Sep 2023 01:59:03 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id F27A9CE0AE5; Mon, 25 Sep 2023 01:58:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F90EC433C7; Mon, 25 Sep 2023 01:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695607139; bh=8UrU2evoxiL9dBoSYIOkRg0f0Jx1kUi+DKb9E8j25js=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SDue1/eaWJ/3KMcnjyfv6ssdiK5I5fXUkAwfDl2YjbMaAdyZPR2yvdH2Rxaeh12+l wOEdHFcXiYIAb4p00xoWE9vsklDNsqBvuCTmtjIcI2KaAG+K1CTgQJbZEHkQ2JfDhO 8AdqQ4l+dkcAZaEqdKyFJxfT+UuU3Tt7aKMq9M491i0qBetON9DLXOKYGat9XBCOfY VFo8dkXF2n1gkI0uQQHZjfbnlYkpcIZkozbcRXXDnRIkl1Hs1uR524/1Ru++2BgBFB lxpQ6Nnvy2fzP6M8T8nxfCn/Tn8FR+WRnUoRWjCTRy5VHmM93gB2UkRO2kCVbwBP/d vTdycUNoQHi+w== Date: Mon, 25 Sep 2023 09:58:50 +0800 From: Shawn Guo To: Fabio Estevam 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: Re: [PATCH] arm64: dts: imx8mp-debix-som-a-bmb: Fix EEPROM #size-cells Message-ID: <20230925015850.GS7231@dragon> References: <20230909013547.958134-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230909013547.958134-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_185902_292092_7D05FBC4 X-CRM114-Status: GOOD ( 11.09 ) 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 On Fri, Sep 08, 2023 at 10:35:47PM -0300, Fabio Estevam wrote: > 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 Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel