Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2502784rbb; Wed, 28 Feb 2024 04:06:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV66zgJjS160UWemSIqxf96gDNz4JVIrvc0aNvpOj8nmVy9/Ijvg5kGLMBNiHgr0Gd1vhMc+fbnosNIhrgwXPC9PfY4v4roOlkeTgsLdw== X-Google-Smtp-Source: AGHT+IGveSjsmiQ5A7RvXmVvblZke6uupYC791HtyrV//jP6YWXAAKYNcYX9ydX/X0hyez5hMWaV X-Received: by 2002:a05:6808:f0d:b0:3c1:9b7d:d60e with SMTP id m13-20020a0568080f0d00b003c19b7dd60emr5754345oiw.38.1709122009910; Wed, 28 Feb 2024 04:06:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709122009; cv=pass; d=google.com; s=arc-20160816; b=Ip2dlb+CLADSNS7jdo40z4bvIxuq9y/bjAQ/KqyHy0ovVRrGRT8T+EDdPv7U43ctWJ sbPexvbSn1U6ZnvdXZj9lE+EFoqSd8dn+SvM5oX1CwRc9zC2Me2H3Kv+9WXPYXfap/hW jX8wRPH5bYtu3ayhg4dTX3tjeOUyv+p87bnNPQo/XQgKxkHrnOrvqn0EfGdJyKwoNZaA X7332Ff4Zp/FdCYcNx7pH9ffEkV6GydJSiKG+uzgG2lowEgGY7Ykd7BdGoisP7QKHCmT fQTOj2TxKnY1tDRAA0PAGUXNKFoWbIDpA5YbWSXedpvKIMYX0x86I0iLco20WqsZigqv HUIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=3+VI7MTCjqv5ltVrYiuQOAgqPkJjfA+SZH//lgQvucE=; fh=WGZdWd+LgAgMgJF072Ntb5NguccpDI1ecb7wIEsAGPM=; b=Buk7ytw66jRPYahWsrOo5KIpbF3gxoShwCqqAUVWXNx4Pc2Dvth+CQg3infAvfu/eB N02xsH77B/8NUGGuTYUkLITRAKgpQQgTAtKWqm96Ox+QHzA2mwqK0kvUeLxQSAHfYPiX LSCn87caCsGbWruDJczH+CKZ/NOVLJpvo/+DL+pG8PTgt+YvEMgDjcOClqP+ob5aCIbf AKYFctk60X9KFhfGDS+dusfto0AcrKBRcZlzpmwVNyIYGh/AhGsJwoXXvY6e9zbfVwWZ O7/x3LBpKpguH4GulY2RhSBs4eeHGGj678b1DQjU4LYOXDppolcVmg+q2bTCwwpraCIl nG6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-84980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v7-20020aa799c7000000b006e568580af7si781588pfi.111.2024.02.28.04.06.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 04:06:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84980-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; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-84980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 F2F19297182 for ; Wed, 28 Feb 2024 11:59:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06B1A7352A; Wed, 28 Feb 2024 11:54:08 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BECF67351D; Wed, 28 Feb 2024 11:54:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709121247; cv=none; b=d4geILPwv+bgsKR/Ih2fAyEiX+XrRAim08AZnZAK6kkk0a2rMJ9CpP8l53D63z8az2rPLeLkMp4CFgCoEkpyOiHu0RzyMCGcccc8RYn2agpJ1w3skkNzmgLHRPLs3Z5I1Xf0E0Q+4KMCSy98d49HOn2XbzImOCTSFEEFfxgUXm8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709121247; c=relaxed/simple; bh=2Zrc5durpoQSNnz0Dgs2PCHagqWa26Fx2LnD0iIMZJY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dK0F7RT88XpdP+09rP58Bi5iRbZFzlcsi8kC7muNLSh9t2X6mri2d1DAT27D+05M2gUAF0lpH4jJ5GMvefjantUIM3E5eIPjmTlANrol0iaGeIOlxSI4ZbzGsGyaqt6L+voOU+eX7XNdu898x8keDYeWmG7Bt61rq8wDSoOjdjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875b6c.versanet.de ([83.135.91.108] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rfIVc-0001Gf-2b; Wed, 28 Feb 2024 12:54:00 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Vinod Koul , Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org, Sebastian Reichel Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Wang , Kever Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com, Zhang Yubing Subject: Re: [PATCH v3 02/10] phy: rockchip: add usbdp combo phy driver Date: Wed, 28 Feb 2024 12:53:59 +0100 Message-ID: <1891069.1xdlsreqCQ@diego> In-Reply-To: <20240216170514.75200-3-sebastian.reichel@collabora.com> References: <20240216170514.75200-1-sebastian.reichel@collabora.com> <20240216170514.75200-3-sebastian.reichel@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Freitag, 16. Februar 2024, 18:01:17 CET schrieb Sebastian Reichel: > This adds a new USBDP combo PHY with Samsung IP block driver. > > The driver get lane mux and mapping info in 2 ways, supporting > DisplayPort alternate mode or parsing from DT. When parsing from DT, > the property "rockchip,dp-lane-mux" provide the DP mux and mapping > info. This is needed when the PHY is not used with TypeC Alt-Mode. > For example if the USB3 interface of the PHY is connected to a USB > Type A connector and the DP interface is connected to a DisplayPort > connector. > > When do DP link training, need to set lane number, link rate, swing, > and pre-emphasis via PHY configure interface. > > Co-developed-by: Heiko Stuebner > Signed-off-by: Heiko Stuebner > Co-developed-by: Zhang Yubing > Signed-off-by: Zhang Yubing > Co-developed-by: Frank Wang > Signed-off-by: Frank Wang > Signed-off-by: Sebastian Reichel Not sure how that relates to me being listed a Co-developer, but this works nicely on both rk3588-jaguar (real type-c) and rk3588-tiger-haikou (micro-usb3 as dual-role port and usb3-a host port), so Tested-by: Heiko Stuebner It would be nice if patches 1+2 could go through the phy-tree and I'd be able to pick up the devicetree patches after that, to minimize conflict Thanks Heiko