From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.11 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793801574; b=Oy9ApPbV7dbgkWvCCxmPepuv6TZwPIcnp6A09dmmEJtvaRsPZbqec2rSOunB1VlQqU+O eSLDnmLrdf6Fgz+0Pi5NBC57ehKav+Emf4gKudbqbGJJ7w+hmCRxQr/NDEj4uNwUmThcg S4kCfGsc92R15bSRtp6CpjzM1o6HsExToPeZ1u24pZpDloQQLRy5yZwR6s8ktmsh1Ghs7 kkKJEtQte+AUbhkoqlXNBRFCluRY73JUy5G6w3hSAzxROMbdj+UtLEzZ/sAwYMpFPIDRh Wbmr0poQz3LdOI9b3vkWfegR/HmbBldUPBRxaLWjGzOdABrWBbIEfG2sq7EXBzkVXiw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793801574; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-ZohoMailClient; bh=38VA2H8qePqwIYJK9Lv4rw/Z1vAKKdfl7oNR3G6+SJI=; b=Lxeyuz5zCptzVQM4rxyAojRka2AucpinjiKA07VUZWgn302Hq9POXHutZn3XmSOz7eBf vz+88yPggNZLsVbOY00V+6xHRYwiP8PutbZjq32anT+6Z6HkMg2BAp2lDJfcJ941l+q30 rpsuczJdUB6DzVYJ1ZP47GpZYnPs7huDIp5BxIdsGT4Lt/pw9j9q5BQVB2d2kKgBBqyGY np0VsIfUOyPmFb9T0skUragqebt9391+Ti3HkgxcW+l17RReXkprelN6OIklYjK3fPtua 8MTAMWyQ7h9wQxjLj+QNTt+9kab52D3aqv9PfqWLdDhbuW1dgnG+XoKmjtjiA+vUaBQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=a7FPeDjI; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.11 Received: from sender5-op-o11.zoho.com (sender5-op-o11.zoho.com [165.173.182.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24DB7606D806; Wed, 4 Nov 2026 14:12:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 24DB7606D806 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=a7FPeDjI ARC-Seal: i=1; a=rsa-sha256; t=1793801529; cv=none; d=zohomail.com; s=zohoarc; b=ZyX5f1Cf89wW5Edr4lHQERX2kboXpsu/rNHYZt0q/9uLiyiHZ7QWaVBoxDgdjPV5OHHWTMNVw9a1C0UzavY8RNQn5MDlSMB9RaF0oviDt+5kHSYBj2k4hKcg93xbQyBEFINRWnyIGkdxqLZ/0fMPKtefBbjuZnr7NzZlP/iM5mk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793801529; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=38VA2H8qePqwIYJK9Lv4rw/Z1vAKKdfl7oNR3G6+SJI=; b=BGfeg2Tby8KRAu8gYrjpPJ5rNrjcsZ0M0jzXUgrSmTiXgF5UBqRCFMr6ql5moxkGZAG1Rabl2VmQ80dTnkmlu3mx6j0YJVqQxe2rEUGQX2E0rUfN8ZoexAR9T9Tls+uE5gES09cWwWJvL2z+XRK6qjWk7z/RNAJ+zA414f7xUtQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=dmitry.osipenko@collabora.com; dmarc=pass header.from= DKIM-Signature: a=rsa-sha256; b=a7FPeDjIAd+oqfNMJ45F8q+IAzBsU+e7s8ymZ1Kgdq/a62ZQ01GkAyAsnFEnacs+UNWwXtFLAnlYORzOY6q5MOJTvZyYQ1M2VszAi0qE8qveT5HNsGlR8Ge8+9liZVd8SVX4oJ3QvnA2Y8T57skQ7w5cmVypM+8qIeKLtDsk6w4=; c=relaxed/relaxed; s=zohomail; d=collabora.com; v=1; bh=38VA2H8qePqwIYJK9Lv4rw/Z1vAKKdfl7oNR3G6+SJI=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc; Received: by smtp.zohomail.com with SMTPS id 1793801527817488.62799176614215; Wed, 4 Nov 2026 06:12:07 -0800 (PST) Message-ID: <73c78fe7-8772-4b9c-a4b0-685e26a57a61@collabora.com> Date: Wed, 4 Nov 2026 17:12:02 +0300 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 04/10] dt-bindings: media: snps,dw-hdmi-rx: add a port for a bridge in front To: Sascha Hauer , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dingxian Wen , Shreeya Patel Cc: Gerald Loacker , Lucas Sinn , linux-media@vger.kernel.org, devicetree@vger.kernel.org, kernel@collabora.com, linux-kernel@vger.kernel.org, Conor Dooley References: <20261005-hdmirx-media-v3-0-71a11a2e3e76@pengutronix.de> <20261005-hdmirx-media-v3-4-71a11a2e3e76@pengutronix.de> Content-Language: en-US From: Dmitry Osipenko In-Reply-To: <20261005-hdmirx-media-v3-4-71a11a2e3e76@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External On 10/5/26 16:28, Sascha Hauer wrote: > Describe the OF graph port connecting the receiver to an HDMI bridge in > front of it. The schema sets additionalProperties: false, so without > this a device tree carrying the endpoint does not validate at all. > > hpd-gpios is the +5V line of the HDMI connector, which the source drives > to announce itself. On a board whose HDMI connector belongs to such a > bridge, that line goes to the bridge and there is nothing for the > receiver to sense, so the property cannot be provided. The name is > unfortunate: the hot plug detect line the receiver drives back at the > source is a controller register, not this GPIO. Describe what it > actually carries. > > A board has either the connector wired to the receiver or a bridge in > front of it, so require exactly one of hpd-gpios and port. > > Assisted-by: LLM > Acked-by: Conor Dooley > Signed-off-by: Sascha Hauer > --- > .../devicetree/bindings/media/snps,dw-hdmi-rx.yaml | 21 +++++++++++++++++++-- > 1 file changed, 19 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml > index b7f6c87d0e06a..896f8ffbb5bf9 100644 > --- a/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml > +++ b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml > @@ -63,9 +63,21 @@ properties: > maxItems: 1 > > hpd-gpios: > - description: GPIO specifier for HPD. > + description: > + The +5V line of the HDMI connector, which the source drives to announce > + itself. Despite the name this is an input to the receiver; the hot plug > + detect line the receiver drives back at the source is handled inside the > + controller. Absent when the connector belongs to a bridge in front of > + this receiver rather than to the receiver itself. > maxItems: 1 > > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Connection to the HDMI source. Present when an HDMI bridge sits in > + front of this receiver instead of the connector being wired straight > + to it. > + > rockchip,grf: > $ref: /schemas/types.yaml#/definitions/phandle > description: > @@ -88,7 +100,12 @@ required: > - power-domains > - resets > - pinctrl-0 > - - hpd-gpios > + > +oneOf: > + - required: > + - hpd-gpios > + - required: > + - port > > additionalProperties: false > > Acked-by: Dmitry Osipenko -- Best regards, Dmitry