Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp257797pxk; Fri, 11 Sep 2020 06:13:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaxFZOYQUvKC8hhZINSM/Kf0QW+O80/BUkZUnBJQ9mbUJ+x2HfthbV6b0+Dcv1PmwQeZrA X-Received: by 2002:aa7:d15a:: with SMTP id r26mr1927163edo.181.1599829988459; Fri, 11 Sep 2020 06:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599829988; cv=none; d=google.com; s=arc-20160816; b=bAlBl3U5y4u0IFpMifggD20TmQMCUl3AORcwBAc6PiVGT79u7nHjXHk0EXms4kxQXZ xms37M5+37ozZ/Krxa7BgRBiySDxP48ao3Y5c8K0d+w2IJVo9SvmqlOobe/XEgB8SHkr utE9myjgsbfQQZ/G5quu9Vr5X7VCgh1zT2FrgcvAGBnotwrr6i4s5EHlLZ1kegYLl5yK WL7ZoI8wkU1ZTMd6BrvQuOv5mQQc2vWfasUx++VpHKt73B6Pfqt4eScfVVUflbKRlSu1 O+0WdCdamZ3vLOv2QRjPpEfO/ovlnmLAcQcJcXcJQlyi3xz6DH2IS6mqyNrdQt1o6L4Q IuZw== 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=hdLgl5qYb7csFXTSLNcMefKqwSUXSPIFrjgHweGeq/I=; b=xDlao/Y429ssK05BE97MlDHOVvxRAtkdw01yaWlX73IaiCLglW7Gl5LhU3nsQC8EcU 9DECJYLbmEMujKF6yrWTT3ouHQFAnJARppuY12TfRVlTuvsyvPi6y8n7vAeasXUAPzoW +PBgCIKSxjyCq5f/J55ELianZP4k1HWimclzZ60fjwPN9Y1EL46OikZQDAkVNDpX8Q97 NY9nHv/66JT+YryYvtRFYAh9QinKwpAmXl5rOSTX+o+NiHahEYaLB6hE0eZVJOzMZMbA JGUwyk6C98p/eNgG3dQU1mA+ZHZhRFjUdcJG+kRhN+JYTT2Vek/R7zAdGm68OMKlNSE4 2iyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ViAxymYp; 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 d13si1205511edj.132.2020.09.11.06.12.41; Fri, 11 Sep 2020 06:13:08 -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=ViAxymYp; 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 S1726149AbgIKNL7 (ORCPT + 99 others); Fri, 11 Sep 2020 09:11:59 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:38155 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726096AbgIKM6G (ORCPT ); Fri, 11 Sep 2020 08:58:06 -0400 X-UUID: abcb94c3b398456a9c76e3cb4ba5ef9e-20200911 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=hdLgl5qYb7csFXTSLNcMefKqwSUXSPIFrjgHweGeq/I=; b=ViAxymYpU6q5ijMaG7/C2bHGsoJLboYs59Mv6Es2skBV3SM3t0Q4f+EFpaNNEWz55kv8cwdMRg/NRdqfhT0ujjqdvyEniMP5JZ5s7rqR7//XoNqw6oUbO0YEAgsZ3C3uPyL++eTRsWSobr2rP3aU1Ltd0iVAo+7UkBEol919P+Q=; X-UUID: abcb94c3b398456a9c76e3cb4ba5ef9e-20200911 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.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 1346006590; Fri, 11 Sep 2020 20:57:40 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 11 Sep 2020 20:57:35 +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, 11 Sep 2020 20:57:35 +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 v4 2/6] net: dsa: mt7530: Extend device data ready for adding a new hardware Date: Fri, 11 Sep 2020 20:56:24 +0800 Message-ID: <45e081044e0ede0dc460524069b29094d838f53e.1599825966.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 Y2Ugc3VjaCBhcyBkZXZpY2UNCmluaXRpYWxpemF0aW9uLCBQSF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