From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751639AbcLENfE (ORCPT ); Mon, 5 Dec 2016 08:35:04 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:61670 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbcLENfC (ORCPT ); Mon, 5 Dec 2016 08:35:02 -0500 From: Dongpo Li To: , , , , , , , , , , CC: , , , , , , Dongpo Li Subject: [PATCH v2 0/4] net: hix5hd2_gmac: add tx sg feature and reset/clock control signals Date: Mon, 5 Dec 2016 21:27:57 +0800 Message-ID: <1480944481-118803-1-git-send-email-lidongpo@hisilicon.com> X-Mailer: git-send-email 2.8.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.83] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "hix5hd2" is SoC name, add the generic ethernet driver compatible string. The "hisi-gemac-v1" is the basic version and "hisi-gemac-v2" adds the SG/TXCSUM/TSO/UFO features. This patch set only adds the SG(scatter-gather) driver for transmitting, the drivers of other features will be submitted later. Add the MAC reset control signals and clock signals. We make these signals optional to be backward compatible with the hix5hd2 SoC. Changes in v2: - Make the compatible string changes be a separate patch and the most specific string come first than the generic string as advised by Rob. - Make the MAC reset control signals and clock signals optional to be backward compatible with the hix5hd2 SoC. - Change the compatible string and give the clock a specific name in hix5hd2 dts file. Dongpo Li (4): net: hix5hd2_gmac: add generic compatible string net: hix5hd2_gmac: add tx scatter-gather feature net: hix5hd2_gmac: add reset control and clock signals ARM: dts: hix5hd2: add gmac generic compatible and clock names .../bindings/net/hisilicon-hix5hd2-gmac.txt | 27 +- arch/arm/boot/dts/hisi-x5hd2.dtsi | 6 +- drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 352 +++++++++++++++++++-- 3 files changed, 352 insertions(+), 33 deletions(-) -- 2.8.2