From nobody Sun Dec 14 12:12:43 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EA0F130A73 for ; Fri, 23 May 2025 08:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747990314; cv=none; b=WPPBAZcPUjIp0M0HMdl8nT1ZC7iz5L++7oHnoRj5US8zJkoQbai1j1Uia8nImH4KBRqqPacS3CdzjzlANDIUxD16B2/1t+shvVKEvu1WW4WqEZl0yXOaZk82EYNbIBAexvA8zC+PopBN1wtnJRPQh96IYU39glaC+FL+8vzpIMc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747990314; c=relaxed/simple; bh=KINVIsIATKZd8A1FMOQaMq6QpbTB56FlK2LkAKI2V/Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CW9WtGn6qHhOZz/pEorKi/GXR7H0valqVmefXwbJi/gFWqqqWZUiFSUiPAPg+lr/IeXBHKcO6tefofagi5DIrBK8jFpxkEtGcSVMMjhlPUevb/5lnI8zrTgSaJgy+9Jcu9GgsEjRqHe8l6o77e4scIHj8IW3N8AX5N/goyPe59Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aBtjSvQw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aBtjSvQw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEC86C4CEE9; Fri, 23 May 2025 08:51:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747990314; bh=KINVIsIATKZd8A1FMOQaMq6QpbTB56FlK2LkAKI2V/Y=; h=From:To:Cc:Subject:Date:From; b=aBtjSvQwXrD1pwfoJeCoG5adpVJWBllTPmNKg5k6d9s3hYNxw5bOI5Vv1dssJYKfM nMgkGldk1R7x4Gg/MnOeq0lW5HKt/k5kmHUfnxGnpRLtVe16rMAkYtSPNAeM8omjSl 9yuFgWSQVK1bP0BgE9tXZkFDKHmr7q2mN/IyZLAIczJ6Kfp50XvmF+mR+bDpHoPwl/ wQGrfEtOQOV+nfNXJf1wXmtlnfPX6foqw/Qg/JVJZjLgHv52X+l4uXKKLnC7EnXFlj bPo6zDgWCYKGQHMFphktupx4rUTVnAbLBvRtdtQq0LQYKO1WNrSdRvZABPriX0SVm9 3hp2ImekxnLSA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1uIO87-000000002ws-3Xnh; Fri, 23 May 2025 10:51:51 +0200 From: Johan Hovold To: Vinod Koul Cc: Kishon Vijay Abraham I , Lubomir Rintel , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] phy: drop probe registration printks Date: Fri, 23 May 2025 10:51:12 +0200 Message-ID: <20250523085112.11287-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Drivers should generally be quiet on successful probe, but this is not followed by some PHY drivers, for example: snps-eusb2-hsphy 88e1000.phy: Registered Snps-eUSB2 phy qcom-eusb2-repeater c432000.spmi:pmic@7:phy@fd00: Registered Qcom-eUSB2 re= peater qcom-eusb2-repeater c432000.spmi:pmic@a:phy@fd00: Registered Qcom-eUSB2 re= peater qcom-eusb2-repeater c432000.spmi:pmic@b:phy@fd00: Registered Qcom-eUSB2 re= peater snps-eusb2-hsphy fd3000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy fd9000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy fde000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy 88e0000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy 88e2000.phy: Registered Snps-eUSB2 phy Drop (or demote to debug level) unnecessary registration info messages to make boot logs a little less noisy. Signed-off-by: Johan Hovold --- drivers/phy/broadcom/phy-bcm-ns2-pcie.c | 2 -- drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c | 1 - drivers/phy/broadcom/phy-bcm-sr-pcie.c | 2 -- drivers/phy/broadcom/phy-brcm-sata.c | 2 +- drivers/phy/marvell/phy-pxa-usb.c | 1 - drivers/phy/phy-snps-eusb2.c | 2 -- drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c | 2 -- drivers/phy/qualcomm/phy-qcom-m31.c | 2 -- drivers/phy/qualcomm/phy-qcom-qusb2.c | 4 +--- drivers/phy/st/phy-stih407-usb.c | 2 -- drivers/phy/st/phy-stm32-usbphyc.c | 4 ++-- drivers/phy/ti/phy-twl4030-usb.c | 1 - 12 files changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/phy/broadcom/phy-bcm-ns2-pcie.c b/drivers/phy/broadcom= /phy-bcm-ns2-pcie.c index 2eaa41f8fc70..67a6ae5ecba0 100644 --- a/drivers/phy/broadcom/phy-bcm-ns2-pcie.c +++ b/drivers/phy/broadcom/phy-bcm-ns2-pcie.c @@ -61,8 +61,6 @@ static int ns2_pci_phy_probe(struct mdio_device *mdiodev) return PTR_ERR(provider); } =20 - dev_info(dev, "%s PHY registered\n", dev_name(dev)); - return 0; } =20 diff --git a/drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c b/drivers/phy/broadc= om/phy-bcm-ns2-usbdrd.c index 36ad02c33ac5..8473fa574529 100644 --- a/drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c +++ b/drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c @@ -395,7 +395,6 @@ static int ns2_drd_phy_probe(struct platform_device *pd= ev) =20 platform_set_drvdata(pdev, driver); =20 - dev_info(dev, "Registered NS2 DRD Phy device\n"); queue_delayed_work(system_power_efficient_wq, &driver->wq_extcon, driver->debounce_jiffies); =20 diff --git a/drivers/phy/broadcom/phy-bcm-sr-pcie.c b/drivers/phy/broadcom/= phy-bcm-sr-pcie.c index ff9b3862bf7a..706e1d83b4ce 100644 --- a/drivers/phy/broadcom/phy-bcm-sr-pcie.c +++ b/drivers/phy/broadcom/phy-bcm-sr-pcie.c @@ -277,8 +277,6 @@ static int sr_pcie_phy_probe(struct platform_device *pd= ev) return PTR_ERR(provider); } =20 - dev_info(dev, "Stingray PCIe PHY driver initialized\n"); - return 0; } =20 diff --git a/drivers/phy/broadcom/phy-brcm-sata.c b/drivers/phy/broadcom/ph= y-brcm-sata.c index 228100357054..d52dd065e862 100644 --- a/drivers/phy/broadcom/phy-brcm-sata.c +++ b/drivers/phy/broadcom/phy-brcm-sata.c @@ -832,7 +832,7 @@ static int brcm_sata_phy_probe(struct platform_device *= pdev) return PTR_ERR(provider); } =20 - dev_info(dev, "registered %d port(s)\n", count); + dev_dbg(dev, "registered %d port(s)\n", count); =20 return 0; } diff --git a/drivers/phy/marvell/phy-pxa-usb.c b/drivers/phy/marvell/phy-px= a-usb.c index 6c98eb9608e9..c0bb71f80c04 100644 --- a/drivers/phy/marvell/phy-pxa-usb.c +++ b/drivers/phy/marvell/phy-pxa-usb.c @@ -325,7 +325,6 @@ static int pxa_usb_phy_probe(struct platform_device *pd= ev) phy_create_lookup(pxa_usb_phy->phy, "usb", "mv-otg"); } =20 - dev_info(dev, "Marvell PXA USB PHY"); return 0; } =20 diff --git a/drivers/phy/phy-snps-eusb2.c b/drivers/phy/phy-snps-eusb2.c index cf62f2221366..87f323e758d6 100644 --- a/drivers/phy/phy-snps-eusb2.c +++ b/drivers/phy/phy-snps-eusb2.c @@ -599,8 +599,6 @@ static int snps_eusb2_hsphy_probe(struct platform_devic= e *pdev) if (IS_ERR(phy_provider)) return PTR_ERR(phy_provider); =20 - dev_info(dev, "Registered Snps-eUSB2 phy\n"); - return 0; } =20 diff --git a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c b/drivers/phy/q= ualcomm/phy-qcom-eusb2-repeater.c index 6bd1b3c75c77..260894b6932c 100644 --- a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c +++ b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c @@ -264,8 +264,6 @@ static int eusb2_repeater_probe(struct platform_device = *pdev) if (IS_ERR(phy_provider)) return PTR_ERR(phy_provider); =20 - dev_info(dev, "Registered Qcom-eUSB2 repeater\n"); - return 0; } =20 diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy= -qcom-m31.c index 20d4c020a83c..7caeea1b109e 100644 --- a/drivers/phy/qualcomm/phy-qcom-m31.c +++ b/drivers/phy/qualcomm/phy-qcom-m31.c @@ -305,8 +305,6 @@ static int m31usb_phy_probe(struct platform_device *pde= v) phy_set_drvdata(qphy->phy, qphy); =20 phy_provider =3D devm_of_phy_provider_register(dev, of_phy_simple_xlate); - if (!IS_ERR(phy_provider)) - dev_info(dev, "Registered M31 USB phy\n"); =20 return PTR_ERR_OR_ZERO(phy_provider); } diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/p= hy-qcom-qusb2.c index 1f5f7df14d5a..18cdd017bf3f 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -1139,9 +1139,7 @@ static int qusb2_phy_probe(struct platform_device *pd= ev) phy_set_drvdata(generic_phy, qphy); =20 phy_provider =3D devm_of_phy_provider_register(dev, of_phy_simple_xlate); - if (!IS_ERR(phy_provider)) - dev_info(dev, "Registered Qcom-QUSB2 phy\n"); - else + if (IS_ERR(phy_provider)) pm_runtime_disable(dev); =20 return PTR_ERR_OR_ZERO(phy_provider); diff --git a/drivers/phy/st/phy-stih407-usb.c b/drivers/phy/st/phy-stih407-= usb.c index ebb1d0858aa3..7a3e4584895c 100644 --- a/drivers/phy/st/phy-stih407-usb.c +++ b/drivers/phy/st/phy-stih407-usb.c @@ -139,8 +139,6 @@ static int stih407_usb2_picophy_probe(struct platform_d= evice *pdev) if (IS_ERR(phy_provider)) return PTR_ERR(phy_provider); =20 - dev_info(dev, "STiH407 USB Generic picoPHY driver probed!"); - return 0; } =20 diff --git a/drivers/phy/st/phy-stm32-usbphyc.c b/drivers/phy/st/phy-stm32-= usbphyc.c index b917cd413de7..27fe92f73f33 100644 --- a/drivers/phy/st/phy-stm32-usbphyc.c +++ b/drivers/phy/st/phy-stm32-usbphyc.c @@ -757,8 +757,8 @@ static int stm32_usbphyc_probe(struct platform_device *= pdev) } =20 version =3D readl_relaxed(usbphyc->base + STM32_USBPHYC_VERSION); - dev_info(dev, "registered rev:%lu.%lu\n", - FIELD_GET(MAJREV, version), FIELD_GET(MINREV, version)); + dev_dbg(dev, "registered rev: %lu.%lu\n", + FIELD_GET(MAJREV, version), FIELD_GET(MINREV, version)); =20 return 0; =20 diff --git a/drivers/phy/ti/phy-twl4030-usb.c b/drivers/phy/ti/phy-twl4030-= usb.c index 6f12b38cd894..a26aec3ab29e 100644 --- a/drivers/phy/ti/phy-twl4030-usb.c +++ b/drivers/phy/ti/phy-twl4030-usb.c @@ -784,7 +784,6 @@ static int twl4030_usb_probe(struct platform_device *pd= ev) pm_runtime_mark_last_busy(&pdev->dev); pm_runtime_put_autosuspend(twl->dev); =20 - dev_info(&pdev->dev, "Initialized TWL4030 USB module\n"); return 0; } =20 --=20 2.49.0