Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp342933pxa; Wed, 19 Aug 2020 02:56:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS8JQ95GERCm/0Hd+oclRHfnr11JXOsO4Q5hDtxDKLE57NcZAc8xFY2WRKl6njFpj/kg6j X-Received: by 2002:a50:e802:: with SMTP id e2mr22847140edn.129.1597831001893; Wed, 19 Aug 2020 02:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597831001; cv=none; d=google.com; s=arc-20160816; b=meOCXOls79lqdLf0UXXY4f4rPlL9UkLzFcH4TygZFHMjWEoNZrgklYzVfjPFHe1ycS JbXh1Q1oJ/YQ2qyI+rFgdSzvXSOief26wACoInA5vc/YdpPiN8BEATI9AdX+mCCfA78g Wp1LR4X80+9PzL2aWI4Qc1cYx98/rYGONJYVn3RSOetx8dSi0yRH96/g5I3n3U7pqeV4 OjA9bi26MKQPw9kAlQcluxD4/1fE1OSWJgXtfhWhdbHSRGNqxDljTAaJN6zXFnOFJPXP yFhsKZspBgCeqE3Nph3LSR8Eo0AwylJ7NDzB8vY/436nFUTWnBF9ykLn8mLB0i9if/cK w2Sg== 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=kQXoKdKVpI5uaXNaEF7rubWxdg60fBjIip1atnVNx4w=; b=LLfotwMM8FuU84hf04Pl0YeQ+hvN1RekJo+zkKyH460z0Qj8kQzK+U4hBGOBNpqy70 Jbnx4MCB5hcBQxceOYwWRTVYGFyb3XeDgphkK4yMff2YDQaQMpC0ja2Z564/EYiXGVCk n9eND9UQ5p6rNZA3lOOT05jOxt4vxJLM5yfFIpCfmaCjyjlJ9mwDNST1RfkXPVWceNg7 YJbp3BhmWbKoACUztnLxrLGQfRdI+2GZQrLBd5zmMgnysk914QR2sGUdluZAWSS8qqR4 AEn/BHar6Ta/wy935TX7Sth9fNjW+n9pKjm9/dsWEnk69upPYBKtmQ19WtgtJrH6xXgW qqnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=YimcZxgG; 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 dm7si15462237edb.342.2020.08.19.02.56.17; Wed, 19 Aug 2020 02:56:41 -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=YimcZxgG; 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 S1727116AbgHSJxU (ORCPT + 99 others); Wed, 19 Aug 2020 05:53:20 -0400 Received: from mailgw01.mediatek.com ([216.200.240.184]:41900 "EHLO mailgw01.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbgHSJxT (ORCPT ); Wed, 19 Aug 2020 05:53:19 -0400 X-UUID: 3d9f66e13b7e40ffa8561b343d60f52a-20200819 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=kQXoKdKVpI5uaXNaEF7rubWxdg60fBjIip1atnVNx4w=; b=YimcZxgGzFRVHMuCF/1++lAbAs6pvMpBzF+FP/5HaxoW8aRy22AvuDuJtdfkRtssyteU6W7g0oGHGy4cum6VcyXxyvq8TH49+SEocIl6Cc8ktX7mwNSz8exXyCCMzI9j16bcAtuvtEHfxQ2RWURmw/PefF6gWBvpaGwfdBg5XfQ=; X-UUID: 3d9f66e13b7e40ffa8561b343d60f52a-20200819 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1431888830; Wed, 19 Aug 2020 01:53:15 -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.1497.2; Wed, 19 Aug 2020 02:44:08 -0700 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.1497.2 via Frontend Transport; Wed, 19 Aug 2020 17:44:06 +0800 Message-ID: <1597830248.31846.78.camel@mtksdccf07> Subject: Re: [PATCH net-next v2 5/7] 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" , "dqfext@gmail.com" Date: Wed, 19 Aug 2020 17:44:08 +0800 In-Reply-To: <20200818160901.GF2330298@lunn.ch> References: <20200818160901.GF2330298@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-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTA4LTE5IGF0IDAwOjA5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