Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2020383lqe; Tue, 9 Apr 2024 07:29:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPYRzidxwEg8hve2JrXHgHDFYrYoMG0VKt6U49ANBdxs9jvyNjH98sHb8TjCJ2tnbexJNZxYoF7oUTcKohT5p2nbplIf9z3ALv8Bh2FQ== X-Google-Smtp-Source: AGHT+IEGuFY0yP5ovH81AZFZskvWVSVCBIuEVLJycwMP37xFn3SIFkyXehveOgKqe8oS/LSH8dtV X-Received: by 2002:a0c:cd0b:0:b0:699:4c4c:6364 with SMTP id b11-20020a0ccd0b000000b006994c4c6364mr8501128qvm.64.1712672979695; Tue, 09 Apr 2024 07:29:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712672979; cv=pass; d=google.com; s=arc-20160816; b=QK03d90GVWkD1T5JLymVKo5T0gGTJiB9MMqHrS1GgOGgKkZDQwwwwvt8GdkoDLqR+E D6WavnmK65ONud82jfgvGLgmygNBv7fH8AaQhQYSnrgEmK+c+jxElMhRIKjY3a3TIuxH B7s89t5hhNhsNNnA5RrJ0zbU5z9DiprLmX0z0YgjntIbHiPofWqO1i6SYJBy8MBqzcpt yNYIeiS+NkiBeJgYm5VfAQcjoKkhvYbjFeOVIcKdtF1t97gnzg0FaD1q8G1ubI8wnHOg FnGBb5KjVpsfIdx1y+3NzWMxx0SLD3+OyzOvYr2kZVVuW6P2NbVG+dgUTFVo5pgpoW4k g8eg== 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=BBs+x784L93t5mpvshVcosruv/wnrHW9FZoVJjVQz+U=; fh=Z2LGh0NMQzo5/k7swJdWOALyDadvC0iD39btJWIyNp8=; b=hJOU8rPLCiQmV2vzxmNpXH6O4wj34mFfdoewVHsYUlr5M/3DpLZFP3ASYL81eh9k6c nbg6IQetn987MjqvLVs25Ptgl1CbFzH4JoMLIHKFp6JoX5GgFJBvtqfQdz39TjoOP1Su 1T5iyqOwcm4v+R8okN/GlytOCvgbIremOuw7dg1D3zSasEbS3e8xKG6OHQLGx41FNoeN Wgg40yEkTDghLC73z66sgY8Jp1iw8NTQ4W7vVYmt9BZqnAMBJtitoDzS+u45qs8iyPzu b0Twew7QeDQWJZVfZXF3MTW1nE7PIgW44CK2yFmOoCue4anXB9e5xSkslLV3KPwBM9Ce d7RA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cez3e15A; 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-137091-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137091-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 3-20020a05621420c300b006992dcbcac7si12663754qve.22.2024.04.09.07.29.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:29:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137091-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=cez3e15A; 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-137091-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137091-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 6C1601C211FD for ; Tue, 9 Apr 2024 14:29:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B808012FF70; 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="cez3e15A" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 2C99A1304AB for ; Tue, 9 Apr 2024 14:28:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672900; cv=none; b=ixlvn0a+A5j/gIvPa9XJL8j3tLiIKO+6PT5Rr+Qp2MRDAtQ4cSIhjHDgAX5gsXYmrCpXXVWV8h8ZxzTuQ+CXoA/RMt5VmBkSB3fAbbBvJJZv+aCxJAhV0d7LD4O/FjwWSUW9Q3bsiRfEHyva7mp2rznlIxuo9YevMZQBqd6K0Bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672900; c=relaxed/simple; bh=HK+pQGlyEMASzaLMUZhoZ4LQ1b2xuwD3oB+E8BsoQRA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oO7eMEKUIJIBWqixvhee7O3MjzqOz2vr/LP1P4weApthNb0KqNES5EF6fdsYNKcWdDTp/6Ops8FRAzazMY544OKFZDQ6gtFXayMw1xDTV+KfKSlmKQ6EnM51XpnxbSI64lBqYV5MYx2MC+tP58i+URr1DwwNn6Iz4RZY5Wo6W4g= 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=cez3e15A; arc=none smtp.client-ip=209.85.167.53 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-f53.google.com with SMTP id 2adb3069b0e04-516d0c004b1so6588813e87.2 for ; Tue, 09 Apr 2024 07:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712672896; x=1713277696; 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=BBs+x784L93t5mpvshVcosruv/wnrHW9FZoVJjVQz+U=; b=cez3e15AkbM/CFIFdfPeYanLGWnaqd7IIW2UiWxUSOA9tglPLfJLFc+yVFcO3x5fqm ZoXJBYx+B7n9qncAgTvkzHXaNttjeqHuSjDl6pRWIkBBgN5V9ar9+XrDYudYQynIMpBw SANNFGopA5Jvwn0eRY/HWd6cY8WATm5qvHDXn1f6xF55G6A+Nm8JvZYjQ0I6SiQ/lNpu 1Sbg23maOUUtSBUEgusgcM229xdOSqI7LvoxXX6lSkB3MxbClQ3qagA7pqpI9iomyTwR Q8yJ7ogijS82S2OKJ5Axb09hINJB3/t7BcQpnJIA719HEP6ysZgRwL5mH2IN+/+qzbT+ tXUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712672896; x=1713277696; 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=BBs+x784L93t5mpvshVcosruv/wnrHW9FZoVJjVQz+U=; b=sdL8Ml1i40o0uAZ/KVMkNTIoBNpIIzNOcOq3/FL3VeYuyVArWMjyKmz1ak5lKYQndP wQlarmN8gVt9ND8gPFYbzFIURqxjgFn7UVuHqQAiKuqSDxVY3Khk92+UOD+Z1x6k76E5 1pibZMv8NWXsKPIgbmLWibAv9ehavpKmpo6vsR1WbMwp0L/InQ+k0Q4YRnRyE/2fJWhs lxxpgnTWD/a+Sf08V+kxEhUECTzqycXfvOx7SV5JC+KpeOFzm4IJNYLOodsTNl7AVMTa 9NLeS6rPrxSHaf4LHm8d7D8FBj3zL+Ud36I75YpI/5E2g85d5voYROXDgi7D+swR5DH/ P+4g== X-Forwarded-Encrypted: i=1; AJvYcCWEDC5aA0XpMega0tAnfjpci7PYwsiEVzxbN2tdGTWCDNSTSOSMsLWc6jGsr9HNAbwNxY3OUYqkiu5Lt8x7MKAiOnU/IkmkUsq/Aom7 X-Gm-Message-State: AOJu0YyJFpigXvrqEh8oPZrIVVOIuHb5B5IQsCnMk0nig5pXvnJmeJ1V OVtN+5QKmmKZwUqmV2O97iTTf1/qsB2nzKDGGb5QKiYwVWBwJvYOD+UDAkosxd8= X-Received: by 2002:ac2:5462:0:b0:513:9e44:c68c with SMTP id e2-20020ac25462000000b005139e44c68cmr9047971lfn.6.1712672896402; Tue, 09 Apr 2024 07:28:16 -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.15 (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:14 +0300 Subject: [PATCH v2 4/5] arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: 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-4-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=870; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=HK+pQGlyEMASzaLMUZhoZ4LQ1b2xuwD3oB+E8BsoQRA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmFVB8QO0WAWUZDUwwUZuIWB6MAPFdadwwHaaED MbwSIe2ec6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhVQfAAKCRCLPIo+Aiko 1aL5B/903g9A6aL5RbR5dfzNmnegEq+FtH59N6WKPy6nxLFk1+Dtk4SEoBihxS4ZuKTkjFe43Nq IIyBYVw8tVRRoUi32GXgzSk0fn9ASSBK6CMH1GPfbwGD6JQ1//ffGzYd7Co4wstJGtfsv/FBRIH otLLu2ZdTiA2CcvTMqQPKf5MOBuCS7jgYFlTBIX9S5yesA8IRR+WPqpWl4Ocd8hBOB1l0qXSsrK LnzZzbqmBaaeVAU9VucZNJEbooZV7z3WcTdHQUietLBO5DZfiCYxPN9oXqI8JtB0PFm+meCjoCB XRPZ4CU4O3hlpkJLMJUvYjhM0vMYh6SfoeVEX9t+Ka71j3IY 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/sc8280xp-lenovo-thinkpad-x13s.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 15ae94c1602d..2806aa8ec497 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -100,6 +100,8 @@ pmic-glink { #address-cells = <1>; #size-cells = <0>; + orientation-gpios = <&tlmm 166 GPIO_ACTIVE_HIGH>, + <&tlmm 49 GPIO_ACTIVE_HIGH>; connector@0 { compatible = "usb-c-connector"; -- 2.39.2