Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1092917lqe; Sun, 7 Apr 2024 19:34:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXr8MVJoM86YsV1brv8dajmR+M0/vHLVAxu03lqfbv7DdamvhPU5I1IZZnS8URtgd8ceQaq6wdDTn3PeQPHghf+etV1pRcW7UQptmsTDg== X-Google-Smtp-Source: AGHT+IFwHAK7ufxAPaVG2/8F3Cb7rjJbhVyKhylzGoZmOClvKzGCDU+sCj3XyYyGAqHMGOzxpbYY X-Received: by 2002:a05:6808:de7:b0:3c5:f70d:f83 with SMTP id g39-20020a0568080de700b003c5f70d0f83mr872670oic.18.1712543676892; Sun, 07 Apr 2024 19:34:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712543676; cv=pass; d=google.com; s=arc-20160816; b=JwLL8/hHyjT58DiricpzsTUYjHR1Z7DVwKPJQ9aeCxQT1S6qItGoaGbxDhQTmkCoyl yvkYybdls2tKkKX+J8Cw4+q1EfI+6HWA8+6ZMtegUNL22asz45j4mDUcQ3sdd470GHVs fYoj2EiiclWwE80uHyw+MXhk6WWSrnS9nMTPqnIP1suoJKyC6G4ee4IQSq5bXl7/7Ceo 59I2T6WZrNwKgW8n6nlQC0hCU69uInV1ig577Ol9Q0InQiAA/d4dfCQ08y/DAwHfZltq Gjm5YYO1nM/3vRY87nW+5551IgLUnghOUB9A8TvVNmvTKCSDEuRqlRlN4K77M15c5E5e lFiw== 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=IOQRjwUPOwicZ0FyUJunEbCwB+UEOoMXhllX9eZKJIk=; fh=p7B4a5HTDxyjEr/7fTa3Ui8hR/Fg7ZZhccqoqZYejuk=; b=vZqdycv7jfH9O/kcMfhcDp4RJzN79CmLMve0VGt/YPSr9Rt1pPMHoN+7TMB76lYKX7 DXSZzbklKpMbzRVSESu7YVHEV+01i8kXl1bdEVB6I/PyHcjiPz8+ifoLGesTvkZZasye m8YTHniYdevrZgN+udeSAXE9fw1CfM4d1upNVT+W/+V/4a9HAniIo1Tml1ikrTsrlXfP xVLOgSvrmhrJzOqZP9jn3aeaxmg3zcNjVgVxgJT9a8pafd2ndsglKZ2UP9pTJlqc/xgj +5fCvHich8iraIe4R4WKoPkck5cUXCcxwLKG6IRouV3w6XIuCKuL9yDTNlVEisIxsdu7 kPDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mNKaF6Zr; 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-134719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n17-20020a635c51000000b005f0a51366cbsi5334493pgm.313.2024.04.07.19.34.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:34:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mNKaF6Zr; 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-134719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134719-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8F2B928173C for ; Mon, 8 Apr 2024 02:34:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3C2F748F; Mon, 8 Apr 2024 02:34:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mNKaF6Zr" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 C681B524A for ; Mon, 8 Apr 2024 02:34:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712543649; cv=none; b=F8t3mqIY+4XYR9LwiZ9VvGAgJLDz+enEgg/gOo+C2ZaK1EsMEOID5pt4Q0a1OJsXz667Zad7UORIApjQTAdybzFcF4IR40v9KgHVtrPi11KU4/hSwZJPi263WRa1nB53d2A5mX1JeGHlFY3eHYVVRWii4kCyOogY2xdSeDGGx+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712543649; c=relaxed/simple; bh=MrRma8bXJiIflCVU3n2w+pWL093vD3VGBihielJk17A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PvbpjW0TOmwxvz53/u+7eeD9XqL38SrSXXpa7NfF0Dgx+y3bqdOrgxrbcLwGsf0RN03jn1mGOk11VVXN2RUmdypcZDOKoAVfae+KtQPZ3FVU5wNcZyxpLYC31pj22yd+w2JeI+zcakgcgDlnY1TDaaTgKuRBXwk4WNr/h+NZArI= 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=mNKaF6Zr; arc=none smtp.client-ip=209.85.167.52 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-516d1ecaf25so3800920e87.2 for ; Sun, 07 Apr 2024 19:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712543646; x=1713148446; 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=IOQRjwUPOwicZ0FyUJunEbCwB+UEOoMXhllX9eZKJIk=; b=mNKaF6ZrERO6/CVbcH/R3uiFJSMtt/7wKgnMyYCYLVTED1DAlxuWGh7BsRMRh+WQMH mwQVd/2P7ViqZyreJ9wLtA4z+zpIe50hs/Zd15WDCb9vAY5xI9Z3e9ORLrEBNFCJPx5L ZKW0aEmgi/vuixlVXUDkfBJK9AYEQOJJ5H9Tchczp+fdOjtPO8My7YcvfAX8+LSlti6a S3ZnvkkQNWZw8UzttCn9syMO9FWDdMQG/ZIloxqCQhCZjbqyRcHw+bUJMTcTrdwLlUI7 FiUSQaTo0n5p9PnivZcbiL9u7+RA26bt3SGJypbllOuHTgL7xJNIHViAvoZeVJBhyGlN BWFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712543646; x=1713148446; 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=IOQRjwUPOwicZ0FyUJunEbCwB+UEOoMXhllX9eZKJIk=; b=M/C67Ah9ireInJ4X1vPshQ41iZ4dEGwkBuhGNeKY6vSg91nP28yi5Rl5U7bpGbakHU vcMnJ6BjhW9DyadFDnTGAEgri+EaO4kaS5Fgf9/pxHHeNAWwa+NFu5WeLPlo22EvhOus RBalzABapFjTA1S77Pa9qB+gC7v4GGj6/UFm/dHctqhuPbQ0xTk2+Z3VnhNLp09RvYSJ I0qgPOhTV0v0AnhMPmgn7ygP47db3mjk9BN9JKdBh/dFaWRzDXl4wsd1Gvu4rKXA7JMP vdYgFviu2E9hnAIlM1VAmclky24kQ50aldbMQlsNf8V/K7+2Sg+5tpIlSrLJfOr/AEbb IOcg== X-Forwarded-Encrypted: i=1; AJvYcCWaTHx+gsxWm5KVnI9kWhuPttlzS5hvgtat1EuD/fIYIy09tMSfS0XbViEIb8A/7VomWtPwjCDGlRD1mFgj/8hvi2lhg7FLvHwlOMkV X-Gm-Message-State: AOJu0YxNFytDEy1sK6ZKtDud90ejKE93GVcMB8fooN9SsXNjfwIfHoFR mkdFaGDGnW5TAe5tyDjLaX1hQzMoWmRAVkgezpT9mQFIrTZWhIhN7HLqW424JCU= X-Received: by 2002:a19:ca48:0:b0:516:ce3b:4aa8 with SMTP id h8-20020a19ca48000000b00516ce3b4aa8mr4789695lfj.41.1712543645857; Sun, 07 Apr 2024 19:34:05 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:34:05 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 08 Apr 2024 05:34:00 +0300 Subject: [PATCH 2/4] arm64: dts: qcom: sm8450-hdk: add USB-C orientation GPIO 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-2-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=788; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=MrRma8bXJiIflCVU3n2w+pWL093vD3VGBihielJk17A=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmE1ebVUPTM/qrJcEnKVcK7dmMg3XBbCwgGYxNQ K+YZSB3/liJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhNXmwAKCRCLPIo+Aiko 1fb0CACY6XXZpIh4YOUl2dHANUksH9R1aq+VPEhof9Pks6S6tataARPDjm5Bhbq968WiDTzqus5 Rr+h8nxWPFXjyxT+1Bm4xC1udpWw/rBQ3sPyTs6XZkIPkVpCamxPII6bbJqZZkAZgQfvGfDTb30 2GOM9i+F+D6EIbtTVb2mqP5k8pRan6rTJkeuEBqxc88Gqx7Ec41v5vycu3z91nytJTfsvhxBiWn ne5PmefBuOMbAn6DM5HdcvvRVwPS39zFJw0Q+TyCOlJjXvG9DERXJxIXeZll1Mr7AhJKvgTu/Qg zvkDhSGV/FzJBtBCCBz6TJPsFuOsitrRWsekidUQHlVH+Trx X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Define the USB-C orientation GPIO so that the USB-C port orientation is known without having to resort to the altmode notifications. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index 0786cff07b89..3be46b56c723 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -95,6 +95,7 @@ pmic-glink { compatible = "qcom,sm8450-pmic-glink", "qcom,pmic-glink"; #address-cells = <1>; #size-cells = <0>; + orientation-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>; connector@0 { compatible = "usb-c-connector"; -- 2.39.2