Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1186833lqe; Mon, 8 Apr 2024 00:55:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9Kvy9e9KgRoNuV78xx9CV7sSjX6I614RgrjYzzOqbuLy9ir13HIIJa7TOJhBV9ovUfP2qX9a44WN0QkfcCkGFGqhusRWKMoxv3Y+S5Q== X-Google-Smtp-Source: AGHT+IEIMVYUs4mYG+p6qrHTnjDbLgF4qAaZES/7NxwmE3Q69HTY9kzmnvv/7ag27cPRlDNQR5iI X-Received: by 2002:a17:906:f806:b0:a51:a47a:cc37 with SMTP id kh6-20020a170906f80600b00a51a47acc37mr4617502ejb.63.1712562912392; Mon, 08 Apr 2024 00:55:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712562912; cv=pass; d=google.com; s=arc-20160816; b=vSWOz7P//Kxa7YHx69I0knewx4h+xM/zXW5wWrbntphLQwJV/98qy2og4Yn0NryBfB l09SkoArHHN0afhcwYyCaGB8mRpuurv0IQapp6QugJkDjRfIaaENytFYTZpK+5lbmidn eJPEiT4hfSFdqPebXJAdPJS4RTBJh96vdb29kL9XLXJhnZbvC7LwV63MWhHN7BAKcUm2 vjvJxGM1ud9MJ2kqM7q2vdLSITzBdVKGLYMfV1i0rQEdhGoon0yyT4kvULQuBeDownAI g+SgFdQT5qOUbauBoo0lBQP2hIndJJxHNK5jvcytkuIdjW6Dns+uH4J+ywrkI8rgD9qB 4prQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=KfgzFQr5Wn5nGNjOjmePsm1TRI//Puj9xojQkt54LHE=; fh=+/nb4JYgWVsJgL0fXRg+QumIy/1P6AKEiNvCREFLScQ=; b=EMZSrF3sSIa8ara4Tj/o7PWOnXK12Dj5/jVpzw+p9jigC++Lzv6FgpLS3ssikhToyr aUflUgxCXfwz/4NJ5hy8Xff1kbvHXQSR/UZv4bKnaB2S6ny1jIJii2Np3C7IDI/aqVlk Q5YwpCY1JSmKqTwgoCNN06Vkpw0UCS81ru7kTwmj7SJqLgNg79/1ig6of4Xjj7m/ZFqx Ni17iKkGk4QCFKP4lMz4R4sfBYgFBKdtY+K8UljSuco3Jheby1NTzp0/RgU9sNPFOS2+ bH1O3LjK3v7PT+OYI2YcdJ6rPjJxZ4iY/RBzwi1iEtKFzUcg2Dq2Sqh3/bsB800Uzab/ 1lsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=1ZHkJbeT; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-134960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f10-20020a1709062c4a00b00a5199a32cd3si3439958ejh.806.2024.04.08.00.55.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 00:55:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=1ZHkJbeT; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-134960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F2B441F21147 for ; Mon, 8 Apr 2024 07:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BF333BBDB; Mon, 8 Apr 2024 07:50:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="1ZHkJbeT" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 59C723BB3D for ; Mon, 8 Apr 2024 07:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712562605; cv=none; b=sbfdWStH6ad3SUUeOYPsBcTdmP9fPx7OZ8Pxu3zkkQ2qgsrXfri+JEocwsoLlDEnssxtenqpociyxnrW0NiyYzeOQ8Dg57s9SWJhMksWuGDD4jZskafWgYPkyOEt125OLGuDlZtXO8r2yTZvi+3W1zDehSpIVf8YDlBZ2lFX1hE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712562605; c=relaxed/simple; bh=62vWMyM9ah8wOO+7CU7SyM0WhITWK9lt/sA4APfNOvo=; h=Mime-Version:Content-Type:Date:Message-Id:To:Cc:Subject:From: References:In-Reply-To; b=En9+qNsom2/4tJMcxJwMFHVBlAQJAbdtwD36pD9ZCFz7ubi3sU2ZfnkciRdK5HSjs0iqetTdtK2sohQZx4vtrF8PEq8OhJvXX3lcS4l6YBSTU3Sw9dQZOFMQqwC1VbiDGIKdmIZiAtpVZSqM7E1GJNAaAZqSpT401KjW3VSYCb4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=1ZHkJbeT; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-56e509baddaso772051a12.1 for ; Mon, 08 Apr 2024 00:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1712562601; x=1713167401; darn=vger.kernel.org; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KfgzFQr5Wn5nGNjOjmePsm1TRI//Puj9xojQkt54LHE=; b=1ZHkJbeTpAz+gh+CUHHOfINR/SX3pJAR9hMbB3wxyRUDRunYDfG5g+qzkRZouNpLqk aTF1FfFqY8BKsi2XpEnNPnJ6x2+CV+yLBlbY3xd1v2peLrEuGRKa0l7FNdUwuCdnFq4c /H4p479Zf+MLLQRzbBDDQvI67NAYI4Po7SGL3i7haDNQyck77d2+j5cNiHzA1rN6sGi4 akb2fHCVe2nSgsABZJIWiu+Q0W43T0UWPE1ysyMTji2NAUUqGt+D5t+/N6Dm/HJmpR/I enscToTqvko6SQtq9IegujD9dIiX6JybwwlQCXpivGQOTCySGKZhuqEqiNyINuwpkadA NJZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712562601; x=1713167401; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=KfgzFQr5Wn5nGNjOjmePsm1TRI//Puj9xojQkt54LHE=; b=EeZyADC8EX+N5i89N860+uTBuS5iuprB5JQjcCcw0I+9rHvk1YE8ckq+wN3+rxRf8R RNQjHc6Ppx8EEpadr23kx7zAosG0bDADo0IXFNNQBwhokksLNoOxUc207dKfo2+6tDmv kfFGS2sthHoWN92VI5SrgofkAgm3c43KRV1r6UnPZu7bPCl094whWo8jaKLiDxfOaJ1Z AG4Cy+ieqsaO/chOHFmPKQGsNa+DqOSYRZ7nVmur0FHqRhDIjzaBAocUs9v6v3murgjM 22Y/14jyYMKXkHI8CPRRgod8ckzT7/olSIPxt66bM4+bfqBKJUEB5TYrw8wAOiv7Dufy jTbA== X-Forwarded-Encrypted: i=1; AJvYcCUpYZjrZ0RkdRoLqn+akcvyod3IU3fTbR98IUExSfGVTlQmxMvNWTfuRBJ7FhsuypX31WZb/+96qdGLDyygUI8ncLGchsm5OwYdaOZg X-Gm-Message-State: AOJu0Yzp+nMD0fyds7QitbqkcoVdK/75z7aLy/c0CYXMayjNIwi07Lzb wH7j5hUUk1RnX8e7Y6zDNpm75aLCbnF+MST6CvzvqD/P+N9pVXSpwYmrqMSyzZY= X-Received: by 2002:a17:906:ac7:b0:a4e:5a23:24d with SMTP id z7-20020a1709060ac700b00a4e5a23024dmr5000388ejf.38.1712562601498; Mon, 08 Apr 2024 00:50:01 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id lx26-20020a170906af1a00b00a4e440989f5sm4079452ejb.159.2024.04.08.00.50.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Apr 2024 00:50:01 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 08 Apr 2024 09:50:00 +0200 Message-Id: To: "Luca Weiss" , "Dmitry Baryshkov" Cc: "Bjorn Andersson" , "Konrad Dybcio" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , , , Subject: Re: [PATCH 0/4] arm64: dts: qcom: add USB-C orientation GPIOs From: "Luca Weiss" X-Mailer: aerc 0.15.2 References: <20240408-hdk-orientation-gpios-v1-0-8064ba43e52a@linaro.org> In-Reply-To: On Mon Apr 8, 2024 at 9:04 AM CEST, Luca Weiss wrote: > On Mon Apr 8, 2024 at 9:03 AM CEST, Dmitry Baryshkov wrote: > > On Mon, 8 Apr 2024 at 10:02, Luca Weiss wrot= e: > > > > > > On Mon Apr 8, 2024 at 4:33 AM CEST, Dmitry Baryshkov wrote: > > > > Populate orientation GPIOs for some of the PMIC-GLINK-based devices= . > > > > This leaves only FairPhone5, RB3Gen2, SC8180X Primus and SC8280XP C= RD > > > > without the orientation GPIOs declared. > > > > > > Hi Dmitry, > > > > > > How would I find this GPIO on the schematics, or downstream devicetre= e? > > > I scanned over some relevant areas but nothing jumped out at me excep= t > > > for the USB_PHY_PS signal coming from PM7250B CC_OUT and going into > > > GPIO_140 of the QCM6490 - but I'm guessing this is something else? > > > > It is exactly that GPIO. > > Great, thanks! The PM7250B datasheet and my limited USB-C knowledge > didn't help me there much ;) > > I'll send a patch to add it. One thing I've noticed now is that the dt schema currently explicitly disallows orientation-gpios for anything that's not sm8450, sm8550 or x1e80100. arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dtb: pmic-glink: orientati= on-gpios: False schema does not allow [[84, 140, 0]] from schema $id: http://devicetree.org/schemas/soc/qcom/qcom,pmic= -glink.yaml# So I'd think also this series will cause some extra validation errors if the schema is not adjusted? Are you planning to do that? Regards Luca > > Regards > Luca > > > > > > > > > Regards > > > Luca > > > > > > > > > > > Signed-off-by: Dmitry Baryshkov > > > > --- > > > > Dmitry Baryshkov (4): > > > > arm64: dts: qcom: sm8350-hdk: add USB-C orientation GPIO > > > > arm64: dts: qcom: sm8450-hdk: add USB-C orientation GPIO > > > > arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add USB-C or= ientation GPIOs > > > > arm64: dts: qcom: sc8180x-lenovo-flex-5g: add USB-C orientati= on GPIOs > > > > > > > > arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 ++ > > > > arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 ++ > > > > arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 1 + > > > > arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 1 + > > > > 4 files changed, 6 insertions(+) > > > > --- > > > > base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc > > > > change-id: 20240408-hdk-orientation-gpios-141bc7fd247d > > > > > > > > Best regards, > > >