From patchwork Tue Apr 9 15:29:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13622889 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F4F413B2B0 for ; Tue, 9 Apr 2024 15:29:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676565; cv=none; b=Dw7h6M6Ixe+PRMruxDTNF8tCD0CtqtCLlK5EoL0BsDON4S+sDWIfcgrt2zJI9xZ2I9nw4sbw3BbEXuwuOuEiHm2ck95z+4Coxe0CQsGYuYzEW7RxNCquP4g31NkcvM4KpTeHR4p+em2aMwrd0nAJ6ZGgFXhkDsAv1xRq3ZIyF8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676565; c=relaxed/simple; bh=BNm8ROtwyDTiLNn0p6MCrlMzrWYQbz+nw3m8owL6V+Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=q/VJuYQexlGsp/yDoArjnSY+EDiH69xanr+0tW2lxb7js6M6A9x69oPOSu9WEUcXrHUBbxX1Suqb/gu10NVTdXURqgEgJuXEzKJE2sOHLYnhlhhrBUG1kdhm+doISyvUSiOhdtJRn9td9YSjwjcKHBvcoT0PoExiYdpmTlfW7ok= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vk+TOy4R; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vk+TOy4R" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-516d68d7a8bso3828211e87.1 for ; Tue, 09 Apr 2024 08:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712676561; x=1713281361; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=zFKPCK/kCcXWFoB49FvlrDe+DKAuZG+D+gWim+ikCqY=; b=vk+TOy4ROsaimM1gH/mpDCbKtfYy+g9QRuxCK+n9ay2UNcxoDQgWGjW7/cBqu1BGTx sOdF0s9Ao28CKZ0zW9MXojwj3ciiXDwYlIXL1xsMqtbmB0Oai6zehBal+r7mDVlyECTk /r0c5Q/G4/WdJTFlUqXwFLWnuTxK4sll6c72ETg6rDlHDgECPu6r2VliAXvmmBeXxPjl qt5w5E9PqiwwrRritesv8+eyAB03YSTGJK5lNMsy8ZSfQOzz1dY0OzTXZQJFEYkELEAy /hj8cae11fk9xr6sG1TqMNvdSCmZjiBh87+H8uWKiGuQC84jQPDzuIw14KzzN63o/g0o desA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712676561; x=1713281361; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zFKPCK/kCcXWFoB49FvlrDe+DKAuZG+D+gWim+ikCqY=; b=BUzdDLIBWt2+CGzIWLBxzgEog0G6mAQRGoxYjs8cBYC/k3KZfa3UePPqCDNg1+uGN2 BI+meBmAGGrWdv+fbnP+MCVz074VhPTiDSTapZy8I/5wJ2bKO9wafTaQ0A3xjwomQMUU 0Y5hJ7QkTxDg/IzWMJWfl3LZhF93NyNKePm60lsPu8dg8U6yk/uGno04ZTQUV0aqjlS2 gVLHeYzM8fsf5/ZjxBrK6n+ewIaQirFeQuc5jpmadEHSyfvb4mCT/grClZEOFoR5pyxX W8aySwqRCAovOTpG/W3ym84nOg1CFVnf/9WZcKN9MwQei155AUiHGCzR2TxHLiZmJ9vt /v4w== X-Forwarded-Encrypted: i=1; AJvYcCWEfv7pCV7A1wN7OInj2Vu7Qyia97CGrB8UeRa/AF+Y40FqifD9UAiXV16UF9WCmEBsICY2ZOtWrtkNOiy8lvArGcs4Lpilyvq6 X-Gm-Message-State: AOJu0YxgcFNZBeFtQ5/PUFvtawOJ3+zoKcF9NMw80NTkmocPsvlbcsjP Ahc0Ai13hNpmMwHJwSBteRHdP+Fze+Y18u3uDrVIfIxqR0lfueF9y4fkVAtWyXk= X-Google-Smtp-Source: AGHT+IGrN5NpwE63/zWrefF7zvceQfErmZ+uxtO0K+Lg3qtbyaNLSZqS/NwrpoaR8fhAE2ihAqZfKQ== X-Received: by 2002:ac2:5333:0:b0:515:c0cb:3ca2 with SMTP id f19-20020ac25333000000b00515c0cb3ca2mr1064006lfh.16.1712676561626; Tue, 09 Apr 2024 08:29:21 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id a16-20020ac25e70000000b005159412ab81sm1579990lfr.216.2024.04.09.08.29.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:29:20 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 09 Apr 2024 18:29:17 +0300 Subject: [PATCH v2 2/3] usb: typec: ucsi_glink: drop NO_PARTNER_PDOS quirk for sm8550 / sm8650 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240409-qcom-ucsi-fixes-bis-v2-2-6d3a09faec90@linaro.org> References: <20240409-qcom-ucsi-fixes-bis-v2-0-6d3a09faec90@linaro.org> In-Reply-To: <20240409-qcom-ucsi-fixes-bis-v2-0-6d3a09faec90@linaro.org> To: Heikki Krogerus , Greg Kroah-Hartman Cc: Neil Armstrong , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1164; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=BNm8ROtwyDTiLNn0p6MCrlMzrWYQbz+nw3m8owL6V+Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmFV7N79gbDsQrhnblF1gIzFA8DE+OueeVX7arc QxngILwJl2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhVezQAKCRCLPIo+Aiko 1YTxB/4wikeUBRV/sSCWxse4ontdcdTMuUnGlUlsd5NfDvVUE2jvv5jRtZdQsDnfyZNsmuTX2OR IgSIN8GZvCuflCgugL+gGdP6dP351w6MwoXNIMqCdpp360+3fK5FEIHzaR9ncRCf3TGbRTGQk6I p98t2sp81jLx2wOTwlj0WyPC+XMRbBUxPFprHuew4zieaoWH2IAFSJYfQt8JuZA/vIdN3jx92zZ /lxlTqFeD71oslhtZtfA92CB3DfPcP9eiwzwlhih71fYW8Ll8g9rOIlc7Jujh0hLkOKV7gqTx8r +LdtBFjNWbMtAmgK7CGBw6cWPxO7iM68kK808wdwE8X9kCOa X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The Qualcomm SM8550 (and via a fallback compat SM8650) firmware properly handles the GET_PDOS command, it sends the CCI_BUSY notification, and then follows with the CCI_COMMAND_COMPLETE event. Stop using the quirk for those two platforms. Reviewed-by: Heikki Krogerus Signed-off-by: Dmitry Baryshkov --- drivers/usb/typec/ucsi/ucsi_glink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c index 9bd80a2218e4..9ffea20020e7 100644 --- a/drivers/usb/typec/ucsi/ucsi_glink.c +++ b/drivers/usb/typec/ucsi/ucsi_glink.c @@ -321,7 +321,7 @@ static const struct of_device_id pmic_glink_ucsi_of_quirks[] = { { .compatible = "qcom,sc8280xp-pmic-glink", .data = &quirk_sc8280xp, }, { .compatible = "qcom,sm8350-pmic-glink", .data = &quirk_sc8180x, }, { .compatible = "qcom,sm8450-pmic-glink", .data = &quirk_sm8450, }, - { .compatible = "qcom,sm8550-pmic-glink", .data = &quirk_sc8280xp, }, + { .compatible = "qcom,sm8550-pmic-glink", .data = &quirk_sm8450, }, {} };