Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp979984ybl; Wed, 11 Dec 2019 10:29:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwe96qjuhvdAJbdx8BIAVUaZm79GWXUZHh5cQ/yc2ExYXFtUAgbO+uU4S9UNL07zIM9W7sG X-Received: by 2002:aca:5ad4:: with SMTP id o203mr3891961oib.73.1576088954762; Wed, 11 Dec 2019 10:29:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576088954; cv=none; d=google.com; s=arc-20160816; b=ZPqEyCn1toGHi/UTu/kzRFiELcq8MMNSx8NLtWmaltKE2NAzoafiwINT2iQ40FN+i5 eDeb8g4Q63GBHB/yOPGtlQPWfL5hik+1RNX2xpr95w1/6ssuJYSGFYSrCnCOjY1v+npQ 8Psh+lWZE+XYvCn0nqfqEivn6qijR8fGRhAHAkiwcJl2DZBr0/Hgfe5CaJU6Huitp1VG IzGPPT0+I+JoV8clMiAmR60BvdrD5b+CRWmXXzYFMwoO0cXBgPglUyGllCev9MxDl6kO m4jYrjSInM+vEBRr7P/GkjuXeYYuWYdZnAKYNs0z/MQ7ArRdNP5vWxl5W+o5laGYwNMA 9uUg== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=AJS94YiN8pfCT1+XiiAx5eqWRqmJb3Rr0RYdZSYfHVI=; b=f5dOt464ylXF3OHZ3yNXppVX/C2FyiKFxLpu5YMF1jkUVtiPcDZ2nA3yf/JiYDio3a rsel9d0M/IfNChw1yRDFaBZuEb/D/k5FCHSMZ4iEPw2BPiqDhovHOtSo6HLPNcK016+3 tM07ptlz1L7H2ME7/JISQGdnRyh+AXGjW+xroBxY4R0phJa7EZn/xQQWNKwJ4Ha1AYNT XllxMSbmjIxEY3WOOCICRXviaZ6gyMQx87wc7ZrDYQf6/qScNya4u0grh1IG4fC8Medy Vo/QfOsMqTUXYHf1kjjD2naim3enDnWBTSdw86mR5Q5D1FmmDsPkC27Epk3OoZRVYnuG X54Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=J+FMENgS; 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 l21si1654687otk.142.2019.12.11.10.28.58; Wed, 11 Dec 2019 10:29:14 -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=J+FMENgS; 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 S1731370AbfLKS2O (ORCPT + 99 others); Wed, 11 Dec 2019 13:28:14 -0500 Received: from mailgw02.mediatek.com ([216.200.240.185]:58602 "EHLO mailgw02.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731322AbfLKS2M (ORCPT ); Wed, 11 Dec 2019 13:28:12 -0500 X-UUID: b929bc5011c94d5b845cbbfdf035042d-20191211 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=AJS94YiN8pfCT1+XiiAx5eqWRqmJb3Rr0RYdZSYfHVI=; b=J+FMENgS0ZD05uAjEI2c6d+L5p5r9IKFk7gDKqvIXx/e7nRys27SIFGcLJQ6o1l9/ce/ZvJw+NyN9mJeMVKqyQ6ABYD5nAniP8eHRDk/nEE0iBYfgwaE2GCwRpuUS2vWtyBzTOyN4iUS59nPVdNyKUcjFXUVr+Fj9EiL+9+fgkc=; X-UUID: b929bc5011c94d5b845cbbfdf035042d-20191211 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1807329998; Wed, 11 Dec 2019 10:28:08 -0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 11 Dec 2019 10:19:07 -0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 12 Dec 2019 02:17:34 +0800 Message-ID: <1576088280.23763.73.camel@mtksdccf07> Subject: Re: [PATCH net-next 4/6] net: dsa: mt7530: Add the support of MT7531 switch From: Landen Chao To: Andrew Lunn CC: "f.fainelli@gmail.com" , "vivien.didelot@savoirfairelinux.com" , "matthias.bgg@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "davem@davemloft.net" , Sean Wang , "opensource@vdorst.com" , "frank-w@public-files.de" Date: Thu, 12 Dec 2019 02:18:00 +0800 In-Reply-To: <20191210164438.GD27714@lunn.ch> References: <6d608dd024edc90b09ba4fe35417b693847f973c.1575914275.git.landen.chao@mediatek.com> <20191210164438.GD27714@lunn.ch> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing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