Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1354083pxk; Fri, 4 Sep 2020 07:26:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9wX8qKlUBLyH60lDsR1idbjnOw5A4XGS+65pCEa4DDIHf3sYkbyfXMPh89YTpcFp+OM48 X-Received: by 2002:a50:954d:: with SMTP id v13mr8934967eda.337.1599229576534; Fri, 04 Sep 2020 07:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599229576; cv=none; d=google.com; s=arc-20160816; b=m7lo92EuB+9cpAFkbhmfq0bXczHiYO301ut+IyHIOZ5oTrqrfircAHPHypaB+aWmXX XV5743iUWNBsPXDG/K7je++pksLgy6G2fRtyKqS7x3Jt8IVs1lMVqimTBVKqaef2s/jN clWN5qP1XKsrYuQOEUmpfPKmm6pfDbUNdmm2asx4LMFupvPgHufjgKHbVtWOgy8Lt3h6 stj7feU2xc9XLMtAUr7MvHXaAFJJBhY5AizQq0kYfr9iWkoSaH2srwuhWKFK+0FCkng0 dIk8rA7uEPy9hvjTTE737erPSTGX5XoaA/8H5vGok7epv9RHCjxERzCePrWyvODyZSsz EcXw== 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=MJP8PGom9akaEeuvr9oNH5y9hrbi5PMTHy6BygYgAYU=; b=E0eeqd2AbGTVMc/6U/zZvX13E0cYvQjTutiT/ePmW/LWaklQ+QEhTJUXEDCxaagNpH Y4vAlP7ggC892YJYf1rel7NVdy9AAx+BVdhRfP99Hgctf30+S6K2K5z5AA9XSAh1N7Kz Io3vxMwvHIohO4DdLpAuOnDWvFkEWTagipxp2Q2ZQanuWUvsOaMohu7b+bmuk8N8LBSA 915biMa/pLuqfmDl0C9uR55tIilNNiKCID4UUZUVAzhmKCv8e9CBkbLxxTwI2+vhM0g1 +q4JzHbpg85vVlbWLaqlnJYmsPS24SNDNSrz/v3i9orlsQ3vC4M7qBTPXUvCQzIk4IzN ikPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=cEwdrTN5; 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 i11si4307766edl.230.2020.09.04.07.25.53; Fri, 04 Sep 2020 07:26:16 -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=cEwdrTN5; 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 S1730754AbgIDOZI (ORCPT + 99 others); Fri, 4 Sep 2020 10:25:08 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:4237 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730796AbgIDOW2 (ORCPT ); Fri, 4 Sep 2020 10:22:28 -0400 X-UUID: 1d5a450f30cb41958d0fb8027a1b4d1f-20200904 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=MJP8PGom9akaEeuvr9oNH5y9hrbi5PMTHy6BygYgAYU=; b=cEwdrTN50zmgUNiN2GT1r7SL48b744852KybmVajYAhNayLFnL0DHVBg2b5eikMqmPNgc0mk5Il++1LKz/BkSIGbm1JldjyndjUcwwNZePSQQEzdg1DW3LQ17pagE68OpzBhArtiOhzsmPF+V3nRLveRCDu7JarfLcNJ1EYvMfE=; X-UUID: 1d5a450f30cb41958d0fb8027a1b4d1f-20200904 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1517206404; Fri, 04 Sep 2020 22:22:24 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Sep 2020 22:22:20 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Sep 2020 22:22:21 +0800 From: Landen Chao To: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S . Miller" , Jakub Kicinski , Rob Herring , Matthias Brugger , Sean Wang , Philipp Zabel , Russell King CC: , , , , , , , , Landen Chao Subject: [PATCH net-next v3 2/6] net: dsa: mt7530: Extend device data ready for adding a new hardware Date: Fri, 4 Sep 2020 22:21:57 +0800 Message-ID: <3cf9909d7b06346b8aa339c346e19585cccf74c8.1599228079.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 QWRkIGEgc3RydWN0dXJlIGhvbGRpbmcgcmVxdWlyZWQgb3BlcmF0aW9ucyBmb3IgZWFjaCBkZXZp Y2Ugc3VjaCBhcyBkZXZpY2UNCmluaXRpYWxpemF0aW9uLCBQSFkgcG9ydCByZWFkIG9yIHdyaX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