From patchwork Thu Mar 25 12:42:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164029 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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19CB4C433E4 for ; Thu, 25 Mar 2021 12:43:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D38FE61A1D for ; Thu, 25 Mar 2021 12:43:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231273AbhCYMnK (ORCPT ); Thu, 25 Mar 2021 08:43:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbhCYMmo (ORCPT ); Thu, 25 Mar 2021 08:42:44 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56BE4C06174A; Thu, 25 Mar 2021 05:42:44 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id ha17so992301pjb.2; Thu, 25 Mar 2021 05:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w0bt+yFJbuDlDnqVqGjm/70yTbKSPm5K8BlbdmF89ZI=; b=StNfHAFGoHxehkGTqooGf8klr1qXp2gc8gFROjg0dDKsDwDXEq2ua5tmqrdNsZJALz TJc0kJNAEYMKA2+hZhwd2xF/GlF+1f7IjsnArRkS4x8Tf01vHDSoG/bMqGVnfoAFmHn8 mYYADs0eDO6cW7iRblKj7G9UD4rQFG9G1HrVWD35njpigEEb3j7dL5E0d26OVoKJsL6j ElH6zAdaDF5eI9/Dh1616fXe0sJ7x9zNlwlLKDpMR2SKrCjoMXtJ5MF0q+nxoFfpVtjz yK8VB+NH1DApwOOpfAxzSBujmKSguVQP1BC3mVtJDxoPDOYe1CKBS6B/AMlnhVhBxuuh mIJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w0bt+yFJbuDlDnqVqGjm/70yTbKSPm5K8BlbdmF89ZI=; b=hqlNPwuz0FD/psBF+jCA4AeeTOy76WHRCNHJEXq7haJDKNh7rkCoxaC+AYFrk/TsnJ DPnNG1872zoPFw49wucflxoCuQgjF+W2nE4Xs4U8OVE9/VD9zO2KACKDrvRF9+Ss8slh zaxfX+86TirTrD9Llu4vCITBNTGQNeKJeRIIA3S0oIAWRWnmdmrpaAY+vXX81VCqMmhZ 9v8pymTyb5L5SXWlmptii5RX1eNirlnlaSM1KtmBRZsJx0qVro4z/tXqEF4BsqpLA+SE ZN8e3/VZRP4/ktw4SNszKLQkgKh8ufR1yaWoRxvpnKNZEX2TD5MDnc9caEFacotAwuil 08uw== X-Gm-Message-State: AOAM531TXkhU7uQANWidzqCt/AZS8eR67vjZex1C0ndkypNqMl08aHc1 rm3T9a2Z/A26XmGVE7mbO9E= X-Google-Smtp-Source: ABdhPJxhXEzpQ0Nlk3nozlLLPS01ADiVLHi5cqf7bEE00gMKLwqesBcpjuXtE550YOp602+/E+RypA== X-Received: by 2002:a17:90a:c096:: with SMTP id o22mr8729145pjs.119.1616676163922; Thu, 25 Mar 2021 05:42:43 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:42:43 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org, Rob Herring Subject: [PATCHv1 1/6] dt-bindings: net: ethernet-phy: Fix the parsing of ethernet-phy compatible string Date: Thu, 25 Mar 2021 12:42:20 +0000 Message-Id: <20210325124225.2760-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fix the parsing of check of pattern ethernet-phy-ieee802.3 used by the device tree to initialize the mdio phy. As per the of_mdio below 2 are valid compatible string "ethernet-phy-ieee802.3-c22" "ethernet-phy-ieee802.3-c45" Cc: Rob Herring Signed-off-by: Anand Moon --- Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 2766fe45bb98..cfc7909d3e56 100644 --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml @@ -33,7 +33,7 @@ properties: description: PHYs that implement IEEE802.3 clause 22 - const: ethernet-phy-ieee802.3-c45 description: PHYs that implement IEEE802.3 clause 45 - - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$" + - pattern: "^ethernet-phy-ieee[0-9]{3}\\.[0-9][-][a-f0-9]{4}$" description: If the PHY reports an incorrect ID (or none at all) then the compatible list may contain an entry with the correct PHY ID @@ -44,10 +44,10 @@ properties: this is the chip vendor OUI bits 19:24, followed by 10 bits of a vendor specific ID. - items: - - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$" + - pattern: "^ethernet-phy-ieee[0-9]{3}\\.[0-9][-][a-f0-9]{4}$" - const: ethernet-phy-ieee802.3-c22 - items: - - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$" + - pattern: "^ethernet-phy-ieee[0-9]{3}\\.[0-9][-][a-f0-9]{4}$" - const: ethernet-phy-ieee802.3-c45 reg: From patchwork Thu Mar 25 12:42:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164035 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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A47FC433E6 for ; Thu, 25 Mar 2021 12:43:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0734B61A1B for ; Thu, 25 Mar 2021 12:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbhCYMnL (ORCPT ); Thu, 25 Mar 2021 08:43:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbhCYMmt (ORCPT ); Thu, 25 Mar 2021 08:42:49 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83DC2C06174A; Thu, 25 Mar 2021 05:42:49 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id f10so1645950pgl.9; Thu, 25 Mar 2021 05:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3ltQuHjZ2Dx4rM2etKJdZXBIVzAy3G8OeRSAF5zKHFQ=; b=cYD37tfOFxTIQc8pJCixMPHtDMuFqTAvYYbzQ7/LVeS3NqXIBN4+xS/LGlRm5sSokt pW3f1J73gTaXNYEFV0e4sbX5AEGWIg89n2MpFW3JynzDsTKZFA+gT2mg7YSb5fY46tfm z8dSWDw9aB+nrgQSzzDiH34Yqmc624BJKqWoKuLjsR3YTbT4kZ6zok8Vqh1um2uno5Xf yIqBnAMof7CatTLO/aU4Oz+DVIPLWb6EW2U25VjdOxmsMUKFdiCWRCKT814oV/NUCh66 +G5AMqcU8Mpo3PjFqzZR7AYMrLPRx0irq+Otmq53hdrj2lvwzcKE2ZkC2hho1A2/Rhr3 ThZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3ltQuHjZ2Dx4rM2etKJdZXBIVzAy3G8OeRSAF5zKHFQ=; b=gbTRSzVrITIa/yeXd6LwW2PGt+o4ABcCiPPX5SKmy7pz5mpqHELoCTfxDabczoFagx XJCMflwohMxmBhWJRd/MRXTLZtbJQxeDEm1GTBKIK+WvJnBhAk7HSNqceWIDqG7kMhSi VpQc+AWIFcI9LZouX8czVls1o4aaoXoxAJFXOetLUVEE9E7T6SAJw+Ly5OTdv8WYU1oH Q1fhTglDO+/rLzC6wraJSMabKxnCay51jJIFYIbMo0Is6YC/wjxEVVoZE8ogqOW4z7Nj uHb0qhUouyv2JabYcV9pmdLj2PCum3JyrYZ88tKH0suxrpTDSMti2+lIlBmpKuTBGUxb KU4g== X-Gm-Message-State: AOAM533xFJZI388/N3+kN0OwygBP0ivNlptcW972bRGHD622qDizs1o+ uf/FeeE5Aq48yt0uLmnVEkPAakJ1v29Rug== X-Google-Smtp-Source: ABdhPJx9Tv1NUnOleZSOzJFANweJXp9b3HT9f3ckzmcerGk/AvLG0xmMKAxIrI79ze9FvHFKQOfXgQ== X-Received: by 2002:a17:902:bf92:b029:e6:bc0:25ac with SMTP id v18-20020a170902bf92b02900e60bc025acmr9622503pls.49.1616676168868; Thu, 25 Mar 2021 05:42:48 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:42:48 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 2/6] arm: dts: meson: Add missing ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:21 +0000 Message-Id: <20210325124225.2760-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add missing ethernet phy mdio comatible string to help initiate the phy on Amlogic SoC SBC. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm/boot/dts/meson8b-ec100.dts | 1 + arch/arm/boot/dts/meson8b-mxq.dts | 1 + arch/arm/boot/dts/meson8b-odroidc1.dts | 1 + arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 8e48ccc6b634..09ce822308de 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -262,6 +262,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101A/G (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts index f3937d55472d..c1638f3c9edf 100644 --- a/arch/arm/boot/dts/meson8b-mxq.dts +++ b/arch/arm/boot/dts/meson8b-mxq.dts @@ -109,6 +109,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101A/G (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index c440ef94e082..ca439302c74d 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -216,6 +216,7 @@ mdio { /* Realtek RTL8211F (0x001cc916) */ eth_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index fa6d55f1cfb9..6c9b22605264 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -73,6 +73,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; From patchwork Thu Mar 25 12:42:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164033 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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEC73C433EA for ; Thu, 25 Mar 2021 12:43:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9744261A1B for ; Thu, 25 Mar 2021 12:43:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbhCYMnM (ORCPT ); Thu, 25 Mar 2021 08:43:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbhCYMm5 (ORCPT ); Thu, 25 Mar 2021 08:42:57 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6AC0C06174A; Thu, 25 Mar 2021 05:42:55 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id l76so1657242pga.6; Thu, 25 Mar 2021 05:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o2X5hf76RVmZgnkS5Xn03sgP0gHvSiJwl9J2bXsWxbQ=; b=GiAMmznYYVJYW6pLsXQT82029OkTINrLmsIeyo56MBY0nVsAimf/fqwpKNkmCK+PT7 bUeax4/5FC/rvoiDASQKherOHi34zDrnLkRu8D+/RPuM+Ibr10aE9ZJ6YzWDExcfBS6q Cah0JnCg1h41cbVWICBoHGWVPKtPuJArvgt6h/TZl/ld/5ljNRLChpVEVtAdQmqj/ouD DHeRG7G63nPdSQjB8U3LCnDnPbVym+b27hunSt4a4o0YkoYoLa0Yp7h7dBhVFXQAoKdf omsPG7ZmwyJOWr7hBrDXAvdWIdsDiJl7xWW6yYv5TO/YMH97cllw8OtmHFdwo7wdcFjI l9bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o2X5hf76RVmZgnkS5Xn03sgP0gHvSiJwl9J2bXsWxbQ=; b=glJqqWBnDnUhFdrKDd+gxuVK9S/pEa6n7LM/L81hXsrW3MQtPBpzS5y8gk+MYg9WqU Q4v9/6hMMbPcih3mK3VnCXoBPJjSIF8OmtyBqJLkdmtjhMflDuttAeFbTsLr4IPpPzVw zTabB2qmUzPw00Tr0oKN8h4hMz/oVzjeL1zlwEEWAMlw7U47oW+iQBQrrZpkX37Wo1bf lrg1q8Yo+252UYfsQ6SXrD+qKCrTvkIW+KDEj/5G4+ROpd+q1STFZbOvz232ZK9EDKHq nK77+LnhoykoLkoFu5wukTz/NJIWgATzOx9XeVqLlMwGBcaD6E1F49GE4i1gAzBYUDk+ /A9Q== X-Gm-Message-State: AOAM532/+F6heQuvjwi9yJQUBZP6cKt95D80gKhYl+PdLAwVM/GXkLen i+2A1mvQoboE9NON6OYAAiE= X-Google-Smtp-Source: ABdhPJzl7yx6va8IfkiTv9dh6by6gQdg1/hFNrkxOXSCqm+m4B9AJjadDVA7V0kEGKBC17eFs3YaAA== X-Received: by 2002:a17:902:e309:b029:e6:c17b:895a with SMTP id q9-20020a170902e309b02900e6c17b895amr9869758plc.74.1616676175363; Thu, 25 Mar 2021 05:42:55 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:42:55 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 3/6] arm64: dts: meson-gxbb: Add missing ethernet phy mimo compatible string Date: Thu, 25 Mar 2021 12:42:22 +0000 Message-Id: <20210325124225.2760-4-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add missing ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC SBC. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 1 + 7 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts index e8394a8269ee..f3b0947b8586 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -69,6 +69,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101GR (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; reset-deassert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index 7273eed5292c..a4c09f1af24a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -202,6 +202,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index f887bfb445fd..abbc5571efde 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -209,6 +209,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101GR (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index bfaf7f41a2d6..4287d83d6f2a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -237,6 +237,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts index 3c93d1898b40..f7a1ffe453bc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts @@ -75,6 +75,7 @@ mdio { eth_phy0: ethernet-phy@3 { /* Micrel KSZ9031 (0x00221620) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <3>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi index 9b0b81f191f1..0cf4bde81c6f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi @@ -123,6 +123,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi index a350fee1264d..e652f112bc45 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi @@ -144,6 +144,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; From patchwork Thu Mar 25 12:42:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164031 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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CA30C433E5 for ; Thu, 25 Mar 2021 12:43:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1FC4561A17 for ; Thu, 25 Mar 2021 12:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231307AbhCYMnN (ORCPT ); Thu, 25 Mar 2021 08:43:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbhCYMnB (ORCPT ); Thu, 25 Mar 2021 08:43:01 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB3B0C06174A; Thu, 25 Mar 2021 05:43:00 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id nh23-20020a17090b3657b02900c0d5e235a8so891456pjb.0; Thu, 25 Mar 2021 05:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=np0SSxLTsfaMyZQWpoX2X5BItJhfehHr1tDviU+H3Lc=; b=m5N90QbNb9Iz0w2E4mpSUzWYoEK3lSG7cYGOMcMW6i40uvcmKKFnGcfRESuRlCRYqt 029RJ75YMQQp3e0l7GUHDhDrATTHKROcAPMdSfwfJNSVxX7/pr0pYZ+OhsE7kZtMdRQK YHYuZ/aHcslFPHu1VY0KwKD6f0FSfMb4hcaJyuK/LjLWQbCvezJ/jl1noWCIkKuxzShh 7vJJyqqmXCMk4ovy8w2zyNQJQkBICbKG/hingsjCSE+cxKriOSoTBZb73AIW3v2sUiO1 cXkCWStHQr8paPS9dwEkoHGqcLwtRdHS7qdotkNqLhW1ybEIuMKlWii0oQSTYYxMk5oB +/3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=np0SSxLTsfaMyZQWpoX2X5BItJhfehHr1tDviU+H3Lc=; b=Nu9EKoz5vhxfWRjy1hMClgXAoF/X9canerBVrQ1tigWTNTp4+oIUx5kGmSC+VIgw64 8m45gxaeZb+lKrN2/h8AOnh5wRo5JrTbqhygNkCgjTZ3NE39Bv8Cz+rLmTfLcxNYxXo6 DUguFc3EvBXYJjgp6zapyOHDPBbFNoLVLMijftGCE/zK6KjxjXdJgqZdqZ4SeLE5N+dD S0Jw1w0NZYVqe7ZbpWEazjuNcgjUPmaeBhXojYv5/BeRMhodJu+F77QxqV9kOUWW0HK6 sPoUwfSi9ITwtMsCn7BuRTX+8JIE85FPguKHepVr0lwe0S0i+fg4eB7yzdloZsAPpk9E LEqQ== X-Gm-Message-State: AOAM533d8LArznlHJx0fITtaWzsu7dJMCZHTdemM2ylSBSZiCBwAbwyC naS4kfpOPsNHuVxWn97jAjA= X-Google-Smtp-Source: ABdhPJw8nlmrOvGUCqJ11kK8pHt/A0pB4F7zYvzwpYK3cTiwOCCq4fodhtdztP97FJQBavm7SBWbgQ== X-Received: by 2002:a17:90a:990a:: with SMTP id b10mr8606922pjp.178.1616676180544; Thu, 25 Mar 2021 05:43:00 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:43:00 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 4/6] arm64: dts: meson-gxl: Add missing ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:23 +0000 Message-Id: <20210325124225.2760-5-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add missing ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC SBC. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts | 1 + 8 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 359589d1dfa9..d7cfcde40fc6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -374,6 +374,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; interrupt-parent = <&gpio_intc>; interrupts = <98 IRQ_TYPE_LEVEL_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi index 2d7032f41e4b..5bafb45f6c46 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi @@ -272,6 +272,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts index b2ab05c22090..c0c2505081a5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -77,6 +77,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 18a4b7a6c5df..7cb834dcc91b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -229,6 +229,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts index dfa7a37a1281..abaf58b7b765 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts @@ -108,6 +108,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts index 8edbfe040805..1342ca285d44 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts @@ -59,6 +59,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts index dde7cfe12cff..c96fc23fd8f1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts @@ -110,6 +110,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts index d3fdba4da9a6..a99a760f253b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts @@ -32,6 +32,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; }; }; From patchwork Thu Mar 25 12:42:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164037 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 X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89128C433DB for ; Thu, 25 Mar 2021 12:44:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5BA8661A1E for ; Thu, 25 Mar 2021 12:44:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231313AbhCYMnq (ORCPT ); Thu, 25 Mar 2021 08:43:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231129AbhCYMnG (ORCPT ); Thu, 25 Mar 2021 08:43:06 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C925AC06174A; Thu, 25 Mar 2021 05:43:05 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id y5so1958967pfn.1; Thu, 25 Mar 2021 05:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ewEJiuUTUTiMPuh5BO0z//1JOB0w6fbG+bZ6ErXDulI=; b=qxsKAo5K6SnRq8s5y0PaFyRkSEBUVeFNRHgCPA+XBFsLd0SY2+zXz9SZMVcaOVnQ4r P/TPrYY6YGGlT4riIQV0a7TBaeWlave+J6OCYL1Y9qHjJ7ixoPhX+nCbS1WtXy8XknRw GuobUlCyeyUG+PTsBDZdEMMYKA3OzWb/iwuV6515cgH7N0HUFyG58Bm12pCGHRo2MOuY o7b4cQnMzypClW3PwcnPSflZER157BM7jR71UiW9PNgl1AWVtrIBkeD1kDDbhgbrjmEt iQybUnuIOXIFzp+WDHWxAPiOjkrs95ofJd5o6GxGFPJ8/LLIxfoPiMEBAENp786oABmu PxhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ewEJiuUTUTiMPuh5BO0z//1JOB0w6fbG+bZ6ErXDulI=; b=gY+zBODsymntqYB6esZWWhZzBQcTs/4c4bVXSn220F4AHlQ94pyq3UIl1BiRXL9hk+ eYgbdWZLat3oyYImAk46TesnREE4uEp412teiFzqGVCtv59bl7AZhIDnIm8jQXeS1VYv h0MH8wg6cvrvULN+Lo0NumHsBF/Fmi5WIugnU/Lir2I+QyJh8P3eu6sbGV1ceg/EyvBt 3m0nuJqrLUWfIZDFTvkHSFVBCYngWh+riWVBV2qrLUYh7Xb+ndGTSQNV31cQMuyV9IqK R/MeNNnqRKHjnz7Rd7PrYHv/RiJ5IiNkG78ppvFXuyDYmw6GZjl0ysgCoU1sAQLpbHtg WAQQ== X-Gm-Message-State: AOAM533BOSjnNbFSQV36zdHeusLT52cFUhDwgochXBMif0V8DDuRma3g 5/zO3D/49XwB81KrN3u1X98= X-Google-Smtp-Source: ABdhPJw5fm7m4uyEDWOOW4A8Qp1oFNL4AVVvqXdofBzw3DiUHKCyBr8ExRRshq7tvxOKVvkd2maKOQ== X-Received: by 2002:aa7:8187:0:b029:213:d43b:4782 with SMTP id g7-20020aa781870000b0290213d43b4782mr7870651pfi.26.1616676185407; Thu, 25 Mar 2021 05:43:05 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.43.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:43:05 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 5/6] arm64: dts: meson-g12: Add missing ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:24 +0000 Message-Id: <20210325124225.2760-6-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add missing ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC sbc. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 3 ++- arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 579f3d02d613..32c99035a18f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -335,6 +335,7 @@ &pwm_AO_cd { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; eee-broken-1000t; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 58ce569b2ace..12f70b38ce67 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -410,7 +410,8 @@ &cpu103 { &ext_mdio { external_phy: ethernet-phy@0 { - /* Realtek RTL8211F (0x001cc916) */ + /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi index feb088504740..cfb89f5e6eef 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi @@ -260,6 +260,7 @@ cvbs_vdac_out: endpoint { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi index 877e3b989203..4d4a5d467bc7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi @@ -273,6 +273,7 @@ map { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index d14716b3d0f1..5bdbf0d09bc0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -253,6 +253,7 @@ &cpu3 { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; From patchwork Thu Mar 25 12:42:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164039 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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9514DC433E1 for ; Thu, 25 Mar 2021 12:44:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6E82D61A21 for ; Thu, 25 Mar 2021 12:44:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231334AbhCYMns (ORCPT ); Thu, 25 Mar 2021 08:43:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbhCYMnL (ORCPT ); Thu, 25 Mar 2021 08:43:11 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB35CC06174A; Thu, 25 Mar 2021 05:43:10 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id j25so1949153pfe.2; Thu, 25 Mar 2021 05:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iEn6qKJ0gN4j90BS+aCP3T+jQ0ecUWl0Idd4DLZOaBs=; b=kL4jghWXYvGUk9aIgwhEwP+eY/j/zpJ3JozsIHI2hc+IsM1pXFILpKYoxU5rJopvEw ze3qBMfeHzCOY4StFgCfP4dC2hKQCabNcWrmT4ewtyDxU123R7i6imjZsVFiV//fYXwG /ZkCa4/YFPV1bR1sRPSf79jKAtPuLJE4L931KenhOcqb5N1kOEZdWfpQa76jq8AZf8ny 37j26Ll7SwtTzPrgH9ylSMyhb5u/xtxIksTHngThNfamA1Q6tV5GhCdze8/zWGH1s4E/ phXS3SVLVZHtJ0313e4pkKoPCzuunpXGy0zwA+dinfQEVxX8iPVtjP+G3AtdI3CLaa1K GK0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iEn6qKJ0gN4j90BS+aCP3T+jQ0ecUWl0Idd4DLZOaBs=; b=m8IE/xtEtm+v/xwFtwO+ObzMq/4lzus/ZJKegzcd8wFpqz55YbXakEw+gLtFDRK4hQ CGDOHMXTZr5juO8cywqsp/L333NuxMGgWBos5JpxfjWgNb5kOR4OWKZWknScajswLKg6 kEwT9GjR6fmJXFLBUOASscf80oYM6olpUaT3G4VFx6HAXDK0pT5Zgndk3zsaMUm+DqAT 93W9L0TmyoK1s36jjxWBRm2cz6gIowOJ9pBZ3yoT6XQVXZLmKmfheI/fhSCIAYxU4xDE ySxIwiiRv/tJwCQ7gX3WZsguXr0O6Kq5jTlUWazkI3s/iTnCdzpTUbCZRZvjzrgA6dv4 csUQ== X-Gm-Message-State: AOAM532Z5t+5cEiVfbZmx+ZmC5dBgBcjBbGKhxgvRRddP6AIqlGsZLA8 ny+bOKklH+CiZeEDmqbNVYs= X-Google-Smtp-Source: ABdhPJx/yBK25ROu+Q46FS9EPvSNS8ntot4VYxYvF1e0VDn1qlFEWnKCqXZe3VGsoMsUfPJSwVLAzA== X-Received: by 2002:a62:8485:0:b029:1fc:823d:2a70 with SMTP id k127-20020a6284850000b02901fc823d2a70mr8120061pfd.18.1616676190304; Thu, 25 Mar 2021 05:43:10 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:43:09 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 6/6] arm64: dts: meson-glx: Fix the ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:25 +0000 Message-Id: <20210325124225.2760-7-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix the ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC sbc. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/ethernet-phy.yaml Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index c3ac531c4f84..303f54384a9a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -773,7 +773,7 @@ internal_mdio: mdio@e40908ff { #size-cells = <0>; internal_phy: ethernet-phy@8 { - compatible = "ethernet-phy-id0181.4400"; + compatible = "ethernet-phy-ieee802.3-c22"; interrupts = ; reg = <8>; max-speed = <100>;