From patchwork Thu Jun 15 20:06:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 13281692 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 DB455EB64DA for ; Thu, 15 Jun 2023 20:06: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:Content-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=G5hOS96zfl+QRNsW0zIvzoWgjvx8hULCior5qHCMqI4=; b=qnl pJ8iNKnmNPwAKK5otaBHZUfAsToultMFMe6w7tuH/k6Fn8+Vtqni5Qn7e/60CM+yHDcksPDCvfkrq CaS+6949vfL61rCTiLZRxaz8qrE2NJErLXF5XhQk9GJWf+7zoxCIBMz22CCvOS5EgwVronmo6X6AF ECaswKH2yyqfw9ac+9GxF2QU72ak69dl2FQRE7aJla1JqCq/JT4rb/js9dtfx8wg53/agpFIsP7i0 8zydJwyPfMFhqyJeR/5DbWXh3iAQtQV14+1HwEJ2sTWPLunn58dxD+9n+eU2tMKZR+jcE1XY41SpV PBypORfPTkX+QlIc7OPJIyv5h545OMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9tEl-00Fz01-1F; Thu, 15 Jun 2023 20:06:31 +0000 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9tEh-00FyyG-1T for linux-phy@lists.infradead.org; Thu, 15 Jun 2023 20:06:29 +0000 Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-75d4f12d4a3so1481385a.0 for ; Thu, 15 Jun 2023 13:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1686859582; x=1689451582; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Hnzd+palwcWRC52VmHn5woaQBvZDH0Q0iYxHV+VK4xk=; b=YsbmnBsLUPHJWMlVhW90OJbH8ZLTajJW0iV+D6eXkTMDen5FJu0jS1r0oHTwOZxZpB wu2NLbVCW/ycfNNDwQ8SnhGy0H6EYisho7maBmyVOrHEc/jpZURVVt0xhg19u4uLeV7z 343JeHKOW2TTu4Fuq/U1L+ykGhqUAZfIGeXaA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686859582; x=1689451582; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hnzd+palwcWRC52VmHn5woaQBvZDH0Q0iYxHV+VK4xk=; b=QLDR39LNOtrPE4oTQ3kUg/mwJXPfTXv/CvMq8qslqsGhE6hj6qb8q8cx2hNk9ILeq3 MIqG3KkQi1xmSndRr4egLy0bnQvwpUliOkLBD5/j6LIaqF8jEpFTzuPG3P6cBWePDsc/ HyyrUcHCqWVWo/P5VhJfRV4BiMkoaGrR80VeeWSyCD7UTSr3r4qkAO1bku2xmUropdd8 8S6r2bSPqESGamSq6BzyS8JpvDIxCN7B44IA4YmcgWFQwtmYcUq9jZPebi/BXGK+g316 fRQiC7TU6a0xYGQGUTR8yB0SWk5jxmYcrQDHaJuOPZul7jshJ55/jfyH0RQzo60YV8ed tfyw== X-Gm-Message-State: AC+VfDwfeY9dPk//U4v6So4diQnNqGzm2uIgKhuv6JbDaFmZOtjGXkVC I33HD/hlnJh2pz39nCOK08+9oXDNVosUR6tadeQ/m0BJm1fwYCzSkxQq3tOHTtGT5+sI4y9Q3m8 cgAKGVyPRzRLThqifvbXV3Qkr709MG9T/w/thKXrvQZapf0OwB/kcDHEidK36T2r1ZePB7ZgM8p YT1vp9wB2GFov/ X-Google-Smtp-Source: ACHHUZ6aJuyRgu9b+N8ZuwBH1x3qSUMNn1jby5ECwfrBPwroKUXZiIUJRvRQuK/BrqpKNWQSpv4NPA== X-Received: by 2002:a05:620a:214c:b0:75d:4d8f:5f37 with SMTP id m12-20020a05620a214c00b0075d4d8f5f37mr19691404qkm.52.1686859582283; Thu, 15 Jun 2023 13:06:22 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k4-20020a05620a142400b0075ceca53e84sm5721407qkj.15.2023.06.15.13.06.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2023 13:06:21 -0700 (PDT) From: Justin Chen To: linux-phy@lists.infradead.org Cc: bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, Justin Chen Subject: [PATCH 0/2] phy: usb: brcmstb bug fix and improvements Date: Thu, 15 Jun 2023 13:06:15 -0700 Message-Id: <1686859578-45242-1-git-send-email-justin.chen@broadcom.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_130627_760831_769DA998 X-CRM114-Status: UNSURE ( 7.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Work around false positive overcurrent condition due to HW bug. Improvement power management. Justin Chen (2): phy: usb: Turn off phy when port is in suspend phy: usb: suppress OC condition for 7439b2 drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c | 15 ++++++++-- drivers/phy/broadcom/phy-brcm-usb-init.c | 34 +++++++++++++++++++++++ drivers/phy/broadcom/phy-brcm-usb-init.h | 8 ++++++ 3 files changed, 55 insertions(+), 2 deletions(-)