From patchwork Thu Jun 16 22:15:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 12884953 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 CA55AC43334 for ; Thu, 16 Jun 2022 22:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=PVZTIn8b8W2pfC5n1q9lOVM5iljRpijfgjYlkeYgyGc=; b=wBBl9rgaFcR7Ke JcNoLLpkEJcmnlHTa0pxix+ifutPMhttUDMjUBhXoFtbmZi7NLafDearUbak/x2u6bCxOjA2fN+UI Y+CvPlcHQ1HR8EsTWcbtCENTrMbOnH60g7BC+GLeOCO20S0mpCIhoay8nLHcF+YoOPZJ6y5PZTkmW htiIVlTeFrp8koDxJsPEIxRh3TxrsA1R1/haWwr2Zv2X2OPqsffnLHS4VcLEV7E6RMVq3mYnMUQ37 sWL0+AHdVP/6MGFryjOgqvMPQkBDmc1qIClLm7IgUnFPy2mmi4B0jondridYgrquBeB75SOY9SaOH hJOp4748mA0PoT4F5xUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1xmy-004Zv2-O2; Thu, 16 Jun 2022 22:16:32 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1xmv-004ZuJ-Tn for linux-arm-kernel@lists.infradead.org; Thu, 16 Jun 2022 22:16:31 +0000 Received: by mail-ej1-x629.google.com with SMTP id h23so5265692ejj.12 for ; Thu, 16 Jun 2022 15:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DVRo4CvEL41HYQa+CoQccyZMSsu+VyU+c+CNeOdKaAY=; b=hSRY3xSKb+x0uxV1uqJd1PPuvsy44iHgFHSbyyMzsPCKdgXOM18U7eh3uCpbyPaHIh qPqfWbwppxrw7rLBlkVYMjaPg5kash4tvtUuY648vyCmsworvOcsJujcPDx2EZw2Aj74 SnFpJUTah/V/Gpt7hveDUVbKj+GFPSE3Rs+y65r8lM0Egns0HjmNDd0C8M+y+EqO3aJf bdRyONKYLVolgL1xN18ijUKYAPBbtakwkirPXhmPOfsnJtb5gzaCFIc/y2ZLgfQc+3Od V52ztJYcwQLGTnxiQGbpMv1fTcpY+lfO6pmjf7JghoXMPBbzUiHdRorTHZ0l01U1sEAb VyMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DVRo4CvEL41HYQa+CoQccyZMSsu+VyU+c+CNeOdKaAY=; b=a3p+9Hi/tkZBtoOPvTL2EBsJhOsSXjm22qfFm5mrXjcQVqW/wjBxbLSBpPMLhdCwcD e2qLN/cLQVZYfJU6LYygf+i8uJZFqu/5AiicIfZ7i3Fcsxj6hmg6l8yt/ujgUum+T0K/ FDUj6+hhNvdJ9G9tBkEe5xIHvEpgnXkbMS30HMrfrdrbLDaFQpMXDI4GfNAZGtQuY788 IaDcRWzDtNNeHJp74g9v4PhmEcHWWaBHfv/C1KRr66p366PEqfywMXikXE0Y8uXuFUuz odmX0braDd91us2fASg0YvbqGxVB1rrykR6ebjFexQKjGkoU9PgfmX6+azU6DoX4aFH6 Dnzw== X-Gm-Message-State: AJIora9moZ7QDdgG7yA2fWwD2jhYPO/jmpcVOPShL05Mves55xgMLwZ5 kemfAOfdK7b+afyPTqod99hb6zTDbBQ= X-Google-Smtp-Source: AGRyM1tM9sbDP5+nf78h0PyaUU0M5ak6/lgXRf4DpIfVxQ1sVPb0Gujh4AdJFUO/wy9JsWqFQGORBg== X-Received: by 2002:a17:906:5350:b0:711:f866:ed8 with SMTP id j16-20020a170906535000b00711f8660ed8mr6205922ejo.441.1655417786075; Thu, 16 Jun 2022 15:16:26 -0700 (PDT) Received: from localhost.localdomain (93-42-70-190.ip85.fastwebnet.it. [93.42.70.190]) by smtp.googlemail.com with ESMTPSA id u9-20020a1709061da900b006fef557bb7asm1276340ejh.80.2022.06.16.15.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 15:16:25 -0700 (PDT) From: Christian Marangi To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , "Christian 'Ansuel' Marangi" , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel test robot Subject: [net-next PATCH] net: ethernet: stmmac: remove select QCOM_SOCINFO and make it optional Date: Fri, 17 Jun 2022 00:15:54 +0200 Message-Id: <20220616221554.22040-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220616_151630_020115_A628423B X-CRM114-Status: GOOD ( 12.75 ) 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 QCOM_SOCINFO depends on QCOM_SMEM but is not selected, this cause some problems with QCOM_SOCINFO getting selected with the dependency of QCOM_SMEM not met. To fix this remove the select in Kconfig and add additional info in the DWMAC_IPQ806X config description. Reported-by: kernel test robot Fixes: 9ec092d2feb6 ("net: ethernet: stmmac: add missing sgmii configure for ipq806x") Signed-off-by: Christian Marangi --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index c4bca16dae57..31ff35174034 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -83,7 +83,6 @@ config DWMAC_IPQ806X default ARCH_QCOM depends on OF && (ARCH_QCOM || COMPILE_TEST) select MFD_SYSCON - select QCOM_SOCINFO help Support for QCA IPQ806X DWMAC Ethernet. @@ -92,6 +91,9 @@ config DWMAC_IPQ806X acceleration features available on this SoC. Network devices will behave like standard non-accelerated ethernet interfaces. + Select the QCOM_SOCINFO config flag to enable specific dwmac + fixup based on the ipq806x SoC revision. + config DWMAC_LPC18XX tristate "NXP LPC18xx/43xx DWMAC support" default ARCH_LPC18XX