Justin Vreeland 794d92
From patchwork Thu Sep 24 06:30:43 2020
Justin Vreeland 794d92
Content-Type: text/plain; charset="utf-8"
Justin Vreeland 794d92
MIME-Version: 1.0
Justin Vreeland 794d92
Content-Transfer-Encoding: 7bit
Justin Vreeland 794d92
X-Patchwork-Submitter: Jian-Hong Pan <jhp@endlessos.org>
Justin Vreeland 794d92
X-Patchwork-Id: 11796255
Justin Vreeland 794d92
Return-Path: 
Justin Vreeland 794d92
 <SRS0=xrLY=DB=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org>
Justin Vreeland 794d92
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
Justin Vreeland 794d92
 [172.30.200.123])
Justin Vreeland 794d92
	by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7652892C
Justin Vreeland 794d92
	for <patchwork-linux-arm@patchwork.kernel.org>;
Justin Vreeland 794d92
 Thu, 24 Sep 2020 06:35:46 +0000 (UTC)
Justin Vreeland 794d92
Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134])
Justin Vreeland 794d92
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
Justin Vreeland 794d92
	(No client certificate requested)
Justin Vreeland 794d92
	by mail.kernel.org (Postfix) with ESMTPS id 446A02067B
Justin Vreeland 794d92
	for <patchwork-linux-arm@patchwork.kernel.org>;
Justin Vreeland 794d92
 Thu, 24 Sep 2020 06:35:46 +0000 (UTC)
Justin Vreeland 794d92
Authentication-Results: mail.kernel.org;
Justin Vreeland 794d92
	dkim=pass (2048-bit key) header.d=lists.infradead.org
Justin Vreeland 794d92
 header.i=@lists.infradead.org header.b="Ewe+VItP";
Justin Vreeland 794d92
	dkim=fail reason="signature verification failed" (2048-bit key)
Justin Vreeland 794d92
 header.d=endlessos-org.20150623.gappssmtp.com
Justin Vreeland 794d92
 header.i=@endlessos-org.20150623.gappssmtp.com header.b="CNwT7A48"
Justin Vreeland 794d92
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 446A02067B
Justin Vreeland 794d92
Authentication-Results: mail.kernel.org;
Justin Vreeland 794d92
 dmarc=none (p=none dis=none) header.from=endlessos.org
Justin Vreeland 794d92
Authentication-Results: mail.kernel.org;
Justin Vreeland 794d92
 spf=none
Justin Vreeland 794d92
 smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
Justin Vreeland 794d92
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
Justin Vreeland 794d92
	d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding:
Justin Vreeland 794d92
	Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive:
Justin Vreeland 794d92
	List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From:
Justin Vreeland 794d92
	Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender
Justin Vreeland 794d92
	:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner;
Justin Vreeland 794d92
	bh=chkjbj+LzntWzzQJLh/rXGTFqeExn4dgG2O97gwtks0=; b=Ewe+VItPNb0cS0qCak0A3gLOeX
Justin Vreeland 794d92
	bcpHL7ZaEhLIPRz8yVoIAmkgeWa7i/Di2PJYMylsX4RKDFgyUL1h7ZX4z+1ttbXbvrB+18WV8oIJT
Justin Vreeland 794d92
	T1eJhGvQryqOaiLYK3c7IDdlJWp7pG4L4hTz/aKyJwesEIRAbBwiWZCG1bzOo55Z02w3hpnC7yJCC
Justin Vreeland 794d92
	+9chtonwVExWOlHsIWPQMLY4ONWVnB9wjCfIYhNWkB+6ZsfXKyqox9jQW/L8FXbF7ggXiAr5h5eUQ
Justin Vreeland 794d92
	ltSVML0uS0EbGETdS66lseFR0udqSyCw8xV9xg2VE8WwRWWwdR8TIqN+9IrMwPEdw08pCKhaTHPQV
Justin Vreeland 794d92
	2jHNXI5Q==;
Justin Vreeland 794d92
Received: from localhost ([::1] helo=merlin.infradead.org)
Justin Vreeland 794d92
	by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux))
Justin Vreeland 794d92
	id 1kLKqt-0002qa-Il; Thu, 24 Sep 2020 06:35:35 +0000
Justin Vreeland 794d92
Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443])
Justin Vreeland 794d92
 by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux))
Justin Vreeland 794d92
 id 1kLKqp-0002pK-Dt
Justin Vreeland 794d92
 for linux-arm-kernel@lists.infradead.org; Thu, 24 Sep 2020 06:35:32 +0000
Justin Vreeland 794d92
Received: by mail-pf1-x443.google.com with SMTP id z18so1296203pfg.0
Justin Vreeland 794d92
 for <linux-arm-kernel@lists.infradead.org>;
Justin Vreeland 794d92
 Wed, 23 Sep 2020 23:35:30 -0700 (PDT)
Justin Vreeland 794d92
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
Justin Vreeland 794d92
 d=endlessos-org.20150623.gappssmtp.com; s=20150623;
