Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29FD5C5DF60 for ; Thu, 7 Nov 2019 08:48:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F103F2077C for ; Thu, 7 Nov 2019 08:48:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WIuSTYKB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="ptRC1w6y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F103F2077C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=7WfILZq9AjA7ShYEFphagCVoSvbY0PI2vikNCfi9HfU=; b=WIuSTYKBstla60 867mtsG9f4IZg3QKRhhZYX+lWL8MdVefrsx9MR4O0KBIcEQG38EX5j7iCOQt20s3bF7AEb9gH5mkj Z8FjC5e2BRUEe+V0Gr3TWdjrn89SkJXOKd+5VVXitrzI5HaZD3sQdunskuPT2F6qdTUA76tH6hFJW dEEjiYiAXF097peicjFKy/BQdCvL+o6RNJMR5y7P2gR+TmivftIyssFhaSSLL1+eY+9iIfHM/QbXz LhahmFeHcO5r4OgtHWrA0gB80aiahEKOhZUYXJBCT9+wsLqDs/zzRUG0TblFaBBbY4+Vd9xz2Mbl/ xAgwOFE8j/AcdWyufO6Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSdT3-0002TG-LC; Thu, 07 Nov 2019 08:48:37 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSdT0-0002R5-FT for linux-arm-kernel@lists.infradead.org; Thu, 07 Nov 2019 08:48:36 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xA78l9gt010906; Thu, 7 Nov 2019 09:48:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=rtKW3l2rzJlicglZujNA3kuhYJNSKzKPNkK0J/trcXQ=; b=ptRC1w6yXp9Kh+uB4pCdTkpwgtoCSz05d6BQyVzV3Gy/1Or25bGveqrNHfqVu0mxGw3s fbbHm2//txc87JhlKYpPTKNFqkl7NWycpce7JR29mo6Vat1WI48vpQPbuHvtSPi25b+C Uti1c83gQ4SDbLJbnfZGqvrgWE5tQZRaj2Rdp4q8uXl0JLFaKfEbQ1lomBeH1Q68qLt0 a/vipIrJcGOwB/OaEzPsWnWM85ACY235ekANrTcNopRWNGbsqYczHTnVnvhiARRSd9ef KsedtbbYQ13VF6o5CfyrSI5JjPfECTWTpFf2S2gbhTqoHnvmNd4NBm5JaqWhoYscpEHw JQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2w41vduy7w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Nov 2019 09:48:23 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B08ED100068; Thu, 7 Nov 2019 09:48:02 +0100 (CET) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7D0632AB105; Thu, 7 Nov 2019 09:48:02 +0100 (CET) Received: from SAFEX1HUBCAS21.st.com (10.75.90.45) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 Nov 2019 09:48:02 +0100 Received: from localhost (10.201.22.222) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 Nov 2019 09:48:01 +0100 From: Christophe Roullier To: , , , , , , Subject: [PATCH V4 net-next 0/4] net: ethernet: stmmac: cleanup clock and optimization Date: Thu, 7 Nov 2019 09:47:53 +0100 Message-ID: <20191107084757.17910-1-christophe.roullier@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.201.22.222] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-07_02:2019-11-07,2019-11-07 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191107_004834_811756_7166D25B X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, andrew@lunn.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, christophe.roullier@st.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some improvements: - manage syscfg as optional clock, - update slew rate of ETH_MDIO pin, - Enable gating of the MAC TX clock during TX low-power mode V4: Update with Andrew Lunn remark Christophe Roullier (4): net: ethernet: stmmac: Add support for syscfg clock ARM: dts: stm32: remove syscfg clock on stm32mp157c ethernet ARM: dts: stm32: adjust slew rate for Ethernet ARM: dts: stm32: Enable gating of the MAC TX clock during TX low-power mode on stm32mp157c arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 9 ++++++-- arch/arm/boot/dts/stm32mp157c.dtsi | 7 +++--- .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 23 +++++++------------ 3 files changed, 18 insertions(+), 21 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel