Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1974140rwb; Sat, 24 Sep 2022 00:13:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4r7DgXaB7vCPgxMsSLe/7v4YvwLVhK3fvqNURJD/GOCNY+eJiLwcPBQ8ltX2CRSvY4Z+wz X-Received: by 2002:a63:5262:0:b0:43b:282d:47ec with SMTP id s34-20020a635262000000b0043b282d47ecmr11042386pgl.577.1664003626484; Sat, 24 Sep 2022 00:13:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664003626; cv=none; d=google.com; s=arc-20160816; b=iFCeKOII6ecuSb26nQ8ZTvKHk05h3e7lgoSDJsA9wpdrg3tfw/KbJ9c+cFIuLDk69y D/UuW5P1W3BrjRUSUbMirnQRSnAo0tg+ECzIM5JDcqQgU3I+/WuRE7qLdlshKkwTW52D Wc7udowPt2jZ93+e+R3J8vX4ulrRMp0DKI18KN3Kd+/D+NSINxozQHaiJuZ/nM0MzXcf kd7rX59J6vM6wu2b5nGdmqmwgd7P6+Xe7zKZNYX7Le5oeA2owT+R9z0zs5jrSytTeGn0 V5GGdqIHiJ1kTAT77RX2UiwHFAjuo2j8tGsy76VCuNLwsuMAVs5Rwd6T+oldqfXj23S8 o5kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RCkEsVbeznfy3hGllYd4J9hMBx6L/Y7BiAwihKpP1pk=; b=tS5NwLTPWTPmpPU5tOcf/RtIWIvsaz4gdA95tmef0le778CEeYbuHPu2I/xAnNt/we /DM3JI9paWm+/4IF314Uxfxf6CxelTpsDojuW7rJL8qX3JkPAQmtqsPqtbXvLOOEZjmy DW0FTURL73YjcS0L7XmHT8ZN9Lc9yPRVv4/6pbMSJQyk8bzHyKK5jrPRx5Ob17peXBcd P7Ui9cS8QvrNwp3ur2m5TxE0MOan+YIRjUu8/cOSIzL+Ms9vdzzh8b/8BN7/g3QYlo/T NV3VUT8zt95v09mRUZEMagsP95td1FcxJERjBeu1YB5A6J2/O1YgRf/psfwvmZft8pAj QJOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=OUgcN9vb; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=semihalf.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z4-20020a056a00240400b0053a339cafb3si12912228pfh.53.2022.09.24.00.13.34; Sat, 24 Sep 2022 00:13:46 -0700 (PDT) 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=@semihalf.com header.s=google header.b=OUgcN9vb; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=semihalf.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233291AbiIXGpV (ORCPT + 99 others); Sat, 24 Sep 2022 02:45:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233340AbiIXGom (ORCPT ); Sat, 24 Sep 2022 02:44:42 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB6AA17E2E for ; Fri, 23 Sep 2022 23:44:39 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id u131so2341361oie.5 for ; Fri, 23 Sep 2022 23:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=RCkEsVbeznfy3hGllYd4J9hMBx6L/Y7BiAwihKpP1pk=; b=OUgcN9vb3eut5Guh4bfVyMwNyJ6f8mIzLeChl1dsz/iQWRw/SXnluaVQbuc8jBI6cj uh13zPYuJE+w4tDMjaXolg7JTSGxl28rgglvKfKdcgwmimhPw2bC/9La5JBxYKFUfVyP rqU4i6S7stsB5NUV7ffvBl0bzo2HBFioqEoFpdOTlc0Q8Mpgd7F3kAcxMIPlCF4/1dLj cdrK/0CqeAQgPdLH/U0ubIEZB95qXnjrxnS4GavcYGk9Dyss4u9LAJKqLbjcxish13Qr uy6CnMfZMm5chgwuAq0fAFig0p64EjCc3gLuBgLszCCPfGVCGTXvN5Wty5+pANXzHsIe y/5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=RCkEsVbeznfy3hGllYd4J9hMBx6L/Y7BiAwihKpP1pk=; b=Eak8Eurw3npDPx1eJwTG5sg+1Dnvv5biilMCRiDdeBNR/3j5C95nCnAL7/adTPW5xn 1tWcnV2rc32wFTfJ/x0yyu3rEDWV6uSZZ9nqSonqZwbwpZhqcCZCvMWKES090fP9YzmB eyOyMVKqcqp1uVz3Qfq7qnoZakYnvO9R865Q0VH+kWs7PBfxZTDJoX8ySSYJeM33Spo+ MNLfcecmgQuydFrKm+p+nLFSn01593T5zapYq8luMxrMLhWnWcjxlEal1iskgPrBx7qe N8DgW1GamD8sW5ibuJjy5Iv0vEEDINkfdW78AW/8ZeHfMP2uhQL+jU7ZgiO/iRt9zltc pjlw== X-Gm-Message-State: ACrzQf2LN2w1HzwHYh3J0kViIi5GgouDvGBuguswUVtQx1TpONl5eTcx nop4q26KclF1vQOmw8rBZO0wSR5uJa0JXXLnbF/75A== X-Received: by 2002:a05:6808:2012:b0:34f:c816:cdf5 with SMTP id q18-20020a056808201200b0034fc816cdf5mr10546397oiw.45.1664001879213; Fri, 23 Sep 2022 23:44:39 -0700 (PDT) MIME-Version: 1.0 References: <20220922211026.34462-1-mig@semihalf.com> In-Reply-To: <20220922211026.34462-1-mig@semihalf.com> From: Marcin Wojtas Date: Sat, 24 Sep 2022 08:44:28 +0200 Message-ID: Subject: Re: [net-next PATCH] dt-bindings: net: marvell,pp2: convert to json-schema To: =?UTF-8?Q?Micha=C5=82_Grzelak?= Cc: devicetree@vger.kernel.org, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi, Thank you for the patch. > + > +properties: > + > + dma-coherent: true > + > + compatible: > + enum: > + - marvell,armada-375-pp2 > + - marvell,armada-7k-pp2 I double checked with armada-cp11x.dtsi and the driver. Please s/marvell,armada-7k-pp2/marvell,armada-7k-pp22/ in all occurrences. > + > + reg: > + minItems: 3 > + maxItems: 4 > + > +examples: > + - | > + // For Armada 375 variant > + #include > + #include > + > + ethernet@f0000 { > + interrupt-controller; > + #interrupt-cells = <3>; interrupt-controller and #interrupt-cells are not valid properties for this controller. > + compatible = "marvell,armada-375-pp2"; > + reg = <0xf0000 0xa000>, > + <0xc0000 0x3060>, > + <0xc4000 0x100>, > + <0xc5000 0x100>; > + clocks = <&gateclk 3>, <&gateclk 19>; > + #address-cells = <1>; > + #size-cells = <0>; > + clock-names = "pp_clk", "gop_clk"; > + > + eth0: eth0@c4000 { > + reg = <0xc4000>; > + interrupts = ; > + port-id = <0>; > + phy = <&phy0>; > + phy-mode = "gmii"; > + }; > + > + eth1: eth1@c5000 { > + reg = <0xc5000>; > + interrupts = ; > + port-id = <1>; > + phy = <&phy3>; > + phy-mode = "gmii"; > + }; > + }; > + > + - | > + // For Armada 7k/8k and Cn913x variants > + #include > + #include > + > + cpm_ethernet: ethernet@0 { > + interrupt-controller; > + #interrupt-cells = <3>; interrupt-controller and #interrupt-cells are not valid properties for this controller. Best regards, Marcin