Justin Vreeland 794d92
 h=from:to:cc:subject:date:message-id:mime-version
Justin Vreeland 794d92
 :content-transfer-encoding;
Justin Vreeland 794d92
 bh=cMk5EkO4+a7or+6O9dGbx3RFLRF/gjrDA61H05E6FkU=;
Justin Vreeland 794d92
 b=CNwT7A48Bv2tL3cgjhSN+QqVUZyOE4oH0z/QPxXWxHlfvRHPpqeNrgMWakuntfufGc
Justin Vreeland 794d92
 6KUk9TcIO4PkswHtuWMCf8r0mqTH7vFuT/bBhZeuy+TzYNKUXRoJdaXK4dG2kfEf6gk9
Justin Vreeland 794d92
 Rs+I9bobAz5kV/oNMpcu35ByBl0v2BMQslpfYGtbn+BM6zjiNUEgodgm/4r34wcvNwjn
Justin Vreeland 794d92
 2UZSNR3oyiG2TOzi14qu9qp3NluDDlwqlAsjDtGiwA1n+eCdk+t0tAvQNAGekqGpvOW0
Justin Vreeland 794d92
 AfujOjW5OyTXMvkODohRmQk5rm5/k6ztAB9NzO9IKQlmmQAsxA4HMGEoPuDQUbYpeg8O
Justin Vreeland 794d92
 Orjg==
Justin Vreeland 794d92
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
Justin Vreeland 794d92
 d=1e100.net; s=20161025;
Justin Vreeland 794d92
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
Justin Vreeland 794d92
 :content-transfer-encoding;
Justin Vreeland 794d92
 bh=cMk5EkO4+a7or+6O9dGbx3RFLRF/gjrDA61H05E6FkU=;
Justin Vreeland 794d92
 b=IbmaG6cS3n+4zMcqlr0vhRIs13DTbZLUxntFaAUm+Dr4d2PmTeUro/RBbNG7913CRF
Justin Vreeland 794d92
 RvUGF5q0E1FCUitInA5paQ554T4SBLC0vtYBR/2syd688HgW9vgZj9Z/Ml8lMwDc1YOX
Justin Vreeland 794d92
 unIRkI0POHYdi3iSJgcGMQGttr4yga1xJte9Nl0wyz99hs+7hkq1t6u+i0ce5Rk0BIOe
Justin Vreeland 794d92
 vrpXNo2Z3Ky3N8/C1JYi7LRz5s/YyH8F2h87bJHKq0LZjIrAdsex+TquSHI6Oo+JTP2o
Justin Vreeland 794d92
 JNq+2N3VH8cXh4EAThKdRYt2uRSYPmMt5zB6aZ7TdmN/KRrUunUTv3azQ7WYPZ2pb87P
Justin Vreeland 794d92
 /Jtw==
Justin Vreeland 794d92
X-Gm-Message-State: AOAM532LDC+KonHJFYIJ9EWedqQtA5dzYXv+YV8vaedi0MNndgtXMKqj
Justin Vreeland 794d92
 25xaRucf+K4XN3v7IvjkRUWonA==
Justin Vreeland 794d92
X-Google-Smtp-Source: 
Justin Vreeland 794d92
 ABdhPJxRtZ216lgi7xyFj9DVfZBzPvh8X3PV8a9E299xrYCeK5YYgipOFzUGlybGn6AWVn8DDIuoiw==
Justin Vreeland 794d92
X-Received: by 2002:a62:5b85:0:b029:142:2501:34e1 with SMTP id
Justin Vreeland 794d92
 p127-20020a625b850000b0290142250134e1mr3072236pfb.58.1600929329001;
Justin Vreeland 794d92
 Wed, 23 Sep 2020 23:35:29 -0700 (PDT)
Justin Vreeland 794d92
Received: from starnight.localdomain (123-204-46-122.static.seed.net.tw.
Justin Vreeland 794d92
 [123.204.46.122])
Justin Vreeland 794d92
 by smtp.googlemail.com with ESMTPSA id f4sm1691321pgk.19.2020.09.23.23.35.23
Justin Vreeland 794d92
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Justin Vreeland 794d92
 Wed, 23 Sep 2020 23:35:28 -0700 (PDT)
Justin Vreeland 794d92
From: Jian-Hong Pan <jhp@endlessos.org>
Justin Vreeland 794d92
To: Rob Herring <robh+dt@kernel.org>, Heiko Stuebner <heiko@sntech.de>,
Justin Vreeland 794d92
 Soeren Moch <smoch@web.de>, Tobias Schramm <t.schramm@manjaro.org>,
Justin Vreeland 794d92
 Johan Jonker <jbx6244@gmail.com>,
Justin Vreeland 794d92
 Katsuhiro Suzuki <katsuhiro@katsuster.net>,
Justin Vreeland 794d92
 Hugh Cole-Baker <sigmaris@gmail.com>, Robin Murphy <robin.murphy@arm.com>
