Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1399584lqe; Mon, 8 Apr 2024 07:55:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKMvROC7VJGC0r4dKiWVhQGZk43xTypZ7o7Gq4D2yWVNVOzMXTmeOqgd/MWs+6TgNKgqryEeaseFH4gOuiHaaLqaJ689Wqm2RcvAk85A== X-Google-Smtp-Source: AGHT+IEJU7ZnwNIN6kOjj04HHvB+GLyP4PfPXA91l79O3x3KgCe+yVD/FFOpGGXg8cCz37I6sKYb X-Received: by 2002:a05:6a00:84c9:b0:6ed:2fb8:467b with SMTP id gl9-20020a056a0084c900b006ed2fb8467bmr2416184pfb.26.1712588115817; Mon, 08 Apr 2024 07:55:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712588115; cv=pass; d=google.com; s=arc-20160816; b=v6Q6nrzG0XgDDjpSS6gDdprJaZyHJQYjYqmlrAsyyqyh7uGyUhb4z/Vh/Rnl6Zl3TS psv3m1fvQ/E75Bx5HsO8rFx0o2+eAqoiav6qDA8gLpPpno0qPcuBzOwNVcmzw+M3/Ura Gk1Qg4cstw7F5WVcWYBvMGFvY87skLYZG6I99P2Cv5QWpD4NlfqeWckEpdc4/CQwyw5V guniki80r9t/FnP6hHcD18QzyQeP5WdI9FCryAH0Led4HlEMoBFD8R93T/pdT/d7Sd3B pX/ZUVXiW8u684ocjMjaQLqtxfCYTwdBrSkTZ57hC/1SJK3k2haFSGKVkl8szfbIwoK6 Dy4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=CWAslIQYTs63TSHbt7hms1FMD6CETwGUDcTfK9QElEo=; fh=vK9aGj6p0XMlUwO1QWbgLNUOjKFQh4fRyaT4PtJgU98=; b=TgssKKZlY/kzMFtQO1P81y3HStxSeiWtagJQsaMwqnsJVSgAIm8Wg6wTjv10bD57qA Xi0nqpiu05KeN3ptUYKw0lHtbt/aJLkWFPSWH5hvwUFr7qpK0ofgq175gigC/TLm4dp7 anfx+pXJIW4oZ4BiO6UlU9T7zTg2z1V/6k2fL5Ez3xJfkIFsVbVFG8E1GxnLRUHeM/jP uKWldTAfz8HXYRC1dsqOa5KiqdzBkeqtIrCDFjgAQB5hYCzFYTtAOfRN05G/zKLvQrid Q9r51LI5uozhlMe31GW2uXkz9wK8Nt6BWm8mum9aWZk1wRySe0nG3U3h1DLMCB9GUM7s OggA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ulyj00fY; 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-135516-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e17-20020a056a0000d100b006e742e4e0fdsi6549541pfj.65.2024.04.08.07.55.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 07:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135516-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ulyj00fY; 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-135516-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135516-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2E2D3B21098 for ; Mon, 8 Apr 2024 14:27:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0B8E129E93; Mon, 8 Apr 2024 14:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ulyj00fY" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 3B1FB127B61 for ; Mon, 8 Apr 2024 14:27:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712586424; cv=none; b=qhrL1BWnKqZq/MgC2d8GqBsF0EmBPMluLGAOO11BG3IfnK9lfNS5gmMt2eWLv19C+MY3CekTK4tPHZbcNboDq77HgjAKgvb26YZuk+kRafkM/wjdpwhB/jLLTWTNPZTKVWMq3lrx6TOp6ghxfplIEquG8l4PvrouhZtiKkKCK4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712586424; c=relaxed/simple; bh=0938tF4StQFvIWTG9bPkLp2MbQCbcJ2/Krhj02r7yT8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fphq673cSR82AXL7q9UxgmxZqwzBZzIs6s6GEW6I2ivUl13SEOHDmuJJ65KsfbiUrbhqCJcIQsOaNlzT0w4MCRRp7+7yMb9olLq+oEnrw6gIvEa6ZoRxCTWvmrK8upDu6B3D02ubqUG5ShBtoks9x2U6BEAjdmHOJtcMO2J34Ac= 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=ulyj00fY; arc=none smtp.client-ip=209.85.208.171 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-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d895138d0eso7192731fa.1 for ; Mon, 08 Apr 2024 07:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712586421; x=1713191221; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CWAslIQYTs63TSHbt7hms1FMD6CETwGUDcTfK9QElEo=; b=ulyj00fY1eu0ZktkUK10FzXPWRcYfuuSc0MLAePOokTZueP/mGXbU7qg7Ee0UnpO8O ud3/0nl7T4SJtSw+OfnUAFf/jDEPBYs1SyZqscgy4ZKhwnliHkOVzieF/kNIy18wE08+ oUrkc1rnWOoygjqyUAiFZbd9PAbjDkGu+14b8tFBYlqemHg6VQDsBKBN15rX7zQHSqY6 wxOkakoJUJw0cWYmzWw+QUf/6qwIOkZDoQJdrsvsFv61fJGtIHt68LkNOsmOEI730MrU Lxcp413Cr8nx0q2H/nf6rFPsRG3c5f3bulMK+zJlaUbGE7t//nUI185GRtZFUDueo4qu FNnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712586421; x=1713191221; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CWAslIQYTs63TSHbt7hms1FMD6CETwGUDcTfK9QElEo=; b=UZVWp1ufRcYTqGlSbPiWe5glg1nqdMHPjealvFrO5nAkU1DTCL665sbTC+AGh/IoRk 2UqLc8VBgp/5TO28OW7E3zsMWGjFILUAzl1BJngKNVs1Cooab7oNEymh41ZyaeYeCLZ5 Jm7mK6llMBtjTAcmCbgHHCxWzyHd6UdTBC9hAveKgADasD5+1F4Qz8N8FepnAi2m4otl J4zZQWGQpq5MwULy3TL8ZLC03fKlivnemvmtHy7GM5FGpTDvSiM87a/f2Ji5TsdyT9+h mGQCgamE5/jj2i5uYa/XhIaY4jVlZSmua66JkNopLcvtj3Tw8coz5uMyy323FLwDhyzS MNnw== X-Forwarded-Encrypted: i=1; AJvYcCW5bfKhyOiYouCmz3Y5uehDLj4GXb/5RvB1yAzZxAd97hxkPRD2SPWNt6cyqjglbHpPnpNc4MZ3pI8FnN4MiKVsiucSRDKrBUy8MgU1 X-Gm-Message-State: AOJu0Yw6P06uBb5hLYl5NoLE2pDkElxuBP50e19OP+7br3QRNUYX27hQ l7KGJR2Oysprpl4+aM4NVkRm/uRBvnAxEWSRt4paCjXir4uKYzT8vUtdFC2mXTM= X-Received: by 2002:a2e:b811:0:b0:2d8:620b:9838 with SMTP id u17-20020a2eb811000000b002d8620b9838mr5092379ljo.46.1712586421229; Mon, 08 Apr 2024 07:27:01 -0700 (PDT) Received: from [172.30.204.201] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id q5-20020a2ea685000000b002d85e57fa3dsm1162957lje.104.2024.04.08.07.26.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Apr 2024 07:27:00 -0700 (PDT) Message-ID: <606c5121-48c8-4640-9e19-692af4281fa4@linaro.org> Date: Mon, 8 Apr 2024 16:26:58 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add USB-C orientation GPIOs To: Dmitry Baryshkov , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240408-hdk-orientation-gpios-v1-0-8064ba43e52a@linaro.org> <20240408-hdk-orientation-gpios-v1-3-8064ba43e52a@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240408-hdk-orientation-gpios-v1-3-8064ba43e52a@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/8/24 04:34, Dmitry Baryshkov wrote: > 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>; These numbers do check out Reviewed-by: Konrad Dybcio Konrad