From mboxrd@z Thu Jan 1 00:00:00 1970 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 453D015E8B; Mon, 30 Dec 2024 15:56:08 +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=1735574168; cv=none; b=XTV9QOT/W2ghrH7S0sUOmbYK4m5mQJ53lFulqx3Mf4W4C1kKjVaYAQn7JmgUWVCLEq9GP9ckmcN31V5lB+qqDkwlVmDCoSs8q8NsUbwWGHn4xccAN9St5V1OzhbL0BHTT67OkJILoYNmCumaBEOXuSyf3E7d/nfg7xuguyvxsjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735574168; c=relaxed/simple; bh=+KCc8DfCmZgh2jtLTHyheUPQwql55VH+e60ou2stAhI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ImTuf0WfTCbeFANkYluMGljqcwC180Tx7zLa4nKllyC04sW2YC7YhCljFB1u8FhWsSSuSW3K32QBW2ZMlhPCQNo6cZrNb1S8f1YjtNDDI3CTCkhQJHY+0rcnylhwFfI3jJmssKT43NNEd6b73O9LQVXlN/e9vhXrNWangaE/pyA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aP9rRbyl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aP9rRbyl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90DB5C4CED0; Mon, 30 Dec 2024 15:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735574168; bh=+KCc8DfCmZgh2jtLTHyheUPQwql55VH+e60ou2stAhI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aP9rRbylE+HhHp6ND8bZeEoOOslkqucu4omsNuiIUvUkUGpidXZYOLqUsIyrlhkOS 9qF4JO1QaZ4U6cZef8MG7pEnFTWTbb3Meh8aeG7QUcfV/08MJaI6RrSxld+OU/MG3x +fFmhslOuFLwjLTJWYMawzGA8jxSxVTXuxAZU5yY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, FUKAUMI Naoki , Michael Zimmermann , Chukun Pan , Heiko Stuebner , Vinod Koul Subject: [PATCH 6.12 026/114] phy: rockchip: naneng-combphy: fix phy reset Date: Mon, 30 Dec 2024 16:42:23 +0100 Message-ID: <20241230154219.070199198@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241230154218.044787220@linuxfoundation.org> References: <20241230154218.044787220@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chukun Pan commit fbcbffbac994aca1264e3c14da96ac9bfd90466e upstream. Currently, the USB port via combophy on the RK3528/RK3588 SoC is broken. usb usb8-port1: Cannot enable. Maybe the USB cable is bad? This is due to the combphy of RK3528/RK3588 SoC has multiple resets, but only "phy resets" need assert and deassert, "apb resets" don't need. So change the driver to only match the phy resets, which is also what the vendor kernel does. Fixes: 7160820d742a ("phy: rockchip: add naneng combo phy for RK3568") Cc: FUKAUMI Naoki Cc: Michael Zimmermann Signed-off-by: Chukun Pan Reviewed-by: Heiko Stuebner Tested-by: FUKAUMI Naoki Link: https://lore.kernel.org/r/20241122073006.99309-2-amadeus@jmu.edu.cn Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/phy/rockchip/phy-rockchip-naneng-combphy.c +++ b/drivers/phy/rockchip/phy-rockchip-naneng-combphy.c @@ -309,7 +309,7 @@ static int rockchip_combphy_parse_dt(str priv->ext_refclk = device_property_present(dev, "rockchip,ext-refclk"); - priv->phy_rst = devm_reset_control_array_get_exclusive(dev); + priv->phy_rst = devm_reset_control_get(dev, "phy"); if (IS_ERR(priv->phy_rst)) return dev_err_probe(dev, PTR_ERR(priv->phy_rst), "failed to get phy reset\n");