Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp817451lqh; Thu, 28 Mar 2024 18:45:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsccBzq2+okWG7+bMjkz8+2mSgxAjmngTW2TmcoTUokbS6eXmc/X2LVvQkFuFCu5507w26k3K+/Eti1K/Afe6quCnJKeYC0+6c+M7a6g== X-Google-Smtp-Source: AGHT+IETD5wUSDKBCvI/dPZsLxFGGjPcbAqwtrchWXuFPJ4x1Gi+Sme4yBbRUnZ4Xinh8xqBQLhw X-Received: by 2002:a05:6a00:3992:b0:6e6:2dc9:dcbc with SMTP id fi18-20020a056a00399200b006e62dc9dcbcmr6007342pfb.10.1711676709238; Thu, 28 Mar 2024 18:45:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711676709; cv=pass; d=google.com; s=arc-20160816; b=vqKYg59UjmDeXDTDa8EXu2V4FL8ecHrNWaM9eyJ0eTMZOZJ0iK40qCGSY02ixJsV0Y 6nB4KlW6m1dAYKVHobAZt/hQuwQAsg74gOQaBXFSESTTn7rCJUyWuvvUwzijJl9dwBWQ C+oRnOTzXFWBLiAbiNLCqUdBmYWTbdmb8X3llQBT4gy3C1iahoJUCeAa4AIuSh7QKWTG EpWs7Y8bVFY22n9Hxj2CfPZMrQIE8tltdJWeHl5JqV8hdL3cpWmz09EDzy2ja4xoojsm QkzGOKLfSO5kb+hyZogeeAwlE9NRHAAL+4YpTqZzM64gNeulQQb4c/F5CkI/xuS0wKTw i3rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=gNux39GZ9PplhhfClr7WIbvdC+MvZFr9TXEFrMsn6O0=; fh=eOIP4lIA37Ly3/Sc81UdT/wlCsiiOQaAbotFh2y5vk0=; b=nWWj47qOYMoKxg5MApHylFht44JOZWjodQhVt2nCj8TctIeGzS/Sp3QLlJ04nysrH/ wzOFZKzKYJ6T+iJYvY1vlNeA3blorMUzuZT3+ZyZEYS8ZzReKZlfUvqWpNQHumz5du9U dX16Emq1yl1KtVDNKjv/WByh1L0kXHDaR+OmkKXoQh8Zo6cfeHj45Nc3S7gSJdsetvqZ AQ5I4nfuIFhMmn9Uup0nR+T+3bHFpqmZwjRrBb5aFvyKM+micmzfnCDhDPrZnvpeQdBX lUpdttf0rdXVnDbI5XqxD/QsswyWnGhBq3OSpjuAu2SpqVmHfU5JgPgmSvzQAJKaHqeY H9kA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mM5Lhc0Y; 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-123972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123972-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id be23-20020a056a001f1700b006ea790f3132si2685492pfb.163.2024.03.28.18.45.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 18:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mM5Lhc0Y; 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-123972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123972-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 39E41B22E35 for ; Fri, 29 Mar 2024 01:45:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1D9018643; Fri, 29 Mar 2024 01:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mM5Lhc0Y" Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 2624C10A3A for ; Fri, 29 Mar 2024 01:44:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711676694; cv=none; b=NvLTY9N6bLWHQFzxhopse95BFyuDfzmMTEeRli4E45IhJyAfrneGSqtH0UUJm6VaF/AjbdWpVM+zpSfyzIMy3mUMFNQlzUnaIZpzr745zQD4ppab7ZFq0MyRJ49zi+hBeL6Iz81G6qjlHER8h24W9RjsgPAvhu8asNaw4VNg9OQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711676694; c=relaxed/simple; bh=gEA8K8t4hqBPN9wzG8A+ksg0xWJK4mQ9uMlSu+sQHVw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=MQTo+jC1Ki+uCqlDFhRAAA3htiAKKy0V+CAidXpxgpqaMyfPW4pC1aVPDrR6XFuCoLv4vvkGrurwCOBGY4iGS3SY5s/vwIT6g6s0m5GcLsP4k7BgYd19dfuTAsJ5dcV4CdnxIxG/dzCYwBkt56qrca62CUPKGcijiFPRHeG4zuk= 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=mM5Lhc0Y; arc=none smtp.client-ip=209.85.219.181 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-yb1-f181.google.com with SMTP id 3f1490d57ef6-dc25e12cc63so2399813276.0 for ; Thu, 28 Mar 2024 18:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711676691; x=1712281491; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gNux39GZ9PplhhfClr7WIbvdC+MvZFr9TXEFrMsn6O0=; b=mM5Lhc0YVM/b1yf9ozjetAr704YUJa1qPpL/bAcnBE8l1Zlze9DcDuVkAwDAUZ7BVk fDIs77jE7Ahx7HcT905rUyHUQeWVJZcFd7v2JFCk2BulBYxYT7mWXCfMLRPN1KhnZ2J/ crHWkjuZcJPcLz7HcXCSldqcNabXLp0RVGTcm+nz1YgB6acLHLd1KdUjUJw3zdvlQTkk OJkPem+Y6/RdTQTzgVOCKZPW1fjJgAO8fcY6NzeOB35hbOd0gA6fzc7Iazqre0VBmneJ 2dap+kosvCeOSfZoqQPJej+NFGjzSdUNxnRPl5HLyltnE7FOM7LMkVqau2TUJHvbpWz3 /Yrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711676691; x=1712281491; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gNux39GZ9PplhhfClr7WIbvdC+MvZFr9TXEFrMsn6O0=; b=q5x7PgIQCnm4b0EXqt/lS0wI1enBl53dlhKqSZPbkU6A7NmSdMRtb7nA6SqTvPS+qe pGgUfWkA0FKiI28fHVSi28LKs6djY66uuzn3Dh7MPKhTMZzeHsNgXgUuGJv+MPzTm9+v vHwtbpREewk6ZYa2hK09rOXGeR0B+srXyJfKPHk/m4m51Px2CBw8rShLlnSv7+4eQJ8y 4zPdCxxrl+J4QE4dU5clHrfJzVspw1SO+HAUyBmu8ru5ui6K3GV6t/OyyFKegiStI8ja nCKfZObnxIqJm6u0/FMoU2qPFqHzd1c8lpvh0ZWKGrLYgql60EmivNsQPnEIrGZeSFYz UTpg== X-Forwarded-Encrypted: i=1; AJvYcCX5c/aQSGzhHsyH4u1vma0qvxM4CWk7fCGKtjn8HzKmhB78u14MFoRDcU4HkKLEOLGxVjdCgHobTeMn7yXm6HmHCErPltlA62rnYqWR X-Gm-Message-State: AOJu0Yzuzg8uStXOMYwICjZycxZ1B40HzL263WJFNArTD8CDHPsLPK5/ firdm4TTNCROwSuYgGS0iaUzEfNxqL6Vwn6T4KN/zUQbqTe8TFKVQM933csV7r4npOAl/qHJVsa +37nMI0qyNKA2xyLUJ6nbO/RHIg8YDvtMvQQBOQ== X-Received: by 2002:a25:2e44:0:b0:dc6:d258:c694 with SMTP id b4-20020a252e44000000b00dc6d258c694mr2970896ybn.19.1711676691033; Thu, 28 Mar 2024 18:44:51 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240326-rb3gen2-dp-connector-v2-0-a9f1bc32ecaf@quicinc.com> <20240326-rb3gen2-dp-connector-v2-2-a9f1bc32ecaf@quicinc.com> <20240329013743.GA3476498@hu-bjorande-lv.qualcomm.com> In-Reply-To: <20240329013743.GA3476498@hu-bjorande-lv.qualcomm.com> From: Dmitry Baryshkov Date: Fri, 29 Mar 2024 03:44:39 +0200 Message-ID: Subject: Re: [PATCH v2 2/6] arm64: dts: qcom: qcs6490-rb3gen2: Add DP output To: Bjorn Andersson Cc: Bjorn Andersson , cros-qcom-dts-watchers@chromium.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" On Fri, 29 Mar 2024 at 03:37, Bjorn Andersson wrote: > > On Thu, Mar 28, 2024 at 09:17:45AM +0200, Dmitry Baryshkov wrote: > > On Thu, 28 Mar 2024 at 05:07, Bjorn Andersson wrote: > > > > > > On Thu, Mar 28, 2024 at 03:51:54AM +0200, Dmitry Baryshkov wrote: > > > > On Wed, 27 Mar 2024 at 04:04, Bjorn Andersson wrote: > > > > > > > > > > The RB3Gen2 board comes with a mini DP connector, describe this, enable > > > > > MDSS, DP controller and the PHY that drives this. > > > > > > > > > > Signed-off-by: Bjorn Andersson > > > > > --- > > > > > arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 40 ++++++++++++++++++++++++++++ > > > > > 1 file changed, 40 insertions(+) > > > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > > > > > index 63ebe0774f1d..f90bf3518e98 100644 > > > > > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > > > > > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > > > > > @@ -39,6 +39,20 @@ chosen { > > > > > stdout-path = "serial0:115200n8"; > > > > > }; > > > > > > > > > > + dp-connector { > > > > > + compatible = "dp-connector"; > > > > > + label = "DP"; > > > > > + type = "mini"; > > > > > + > > > > > + hpd-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>; > > > > > > > > Is it the standard hpd gpio? If so, is there any reason for using it > > > > through dp-connector rather than as a native HPD signal? > > > > > > > > > > I added it because you asked for it. That said, I do like having it > > > clearly defined in the devicetree. > > > > I asked for the dp-connector device, not for the HPD function change. > > > > I didn't realize that you could have a dp-connector device without > defining the hpd-gpios, but it looks like you're right. > > Do we have any reason for using the internal HPD, when we're already > spending the memory to allocate the dp-connector device? No, no particular reason. I was trying to understand if there was any reason for that from your side. Then: Reviewed-by: Dmitry Baryshkov > PS. It's recommended that you dynamically switch to GPIO-based HPD in > lower-power scenarios, as this allow you to turn off the DP controller > and still detect plug events... I don't think rb3g2 is a low-power device, but I think this is still a valid argument. -- With best wishes Dmitry