Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1092932lqe; Sun, 7 Apr 2024 19:34:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh2I2c1rpa5LVQL8aOjer88ESXo/CEEbxF/a4nAZEjHIUw6mi+apFoFPEzdrAF9xQIfWvJrcLPexyHe5J2PxcrT+fUvOa+UXgULxC2BA== X-Google-Smtp-Source: AGHT+IFsRAor2Lyp2wXv/wLLmqFoV78iiFDAxd8ixQLgy2PNygpBDuRpYilScQGv2mwKOfQFNQJ9 X-Received: by 2002:a05:622a:1313:b0:434:4e8d:4357 with SMTP id v19-20020a05622a131300b004344e8d4357mr8659473qtk.21.1712543680947; Sun, 07 Apr 2024 19:34:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712543680; cv=pass; d=google.com; s=arc-20160816; b=DlHi2H66Q5YgA8vEB5oem40zCc5UtCxRWZipgKZgPcVnpXUo5BBTm7EclXGbTKjSIv WdflKZWabq2NWV1OP22Sn2ScaFl6KWlFMF+R6dWnKwCMEgRg17whmlTwBAwlgIZXps2n oOTatJYnThuItnlucB1UMWixSEZDpSgjDSMwAge//Y5eDFPRVsd7JjFRBF1+XLKw81AY t+eEdwTpOyHAIwZvkqsPpaiURP9eP5NDqSmCkj5XQgwERtExBnE0dThJvd1q4b0nNpv0 iNSVI1AiZgtAmimZiXZFHwrdxWfjbHf5Rc5ih3r5JmOmFtlxQQBRSWozIMwAKoXSIdkh 4nnA== 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=v8fT6Gbci0qUXzI+tVhQnGd6IaJYXtCzzGcVOEtNpI0=; fh=ukTDT8/k5te2kNTiOjeK355wG2DzVuyGRoSp3aEQ1ig=; b=lQehOSrzwYA9wMS/YhxBYoHCAO8ZOfWedkUhSlkYWIcKsftYh0irDLtaCYFb5OJKcq 24R4inhJDt7Q2axZ9Nlx98d1/e4CV02XEJt691ftj+B/LWbtu23ti8rgBdsQepsYHoz9 tU3/mAENiiozAR5paBaCeqWDxb+iduDvN0VQMCHTFk1mgQinvlf0YdErkSiJug/cU7rm higli9zIN9Rwe8F+MNi2Azbk7bB8wPzdJRQBkW8xbCWQeStVJMOo/0w6JUano4FIX7rH mvsMWC0MWiyxULdnSIE3/uLJo6B8u0y8UG5tcMLIe1/QntHXsRJ0X2abL0FSj8s0/ATF RGKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tg7ICZWU; 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-134720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134720-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 c15-20020ac87dcf000000b0043466522330si6210302qte.492.2024.04.07.19.34.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134720-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=Tg7ICZWU; 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-134720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134720-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 AABFD1C20F47 for ; Mon, 8 Apr 2024 02:34:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2AEF79E0; 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="Tg7ICZWU" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 D27404C90 for ; Mon, 8 Apr 2024 02:34:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712543650; cv=none; b=SAUaihgu2zixAsb7FA1sWWTq6fXqMREpGXIDFbDpzU9ZVr0LLOv0rwtTcmVFRY6/MuKuj6466Xf8+QIlR3oycxkJAPzDyM6OU/tUMGB14HpPlSrgiLm9dlFRBNzz1aSf0jWlN/TYMbBAwbkAB+Az01kOylah1WOqiNQjGV8Hv4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712543650; c=relaxed/simple; bh=ACDX9UzrbGqFhCF5KLJs22fVKRsQhdGkigM5kxbDOXk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UMuWgHVRZ8M+UE1eCIFev85b8IGrpW1WnF9Y+ez+pe74p7GI+/2rOA4BWQNBEkrTt5ImnYZjdIa7Xa31NxszaFmdHU+x/V1vzTFx+DCAnfTIc7AZpcR1kUVgLNxkGZ8hay7Qd/b4VdPXY9/ZJCuFddc8BB6aWgsVdQhV+d7tP0Y= 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=Tg7ICZWU; arc=none smtp.client-ip=209.85.167.54 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-f54.google.com with SMTP id 2adb3069b0e04-516d756eb74so2622113e87.3 for ; Sun, 07 Apr 2024 19:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712543645; x=1713148445; 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=v8fT6Gbci0qUXzI+tVhQnGd6IaJYXtCzzGcVOEtNpI0=; b=Tg7ICZWU2qsBYXI2ZGbDGqADwlTx3/HkYSX9hMPHc2J5YJ4M1AwJp+OF2ZIXi0GcqI r5zWVeO/q+0byerIJjLbIpQ9DK6QQsxVwPWYlZOcX+pZxEk4178MUDTWI6hCMZn4GlYL XwGkHfTCSVB2Xp29OqJCnvhHbCdjFPruQjm4R1BWDhWbbpdh0GcH8lKGlUzlsxuHphU0 qCK2YmhfQU8BDMBwnTGLdiPpix4O7mgSeE+Y7aLtWpK+P9ySINMnU8Q6fyVB6AHkqGIy K4c8+5TLSeOrgRPLPohGxqnJZDnyov557R1NbODJkAQGENkMosebolROePqLag/Wpoms 8Z3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712543645; x=1713148445; 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=v8fT6Gbci0qUXzI+tVhQnGd6IaJYXtCzzGcVOEtNpI0=; b=OmtbHKsMa6nHbaRmfj5fzX08aRuvLcP2X1OMAFFrzWg73R9EpWNKNy0vp+1j1mDqGp a3+A2eHPSD01TVWX7ZRdgQj2rYTXFjsw/7MAkvZAaM+K9n/g+ab0XEUImjqNZp9wXSM+ 9G2dmyjNMLmKkI+2zmqNMqvJyhTKxJauUMlAOIyJKmU7iVp1/sWYbgZMpZalX03YdfzU AcbTB1MZUk7omvOfguDuQM6vnyM684bVYb/DUa3vULfYX+bgSA5R4gdPhTWxL0mtxAwx US5ZFO5SEuLOURLssXvipicHOwK1BFjILXxTLDgcDYTwIl1eQMcd0HH34/a+4ZW87xIQ Sjkw== X-Forwarded-Encrypted: i=1; AJvYcCXClSfAuaunttdGbh3QAzp824Xz9o3WQ/d8cO80p8JW4yrjc/GB3180v/8qyTQySsGH22ieS1m8S1LT8xPqpJ2fVW3plvrg7/5lkVKz X-Gm-Message-State: AOJu0YwpJFMubM4Gtt2LVoSGjX1SHmPYMJOrPiv/7ppK3fnZ3ukCEUmP 4a0D7dz0qA5f0DOlOjWzopUfNuVjp2TNIcKlnI/coYm8uQFAhokdMqkYSJav/YY= X-Received: by 2002:a05:6512:3e17:b0:516:c764:b3e7 with SMTP id i23-20020a0565123e1700b00516c764b3e7mr6222577lfv.9.1712543645120; 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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:34:04 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 08 Apr 2024 05:33:59 +0300 Subject: [PATCH 1/4] arm64: dts: qcom: sm8350-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-1-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=ACDX9UzrbGqFhCF5KLJs22fVKRsQhdGkigM5kxbDOXk=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5pw+OxprjlWa+8ZaEge5N+fsP/s3ePZk02Yrd88T3hV/ KZx2cbyTkZjFgZGLgZZMUUWn4KWqTGbksM+7JhaDzOIlQlkCgMXpwBMJP0MB8Omj1KHud+I+e30 EBGbJvN/fublv6pRnCsP8B1dulDIU6/dPPmV64/itbVM7LnLHpkfC1AUuNl+sHdNpBfnjAusjNu q9vzuvtcmK7SW/8Pqoj1fpI+wFu5YeGSa5uzbDJUldYWZHxw7ml71Zc4oK72pXLvaRm99b/iZGf nN/aat2mLG8S51CcqvRA40N6cwhgh+cGR43eS09JDeTZ6c+ILb2zOkZye5PmWaW8+0+o9zWYbNh rsmNcaWu0vmKBW1en4R66wK2OY6+2eoRTHH3T8KbJ0bfU4+cv/65OQNr7Z2hsmbPkm843Tdo8np qrpixocPpiuEGxW/sWpbFU3nW3FSeGLv6vJv7lE/dWSKAQ== 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/sm8350-hdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts index b43d264ed42b..4c25ab2f5670 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts @@ -42,6 +42,7 @@ pmic-glink { compatible = "qcom,sm8350-pmic-glink", "qcom,pmic-glink"; #address-cells = <1>; #size-cells = <0>; + orientation-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; connector@0 { compatible = "usb-c-connector"; -- 2.39.2