From patchwork Tue Nov 20 09:21:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QmlhbyBIdWFuZyAo6buE5b2qKQ==?= X-Patchwork-Id: 10690653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 52E0313BB for ; Tue, 20 Nov 2018 16:03:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4213D2807B for ; Tue, 20 Nov 2018 16:03:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35EA827FB7; Tue, 20 Nov 2018 16:03:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C5C7A27DA4 for ; Tue, 20 Nov 2018 16:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RQP3zr6MW8h+zYGqbD28k04SFRK4zshsMmVXcFbU+44=; b=Y4wDtdALhKewWz mln2iP+ZX6olg9XhZkZvgpoIqUusgLMC/kINUvd+JNjvRS7fY0e7FjqCj/hOpPeDI3mibtcLWx2o4 havbhYe9ywmRdkHAAouq7gmhXGZq6NlV9/pcj9QfUlDuAgkb+HZVx7/USYGvYMPlIBvhatkbe3Y6f Qd/kR1vVEVx74/I0nJzsY/LJnzktAc3R4/WedJBfG/4MGaR/Dr9AOdrO/mbMmMK0rBHQO3w0Roh9r 2R+WHfmTTTo0UJ3dMVHSwITiQwLvhqORm007Exp892CnD0WC8qpA4bOYQEvRxaAtadiS7osZPV/k8 QwyuG+glYndlwsegiZcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8Us-0000UM-41; Tue, 20 Nov 2018 16:03:30 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8Gw-0003nl-RO; Tue, 20 Nov 2018 15:49:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VA/jTF8kxKecYR6jJopQ/AyLPpj8NIO5Tafe44YPbZw=; b=OU4EvM7QSzs1hvpsebAA1lAQ8v oEuKMA6ecruacjETcV6AySSFBeQyhiV4SQmfhAk348Nlib8cRHuzFh54s1I/Y56uqq9nKMRCxrDVT a+hnPr3mtVwb2fD5KviP6bVPF1yCYGcHBb1Klyxmk6dqU0B10Ks78/QEMTV3cERmdYj72343iRZES zrFU1z/0tpXpqEcAoHbT9czpBKIj8PMYPjxeF6ZM+M0YR1WilYUMj5fw7Z2DIGyBwMcBkKP8WZStA f47W47+4tDbD1vy6LgJTc3NuQGLUTPnR9h7CeMqMLmlK4kiWhuAKsKAxjQcV9GkYwWl3MIqOERmQd kngRibmg==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP2EW-0005n3-0O; Tue, 20 Nov 2018 09:22:12 +0000 X-UUID: 66c7371027b14b2c8a153abf7c23b6b7-20181120 X-UUID: 66c7371027b14b2c8a153abf7c23b6b7-20181120 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2126972537; Tue, 20 Nov 2018 17:21:48 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Nov 2018 17:21:47 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 20 Nov 2018 17:21:40 +0800 From: Biao Huang To: , Subject: [v4, PATCH 0/2] add Ethernet driver support for mt2712 Date: Tue, 20 Nov 2018 17:21:34 +0800 Message-ID: <1542705696-18507-1-git-send-email-biao.huang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-TM-SNTS-SMTP: 33AC7E3147B4A64ECEB15413504EA5DAC437C807F13C0209C420ECCC40CD062D2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_042212_336840_88B70F8D X-CRM114-Status: UNSURE ( 6.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, nelson.chang@mediatek.com, andrew@lunn.ch, biao.huang@mediatek.com, netdev@vger.kernel.org, liguo.zhang@mediatek.com, linux-kernel@vger.kernel.org, matthias.bgg@gmail.com, joabreu@synopsys.com, linux-mediatek@lists.infradead.org, honghui.zhang@mediatek.com, yt.shen@mediatek.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Changes in v4: modifications according to comments from Rob and Sean: 1. call clk_bulk api to simplify clk settings. 2. add prefix for mediatek specified properties 3. evolution to a more general driver