Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1093051lqe; Sun, 7 Apr 2024 19:35:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqkFTNAHUHW/getexIDdGvAk48MXBuqU3qiKi0LIH0O6jN/DWa9fnbmYu/8fyyMmA4UUbpmys02nehcZluJThpwoxy0Cdsfo6u4VPXKA== X-Google-Smtp-Source: AGHT+IF7DaFUm4nOcf+We+TEnuIRZvFdyLUWLPDOc36lw1GkntHQIUcco6zBdxIFaNbpHqFHp+NS X-Received: by 2002:a05:620a:b92:b0:78a:74e:378f with SMTP id k18-20020a05620a0b9200b0078a074e378fmr7297234qkh.24.1712543701324; Sun, 07 Apr 2024 19:35:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712543701; cv=pass; d=google.com; s=arc-20160816; b=Ut57xNNm/dMIs3p+9l9dlD+IE1P41Uj4yugMmKBz16OgKeC0CPkQNaaX53s+/f6JZY +14BGo2wvee6+pypwN1SoITgGAGgexFx+ie8ivCX3sYy98TJvqP/Thl4QBgYPZx/d5U4 bdM2LlcdCTV3e4J+m0NmJ//jAeRggfYk1SP9crwzTQ4OQ1ICHGOnIa8iTNfHmuLMyOxU Is627nFUQQE2OM+u27anAIz9gf9Q388Qv6ZjA+3tHXLe5+TxBMkv8g5gQQ53+28yqvwv p3cmUs4egMyiq24wQ+QQnxMA5BbITOo2VfUKdMKBEGf2L6fh7ViwnyDADQOhwqSzUVUI vaXg== 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=zmvs4ubFXCV2rLOhn85QR7EXQWLsmqPX+Bv3DHJ53RU=; b=mH8RxnRgbAb6rLONdPbdIbBZ7OXInfMXLHI7tztSE125Sxf/VSm2f0HP6nubHwuCC2 cHpEMTBHf3inFqC1IGkGNsyP2/P6B2Fi8hxZij9HHDBQ7XaRQZ3l9W1i87Sk3+VkSYDi Vwd/3XPCNOmWr2FwD1wQ7zfB22NJFwEEs4IehfsQDWyaC+zsLGUkgzYi8r0MHCuXzUCa UpxHJfNdUcGGvKYa5d5kCb6GF2gGY0aFWSJfvDzC5vaBwojfX8p2cBf7OHKkPuqCOlYU XRuWcqSG/3h6SeWINIzURlScWvYuVtTdZ4x66opH81KF3Zq8SFIG0p9sti6vDrhMTuI8 jEeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t8cwFbQJ; 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-134722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x9-20020a05620a098900b0078d4d4788e0si6298738qkx.153.2024.04.07.19.35.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t8cwFbQJ; 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-134722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134722-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 144C81C20D4F for ; Mon, 8 Apr 2024 02:35:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBD77BE55; Mon, 8 Apr 2024 02:34:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="t8cwFbQJ" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 4755F186A for ; Mon, 8 Apr 2024 02:34:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712543651; cv=none; b=BCShfhrMGK/mwKgoJk5sJ6WTb2GqRVT+MpLcXLcyJR8rI9HESdfuvyR8iYGNriLeGWgp5HW5RbNYKGXduycU16Klg74Jcla/eqxy3Ht7N5ca48u5CWZNXDtOeBvm8y2ZKZa/Em3q5H2xeSZ7R3yf21f2tzxbvU+1BQKmuBqcUNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712543651; c=relaxed/simple; bh=Ert28OT3aAf58lII8YJfBxuxx9CsXW8kB9StD1Pp5Qs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JaSm0pzVgA5fZZz5VDwBPadxTt6Fj/Vkg9GBOvIgY7qUEmV42+UiypB3nTAyXTrn84sC0GdAvUvNmUcm2lcCPN6lFq2vHiyN3mZZHhk4KPMX2p2rA/nhrOIBhlxRHZX0+q+z06Ue+qaJxPxFEicNywu1H0puK4IFavaMFoSwvh0= 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=t8cwFbQJ; arc=none smtp.client-ip=209.85.208.173 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-f173.google.com with SMTP id 38308e7fff4ca-2d717603aa5so47648301fa.0 for ; Sun, 07 Apr 2024 19:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712543647; x=1713148447; 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=t8cwFbQJ544Fsi2oGZipUGNqeymB/NPZXrcOUPTizqizUvVF2KJTDIVH4kgDlMB5Cm nJo4OqMhUbwcuyVBBVlkWhZ2egLtUQDwb2EQZFHYHSi0zJdKy6SRYC4Y5N3sCne6so1S VRkaHSJZx2lqfwZBIpvj5AuVkjljOZP4rrl7OszLXtGPbbLRmrjy9CUfbVkZF9NbJ6qL a8qSlkRCL7fZ4FmXR2gkmg0ezIU9fy1jLjrJqfbLnwOJkezgJrIUDvv9mTh5GezgsIaD bCJHkIqgQRS1Ew55TIXpRkMk2bFhweak46Q4yvU18OT/TV0WLs1gYdlIVd6mn/7e895C gY7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712543647; x=1713148447; 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=XH8FmQ7nSnpz4YOjs1Pq2dWkCIhaadecMdHbZ3kpvxq3G27V5ynbPLHPfwo5I5Bg/r fEoQ0nvsbc74m5kJKCMhoA76xlIp+HYHEEox/TVuC2s2sSFZVmGGWZ5rpyhNY3Mt1gto y2HhPD9sfLYSLbSaAgPzKN76J564a23P3eN4OUw68x8+SKgTrLUX5fdEVUApeiX7ybnC zXkPL1xeJiDxoLcgjnM/AX0tw6FrLXY76xTYVHCDt5iUGo/iriE6ml57vfZlpLmlvjoV RwmpQGed32QxfJKC7jwQ8A8+45puI9OqonmZKXwoQRLSS3RTJLCfhlHoa3lZUu0YB5Ik us+Q== X-Forwarded-Encrypted: i=1; AJvYcCVnaWMitgPu/i21dpDiqhwus8LzyDtMDp60CFX7vEFBLcLTn7bx2SMg5gD4prl9XuZr1qiUeM0rx6xhFwrHTxsBOOeuYRWLgd6lDhjE X-Gm-Message-State: AOJu0Yy8H8ZnXlnQ5cevqz8jMQOBL0jpr22Syawf8y4FjKhfTVzJsDTN QLlsk41T78s0OpG+UcJZiMRrNTy+ZXVBG7efEChSVB4VOaiYMXg5QWEVV9Yj+HY= X-Received: by 2002:a05:6512:545:b0:516:cc06:fa03 with SMTP id h5-20020a056512054500b00516cc06fa03mr5078541lfl.56.1712543647279; Sun, 07 Apr 2024 19:34:07 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h5-20020a0565123c8500b00516d58590e1sm943673lfv.250.2024.04.07.19.34.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:34:06 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 08 Apr 2024 05:34:02 +0300 Subject: [PATCH 4/4] 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: <20240408-hdk-orientation-gpios-v1-4-8064ba43e52a@linaro.org> References: <20240408-hdk-orientation-gpios-v1-0-8064ba43e52a@linaro.org> In-Reply-To: <20240408-hdk-orientation-gpios-v1-0-8064ba43e52a@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 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/pANAwAKAYs8ij4CKSjVAcsmYgBmE1ebY0lkp98CGbN9OzyJqxqO+bLlcmEkXRGC1 nGcd0grDQ2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhNXmwAKCRCLPIo+Aiko 1bRFB/4sVdv5bvMgsO7e1xKi3duio7Heu9/JygamxO3NYnLAEoPUl9KfaX54V5RHmCC7r5sgz50 up+vpdtJtf+y9+Nx3hS1s8vs4OA3uGwcZ/uYXrx4ahWOQMn72nS/VqBuHIu337UYtNFPkjyE1nP j0Ml8o4s25/nfiHVJYYXM2xd8wyUUhXyuc43docVTCw8OXbFfl1KiNrnj3uXrzcuIZfpHhxIwkJ hpb5AwNcIjkN6wjuuPkgALGoIB0KDcKgM7lFMXRmFQgkyI5SbL8KQIbK1XU+EJ1Rm6Tlf74IKJR 8gErMQaxV6CZG3v3HBZ0pd4e2KHQFK0G0q7dcK0QnfYgo4p5 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