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 8B171C10F1B for ; Tue, 27 Dec 2022 08:07:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbiL0IHP (ORCPT ); Tue, 27 Dec 2022 03:07:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbiL0IHE (ORCPT ); Tue, 27 Dec 2022 03:07:04 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C06633C for ; Tue, 27 Dec 2022 00:07:01 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id g13so18633404lfv.7 for ; Tue, 27 Dec 2022 00:07:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OJ/7FKaYQPbSQfr8IKqXAW5Ibx9zEMr06Yb1xIgzRps=; b=JXlN4p1JR20ckkY81K15D3vNl6qOqL5zutcruCZy/SHUKJcdfVQRNhDvv10crJZRR8 XGquJa2AFr4KLIdLCfjeBsib8JLQRtt/LakZITiEDuKKtZFHiw+f2cAY3MVMTCM2h7/j DzL27PwrkjGANH3vRRg4yh/OraSPbD2SGc8MT3JOpDtbb9jWxoA5K3CQN2iVSPI5qOXd ISo4sB6EnTdF6qPtxtUj+aA4lrWhrBD/oJRElE1ErtRPezc3WtysT6ridQpdSdHPA2Xw M/NG0LiQRbTzqkfGmaC6NV4h/GpL6nl7F15PsEGVx+9XWAcsPN8kZUnTrFy2eMQiXikD /H0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OJ/7FKaYQPbSQfr8IKqXAW5Ibx9zEMr06Yb1xIgzRps=; b=hQddRSZYxwxI7gNE4hoooOWEPUyaIk5IJyH5P9zo6bvVo6fwsd94RvkviiGaOdXBka CtFw54Ndx1yQT87SZflJnJ/9mW3RCQ+EF33YeSnPfnkbqfoWHxYdyK3moJerMRi9K1IJ yfuVCWpSPGWhLmRi+YDWFFG/CgCJRjRo95A5o8hDzLfMMbDuUdex7KVrNYELokT425Qw Y6c4lxNDcX9oegp8tQrCoetf9kzxGBSQB+ep96AMvExMLv+ZU5+fcsLpmfK6jhd9lMg4 QmRmzuRvwB8hsC2VGXFZCLCx4PRh2zh2VhzIZ7rUUi0ZbtcRCH8vWdvKw/Xn75aqFsW8 9t4w== X-Gm-Message-State: AFqh2koMpPf6gEHJZRTsmOQvDM36NcpjkJibEwRcGToQAU7ssUHnOLS0 pdOmltZBE/1LFKAC5LiNLGDevA== X-Google-Smtp-Source: AMrXdXuOPt5JMrtcl95yqiO17abJPoW67fI3p5WipJORLY/dTnnw7KGxlUmcQDy458TGWtVsrYHb1g== X-Received: by 2002:a05:6512:3c82:b0:4b5:adae:b6be with SMTP id h2-20020a0565123c8200b004b5adaeb6bemr10160824lfv.42.1672128420011; Tue, 27 Dec 2022 00:07:00 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id b11-20020a056512024b00b004b57277474esm2147571lfo.106.2022.12.27.00.06.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Dec 2022 00:06:59 -0800 (PST) Message-ID: <9a2ae843-1cc8-b3c7-1d63-da56547f81c8@linaro.org> Date: Tue, 27 Dec 2022 09:06:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [net PATCH 1/2] dt-bindings: net: marvell,orion-mdio: Fix error Content-Language: en-US To: =?UTF-8?Q?Micha=c5=82_Grzelak?= , devicetree@vger.kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrew@lunn.ch, chris.packham@alliedtelesis.co.nz, netdev@vger.kernel.org, upstream@semihalf.com, linux-kernel@vger.kernel.org References: <20221227010523.59328-1-mig@semihalf.com> <20221227010523.59328-2-mig@semihalf.com> From: Krzysztof Kozlowski In-Reply-To: <20221227010523.59328-2-mig@semihalf.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/12/2022 02:05, Michał Grzelak wrote: > Fix 'unevaluated properties error' during 'make dtbs_check' appearing on > arm device trees by defining generic 'ethernet-phy' subnode in > marvell,orion-mdio.yaml. Instead of long test just paste a bit of warning message. Much easier to read. > > Fixes: 0781434af811f ("dt-bindings: net: orion-mdio: Convert to JSON > schema") Don't wrap tags. > Signed-off-by: Michał Grzelak > --- > Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml b/Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml > index d2906b4a0f59..2b2b3f8709fc 100644 > --- a/Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml > +++ b/Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml > @@ -35,6 +35,10 @@ properties: > minItems: 1 > maxItems: 4 > > +patternProperties: > + '^ethernet-phy': ethernet-phy@ is already accepted via mdio, so this looks wrong. You need to rather fix the DTS. Best regards, Krzysztof