Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2799275lqp; Mon, 25 Mar 2024 09:29:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwE9fSBgA6SmbuBl3T01hlHMhWa8E1odeZVnfCZLPVVFmbK0wq4hbFv0IYViFrfldpECLYRiAUBqb3yuJd1pHDOHDecTSNDvTpv1jhNQ== X-Google-Smtp-Source: AGHT+IFHSpgd4hUqHWmVbAm01SWSLVdKsWm6XsqRwvYfR/O2d3IX+oJC1qmRQWLLr1VSXzWV4XNs X-Received: by 2002:a05:622a:4b0d:b0:431:3af8:af6d with SMTP id et13-20020a05622a4b0d00b004313af8af6dmr8029321qtb.4.1711384168372; Mon, 25 Mar 2024 09:29:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711384168; cv=pass; d=google.com; s=arc-20160816; b=Ishjps83/EJVkbB14tmPrxRrEFaFjvKlRizVvcevxdgQ0Fs/GUW2Kd3CYb92gSoxLb GHIvYQ5subFFgdropJ5kglJU4iaodQANLoNoBdABNBw8scMlSPv41q/fKVnN3WJL4U4x OYP0zqcZF60N1YzPTGD4QXRQFnTD3J+Qdaq931foM5y1qtMw9KfqGQMYts0Hbzip67El VwGGas0+mCT29SOA1KyEamrr+wSp0B+pM/5mkHjRK6yb8MnWCavvKihr4YL0B/JNqkMi rdjwhJNggx6w8WKhlkX7PC7/rti5vJZnfpeVAgLe0I27jd0/9o+BgVFfHh/bayK+Trm1 GI8A== 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=Gv5ed75Ff4xZX9MOvhSSWWqJJwjSf7hLTsDZxWBea1A=; fh=WGZdWd+LgAgMgJF072Ntb5NguccpDI1ecb7wIEsAGPM=; b=hHVFXIwugHQUmabPh8CoIiOZPcGaM2xZ8CF0bU4idTAv1eILHBFoo0PF8dd3ikCVWG kRXo2Ysank+a1i3t+IZETk6jb9vgpf4fCiJrN4tfC1ct2LsYGXUsQ/YX8gExRyRP1sYo M6PNMvkn3bIJZ9JP9tf5XDRWFPjvJeFTFZceVmYWyDbPLta3PfTMmIbFKZioceah3KPS htovI/6hdmkeWt6mhX34HJasNx0GSfzCEw5wK6TwzzOxX0zTyhuxR0OI9Kgmfx/mZtOZ /m5vgPtfEGNGMKkRn9rTf9+izmlNgUF7ZJv0JFDcPGfPs2B15FsbxW0Zrj+V3JJ7jskJ YyGw==; 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-117233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u11-20020a05622a17cb00b00430ea1a92d2si5706899qtk.619.2024.03.25.09.29.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 09:29:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::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-117233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117233-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0A5531C634CC for ; Mon, 25 Mar 2024 16:22:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A556E12E1D9; Mon, 25 Mar 2024 14:19:50 +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 6D1A1128368; Mon, 25 Mar 2024 14:19:48 +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=1711376390; cv=none; b=OghaywwROzXIzxTRWYeDlSFINRSUgQ8eP3XdGm+/AoBhwKpHUwRcFGocymU18W2t+KnFgFA7kpZHlA5QQch+h+JTKQvSTLvKM+7wbPe3AkWT/7cAWVPrBAbxMeuy97Rq26mvEfFZRgEsca60qCGiOHw0MVhbpzVsOPfeW7IItp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711376390; c=relaxed/simple; bh=sqpsnxYpK+i8G4hHRI5NiWY5dyKGD1SQbSxJQjm/5ig=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=koNek6tH8PpBlH3lX0MWcx7gnJlmbPARD7xGrH5utT3hKntybejKeVWeW5SOg1ftALSwmeZVpYuxTM+a4FIA5zjTCqAjXzg/OcQgVRXdRoGzEDCvUmwpxjg+Q2g+3SWcpKrtoVABAXGyUeznku5CT9t8WYAoOhVh9RFiAfofTLA= 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 i53875aaf.versanet.de ([83.135.90.175] 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 1rolAt-0008Lb-6m; Mon, 25 Mar 2024 15:19:43 +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: Mon, 25 Mar 2024 15:19:42 +0100 Message-ID: <6661610.4vTCxPXJkl@diego> In-Reply-To: <3274787.oiGErgHkdL@diego> References: <20240216170514.75200-1-sebastian.reichel@collabora.com> <20240216170514.75200-3-sebastian.reichel@collabora.com> <3274787.oiGErgHkdL@diego> 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="iso-8859-1" Hi Sebastian, Am Montag, 25. M=E4rz 2024, 15:17:26 CET schrieb Heiko St=FCbner: > Am Freitag, 16. Februar 2024, 18:01:17 CET schrieb Sebastian Reichel: > > This adds a new USBDP combo PHY with Samsung IP block driver. > >=20 > > 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. > >=20 > > When do DP link training, need to set lane number, link rate, swing, > > and pre-emphasis via PHY configure interface. > >=20 > > 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 >=20 > after 6.9-rc1 this needs a respin with >=20 > diff --git a/drivers/phy/rockchip/phy-rockchip-usbdp.c b/drivers/phy/rock= chip/phy-rockchip-usbdp.c > index 1f3b7955c9f3..38dc96cfe403 100644 > --- a/drivers/phy/rockchip/phy-rockchip-usbdp.c > +++ b/drivers/phy/rockchip/phy-rockchip-usbdp.c > @@ -1420,7 +1420,7 @@ static const struct regmap_config rk_udphy_pma_regm= ap_cfg =3D { > .max_register =3D 0x20dc, > }; > =20 > -static struct phy *rk_udphy_phy_xlate(struct device *dev, struct of_phan= dle_args *args) > +static struct phy *rk_udphy_phy_xlate(struct device *dev, const struct o= f_phandle_args *args) > { > struct rk_udphy *udphy =3D dev_get_drvdata(dev); > =20 >=20 >=20 > to honor the change from > commit 00ca8a15dafa ("phy: constify of_phandle_args in xlate") and this "nicely" overlapped with you sending that v4, with said change already included :-) .