Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2893868pxa; Tue, 18 Aug 2020 00:19:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv0AigkpEHaZF20/VL+/aex1apJxP9yJWohfpvRDejhMy+rwopmGv4grY8n7NgJiuF8D2L X-Received: by 2002:a17:906:c7c8:: with SMTP id dc8mr18243114ejb.285.1597735147105; Tue, 18 Aug 2020 00:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597735147; cv=none; d=google.com; s=arc-20160816; b=oI9dM9OZwXeGBUKZoHw5OrL/UY/SVCcLYXYlLrtO+q02ZQDx4MCkYBNIU3mslKTvPw wHXxWsV7iZOOxjr6qMUySQ967k2Brkxd1/cEgbT7vzGIdO0Fac15PTeGB4ZcvZ83pN23 gQfwoHYWsJVOGSeybbL3KJGYxQY1uDL0FwxuG/IIn5zguK33S2GaEzTFPthBIpQnh2ag bRrKGwOgQK1bX5KiX3X2VfPomrlnMNQk4d9QtqGrje2WLltwp1v+hZdACCnmq8w2fBaW sixQz7BKs58Rwg5KXrFyvbuuKyAoKmq8kR/W5wVL2tPD1PkNACIbE8N028MB1xXlZYWK yS4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=agOiGUWOjxDew40igvpbtiYlL977voFJJ+jPDiFQ9G0=; b=ja8MJkF3OjCoHYDoUYqA/u+baJRGnSp0dogT+3J+shZ7l9bZJVTut/66t2nGR7tWv1 +PNj2jnqcrfdQAKN77FXStCdkxUyyu1hPvAH2YY8S7z/ye2qbVVhONeTJbGd6qfOcjQL 9V5ppgUP5E/m7ilBHDHVD/fRfNvikuMzRj2MmlRS5l2YFkUmqpIdoT8rn3cdDqQoCqHa qbeuwFUMrhvos4r4dv/Q4nUk/IqMLXMs/ZfMZ56lZKXK9fusoMxjVmB8Q5tQqf3XCyAu nYdVVxAz+1F/w0EfSyFpscUBNypVLLsFABYbAj38RQcDC+aM0MR69LpUPyvG8bRhcHrd 6GKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BXQ1jqGf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si12509153ejh.268.2020.08.18.00.18.42; Tue, 18 Aug 2020 00:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BXQ1jqGf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726796AbgHRHPH (ORCPT + 99 others); Tue, 18 Aug 2020 03:15:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:26578 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726451AbgHRHO7 (ORCPT ); Tue, 18 Aug 2020 03:14:59 -0400 X-UUID: aec5409d07ba411c8f7842eb143193f2-20200818 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=agOiGUWOjxDew40igvpbtiYlL977voFJJ+jPDiFQ9G0=; b=BXQ1jqGfqH9ansVgxDUDSr8s0ofSpQUJxu6NjURVEbGKqIrZmm/pav7RG5/GELtFf69X7PNbawvRYJq8TU0D6cSq8vN5axRf7hvb8tCgRDCeAi0tO7EwwP5CwboRUzK6fvUDzwVnnk3Q90rhishjwKJ06A0enI8kO8o7uSIA3V8=; X-UUID: aec5409d07ba411c8f7842eb143193f2-20200818 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1859041943; Tue, 18 Aug 2020 15:14:41 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 18 Aug 2020 15:14:38 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 18 Aug 2020 15:14:39 +0800 From: Landen Chao To: , , , , , CC: , , , , , , , , , Landen Chao Subject: [PATCH net-next v2 5/7] net: dsa: mt7530: Add the support of MT7531 switch Date: Tue, 18 Aug 2020 15:14:10 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIG5ldyBzdXBwb3J0IGZvciBNVDc1MzE6DQoNCk1UNzUzMSBpcyB0aGUgbmV4dCBnZW5lcmF0 aW9uIG9mIE1UNzUzMC4gSXQgaXMgYWxzbyBhIDctcG9ydHMgc3dpdGNoIHdpdGgNCjUgZ2lnYSBl bWJlZGRlZCBwaHlzLCAyIGNwdSBwb3J0cywgYW5kIHRoZSBzYW1lIE1BQyBsb2dpYyBvZiBNVDc1 MzAuIENwdQ0KcG9ydCA2IG9ubHkgc3VwcG9ydHMgU0dNSUkgaW50ZXJmY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