Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12980655rwl; Wed, 4 Jan 2023 01:34:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXu99MacMUng1fPGshmZwfE4rYGAUJED0rapDWco26yefhOvtancbdxqMCoDfCD6u9sMQkc0 X-Received: by 2002:a17:90a:fc92:b0:226:6b58:f427 with SMTP id ci18-20020a17090afc9200b002266b58f427mr11775991pjb.15.1672824845674; Wed, 04 Jan 2023 01:34:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672824845; cv=none; d=google.com; s=arc-20160816; b=CdxeT39SChhWp5JL69UygJbtSXTICnurYA/BDi8RZy3J1WvDzHTe19+GQtDIiLiQZU jC9i3j3mVi0zSI8s+9Nvp88h8KLyp+MgThYHZVpz2abl5gRln9bp2Th3hsl8YRPdqO/S JkFv/8c30bV00A+pSalcppvdd9dtlwZEAficO+hjwwa+lbgN0sLBHUCdZWt6J0ib/PzU oE3PsYFy/kuXoEmcDG592+Reh5O7Yg1n3XZkCRwz9DTtxZMbdeZkwPiutYkR5WZUxJoT AfPItkaKDdpgQyZvH3xTKgS6n3ALHKNEc96BmZwmZbpaVpr/y/7dtO2nHpQcgMQCqzXe 2gzQ== 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=VkE+9Be2IZo1wTEmkjQlAica3O0qe2SLkKytbv3x8GQ=; b=zS4TWtAyQQDrwYrDsN9oHc9xIj7eJt71M9+CeN4VG4qQo57hflb3uwhrOBllV4XKmJ NRbeMyEqv9/ckvnpHLRRWmyJm7MYjByVRIiWm5S4NBUGIJG/TbPw3n+nJViHb+DFFJXu EBdha2gVitV1LhPKod6YtC76S5zn2aszugGWYFi4K+a8u8eHXSX6hu0lHQWntoT7ByMQ vj9v470T8IwNLdtRCnTj3n+jGw2kGv3OVkMKNdTmWldNscQ6tHywY49PrQM7VQZ6p7w2 DKLaBz0764soH7L+J6fUGXMbUUKCn59DjWyV2GkN/vOE3qJGeW/qylJWwJLjewBqILHO 7Bzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ae830jSL; 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=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a17090a5d9500b00213213d63bbsi31116293pji.41.2023.01.04.01.33.58; Wed, 04 Jan 2023 01:34:05 -0800 (PST) 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=@mediatek.com header.s=dk header.b=Ae830jSL; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234732AbjADI7l (ORCPT + 57 others); Wed, 4 Jan 2023 03:59:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234051AbjADI7S (ORCPT ); Wed, 4 Jan 2023 03:59:18 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC35222; Wed, 4 Jan 2023 00:59:13 -0800 (PST) X-UUID: d498b7d652c2461d9add940560a0d76f-20230104 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=VkE+9Be2IZo1wTEmkjQlAica3O0qe2SLkKytbv3x8GQ=; b=Ae830jSL6ytkRP7GkDoR/7DK7kT51c1AsQ4kSARGMoIu0lBlWXDJHTXgVgykchLkqy11wBhmOsBsAr/8b/C1hzpIOEh4EIZA+bA2ZRKvSEvRt3XEZbd2VWOWsdk8sC7oEkrL+A4zirEojKV7kaZiTP3DQrtQajMOt6+oDY1q4PQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.16,REQID:e5abeeb3-4e17-45e1-8358-3deee29bb035,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.16,REQID:e5abeeb3-4e17-45e1-8358-3deee29bb035,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:09771b1,CLOUDID:89189b53-dd49-462e-a4be-2143a3ddc739,B ulkID:230104165906DAX5D3VZ,BulkQuantity:1,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:40,QS:nil,BEC:nil,COL:0,OSI :0,OSA:0 X-CID-BVR: 0,NGT X-UUID: d498b7d652c2461d9add940560a0d76f-20230104 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1887014069; Wed, 04 Jan 2023 16:59:03 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 4 Jan 2023 16:59:02 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 4 Jan 2023 16:59:00 +0800 From: Biao Huang To: Andrew Lunn , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Matthias Brugger CC: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Maxime Coquelin , Richard Cochran , , , , , "Biao Huang" , , Subject: [PATCH v7 0/2] arm64: dts: mt8195: Add Ethernet controller Date: Wed, 4 Jan 2023 16:58:55 +0800 Message-ID: <20230104085857.2410-1-biao.huang@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,RDNS_NONE, SPF_HELO_PASS,T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=no 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 Changes in v7: 1. move mdio node to .dtsi, and remove the compatible property in ethernet-phy node as Andrew's comments. 2. add netdev@ to cc list as Jakub's reminder. Changes in v6: 1. add reviewed-by as Angelo's comments 2. remove fix_mac_speed in driver as Andrew's comments. Changes in v5: 1. reorder the clocks as Angelo's comments 2. add a driver patch to fix rgmii-id issue, then we can use a ususal way rgmii/rgmii-id as Andrew's comments. Changes in v4: 1. remove {address,size}-cells = <0> to avoid warning as Angelo's feedback. 2. Add reviewd-by as Angelo's comments. Changes in v3: 1. move stmmac-axi-config, rx-queues-config, tx-queues-configs inside ethernet node as Angelo's comments. 2. add {address,size}-cells = <0> in ethernet node as Angelo's comments. Changes in v2: 1. modify pinctrl node used by ethernet to match rules in pinctrl-mt8195.yaml, which is pointed by Krzysztof. 2. remove "mac-address" property in ethernet node as comments of Krzysztof. Changes in v1: add dts node for MT8195 Ethernet controller Biao Huang (2): stmmac: dwmac-mediatek: remove the dwmac_fix_mac_speed arm64: dts: mt8195: Add Ethernet controller arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 77 ++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 92 +++++++++++++++++++ .../ethernet/stmicro/stmmac/dwmac-mediatek.c | 26 ------ 3 files changed, 169 insertions(+), 26 deletions(-) -- 2.18.0