Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5355778rwl; Wed, 28 Dec 2022 17:49:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXsp1cECbr95axetI+NbALMLVClpTjH29h+9jJMTy8p0d8HAIoQf1/Z+WbDa/VM41DaUEpaD X-Received: by 2002:a17:907:a784:b0:78d:f454:ba4c with SMTP id vx4-20020a170907a78400b0078df454ba4cmr22462179ejc.75.1672278574763; Wed, 28 Dec 2022 17:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672278574; cv=none; d=google.com; s=arc-20160816; b=Ms5KidRBR5tQTnzedl4Bi3c4tis4kAmneufv5lKggjt0oMQp8Oo6IlRkNScZ+rVBwL 0y2mncFEzUYbh816AH2LkeyniNajnLKhBjfi13r6dzQUm1iSO8C+0XS9uQfgdQqAyLMH djIdUNOqeHLtjxN61nHc7A5FXMeKTa/fkEG59j6kI97UQzqWFgxLmAgQzmx/Y3tiQvKo 5oG0YlyNqYCymE0Y0ckRZPu5YE2fO3uXlSWHryvU09DeiVoEtWk3OxSVnctrxWiYSh31 Zx8qAbWczdziciArBI3ikKtZwRZrrfTMc8TJGGK77iGgNBzwBbRXGyScF1jPaFK5o2Mh C7iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wFEk/iA1Bc8CnhqgYSVgaN6BA6Rzt62Yam9vSIo8sOo=; b=LPI3b+GyupgKM437y9iCkhqbcI4x9N3B47/WV+ebZUiObuq/ATF3ucEyOOti2QaxAk i27sZDKa4wHFRFR+NFeir9nRGYuksmCzQhbhyvNmL/j+IaYEMq/slaapNnHYGJvSAW6n y9iyPLhXXnpCEuoBEjJlpfliDSeh44U64avWSF0dTVOwASNp5Ho5DsDK3Y3pwP4/Q3z0 8qM8IIeGWdOlEnw6Uh2ZelvMVYxIA1B0ZlV4U9cvRDKPclDKRt60TxY0cxbF2K9ZTfA1 Kb75B3Y7scjPvpwUEu4g3xj60zWXoXUG13bmuxmqRp86+pzUItclBOi4s2Xp5JocmCj+ 3ztQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hrHVMsYa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc23-20020a1709071c1700b007f38bd15f5asi14976034ejc.349.2022.12.28.17.49.19; Wed, 28 Dec 2022 17:49:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hrHVMsYa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231635AbiL2Bcb (ORCPT + 62 others); Wed, 28 Dec 2022 20:32:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbiL2Bca (ORCPT ); Wed, 28 Dec 2022 20:32:30 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 922B010B56; Wed, 28 Dec 2022 17:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=wFEk/iA1Bc8CnhqgYSVgaN6BA6Rzt62Yam9vSIo8sOo=; b=hr HVMsYaNFJPBAuXoUwdUWyibrAQ3REPBAUF4rnqyNCD+xF8dFOQkRgUaaXJx6/VZHR0UOfSbIBX1D6 lUeH7IOfip9xQeN2cs5B8WSHy0bVup+/W0OkFqQ4BQxgbSfB0bVXtZknAi3gn7eOwEsRWQ87OQp3b TyeE83eTKjLo2nw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pAhmQ-000g6A-DP; Thu, 29 Dec 2022 02:32:22 +0100 Date: Thu, 29 Dec 2022 02:32:22 +0100 From: Andrew Lunn To: =?utf-8?Q?Micha=C5=82?= Grzelak Cc: linux-kernel@vger.kernel.org, sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, mw@semihalf.com, upstream@semihalf.com, mchl.grzlk@gmail.com Subject: Re: [PATCH v2] ARM: dts: dove.dtsi: Move ethphy to fix schema error Message-ID: References: <20221228200234.86391-1-mig@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221228200234.86391-1-mig@semihalf.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 28, 2022 at 09:02:34PM +0100, MichaƂ Grzelak wrote: > Running 'make dtbs_check' with schema in net/marvell,orion-mdio.yaml > gives the following warnings: > mdio-bus@72004: Unevaluated properties are not allowed > ('ethernet-phy' was unexpected) > arch/arm/boot/dts/dove-cubox.dtb > arch/arm/boot/dts/dove-cubox-es.dtb > arch/arm/boot/dts/dove-d2plug.dtb > arch/arm/boot/dts/dove-d2plug.dtb > arch/arm/boot/dts/dove-dove-db.dtb > arch/arm/boot/dts/dove-d3plug.dtb > arch/arm/boot/dts/dove-sbc-a510.dtb > Fix them by removing empty ethphy subnode from dove.dtsi and describe > PHY on the relevant board .dts files level. I don't think your description is correct. What i think is causing the problem is that the ethphy subnode in dove.dtsi does not have an @X. By moving it into the .dts file, you can then give it the correct @1, or @3, which makes the linter happy. The kernel itself does not care about this, it is an example of the linter being much more strict than the kernel. If you agree with me, please update the description. Andrew