Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2020328lqe; Tue, 9 Apr 2024 07:29:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9zsdotGjKGKNNaN3M5IA25K8BosGwvaeSkQtptrMy56tBfNt/Pn+g2ZntrtZONcgtRe7K9orWoC/bXcevxG0pjZBPut9AU1SyYpqxqA== X-Google-Smtp-Source: AGHT+IHRa7HSdnz2WGYvXoDwLivc/DGFfth1vS6IWCQseiXJHPGM1BtSXghwCmjN4aaj7xpsv8dr X-Received: by 2002:a17:906:3791:b0:a51:a329:cd76 with SMTP id n17-20020a170906379100b00a51a329cd76mr7101964ejc.13.1712672975352; Tue, 09 Apr 2024 07:29:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712672975; cv=pass; d=google.com; s=arc-20160816; b=EK8Q7l3crHJ6fkBxTgWDX4zBIhzFXTLH4Ivxjr2eScgM0iw9KGvTKf9An72nUwEFg1 Zl12imaAz0GeMcY0eozSZRWFsjuLat54S+T/XbRRlG5isiMVIrwduCNQ4rNUnbfHR2M4 SYJKyu/hFiSpKr7VLfkaXVgVgtiVjDyfff9Hw11AypVtcekRSKl8EFN+G/DYL/4ra5gs ex4K4AwHvQRYLQa73kO+IzIbcnW7WTPu9+POagEKzVYX5LmHYpNM77KiU9a5soqJyBHn FU5ytOeFAv2uQc1LZJXihJN5d2mOU/zeQnpS2XQak+tZffq/2NLhaaA4/FP8+gtjBlhm E87A== 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=XwnaaipznVoDEcKs4Me335T76hxHxjEZxfF+WyLdSeU=; fh=U3iJ+3wnzc8MSdEcTYYZWo25d69b0bInlf49dbrLqZU=; b=Ve5a8MHOphnu93IvRwKDp/Fta2ht24C2SgRaf44uyugIUV7r/1vTgcRulO4MbC1Ic0 AMte38POwZcIsC2lXWfu+QbZkB/H+JKeV4M8JCo3ptrFGgmvjkwSDgFja8erZTRfHTnv XMlzTRzTZaT0Gm7D4huz3MbNIdkcjU06V7L3puz/0MGYYnf1Jej1LQ0crirpD1aqwx3q y8BfzrMIZQHrgQjtdh7xyrRcMZ009bnxOnOg2Lq+SQQpEXl3RNpEXMB3zRQoay3J+nX5 Do1m+z6GXWDP+U+885AGIcm/91QkGTZg7jiLCcVbvMYutb0f5UB5BvoZPfT4jnAep5lF WIkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N8+vHTSr; 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-137090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137090-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 ov12-20020a170906fc0c00b00a51dfabe26asi1477955ejb.885.2024.04.09.07.29.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:29:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137090-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=N8+vHTSr; 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-137090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137090-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 190111F257D9 for ; Tue, 9 Apr 2024 14:29:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74990130A61; Tue, 9 Apr 2024 14:28:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="N8+vHTSr" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 04E8E130A56 for ; Tue, 9 Apr 2024 14:28:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672900; cv=none; b=fyxBkXYtWGkgECITC4SF6U0xU3PZd9yPFZ9f5dvCDj7qULrgzfoJXyjNfr+IjHm0+wLwgi/lYwrFRusLpk2Mv1gWAnBTLI9OZqeqTQmtsVKC5bP1vpFsiE+DHJxWqxhAA3ZSolSv5rlXZQOM5ygluZWSq45mvNlbBHXPxFRdM9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672900; c=relaxed/simple; bh=Ert28OT3aAf58lII8YJfBxuxx9CsXW8kB9StD1Pp5Qs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jPwwKM/szUWuC4sZX1pcv9WhKZ1wihm0ef6PoY/qxf8tbcKALznVoG+RcCvfLGJLlY1/mSGXA8V/V1hirz4EHErFlL207W9PI/riOArEUpJ1Pn6LO7wV0n+AbsGCXBTSfCzERyUWIBk+bGmmb8QS6nFcCxTy+lj/T18OsdnGlGw= 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=N8+vHTSr; arc=none smtp.client-ip=209.85.208.175 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-lj1-f175.google.com with SMTP id 38308e7fff4ca-2d6c9678cbdso73949791fa.2 for ; Tue, 09 Apr 2024 07:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712672897; x=1713277697; 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=XwnaaipznVoDEcKs4Me335T76hxHxjEZxfF+WyLdSeU=; b=N8+vHTSr63yDYo+jvBDaX6RVzetgd+Pzdwnwf6vo5GSHUbMBAjcZaxyAYOkKbzUt7k g5sc2PpTE65/Wtkx2Vh9VHs81SY3XqAEafteC6C7aRr63IfIyZCWm+s0u2lUjS9mC/ZD 0p+G4kJ4E5yhSsslwMABB7RsaxxsPyDBIyxWuFRUVyUp+NiGvnZ89hAjbKtxLCnTTMS4 Uw6tZzFqJlL2JlHNeTSXpj5qmcvplQ45GEHTVAu7kr6WtaF1DC9n60B5ZOdfnTk72Qnm 6UHbm49HlG26I5cZTrRLSYpgGjFZ7rh3/Nl+mF2b7KtgFfxC6J+8jqU9h/UPsDKvFm6J KSLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712672897; x=1713277697; 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=XwnaaipznVoDEcKs4Me335T76hxHxjEZxfF+WyLdSeU=; b=sYxdoVr3uQC15cW0ZlUTx3IfE9BjCFMPT6cZb41rHZ4VLYd/RbEMAE5r2z4PxkOd1/ wfUzTSTja8ehnnm39YGLukweM+Qy3Z75djx0BS4DKr5G7Dck4PJBbyeh2qAJTB8wSYxF MWKiBbjb0DNlOLIersHlya9hDD3ul66ylQQ2Zeg7qyOs8nV5EmL8q4CK9hFYZhytxKBn TxG3y9xvhPSRzKfP6Dot/PDVPdl3tVR5m+hF5mdwvdIyfH9YSkB5cNGESjFJL2d5zln+ ziAXLMp1547ZzdcTHV4/z/9WQkrSwzvMZk0o86wX4X9IX70HcpTLDTxJLkB6J7FyOPQV kiVw== X-Forwarded-Encrypted: i=1; AJvYcCUcL+wSJ5LSbSXeCfdfEj2jQYOgGulmMwb9IRoNTNXsKs3t4dLpBlRpK2xtzq+mTtuey/Boa+DX3r0ZPGVw5IEyB6VRWVlEkk0hP5eH X-Gm-Message-State: AOJu0YwlGuWyM7jGeVfsJfAc8oNUc1FQEEsrRWUhk6/23e8GsuwGUt/7 xxrCqTL9VMWjSiKx6tI3yGu77T+AqU8vqT3qNrfmLzGD1D9EWq6DqKu25h+W5p0= X-Received: by 2002:a19:750b:0:b0:516:d471:18a0 with SMTP id y11-20020a19750b000000b00516d47118a0mr7132030lfe.67.1712672897123; Tue, 09 Apr 2024 07:28:17 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d9-20020ac25ec9000000b00515d2ee5b38sm1556445lfq.48.2024.04.09.07.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:28:16 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 09 Apr 2024 17:28:15 +0300 Subject: [PATCH v2 5/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: add USB-C orientation GPIOs 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: <20240409-hdk-orientation-gpios-v2-5-658efd993987@linaro.org> References: <20240409-hdk-orientation-gpios-v2-0-658efd993987@linaro.org> In-Reply-To: <20240409-hdk-orientation-gpios-v2-0-658efd993987@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=832; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Ert28OT3aAf58lII8YJfBxuxx9CsXW8kB9StD1Pp5Qs=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmFVB8HxL0CEq+ZBrZZ9yNuRSbPD/diMWSYCHdF DMI5Bz1LxSJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhVQfAAKCRCLPIo+Aiko 1egBB/9cfBf+sbB5WA1+SEGcnfUuRfGkbcCVokMfMMvS4FgW5yXoqja8JxOgNTn+9xUhTMxD/wj 8b+YY386hhh0tN8JQRvqbOH2KqcTCiW9QMrZjEeDXsrLJlQ0H6ueitAI+xZe0HziTQBpjS8VxfQ kXXJKrg6FEYJS4YiaqDEUAFXKihzYbMAuf3Y2s443l2mM0vXQwA2NnilYLG76Hf88wCLzV7O1UB jEK6zJtC/teY53b15cNQcbHRtqiESLEiImKjOtPV5jDEK8zYNQaLiTdoQSVuyPM+jVjru0TZytJ ZxAgAWBfHT0M70vfWKJC7FSIbOo6T1Jk0orrd+4qV5W7x3E3 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Define the USB-C orientation GPIOs so that the USB-C ports orientation is known without having to resort to the altmode notifications. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 6f2e1c732ed3..6af99116c715 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -51,6 +51,8 @@ pmic-glink { #address-cells = <1>; #size-cells = <0>; + orientation-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>, + <&tlmm 58 GPIO_ACTIVE_HIGH>; connector@0 { compatible = "usb-c-connector"; -- 2.39.2