Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5112330ybl; Tue, 10 Dec 2019 00:15:50 -0800 (PST) X-Google-Smtp-Source: APXvYqzEs88gg/4iiDZTlrVf3S/ORsOPVaRTTLoTqtZBlCRu4HNX/JE+k8iro1dM8lfvrPPo0fDE X-Received: by 2002:a9d:73c8:: with SMTP id m8mr25694522otk.34.1575965750187; Tue, 10 Dec 2019 00:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575965750; cv=none; d=google.com; s=arc-20160816; b=HVJvcZkPHx2uYKU7LQ0QNX5/yi8tpjQMjhJnTx232z2zE/3PB7IaG3xJUBuK5D/GL1 SdQ8soQkKwkAAu3vgMax3DxkGAa6e88DHknkO+78NpKTTDXTgpePKjm/UvR0OfFz9vSJ vSb++ZhJYZUS9iohVUtArqQxnnL+7bIzLVH7toqKEhC0i9XmIS+x6EGkebXyqkROYGVH TJfKUmNtP4z7y89xYDQnePHnPfaX6nP4Sn1IwdwJgcn7iSFeb+MYXSA9m71h/IQwWWnL 7AIjr3b4l9A7BvoJSuKuJwj00tyMY25I1rRZpn3aUH0OCX7enx792+L4+qvjcjQgbKTJ nR5A== 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=sEkoMPWKI3m+K/8A3kC0uuYTNxZZaGCvfLKvnEmwQQ4=; b=U/s0rR0N2tszLq0iPXXbxEIWdb7UhAkiwhBR23Eg3z87eWGeLujTWmOIJeCC6lAnLN Q7b55vpaLF8SGlYY1IXpcDOC6Qb2WMjcQ25uMDr+WGa3gkC4bD4JywG85lorMwNwBsup cwctDtZEpE56obLwEkqlRkXme+5lPR6YRQYP05nmTERrlg87haLB+iSjDiwpz5LS/j73 jda16KPKRNxKwf4ShZ+aRnHmbZpR1Cet8Bcx9UTONwpp7wJxtPrttIlq/Zs87Dkj/ruL RadPPhwW7RZxS65+VITNn5Q1u5y2bEsb8ajA7GIffLM3b5m01Es9QvUrGQpO8JD7KO6s lLjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=A6fsNqWU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 16si1965059otk.151.2019.12.10.00.15.36; Tue, 10 Dec 2019 00:15:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=A6fsNqWU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727199AbfLJIPC (ORCPT + 99 others); Tue, 10 Dec 2019 03:15:02 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:39119 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726750AbfLJIPC (ORCPT ); Tue, 10 Dec 2019 03:15:02 -0500 X-UUID: 38155314c18e497aacbec5bc0f664b9a-20191210 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=sEkoMPWKI3m+K/8A3kC0uuYTNxZZaGCvfLKvnEmwQQ4=; b=A6fsNqWUmjxIiZPLPb43Hs36qwwvYXMLQ/LlU24IcsfBro20uMkDbzGq522r69u0071Qgekwc/zs4yujo0pz40jCfnAo38JIDP73w4ZyVGuOENM5gdE+qNNUednOVSi052hcMRhS7zpVD0Rfl7vKKOU42F7Tl+cadVzjUl0ow/s=; X-UUID: 38155314c18e497aacbec5bc0f664b9a-20191210 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 452927388; Tue, 10 Dec 2019 16:14:46 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 10 Dec 2019 16:14:31 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 10 Dec 2019 16:14:26 +0800 From: Landen Chao To: , , , , , CC: , , , , , , , , Landen Chao Subject: [PATCH net-next 4/6] net: dsa: mt7530: Add the support of MT7531 switch Date: Tue, 10 Dec 2019 16:14:40 +0800 Message-ID: <6d608dd024edc90b09ba4fe35417b693847f973c.1575914275.git.landen.chao@mediatek.com> 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 MzAuIENwdQ0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