Justin Vreeland 794d92
Subject: [PATCH] arm64: dts: rockchip: disable USB type-c DisplayPort
Justin Vreeland 794d92
Date: Thu, 24 Sep 2020 14:30:43 +0800
Justin Vreeland 794d92
Message-Id: <20200924063042.41545-1-jhp@endlessos.org>
Justin Vreeland 794d92
X-Mailer: git-send-email 2.28.0
Justin Vreeland 794d92
MIME-Version: 1.0
Justin Vreeland 794d92
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
Justin Vreeland 794d92
X-CRM114-CacheID: sfid-20200924_023531_484980_A8C102E9 
Justin Vreeland 794d92
X-CRM114-Status: GOOD (  15.78  )
Justin Vreeland 794d92
X-Spam-Score: 0.0 (/)
Justin Vreeland 794d92
X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary:
Justin Vreeland 794d92
 Content analysis details:   (0.0 points)
Justin Vreeland 794d92
 pts rule name              description
Justin Vreeland 794d92
 ---- ----------------------
Justin Vreeland 794d92
 --------------------------------------------------
Justin Vreeland 794d92
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
Justin Vreeland 794d92
 no trust [2607:f8b0:4864:20:0:0:0:443 listed in]
Justin Vreeland 794d92
 [list.dnswl.org]
Justin Vreeland 794d92
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
Justin Vreeland 794d92
 -0.0 SPF_PASS               SPF: sender matches SPF record
Justin Vreeland 794d92
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
Justin Vreeland 794d92
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
Justin Vreeland 794d92
 not necessarily
Justin Vreeland 794d92
 valid
Justin Vreeland 794d92
X-BeenThere: linux-arm-kernel@lists.infradead.org
Justin Vreeland 794d92
X-Mailman-Version: 2.1.29
Justin Vreeland 794d92
Precedence: list
Justin Vreeland 794d92
List-Id: <linux-arm-kernel.lists.infradead.org>
Justin Vreeland 794d92
List-Unsubscribe: 
Justin Vreeland 794d92
 <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
Justin Vreeland 794d92
 <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
Justin Vreeland 794d92
List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
Justin Vreeland 794d92
List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
Justin Vreeland 794d92
List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
Justin Vreeland 794d92
List-Subscribe: 
Justin Vreeland 794d92
 <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
Justin Vreeland 794d92
 <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
Justin Vreeland 794d92
Cc: devicetree@vger.kernel.org, Jian-Hong Pan <jhp@endlessos.org>,
Justin Vreeland 794d92
 linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
Justin Vreeland 794d92
 linux@endlessm.com, linux-arm-kernel@lists.infradead.org
Justin Vreeland 794d92
Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
Justin Vreeland 794d92
Errors-To: 
Justin Vreeland 794d92
 linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
Justin Vreeland 794d92
Justin Vreeland 794d92
The cdn-dp sub driver probes the device failed on PINEBOOK Pro.
Justin Vreeland 794d92
Justin Vreeland 794d92
kernel: cdn-dp fec00000.dp: [drm:cdn_dp_probe [rockchipdrm]] *ERROR* missing extcon or phy
Justin Vreeland 794d92
kernel: cdn-dp: probe of fec00000.dp failed with error -22
Justin Vreeland 794d92
Justin Vreeland 794d92
Then, the device halts all of the DRM related device jobs. For example,
Justin Vreeland 794d92
the operations: vop_component_ops, vop_component_ops and
Justin Vreeland 794d92
rockchip_dp_component_ops cannot be bound to corresponding devices. So,
Justin Vreeland 794d92
Xorg cannot find the correct DRM device.
Justin Vreeland 794d92
Justin Vreeland 794d92
The USB type-C DisplayPort does not work for now. So, disable the
Justin Vreeland 794d92
DisplayPort node until the type-C phy work has been done.
Justin Vreeland 794d92
Justin Vreeland 794d92
Link: https://patchwork.kernel.org/patch/11794141/#23639877
Justin Vreeland 794d92
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Justin Vreeland 794d92
---
Justin Vreeland 794d92
 arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 +-
Justin Vreeland 794d92
 1 file changed, 1 insertion(+), 1 deletion(-)
Justin Vreeland 794d92
Justin Vreeland 794d92
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
Justin Vreeland 794d92
index 06d48338c836..d624c595c533 100644
Justin Vreeland 794d92
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
Justin Vreeland 794d92
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
Justin Vreeland 794d92
@@ -380,7 +380,7 @@ mains_charger: dc-charger {
Justin Vreeland 794d92
 };
Justin Vreeland 794d92
 
Justin Vreeland 794d92
 &cdn_dp {
Justin Vreeland 794d92
-	status = "okay";
Justin Vreeland 794d92
+	status = "disabled";
Justin Vreeland 794d92
 };
Justin Vreeland 794d92
 
Justin Vreeland 794d92
 &cpu_b0 {