From patchwork Tue Jul 26 07:08:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12928762 X-Patchwork-Delegate: kuba@kernel.org 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 34E72C43334 for ; Tue, 26 Jul 2022 07:08:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237804AbiGZHIJ (ORCPT ); Tue, 26 Jul 2022 03:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237738AbiGZHIJ (ORCPT ); Tue, 26 Jul 2022 03:08:09 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70A792A739 for ; Tue, 26 Jul 2022 00:08:07 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id o12so15529006ljc.3 for ; Tue, 26 Jul 2022 00:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CQeBl6bdxDYeiutOoPw95UwPjf3Fy7w8iw/mWArASvw=; b=zN85OL0I7XcwDr5+NXdtzJE9Fh3X0ESA9e60K/bAmY6lQrfN2CIkjbxud/H/HRN2fw muTda+NOORh3cEyWpi5ozfGxPXzvtigjCWdz4AIk8MUlCHZkp7rNa9RgGg6nAPXnrJ5F 4yYZ+IoOWFP2YNiSz9lnmoiafKNxzZ2aCNd3mrgfI70ksFwdRwGRKVf6NmlJ6BzXalX9 MBGiQGnySWa8nbgtlLJti+8eFDBXfMPeKJMcwv9TOE7meEDePeDxl7AjeUMzaGUGNoxB vUlxM+fhzkgizMJIEpR4phP1vxNhJdRcAxRCS2kuz1jnutS92Uy5m/6bQSKZazfwBucD zhew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CQeBl6bdxDYeiutOoPw95UwPjf3Fy7w8iw/mWArASvw=; b=virB/DlLUZtYMwQog2UiyfXSWD65S8ULDxnXpHxGAcPLYTxxXXf3VIgZBzmYweVszr QYIZKZdIEi3rGvmIwbT5Mrc2e6GeY97R7mOxSFEg+iGdSuA8f7FWLycALmjYSxcGYnVm Gh+TqIAorEHQ70or83EoB5M6+od/6a9beryvJwXXnl57k/eyG7Nqi0e17l0vnpUg6m/C KCqoTfKFH5V+nHRmTPYgIsNoXzPbHFsmAQgjQifsLR8m8+1ktqOfy7geF66wYnWUsGlL durDRcNhw7d7GmBh27Qf2asVqvQ1AET65ZqvaVXOxefHuEfCjgzMuaTzEBKAwdq1+L8P EbTg== X-Gm-Message-State: AJIora+AeYHNH07/q7eXgUkdGB+FLtaeAINz8ggHfByWQBKHdP2Wz9MH ITzX0oBj0s0d/fenRHR7fKjMhw== X-Google-Smtp-Source: AGRyM1s9JECEg8k5On7lZDQn848nND8BHmVl/cB0lI4TDayD/8sEB5lu+MN960QDnjoslc2ylg71sA== X-Received: by 2002:a05:651c:516:b0:25d:e010:fb97 with SMTP id o22-20020a05651c051600b0025de010fb97mr5315117ljp.445.1658819285763; Tue, 26 Jul 2022 00:08:05 -0700 (PDT) Received: from krzk-bin.lan (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id q23-20020a05651232b700b0047f6b4a53cdsm3045061lfe.172.2022.07.26.00.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 00:08:05 -0700 (PDT) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Nicolas Ferre , Claudiu Beznea , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring , Harini Katakam , Radhey Shyam Pandey Subject: [PATCH v2 1/2] dt-bindings: net: cdns,macb: use correct xlnx prefix for Xilinx Date: Tue, 26 Jul 2022 09:08:01 +0200 Message-Id: <20220726070802.26579-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Use correct vendor for Xilinx versions of Cadence MACB/GEM Ethernet controller. The Versal compatible was not released, so it can be changed. Zynq-7xxx and Ultrascale+ has to be kept in new and deprecated form. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Correct deprecated:true. 2. Add Rb tag. Cc: Harini Katakam Cc: Radhey Shyam Pandey --- Documentation/devicetree/bindings/net/cdns,macb.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml index 762deccd3640..dfb2860ca771 100644 --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml @@ -20,10 +20,17 @@ properties: - items: - enum: - - cdns,versal-gem # Xilinx Versal - cdns,zynq-gem # Xilinx Zynq-7xxx SoC - cdns,zynqmp-gem # Xilinx Zynq Ultrascale+ MPSoC - const: cdns,gem # Generic + deprecated: true + + - items: + - enum: + - xlnx,versal-gem # Xilinx Versal + - xlnx,zynq-gem # Xilinx Zynq-7xxx SoC + - xlnx,zynqmp-gem # Xilinx Zynq Ultrascale+ MPSoC + - const: cdns,gem # Generic - items: - enum: @@ -183,7 +190,7 @@ examples: #address-cells = <2>; #size-cells = <2>; gem1: ethernet@ff0c0000 { - compatible = "cdns,zynqmp-gem", "cdns,gem"; + compatible = "xlnx,zynqmp-gem", "cdns,gem"; interrupt-parent = <&gic>; interrupts = <0 59 4>, <0 59 4>; reg = <0x0 0xff0c0000 0x0 0x1000>; From patchwork Tue Jul 26 07:08:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12928763 X-Patchwork-Delegate: kuba@kernel.org 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 E0F19C433EF for ; Tue, 26 Jul 2022 07:08:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237943AbiGZHIX (ORCPT ); Tue, 26 Jul 2022 03:08:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237828AbiGZHIL (ORCPT ); Tue, 26 Jul 2022 03:08:11 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C88992A73E for ; Tue, 26 Jul 2022 00:08:08 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id t1so21312568lft.8 for ; Tue, 26 Jul 2022 00:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FFwyDOKCVC1F9VQI2rdR+Z/dXO4JHgYAt2jRGYaDNmI=; b=tZSlYhxHE0gI5K7hs0ttQbbMB6ZlXe3Xx+DIuP1RWHVuBrQDYYZZaXE12MHDmLvcBi vHkDE99D0zQtdLgQoR29wTFjgLOhYe37ARsAgVIdQlcblakixFsRRSTgnh/TE3KgSHpo YwpyTZ3exDjYhl5woQG7LsFj4ME379EOy4KrWp8ZNIBCPcnutlnj+n32HwOJdUAGzNBz 3haNMF+c5JcsBTurOiWZUpLEXsSUOOAFNxe/zgaf5ZophRCmFOPnv9Omj5L7pzghPtRz 76uieNjOEhEv1/y+XZbNBwbbyPSO5Jky+5GSo8JF+OJmZObQ295EnEQ3ONsLmxx9md8X cHbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FFwyDOKCVC1F9VQI2rdR+Z/dXO4JHgYAt2jRGYaDNmI=; b=5X3fSG0+PAWUZktklPY7Tl4kkhEZXhciWWyZ+SfWZQ+0zmeza5SPz52KDWvdC/QzNO ycc2UXN8PZb79sv+hvvQBHO5KnfvGAk0RscNHM/5hTpG3hvn2NQunfqkq/atWpMufQJU FgJEoMLHuBRfqjIrc1DYRfZVC0FyAEm1vlcfVOvMWm0GcHBpryCwOH7NJYvhC8YDMEnW jkgbTqvsrg8zhBPKBA449WJKxcrdxCwBERmwWg6zw9WxclVxK5cd4UMOCWKOVK1SZE1R vofv3Ry+Eo8TMAQdIbUDGh9k+wNG7O1Vc6Nj/A88OsJR5sg/wBnRTxAIyRz9eFJuMvCc iGfg== X-Gm-Message-State: AJIora/VrC3zrhbc41k8mJ8DNPixxaQ7lVnMIhCe2DRLrVT1HaoW9TmF fJDkhib6Lv7eqadckMIyB5gX/g== X-Google-Smtp-Source: AGRyM1skiIiWDoUeGXogcpcCVH2w68yaERq/Kp0SalhDw9Qx7enT9uhYjsxj8/6rFS3XFevIF18QwA== X-Received: by 2002:a05:6512:1085:b0:48a:9d35:4b8 with SMTP id j5-20020a056512108500b0048a9d3504b8mr1485929lfg.3.1658819287140; Tue, 26 Jul 2022 00:08:07 -0700 (PDT) Received: from krzk-bin.lan (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id q23-20020a05651232b700b0047f6b4a53cdsm3045061lfe.172.2022.07.26.00.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 00:08:06 -0700 (PDT) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Nicolas Ferre , Claudiu Beznea , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Harini Katakam , Radhey Shyam Pandey Subject: [PATCH v2 2/2] net: cdns,macb: use correct xlnx prefix for Xilinx Date: Tue, 26 Jul 2022 09:08:02 +0200 Message-Id: <20220726070802.26579-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220726070802.26579-1-krzysztof.kozlowski@linaro.org> References: <20220726070802.26579-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Use correct vendor for Xilinx versions of Cadence MACB/GEM Ethernet controller. The Versal compatible was not released, so it can be changed. Zynq-7xxx and Ultrascale+ has to be kept in new and deprecated form. Signed-off-by: Krzysztof Kozlowski Acked-by: Harini Katakam --- Changes since v1: 1. None Cc: Harini Katakam Cc: Radhey Shyam Pandey --- drivers/net/ethernet/cadence/macb_main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c index 4cd4f57ca2aa..494fe961a49d 100644 --- a/drivers/net/ethernet/cadence/macb_main.c +++ b/drivers/net/ethernet/cadence/macb_main.c @@ -4798,13 +4798,15 @@ static const struct of_device_id macb_dt_ids[] = { { .compatible = "atmel,sama5d4-gem", .data = &sama5d4_config }, { .compatible = "cdns,at91rm9200-emac", .data = &emac_config }, { .compatible = "cdns,emac", .data = &emac_config }, - { .compatible = "cdns,zynqmp-gem", .data = &zynqmp_config}, - { .compatible = "cdns,zynq-gem", .data = &zynq_config }, + { .compatible = "cdns,zynqmp-gem", .data = &zynqmp_config}, /* deprecated */ + { .compatible = "cdns,zynq-gem", .data = &zynq_config }, /* deprecated */ { .compatible = "sifive,fu540-c000-gem", .data = &fu540_c000_config }, { .compatible = "microchip,mpfs-macb", .data = &mpfs_config }, { .compatible = "microchip,sama7g5-gem", .data = &sama7g5_gem_config }, { .compatible = "microchip,sama7g5-emac", .data = &sama7g5_emac_config }, - { .compatible = "cdns,versal-gem", .data = &versal_config}, + { .compatible = "xlnx,zynqmp-gem", .data = &zynqmp_config}, + { .compatible = "xlnx,zynq-gem", .data = &zynq_config }, + { .compatible = "xlnx,versal-gem", .data = &versal_config}, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, macb_dt_ids);