From mboxrd@z Thu Jan 1 00:00:00 1970 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 A41A52798F1; Fri, 9 May 2025 07:47:30 +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=1746776853; cv=none; b=QmteTqWaV9sTYKjXypyXEK7rjR8p91bTSNo0IZKiITLdTFD9WXml4uCqTujKHDAK+4OYjHpdzXs29lor9tPwMQ8syCL9mTA7nTm+PEJvRnSCrXHD/YEsyFmGtyQMgT2E1c51vgrmKtHZ/mJwAcGYFziDjUbnxePVZyPzzVQnzQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746776853; c=relaxed/simple; bh=7hGSTJUJwWKBkskKKd6vjPVBNQk7e0mRaBKQ0dg9WkE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n4r+UgKsXE5VdXU2mVXL6/ANQEi3Hc+tmMHBFcy5h0rFXiHIbMqPuzFP+4OjCaj+LrnRm806IIuBdiHvRYacsdetE0hW0rVW6v51PYtkqzutUoyBQaThgoegTBW3oIcYCV7h9am3KYhpg8NpuIPSAEx1SbCbvE2uaUJkECb7Hvk= 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; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=uf1RgzYa; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="uf1RgzYa" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=k66pmCI1pT3vfBJYih/fR8R6maFESHCnrlUq6lhyU7E=; b=uf1RgzYa1jurRkM4LRmh7M2nKi X/tNKnrMcl9U3XpmbQXaWzo+GtVk2elzKzG+FacPEffuVMPfQzBsi4GYPHTJfh4wa3q8SS4uYbr5w 38D7UiS497Wv+KxKTttiN6YWS9Gi2SXLmG5gfxG0GyTADF+EUp7qGoiC0pBINFIsW6SjWr0vTVAPz bH98GaqZTd6jGfDtZtFA8kexrzNPabyXJx9uekAdnvYdAWWixnZbkPqpObBteA5dPPAwxstxYIHMg yTrJZ6pR+o/+4FED01z3iFhYKVPZ/UXHDyQg9McHn3Bb9ptOo9OWt68bZ8HyFq8IR3vsDgSKTWFIH OItVOlXg==; Received: from i53875a1d.versanet.de ([83.135.90.29] 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 1uDIRf-0007kz-JF; Fri, 09 May 2025 09:46:59 +0200 From: Heiko =?UTF-8?B?U3TDvGJuZXI=?= To: Krzysztof Kozlowski , Chaoyi Chen , Sandy Huang , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chaoyi Chen Cc: Dragan Simic , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] dt-bindings: display: rockchip: Convert cdn-dp-rockchip.txt to yaml Date: Fri, 09 May 2025 09:46:57 +0200 Message-ID: <1824349.VLH7GnMWUR@diego> In-Reply-To: <5a4f6229-1450-4c96-bfac-5257f66b2ddf@rock-chips.com> References: <20250509070247.868-1-kernel@airkyi.com> <5a4f6229-1450-4c96-bfac-5257f66b2ddf@rock-chips.com> Precedence: bulk X-Mailing-List: devicetree@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" Am Freitag, 9. Mai 2025, 09:34:47 Mitteleurop=C3=A4ische Sommerzeit schrieb= Chaoyi Chen: > Hi Krzysztof, >=20 > On 2025/5/9 15:11, Krzysztof Kozlowski wrote: > > On 09/05/2025 09:02, Chaoyi Chen wrote: > >> + > >> + clock-names: > >> + items: > >> + - const: core-clk > >> + - const: pclk > >> + - const: spdif > >> + - const: grf > >> + > >> + extcon: > >> + $ref: /schemas/types.yaml#/definitions/phandle-array > >> + description: > >> + Phandle to the extcon device providing the cable state for the = DP PHY. > >> + > >> + interrupts: > >> + maxItems: 1 > >> + > >> + phys: > >> + $ref: /schemas/types.yaml#/definitions/phandle-array > > Just phandle. If this is an array (but why?), you need maxItems for > > outer and inner dimensions. >=20 > I think it could be phandle or phandle-array. Since the RK3399 DP has=20 > two PHYs, if we put in two PHYs here, the driver will pick one PHY port=20 > that is already plugged into the DP for output. If we fill in only one=20 > PHY here, then output is only allowed on the corresponding PHY. >=20 > Will add restrictions and add more descriptions in v3. Just looked that up in the documentation. Only the rk3399 has used this controller at all so far. There is one cdn-dp controller on it, but two phys for the two type-c blocks on the soc. The controller can then select which one to drive. So yep, there are two phys. Heiko