Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2757361rwi; Tue, 11 Oct 2022 12:59:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4c+xT+jC76z6lY7I6D0acT9c/X9pw59nn2QgTsXPoolmoQ85fd+yXWKY/wyWotqkj9kmoT X-Received: by 2002:a17:902:ba8f:b0:17f:9b1b:6634 with SMTP id k15-20020a170902ba8f00b0017f9b1b6634mr26125237pls.171.1665518340088; Tue, 11 Oct 2022 12:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665518340; cv=none; d=google.com; s=arc-20160816; b=Ic+EwUpggdM2PD2la4WarcNoJKUF8t1KWQWp20U077S/I5QpDgX30Dpzm1MPb2WIzv 3A5aZqTEPuJMFsD6hNvfvzX4ZpM8OTwNX6FvOj547USxqnQHziSf9yq5gprXqlA1PhH7 J0w1+hYf/B9zX6VERQzjgWrjiTIRUzVxQC1NTp/6ASodpXyJQLf3F30nU6frxLnK5rYU lr2fc6o7nHhsFsIg2eyOBHUy/dH42oCsaqJd94g0WA+IPlTZiWoasROstoR2X3rUbruu kYSvW/hH/Y1eNM5WV/yaoDVQyWwjDyWs1CvQAjCjyNzm+BwJk7F7Agn36vUE9iIUoP+n trmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yTgWeajzUik/wX4AtUecfU2eGL0YO972G/Xn1vBhwCM=; b=qXGV8wf9kk9BkbZO3VN/hfbfNTrurbBrScKou3vQMH2nrynDtsSmCS90BxF9f62HhM i2QHDUpYQPKYell65U1tLoVz84YrxGebCxGvujqfPizUdKN1oQZaFbDxX0+uBIigHDvH UOZwpEV2EjofuQUGgkjFJ3HwuaY+NoMko203miRiqglGeIZ3ZBkslo7cwUuAa3nVqYKr pDoKCkr3gbRJoRfC5c7unW6oOCAIqj/HUtcLwjyD1oowJqBfSFUQFJ7cjn6PwHlI7BxL BSRQPy+FaD2iJ0eqJFVlfgL0XkzdV7Hr++sjIp7WULYK731wYRNQ9j+UOcmEAb5gIsLv BesQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=sy+hXByY; 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 u11-20020a63ef0b000000b00438f77814b2si17528849pgh.124.2022.10.11.12.58.48; Tue, 11 Oct 2022 12:59:00 -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=sy+hXByY; 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 S229815AbiJKTHC (ORCPT + 99 others); Tue, 11 Oct 2022 15:07:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiJKTHA (ORCPT ); Tue, 11 Oct 2022 15:07:00 -0400 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 21C8B4DB45 for ; Tue, 11 Oct 2022 12:06:58 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id b2so22570759lfp.6 for ; Tue, 11 Oct 2022 12:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yTgWeajzUik/wX4AtUecfU2eGL0YO972G/Xn1vBhwCM=; b=sy+hXByYVLz567exgGzOBYbvpi87ZeK3JuTTIRD/XGsigG63/rzDJpfDhgwQpACfjW 9zvKR4pi5JBiecW3anJCDGc5gpPWlwCP+WDdwi8m8FDXEW/PoafGD3WLfB6kx5T84Cuk jyjosHjfxtbEWxME5lxRLOJ7936qQohvAgMZsXhsf91cgKHOCDEhT1yrLMtSlzYITu9s 5Aknas5QZtBiYJlvF/Z+YgO/I2J1S+LRrNNQRiKLgk8IP7gGpC/4S4F//dNJ+7w2KHqt 1PmZ7nMDqO03JVxjjyFVLMoCzNlEahdxNJJv5uQfWcusKzV5w2Xurev9gqXxtaxm2W+U D43g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=yTgWeajzUik/wX4AtUecfU2eGL0YO972G/Xn1vBhwCM=; b=rFwJzvmmihoqzURJ1ONnzG0Y0UTj190pN7wGgNy9bcQwp+99PTumZFUbixvSRZRfdX ejeRUouMBd8UIs8KZZL+uy6LKHfdwXystcK3WLdSeh0DerQ5WWWO5yvi1fTN9+d+gwnx K4x3XRYlsD7nZNrLW1bEdwT3HbSq7PR/YHdwK/YmFVa6JiK7SwNAcElAVq04T1npwGke SCRFVLLC3palDt71zFFhZzC+M2qXR22tsllis9O3oZve4piYh1kHmJdoiK7IIjR/+7xV IXfaAba+jrpXY+wsH5cUEaNdjTz+pqRxPf2p4MjWMNrCE6wQoypji2MDa8WzvgUhi2Wl GY8Q== X-Gm-Message-State: ACrzQf1Igsdz5V4GJiiTiBXvILSRcw9+H5skDoOKOgKei4GnsN1jeGjt FRfpJBaMNPbeBOig5xtY6k8hQg== X-Received: by 2002:ac2:551d:0:b0:4a2:7c75:6e37 with SMTP id j29-20020ac2551d000000b004a27c756e37mr9656913lfk.398.1665515216393; Tue, 11 Oct 2022 12:06:56 -0700 (PDT) Received: from michal-H370M-DS3H.office.semihalf.net ([83.142.187.84]) by smtp.googlemail.com with ESMTPSA id p9-20020a2eb7c9000000b00262fae1ffe6sm2270477ljo.110.2022.10.11.12.06.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 12:06:56 -0700 (PDT) From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: devicetree@vger.kernel.org Cc: mw@semihalf.com, 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, =?UTF-8?q?Micha=C5=82=20Grzelak?= Subject: [PATCH v3 0/3] marvell,pp2.yaml and .dtsi improvements Date: Tue, 11 Oct 2022 21:06:10 +0200 Message-Id: <20221011190613.13008-1-mig@semihalf.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=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 Hi, This patch series introduces changes of port names from ethX to ethernet-port@X in all relevant .dtsi files. It includes also all considerations from thread about v2. Would appreciate if you had time to review that version. Best regards, Michał --- Changelog: v2->v3 - move 'reg:description' to 'allOf:if:then' - change '#size-cells: true' and '#address-cells: true' to '#size-cells: const: 0' and '#address-cells: const: 1' - replace all occurences of pattern "^eth\{hex_num}*" with "^(ethernet-)?port@[0-9]+$" - add description in 'patternProperties:^...' - add 'patternProperties:^...:interrupt-names:minItems: 1' - add 'patternProperties:^...:reg:description' - update 'patternProperties:^...:port-id:description' - add 'patternProperties:^...:required: - reg' - update '*:description:' to uppercase - add 'allOf:then:required:marvell,system-controller' - skip quotation marks from 'allOf:$ref' - add 'else' schema to match 'allOf:if:then' - restrict 'clocks' in 'allOf:if:then' - restrict 'clock-names' in 'allOf:if:then' - add #address-cells=<1>; #size-cells=<0>; in 'examples:' - change every "ethX" to "ethernet-port@X" in 'examples:' - add "reg" and comment in all ports in 'examples:' - change /ethernet/eth0/phy-mode in examples://Armada-375 to "rgmii-id" - replace each cpm_ with cp0_ in 'examples:' - replace each _syscon0 with _clk0 in 'examples:' - remove each eth0X label in 'examples:' - update armada-375.dtsi and armada-cp11x.dtsi to match marvell,pp2.yaml v1->v2 - move 'properties' to the front of the file - remove blank line after 'properties' - move 'compatible' to the front of 'properties' - move 'clocks', 'clock-names' and 'reg' definitions to 'properties' - substitute all occurences of 'marvell,armada-7k-pp2' with 'marvell,armada-7k-pp22' - add properties:#size-cells and properties:#address-cells - specify list in 'interrupt-names' - remove blank lines after 'patternProperties' - remove '^interrupt' and '^#.*-cells$' patterns - remove blank line after 'allOf' - remove first 'if-then-else' block from 'allOf' - negate the condition in allOf:if schema - delete 'interrupt-controller' from section 'examples' - delete '#interrupt-cells' from section 'examples' Marcin Wojtas (2): arm64: dts: marvell: Update network description to match schema ARM: dts: armada-375: Update network description to match schema Michał Grzelak (1): dt-bindings: net: marvell,pp2: convert to json-schema .../devicetree/bindings/net/marvell,pp2.yaml | 286 ++++++++++++++++++ .../devicetree/bindings/net/marvell-pp2.txt | 141 --------- MAINTAINERS | 2 +- arch/arm/boot/dts/armada-375.dtsi | 12 +- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 17 +- 5 files changed, 306 insertions(+), 152 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/marvell,pp2.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-pp2.txt -- 2.25.1