From patchwork Tue Jun 25 23:49:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagar Cheluvegowda X-Patchwork-Id: 13712140 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3A1DAC30659 for ; Tue, 25 Jun 2024 23:50:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject: 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=ZReGCd3q1cbsvv2+fAwVSAPbb85R6I8ay6duJwilStk=; b=CbFHUNPKQJ+WRe zruiqYj0wdss+PxSAR5z+fmGN17h9Goak0dR1t4mika2ZFcm0IU8DEpZv0aH0lLi8GXow5FBcbP4D 7p/DWZ9eiVpS3OT3VzmcKPtBoUc702KSJO9QzIqXmR835BkkhXm3oYysxi4+Ct0Ye8zge8jHY2Pmv olxJvTEtl3CYWXFto9HSV80pXutlDGzvGIXGDoe41zZ93MZC9KfCaY92EQCOIKXfA5WHK03bYjDSJ erLan+zAKeMohhEKxKt+aRVpheunJlzdU1fQtaPHSM8toMmyHQoUwOalC1ifAlrneC6n09OIEjxOD jh/mQtvbQ9bwUML7Iygw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMFvX-00000004pc3-3ab2; Tue, 25 Jun 2024 23:50:20 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMFvK-00000004pYg-1uR2 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 23:50:08 +0000 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45PHGKC2031378; Tue, 25 Jun 2024 23:49:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=ZReGCd3q1cbsvv2+fAwVSA Pbb85R6I8ay6duJwilStk=; b=QrOzCNjvO9qlLb4xdoIHEy8DYZeHjOkrQ/TsZx vo1gpJddpeLuILP2niql3EImThmtsxTUqkkGuTNTvIIWyB7Xmqaca7s1sV28VVuf IeGTgmwFtDxGKkkMr3NMPwkdR7n37KhP4kmAT6qZpZ0Rpw32snb4bi3/yArPnlym ql9uHoAkIzi/nCvGCbuW+c5v3LpTnccKSdahlIt5z89SW3LA5bq6IQxuDwyP2P4f 4c6mYIEqVX2imPVBkkGByhDbroxEtR0pDeNpRv5972GWcArNefXiQ73Go9nQTVtj z2akMArl0Yk/rYAuOl6vem6yynjsk+akC913uCn8jdSmiSdg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ywppv7sp7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jun 2024 23:49:43 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45PNngfL002707 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jun 2024 23:49:42 GMT Received: from hu-scheluve-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 25 Jun 2024 16:49:39 -0700 From: Sagar Cheluvegowda Subject: [PATCH v2 0/3] Add interconnect support for stmmac driver. Date: Tue, 25 Jun 2024 16:49:27 -0700 Message-ID: <20240625-icc_bw_voting_from_ethqos-v2-0-eaa7cf9060f0@quicinc.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIdXe2YC/32NQQ6CMBBFr2JmbU3bQAOuvIchjQwDzIJWWqwaw t2tJG5dvpf891eIFJginA8rBEoc2bsM+ngAHG9uIMFdZtBSF9IoKRjRtk+b/MJusH3wk6VlnH0 USvclGuoKgxry/h6o59fevjaZR46LD+/9Kqmv/VXrP9WkhBRGKV0XVVvpki7zg5EdntBP0Gzb9 gH7S7c4xAAAAA== To: Vinod Koul , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Maxime Coquelin , Russell King , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bhupesh Sharma CC: , Andrew Halaney , Andrew Lunn , , , , , , , Sagar Cheluvegowda X-Mailer: b4 0.13.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: zBdbnyQ8Y_AdX6CP8hDT6cRBc0lB7ykA X-Proofpoint-ORIG-GUID: zBdbnyQ8Y_AdX6CP8hDT6cRBc0lB7ykA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-25_18,2024-06-25_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=999 mlxscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406250177 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_165006_680564_A1E81BDC X-CRM114-Status: GOOD ( 15.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Interconnect is a software framework to access NOC bus topology of the system, this framework is designed to provide a standard kernel interface to control the settings of the interconnects on an SoC. The interconnect support is now being added to the stmmac driver so that any vendors who wants to use this feature can just define corresponging dtsi properties according to their NOC bus topologies. Signed-off-by: Sagar Cheluvegowda --- Changes in v2: - Edit the cover letter to give a big picture of this change. - Move the interconnect changes from ethqos driver to stmmac driver. - Reorder the the patches to place bindings patch on the top. - Remove "_icc_path" redundant string from the "interconnect-names" property. - Link to v1: https://lore.kernel.org/r/20240619-icc_bw_voting_from_ethqos-v1-0-6112948b825e@quicinc.com --- Sagar Cheluvegowda (3): dt-bindings: net: qcom: ethernet: Add interconnect properties net: stmmac: Add interconnect support net: stmmac: Bring down the clocks to lower frequencies when mac link goes down Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 8 ++++++++ drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 16 ++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 12 ++++++++++++ include/linux/stmmac.h | 2 ++ 5 files changed, 39 insertions(+) --- base-commit: 8a92980606e3585d72d510a03b59906e96755b8a change-id: 20240610-icc_bw_voting_from_ethqos-12f5c6ed46c2 Best regards,