Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2020001lqe; Tue, 9 Apr 2024 07:29:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXHCuLBi8pKRgigDzaKmXUvi8V/vPkISCmnVfjADQL+z48yLdA5cum28p7n/tPdOGzFl7Eq0VoY3DJo2hJBB3mtqRmnsKh7GryWErbGJA== X-Google-Smtp-Source: AGHT+IFNbd7JFbpbK5Xy3u7ATHD+OxO58ErdJCi+PVlGmD5bHXW/rV+8u6igzTnhweygbraLwt3r X-Received: by 2002:a05:620a:2115:b0:789:f0c6:a938 with SMTP id l21-20020a05620a211500b00789f0c6a938mr4345384qkl.15.1712672942968; Tue, 09 Apr 2024 07:29:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712672942; cv=pass; d=google.com; s=arc-20160816; b=xHgViEMSru4IXcG/O+cX3QC0XLrce83GzTRuWQElDgkHUcD2ZhaUjs7svdSk5AaTor JONjMsOnGDtu6nADMKKmVLA/K9Gam8DG9+1o3/6qXz0y5N3XfX9hbXav7BaVn4zDUutu Qa9oTf5i3qydU4djBGkSsenGoFlxAEdxbJkDQAqarCQ9ny6A8jmPYWcp0YFOjFTocBya 6HQ7N2R+tfCMeA5uESuMZ6z32Z81bHfbIHY4dMi0Qfz3pL/wKqGcFZqcOt3DHf0wKuSZ 8vZ5APQEfRipryR1XOoMUtPi3ZTHvu01jRUxT5zJkpxfb2ZCOt6bVpCbWv54EVUUjrEb HtkA== 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=zh4TfPLT7StFVKQAUA7ssMN2+A+vS3KQ541b8proixc=; b=s/qeOuO53BeMVIz2vMvSoz9Hc3ipMgOGsPlD5EatXuOtbHa4WvH31QcViU34u4+h6A /mtxK5+F91U1kODwu/IthPgqmqdMZGqXEaJQDQ7cQNA4VGXm6jYFC+JQJeOfom5lC+Tm R3W20Q1WboElmknoRYCmFbAHBtOwO+7h/qfAM8VILStR+G+a1waPsNKEO/Pn3iQnw7jY SCi3MD+o3A61GSTg726/1XA45sakee2B6H8VzzOamdzuXDsBsNgMwqD66JSIJPUvtkAR 3N8iVtKuGsyXWO8PRssmXVvV8c9F9MgWjRXUrIc0W2QUrkVkpI7hB6P5kUntH8xZCG/s RHJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RCRMKCBL; 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-137089-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137089-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 y3-20020a05620a44c300b0078d4de3f8a7si10442741qkp.149.2024.04.09.07.29.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:29:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137089-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=RCRMKCBL; 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-137089-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137089-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 531F21C21DFD for ; Tue, 9 Apr 2024 14:29:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12F33130E35; Tue, 9 Apr 2024 14:28:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RCRMKCBL" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 85AA812FF99 for ; Tue, 9 Apr 2024 14:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672899; cv=none; b=cG0DQHaeVSDW7MLJNJCi1nitAF13tzCQmdloQizHWbZJB69ceKfaMpnCXwYlQmEUJDkDd3/zclfmEIkethRkRZdjwBYm6llkGjZh5dFDtIjPQ63ovBsUpcSWQihRDLE+ZoydOa3Bc982c07ls1V7oC0KkqgvDEfoCArhrvRF7eA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672899; c=relaxed/simple; bh=MrRma8bXJiIflCVU3n2w+pWL093vD3VGBihielJk17A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q2aK/LFHDvKHjcX9hFcZANMU3WZM6jFILAFRbxb+x5X9w0iIuBRHE842EMzV+hTWw7zAJi7ZfhGz6FnaqE+6J+7rXKMyZMFm1okA5JlQ67ZQJkkPyG/8N6mou3L9CZLfVrm7+XhEP+M3M9zXHc6/fCAiuo+k44CK+q4wSGxfXLA= 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=RCRMKCBL; arc=none smtp.client-ip=209.85.167.41 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-f41.google.com with SMTP id 2adb3069b0e04-516d264d0e4so4486362e87.0 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=IOQRjwUPOwicZ0FyUJunEbCwB+UEOoMXhllX9eZKJIk=; b=RCRMKCBLctou5jiR8ckn6ANJcOlqfuDitADd++zgGfU5bClUA6sHX8OMooygayYH7H wJq3Lmzc/YyQ8NjnSBhQwHRhi2HOnZANNWN583KEd4P1H0LZQKSpP1KNYl8urFq5aLJP 1y7wIzU2nG5GZSMQIKmq8SUwpZnqV3wf7QLDDg95d3dk0qoUAD20kPil2eezptRccO4n 3YZLKfxnyo/sR0GgoNkEDbKChuyjuyZTqStHQbElAETnv5iBuJy3CwAaX3rzd0q1jtGk 6cyF7RtMvS05WB3ScFcGEBAdVWf016lIvmLX4vi6DhA1djiZAGFOP8V/umn3OGSOApuS rgig== 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=IOQRjwUPOwicZ0FyUJunEbCwB+UEOoMXhllX9eZKJIk=; b=AdNRIVFd4dvicss68RJuFf7Y+0l3sVLFczQzK/tWswE/S0GU4ZRx2eqv0iLmf4TD+0 3MHSqPGR7gdBFv+PatVnz/TCqbyGeBykh+6vlhJRcGUcdlaZ4kLMWF9Qj8zBcIcMhglN k2G2Zs8VCR7Dy+oppyw/V/Lbm49FAYCKh1vC/7V3/HR9Vk71NKroZSOOsjK4y8/brYpB tOWr8EQtHnKUOwp5hgJ5K1ppzSnuVhS6o4M5JSw+mUdmXOI8KKe6XnT/1gEWVL9Hb9cY ibgHLmjw57dOQ4ilzyhtuGyFQhEAfHUQqxi9BpoTLYBzvX0kdfN5VNRL53JF/iAdt7N0 G8rg== X-Forwarded-Encrypted: i=1; AJvYcCWnYQ2ADM2QmUXo6Dm1LgV/VO2cszW6CAsm7UpnU5ue2kJgVQeMfZlj/l2J2Fapm05Sg5K590lp1GuLBdFunYeSFAybmTdJtgKyno6C X-Gm-Message-State: AOJu0Yzvhv7GmI06j0ZhBY4ZTAJCiuzQcxP8nNfgb8+ApzZhcEVk09L/ ex3fju3f3Um52hxbgYe0XB0MvIYvW9LXb2J3G1d6/4uZJ3YN1/c4X2oOIX6r0yU= X-Received: by 2002:ac2:5a03:0:b0:517:d14:c0aa with SMTP id q3-20020ac25a03000000b005170d14c0aamr861908lfn.9.1712672895794; Tue, 09 Apr 2024 07:28:15 -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:15 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 09 Apr 2024 17:28:13 +0300 Subject: [PATCH v2 3/5] 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: <20240409-hdk-orientation-gpios-v2-3-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=788; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=MrRma8bXJiIflCVU3n2w+pWL093vD3VGBihielJk17A=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmFVB8pVPxpZGcE1AEoOTiZQ0kneKvWySLSZ0VK Mat1S7z5kmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhVQfAAKCRCLPIo+Aiko 1UgYB/0d1RziNRXYshX25Q6Q1iomfG3rDVcqj9xrym5DAaGd22ORidf+mw5gzHQ06/vuYX5p4Fl 5GjFv40r/UlAz/wbQjNHXmr4EM3otKZ9v+wjWbZt9JRZo1KrGkFa8de/kplHwMENcaoAcF9BZmz peISB7mGOFpnI1hZcCGjyzB5RGr/ASs03uF0oPsclAqo7apbECPwMipZCv6MXtrHh12cZ2l3Vv5 01PKDP2kpGfhi5HIRjSIFxbEiLQXvOufKkNAiTSoqZ+veH/DN2T4IRbbQK++wRR67y7xuoncWxS jxSMNIBrOBRhtmjsVi2ECVZetR5mBno5TPVXfnVR0nSwlLoz 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