Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1910715lqb; Mon, 27 May 2024 01:16:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsCxkBe3J6rK8iRNodWtUoiXreA64DzARadn+jscmdKR82HXC6sN8zUpS1rJtFjgKeGLudkNCOqN7yuY0L51jnNirEBY2BI0nUrQzSKQ== X-Google-Smtp-Source: AGHT+IH7s0cESBzp6280RPredc5dgRkbzf7KjWJwBJ8dfLLuEiTTLaZaxuI2iw5v7YSTTtlViYdi X-Received: by 2002:a17:906:fb03:b0:a62:415b:b5c with SMTP id a640c23a62f3a-a62641a2a26mr538485566b.5.1716797791297; Mon, 27 May 2024 01:16:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716797791; cv=pass; d=google.com; s=arc-20160816; b=b757Z4rADF/KwVuMDlK9wDl33UoAWtAbN1DLZKlySV/SP0ubypGDU8iMOUTcL9BpG5 av3Uz661+hFe7JRmeGTTKx+itj1S2V4XXlLDNX+hrdwvcYQehsdFwkZ+1hu/PGB3GyAH vILPjdz5rE48nRVetc0BElHe/UXSqBmrRu5Amgv5aIBIC1xGI/iu2ZvdWbzSSByjckF+ gf/3L5Yamo2MT9ATinajPSMLjP++tGw2xr+mVJbbtPHaaLuXmrpJCc+Po6fiP5Razz5e roYa9oF8gz+5TZObK/zxsSt2mQwzLkGo3xDpYRSqHAowhUsHfZpIK44icUC+6mUxvDgk 5TRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=GlYGuShbJYJGIFE8S2W701RIcZqUyd2QZ8ocar3toek=; fh=egQ1HOOcGwXeaxkeHPMkc4QjPCMja2GZetiPWi0a5NY=; b=tUYrWe25fpTySJATw9HmYL6bIeCyEd7AXIe07WiCGCUAuXRLpYGLM8U/ieRz8R8TqQ Nie/qzKBGqSrX+CIoeN+8W+5EZTMTPWlxkIcRVgOoHy7FTMkBMjp2/AQaJXrEfpq+Zi6 pkr2nuXU/BfChzfnbJfaZiKUFRrgTWxKfawGH2Ve0tdnC80FuoSTkZqLER5+1d0oxUnp W1ugR/igFYIi6p7/P6w5CaleaBxcX22yOMlr+jH9LZyEZF9h63C5SI4wlSKPlq340gkl 30D8n5ZVefNBBZMW4TX8kJYakJ4zAYPyXSaah0R4TFmdKfm/OiHk4zsrkQJDUVmJtw5S mcOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R0jEZN+T; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190202-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc68d08si362815666b.632.2024.05.27.01.16.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:16:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190202-linux.lists.archive=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=@linaro.org header.s=google header.b=R0jEZN+T; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190202-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 0C5681F21565 for ; Mon, 27 May 2024 08:16:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 285FB53364; Mon, 27 May 2024 08:16:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="R0jEZN+T" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 B85304597F for ; Mon, 27 May 2024 08:16:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797773; cv=none; b=lT5c6tVoY6N6gEZhCIUHtBdUuYrJLjtALZYpMyka+Wo4h3/1hcYlVTaveGqvrb3a5owfRvR6a1KZ5a+eClxxutSA8X6uHFaVd2mmQ0AZH1OBFN5FV9h9pvfVRZL9QLVjtIVCx2GfAjJy5iueWF7alGI5dfYcGtLqotqxetRwYvg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797773; c=relaxed/simple; bh=3i2hn3y4fgfN0pMQVA6pExH0GY75p5HNfE+xCB2CqTM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=pnBRXFBwdFVfWgkcQZEBpsRMOxT5E05pwGogBG8slnSYbzEAnHrlTF7Doi3jhKMFEQOfATQpqTjM5G7FuW+Nn12NNcxiQsHw+qYG5ZQoMOnGNMO+qFpPGbXk/qFuooJi6x0WgpWPd9qpyFmxCRl+6fKvWAKWOlXm9uJYG78jZCs= 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=R0jEZN+T; arc=none smtp.client-ip=209.85.208.50 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 Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-578517c7ae9so3459244a12.3 for ; Mon, 27 May 2024 01:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716797770; x=1717402570; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=GlYGuShbJYJGIFE8S2W701RIcZqUyd2QZ8ocar3toek=; b=R0jEZN+TXfQB2ynEIRrWtvuxcj/FhiZOf4sfEsiP/eP/MAsnBh+gBFs86ccbzJ5Ph1 xpPOKKpiEsTaZt1j3UXPuy4nXNoJrDMFFak4mAf23ebWzbJyGnAo1TymdRcxKS66mYn1 lP8p1A9S7hWVbKVhdccEBl+pfqzBj6hGy56DS1wjBoceHLIHkxXJwwWReGx+hIN46ghu 87dgfjXh6OU/uiIaXWSXunXTpiyz4awM0445FrtSRMPd4zybW3psRU3etn1J7kE6LxSk gHFuetctHLG38JMKldkXKlUs9UYQaRxFApdbcRSxdkCmrbMPOAqS8sc3icGq28HMzfam AQwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716797770; x=1717402570; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GlYGuShbJYJGIFE8S2W701RIcZqUyd2QZ8ocar3toek=; b=FasFE0N8Ihk3DV4xbhVwSwauPj/ZRFLDAm9VRrPTXrp22/TKhZBBZ7OasdUNU91gOj xdF8ozygXjFCR6AC4fxDTRKJmrOjbvVYa8oFkZX7LiJHdxQY1eELMw4PBm9q+n06Qc/0 TFHk2PS6xWmOwbph/yR958DEu43rCN9xo6yrJZjrjvmJJRPC2450KuXiA72MsxCI962I JqYtql88Q9SG+xC3yYmkG79tIsv31uCoIi1OBgYoiXF1pvky9YrHfoxrypD4c4y2/1m4 MQzPcIcAMQ0myVE3DzAms6OlkQkoC8PUNzycW+MrT311vpXrpUMkIcIcNz9sEJdwOHqr 8A7A== X-Forwarded-Encrypted: i=1; AJvYcCWZ+LkqjiYIqTuCKt8pNRMMq/klX2S8+Yb3hcM7vhTMlm51HSPNfqvKU6BF0a7Watd9Cr5gkQZBVHyIIUPV9nnRa5Z5azxNYT4sbDPY X-Gm-Message-State: AOJu0Yw4KwSxKBMaV5bUBwoP0/02lWVug8yaMT+WdgKRRiG/lG1Eq32N EJ44Sgb/GPBqa+eOuqwH/5mTI/jSWU+8V79j438BLljDhr3hb8zMMcqAYJeKnoS6Ke9TrceuecU u X-Received: by 2002:a50:951e:0:b0:578:c161:525d with SMTP id 4fb4d7f45d1cf-578c161554dmr3152304a12.25.1716797769887; Mon, 27 May 2024 01:16:09 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579d5941903sm924105a12.83.2024.05.27.01.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:16:09 -0700 (PDT) From: Abel Vesa Date: Mon, 27 May 2024 11:16:01 +0300 Subject: [PATCH] soc: qcom: pmic_glink: Increase max ports to 3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240527-x1e80100-soc-qcom-pmic-glink-v1-1-e5c4cda2f745@linaro.org> X-B4-Tracking: v=1; b=H4sIAEBBVGYC/x3MSwqEMAwA0KtI1hNIq8XPVQYXWlMNM7baggji3 S0u3+ZdkDgKJ+iKCyIfkiT4DPUpwC6DnxllygZNuiKjNZ6KG1JEmILF3YYVt1Uszn/xP3TlWCv j2LiWIBdbZCfn23/7+34APJ+I9m4AAAA= To: Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=911; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=3i2hn3y4fgfN0pMQVA6pExH0GY75p5HNfE+xCB2CqTM=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmVEFEzkvlCFJTDIvwLXKRmzyZ0oUYtV0UhbPCY VKZfkL5Ke+JAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZlRBRAAKCRAbX0TJAJUV VqTaD/49WtpPUvqp26jREgUjsePi2mbdc6Vz5rhiUEw+JaAkmQgDq4Rxi1Gk3voBWOgXrIBT6UG yVCTBTnJgcrIkH1RpQFVZaOe8URkKR/6bVOwBL2xj5GdPUWyaqns4dCCZPh3/hfUmod+HShSVea BpWVtvnj/KvC17I2Z7wc1+BPLvPvKPdLHubWIM44N9qYAHVxn+jTZFUz6HCi67hXKgBuvDF3B/0 BRsUdtw9MSca+qaytyovB4pajQDW71ArUDGtolrcg+83vxZhwM4qBwENNcNUezdtT07lF36sLM0 FTRrhrOnOH/jW2AVCVKtuVLqhvnH9EBbhrcUcd1gFlh10+x9uERUsSsC2/ifP0BoEp64xVhNUoc uwZvLCe/orz7qYEaW1hXpwu5ljVCmGnsG/IxnqXqZfrAYMuCtu8PpYFIpYERaIMDg1q4y35YXKm IETtiQbkDHDNQHpchXfW8Mdmnhqzv9W8Ppm3pYppCnbnfpj5TixeHHSUv+YGZfqbGuHY/uQ02nn DFGLJF+GeHUyM9879jbM1rkF3aMJkHE6bkfn0P8B/XM5WQ2U/tG5lu0KhJ069O3SJt+pLlNGt0Y OCJq5j7dLVvCQIBMUgE7SpnAZcIQeuBhyMTKQDcUudRWLpRkH9wa/8ABrMizPqJn26GlgqjC2wA +o+X7dBsT3DOEMg== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Up until now, all Qualcomm platforms only had maximum 2 ports. The X Elite (x1e80100) adds a third one. Increase the maximum allowed to 3. Signed-off-by: Abel Vesa --- drivers/soc/qcom/pmic_glink_altmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/pmic_glink_altmode.c b/drivers/soc/qcom/pmic_glink_altmode.c index b3808fc24c69..1e0808b3cb93 100644 --- a/drivers/soc/qcom/pmic_glink_altmode.c +++ b/drivers/soc/qcom/pmic_glink_altmode.c @@ -20,7 +20,7 @@ #include -#define PMIC_GLINK_MAX_PORTS 2 +#define PMIC_GLINK_MAX_PORTS 3 #define USBC_SC8180X_NOTIFY_IND 0x13 #define USBC_CMD_WRITE_REQ 0x15 --- base-commit: 3689b0ef08b70e4e03b82ebd37730a03a672853a change-id: 20240522-x1e80100-soc-qcom-pmic-glink-f3b715fe5f90 Best regards, -- Abel Vesa