Message ID | 20240208-fp5-pmic-glink-v2-2-4837d4abd5a4@fairphone.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-57777-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp55972dyd; Thu, 8 Feb 2024 01:54:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZgkt6Copf3sp7w9MpxdO2aX7n/KDcDUY7AIvt4htXYg0bWJi3Dfspe4jmR6gxOJDKR3T3 X-Received: by 2002:a17:906:315a:b0:a38:40fc:2bcf with SMTP id e26-20020a170906315a00b00a3840fc2bcfmr4785650eje.60.1707386076094; Thu, 08 Feb 2024 01:54:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707386076; cv=pass; d=google.com; s=arc-20160816; b=fX6U8xGXPP0E7s6izdxgJc+cNqMGfP2syb5+RH9lrVVmDAcSkmxZhoKt5lEZdKGztq UNqqNcq8O64AxdpHQUhZNUImow2H8oGcFxBED0Zyqvi+FfM7gtEJam9WmC8O0wsPB/ZU cNEV6qOndLh6plVBS29sfQJnHK5XU+me5jVqqMHUCY0I36F6ihZx5t/hAUn1v588eFNw 3SCt9uNzrV/qFOj94VbzsG1F0MYWqPuzJaIApB2xbUYxLUf8v70c380Up31KchVUMJxM A4+vfVyjPikA9diPFMRLTC/Ebzb8asGVfNPzXcSte/NLR56REwELZvMHNdg1KL12/1yg KicA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ksTPGKy9XnG6Wf0pky3mdloJMv6LFXQiqMfviW2zv8Q=; fh=7jckVeFZncaT8SN7/6v/bH18H1toQ8JsKynOff9Tq+k=; b=iyuBiODiT2DTTZj8VWoxlTXQuQbsqVynx1xXu9NvC2RhvFgp76D21P1F1YjvM2KOag iUYH2iU/3kAGZ6N/Idexg9KlUNdvOdXFdrzyMtgvdUSJO9OAkdlohKujFKHoBPO+22xD LJMllD4g0On0l+7cRizyPeB00tw57GflFlgKZ9J0oIaRxAeHWBvwnhy2NR/pDWVIotCS pg7bfUgtEAzlwJlgM7w3c9UlbikO6z0ajYxGJroyionbkBs1nEYtGOzQliWiqVLLLUPE 7ol4p/MGkRrtPhk4g8QfZzKXguhb3P/Mq23jHvt7b0eyInt0X+4t2ZtcURcyQZ/sKVAS I4Kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Y27UAvjK; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-57777-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57777-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com X-Forwarded-Encrypted: i=2; AJvYcCVjSjBeW13y5fW2yoKttyjjwwb6U1Nj2pYWA8syOdgfoJ+OZvRq+ThjflmZ8vX3lNE/FhgreMl0FB7l0sK1s5TLgOnBqw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gh19-20020a170906e09300b00a3bad8db0d2si336558ejb.279.2024.02.08.01.54.35 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:54:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57777-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Y27UAvjK; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-57777-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57777-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A6A3D1F26E7D for <ouuuleilei@gmail.com>; Thu, 8 Feb 2024 09:54:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAD726E2C3; Thu, 8 Feb 2024 09:53:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="Y27UAvjK" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 392206D1B4 for <linux-kernel@vger.kernel.org>; Thu, 8 Feb 2024 09:53:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707386031; cv=none; b=kulT3NnBwSli3VgBK2toSvo0GyvhDP++7dlpKe+fJPEl86FaPZdKhpqY6LRez0DrfdQklCUunMrgA9KWPcVXCfs1j+Do0nyryR1psxVZo7KKD2CWqwaRGMjAQNoiEpAx0leAsCWCLFF7Gd+zZxe+YokPAIJXmLPZYHZ+dqVMFic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707386031; c=relaxed/simple; bh=nneSNwEDwWC5ZCN/Y9jDymQQYLA3++FvlbPfJ9Qdtsw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CG0Ut40lYiWjtcOKq3f+jxlp/aeu2zHOiHWwZ40onfgsxXYaq8k7RJMoEnqice26jn4bQaTaEoxZaKaj/heV1cGmNNPyO1S1VLXfq55e5Tpbkv61Xd9NwAw/qdNoIm16f6jJ4L6xGdYYgEKy1QBkS+9VUi7IFLCZIZ0u7OhRh3Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=Y27UAvjK; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d0d7985dfdso1556201fa.2 for <linux-kernel@vger.kernel.org>; Thu, 08 Feb 2024 01:53:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1707386025; x=1707990825; 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=ksTPGKy9XnG6Wf0pky3mdloJMv6LFXQiqMfviW2zv8Q=; b=Y27UAvjK2nq8JFezrj1T07iClK5t7YuquF5M8hAob80we0qr2nfglbBBgGGlcLdRak FjNCrlHEArcOBM5KuiSvp1+y91iTaXLu4t22IIwieI9MWi0ESxqT/dAP9OLbJv7ltsC7 Yo1zvFPAUXol6PABrough19n9ZFWOa/LkECe7Ndfdg3xNK8JMxHKIRJQZJp1hW1KdacO 35/Y4+TnTTFv7oYkI9Y/NP0rAbcW41PVaXLgNladI2DA1EKeZweXnzZDTAXTZI3xG4+e KuCRFWiTxWwAvFkE8zWisZP10AD/IP3xcZC/PKyGGz/1YcL33OUPH1AQskt7LL1MA5+O 36Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707386025; x=1707990825; 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=ksTPGKy9XnG6Wf0pky3mdloJMv6LFXQiqMfviW2zv8Q=; b=fcF0VPtHeshC648tzEuVIm9BjHeQLxqUlh8qUIt2kvtbJI1V0/UDhqz4tE9Df5BFIf 2VNKh53CQuuy7pHlsm++/u7Tc/s0JWvWMG9X4LPnqDtx06Kk5zQfWZgT1052FWMymWWv csRVkjwWk/vzX0xx/rfWU2w4j9jcBmqb3URuFlxwg8ZtP0Hbq0Y3zwoe8bsxWEaQ8vj+ ruZTr5+EvshPVAtilRsjIYBphwdxaa3i/Iyd2F6sumylABNhDhFFjmrhApWdalfmCp2h 4ixbsL87Vyef2KwQKp5XqVJA45p2L9yOLdWOJAscf11Qd7ofnfjU1wJDiZwkyUFK4uc3 +RNA== X-Gm-Message-State: AOJu0YwljEUtRh5Ga3oHF1OiqGBTnU6uwN5Nnk7EZfda0q+yveveAFcM sP7SnP3eKAVcRFxSRyaBVe7mTWD4RWtPiQy/8kGmmsxj1Ba+SH25vZ6d9To+Icc= X-Received: by 2002:a05:651c:1548:b0:2d0:d802:8592 with SMTP id y8-20020a05651c154800b002d0d8028592mr171156ljp.25.1707386025257; Thu, 08 Feb 2024 01:53:45 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUWQclMxhiDbdB5v3FN884PUDZ7Ixl0M3bttKHmdqzUAJuoh81Z0AwC8Rwa9vYCr6y2Ru8eLuFyOT+nteP0uPfPDo/6xBitevVKGm/UkHx9CNlowPwnl46u/x85hK31T8PMWaJRtFKp6pj20vZOrPklHesxZxIFwdcbGPnDVTRo+o1Lx1krfBlqlvfG9l1Rs+eu8YGHYmsoxeux8jdMJ2/DguJiQStBVxg9kkMxHhJ1xn2DsgJFab4gUolVwmFDA+yWHaI/aPGLB7PfvUV4tMNnjK46FCsWP3e213CNAaD9+7G2VGxOUG87hTPCV/MdLJQC3RHJU28+/qeK374iyuypQ1/EDiNVG77vKZktAJNGZ9QjjhNxZxQ8uo0lIHaFMrbm1K++Kzd04Dqf/m2FihtK88LD/05zwRVamisEFCpJIWl1NIzlo0W6hfp+J8J4fyATOaAvvx+RSoqzmpwjYkXroTZaZJ2asu4FOIBTv+J4vHX0n5rRMPgZ3EI2XQS7MT6ODFoabudQhexQAATiz+btCGAat4EsPARk13p5Sd+pKjqrcG/YPOSUrDz2NQTlGE3BpQsXVhgPWpAECMINpFh3stPW30TqUR4rvZbO2i0B Received: from otso.luca.vpn.lucaweiss.eu (ip-185-104-137-32.ptr.icomera.net. [185.104.137.32]) by smtp.gmail.com with ESMTPSA id d20-20020a170903209400b001d8f111804asm2956685plc.113.2024.02.08.01.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:53:44 -0800 (PST) From: Luca Weiss <luca.weiss@fairphone.com> Date: Thu, 08 Feb 2024 10:52:33 +0100 Subject: [PATCH v2 2/2] usb: typec: ucsi: Add qcm6490-pmic-glink as needing PDOS quirk Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240208-fp5-pmic-glink-v2-2-4837d4abd5a4@fairphone.com> References: <20240208-fp5-pmic-glink-v2-0-4837d4abd5a4@fairphone.com> In-Reply-To: <20240208-fp5-pmic-glink-v2-0-4837d4abd5a4@fairphone.com> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, cros-qcom-dts-watchers@chromium.org, Rob Herring <robh@kernel.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790324062017817200 X-GMAIL-MSGID: 1790324062017817200 |
Series |
Fairphone 5 PMIC-GLINK support (USB-C, charger, fuel gauge)
|
|
Commit Message
Luca Weiss
Feb. 8, 2024, 9:52 a.m. UTC
The QCM6490 Linux Android firmware needs this workaround as well. Add it to the list. Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- drivers/usb/typec/ucsi/ucsi_glink.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c index 53a7ede8556d..0bd3f6dee678 100644 --- a/drivers/usb/typec/ucsi/ucsi_glink.c +++ b/drivers/usb/typec/ucsi/ucsi_glink.c @@ -298,6 +298,7 @@ static void pmic_glink_ucsi_destroy(void *data) } static const struct of_device_id pmic_glink_ucsi_of_quirks[] = { + { .compatible = "qcom,qcm6490-pmic-glink", .data = (void *)UCSI_NO_PARTNER_PDOS, }, { .compatible = "qcom,sc8180x-pmic-glink", .data = (void *)UCSI_NO_PARTNER_PDOS, }, { .compatible = "qcom,sc8280xp-pmic-glink", .data = (void *)UCSI_NO_PARTNER_PDOS, }, { .compatible = "qcom,sm8350-pmic-glink", .data = (void *)UCSI_NO_PARTNER_PDOS, },