Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2019875lqe; Tue, 9 Apr 2024 07:28:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRgk5y89jB5lyt6P68/xw0KMWPurr8DiAiSOady2oZD3dN3JH+jndfhh0bL2fP38O5NvlTuXJZVu1Ez0aXEpVF90pOOwgIkqa37CYHJQ== X-Google-Smtp-Source: AGHT+IHXqdAySR8P+TottpZEa4/Gzs8PC4pe+SEn6ziNbcxTFQiA6DVbu/anWKFBRcKamjYkUNUp X-Received: by 2002:a05:6a00:9287:b0:6ec:f097:1986 with SMTP id jw7-20020a056a00928700b006ecf0971986mr15364874pfb.8.1712672932302; Tue, 09 Apr 2024 07:28:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712672932; cv=pass; d=google.com; s=arc-20160816; b=OqtKBqwcAzRzSUVomTImLxon6LlIFJ2HJRyutntCsSayewNRibLwxTDzfuQxSrBX3b uU2KI2DvW5Af6e4q5VTHy6ub8sIIj4R8J5oscaG9jDz5om/55wbJKeIuQD5qnOr/WdUm LqRM7KBO/LETfjt5OzDJ9EXCfnTne/cSErqrVEwdLdIhxD7rQU/G5GC7MTwtOyvl7NL4 xx0Dl4AvI6dLr68rBRy4PDsKD8PrbIpk2HSqg2Ff5SyP/MjPbOHpio2jMC4MVcUUul9j O1VijrjPDNvI0iTNlHOFmlWY+EYKkjo1BzUa2QV2CKA+zzAaAL/9zPoNso7hrOM4VeS4 TQPw== 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=yOzdg8G0qIla4e9JhE2tlvIqm37+4icOEWmUxKE5vfw=; b=seQaziMgP0C/vbvz4umy2ZyyUUIrujPceNjzFEArh5vnI2i6cLi9qfQz+jDm7bALXh lZM1egN9CGvtNO9Z30jxsU6bzJuyEWkMZSPy23n55lXzScwhqlzvyE55Qr0rY8XNCP4e VGxRMpI1KEZYrGlSlDA/Rt4kMAGw46jiyP9T3e+YLUiIQvRoNatoBxBlx8tNESCjhg5s yi4Xqizjd/4CUToCt/Ym9Y3RRUiAaYVVXdOMMQIQ5Xcaja7zAov4h9Oe5VljdMSfSaou paFsYemTJ/sot1gDSr9b7aYt5kCHRDc1WtkaOquSFXd6VPAMfLuQOWsIhpJHr0jcYg63 DMcw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b00NEVLk; 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-137088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137088-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 r13-20020a63ce4d000000b005d8e379746asi8661314pgi.630.2024.04.09.07.28.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:28:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137088-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=b00NEVLk; 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-137088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137088-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 BD9B42843FF for ; Tue, 9 Apr 2024 14:28:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92FEF130AED; Tue, 9 Apr 2024 14:28:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b00NEVLk" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 C94CC12FF6D for ; Tue, 9 Apr 2024 14:28:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672898; cv=none; b=rHxIzw61WQ80nA6Ggjs9yzoo8Ucvbr+bSqUyo0Dub2QkUr8nLfhJ7GM3oo1HnhXPqJs3FAtTEE/7kpsdJmD9PCj4dtov99Eb4FMSsSF7byGGv1o2t0xPqIx7ydAdrB+zPFJVfVGhZlT1y0XLW2WecXynP8NQdlWAJjR0XmnXAWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712672898; c=relaxed/simple; bh=ACDX9UzrbGqFhCF5KLJs22fVKRsQhdGkigM5kxbDOXk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jbIdPEemYT0FAQVPKrhO6j9bpkY94Ww3Dr5kd47qcJsk78yU3+QE7hYX3ewMJdzCiYEZ4MRYRv8guOnkSokSSSqn27U6cmkEgZYIvmkUgwlbC6rj2K2rHBMckxyFoZ2sK8JtFDALqmZsWoO5XoQqOis1S+ZgHN2XKgzZ9RCoXN4= 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=b00NEVLk; arc=none smtp.client-ip=209.85.167.51 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-f51.google.com with SMTP id 2adb3069b0e04-516d6898bebso4579660e87.3 for ; Tue, 09 Apr 2024 07:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712672895; x=1713277695; 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=b00NEVLkoTIZXqUybZvAhG+dGeOYvNhKMbH0TtEiSl53o++fnz0f+l7FeI4GSr/Tin P3eDRRdwAdpgDvaLY6covNFIHSYwInk8yxyzfpdhUcVSoZGzXkP8WOXiZPNJ9gL81t+C s76bh4v0ji77iX8lFm+8L+Zy6ULv64iqYkdSRkqsSG7TyGjnMadf5vIMA6ocLVtozBhH MMRap2T3DivoInEyegNXn0IpNDKubSEoK6oTsPZ5kk47bY3aiFNWPPTOmZBEK1Baeeqt aRvemSeWDAzKH5uhFWHM2TcU6yxIUgxPQuNY6kAQv8S9us3udN06BeK/EVBta5mSygCM Q7zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712672895; x=1713277695; 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=Myg2lVhIHHNkK5/sPCxKgwK/ugMvlTQE+IGdYyHaBYt2g7T26gUjcVp/92Z5O4uRT6 wD/jzZrEKiFAV6A5mLSoi7JIhxehuGaG8rqoAKtVY19XsWV9gLj5tk4UwdnFVDQzjgka CpU0/NqzHHwH7u3ayTX+YcZeTvLcJ+ialEByEE2DbTZ4wqM+Xrzw7r2/4a2vLDjeg6RV J4aAWWdXV2CdKz4L7U0aVvptxj8342YuiTww+6DKfh5I89IvPG5ca+8E0lE4uO0DfAMR 5sWBiimM3oYb0EO7nlkm03V7hNe8N+fVSO/U5cu9cKrIO4VK5QQm42dyLTRZxunaaPsr d6WA== X-Forwarded-Encrypted: i=1; AJvYcCWbENXoGuikZ9I++p+BqtpTRzc7RL2xyX8GNZvbMs/tIQM/8CvaNw8rmHmC8unM4VEsGcQRCKAt0oyW7dvz9v52swY5FJAvDZOLlRdh X-Gm-Message-State: AOJu0YwrJ7crRXw5pum1Ztt5QiBntIZ+r+aUHeCwcwUl7P8e3iOqVCSn qqjR0ox3a8et+Yxx7wu+i3EYaft3mROSBQJfeMSdgrm/f8hWs9UjG1usBGj+CrD4HHRkCfGB2Jm A X-Received: by 2002:a05:6512:285:b0:516:d18b:eaea with SMTP id j5-20020a056512028500b00516d18beaeamr7983546lfp.33.1712672894899; Tue, 09 Apr 2024 07:28:14 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:28:14 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 09 Apr 2024 17:28:12 +0300 Subject: [PATCH v2 2/5] 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: <20240409-hdk-orientation-gpios-v2-2-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=ACDX9UzrbGqFhCF5KLJs22fVKRsQhdGkigM5kxbDOXk=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmFVB7LGeXYvrK8yYmSPjaIGLwuhFfCw7FVXIL+ cMNdx6kSWaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhVQewAKCRCLPIo+Aiko 1ayzCACyrw2N7/mf9JOXuNP8ytbCVF+e8OpkkKq0CfXVElwFE/jYRl15DsgLAqsCQqyL6lq1olI lzOI9mN1MDvm68tCfvl4/GXM68dXiRxxKBAEuPR8XStIQ8Yfp0Joxa+3ml5TpvgNe+214lkB6oh hM52PisZYvflOh32UQ3VTuUBDFJnItPpggecVLUbS58P/cJgbMY7Uc6ZbnbyD9h9kWKiwVefCDr jFDurdRqoGMzAS34RidseiOlyvn9wx3FpKYP0FCmEBVTVNIu52NAG/Qlk9Zc5Mqh+rwxnSEm+lB 8wIEMeuwWCQ6f9Wb616EnwQrl7dVxQxplJn4X7/uFXbvyVgf 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