From patchwork Fri Aug 30 15:28:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shimrra Shai X-Patchwork-Id: 13785262 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DBCD3CA1005 for ; Fri, 30 Aug 2024 15:30:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LqHvmoCIARVNpToj+eYuwj+OmsqaSf4MJ85C1291WbE=; b=RVpxNiUYHggw2JvZgZjk3OvDvb zTNorF34ajEAamqBJnSWE0RRcHm0+V78FNWEMwNO8XPkRrNUERTcAV3nwHrvJdM3eYPksykXn1vkG FtxIBPvdW/X9wnUgNCOFeIkwVyZ4wXsKhwF5w7Xhrn3QztMZcAAitm3cqNIgtpsya1PRMSDhBsNt2 xMOGYOwjkM3gOcdULDr79I5BOMMrxwkxfhtwz3tfufGUZ8m94fMcKusuqq+8jRpPiUeyh6Fca5NaI Jdd/1DqRYBAJsjpnZiDIgv2jJGEqiJAlAmu92C5MojJe0iJcFx7smqt85MOe0/7TzyF4hra3MPNVl L2AkW74g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk3Zq-00000006oG4-2mvk; Fri, 30 Aug 2024 15:30:18 +0000 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk3YF-00000006nfR-3KUR; Fri, 30 Aug 2024 15:28:41 +0000 Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-39d30f0f831so6920795ab.0; Fri, 30 Aug 2024 08:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725031718; x=1725636518; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LqHvmoCIARVNpToj+eYuwj+OmsqaSf4MJ85C1291WbE=; b=leSNMRNd/ykJXhlpP1E8u88ArgmrjdPSC+Cabxbuvyl1UuBubBhnTth0bGurrLk3KH +YaVg5bjZ+xeD7Dy2LTkJRPpfgoUeZo/xvX4DgZaZoCh6OPoIndImAlcdKqHQMiwHa+r isaClu5Qm/h+WsXjeNX1wncBxEMhWeW5LeJkSbCJTadmuQ/L52sGPblDq4gWCREp1rLe 6FpX8bNd5b3QiEKtZS8cowChifJVlKCwj1kIoAJkLJIQ32bvB9tuFfgAFWu2pqDkeVer oCZWoMny6ADwqIUafSc5H+hQdLo2r3bRbn3QpsHD/FQMIujP1LJD8oQXdno8n1wU+DDT 6mrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725031718; x=1725636518; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LqHvmoCIARVNpToj+eYuwj+OmsqaSf4MJ85C1291WbE=; b=GAFteKyq2zOhbBLYW0ihgi+pZ55L/N5MHlk4Ba0m9sqdL29iHecWP5+McgHTXU6RmY Spk1RTk520QK44Ql/ZXD6t4oR70BFc5bbP5e8d5u1yU+b40DADVk1obuDnk51sR0kfqf nXyuMGMYCHBtJwOgKmSjncfnV1nDG3/gHpw9206wBV1c4x1i/xQTKip1Ff2/lQTpUuSL 1FE8GiHYtEmUaujz+TrxsSw1AX5ToLsf31zrrs44KOcZ4ZW7nKXwMWksDlBP0ckkcOFo ffwnwl+KEIg7bBl7kERGiCvnwo0OvkkPxcq+w+ov/PGoCdYUB+8s0t+F+SrjbGFLg/Jh /hqw== X-Forwarded-Encrypted: i=1; AJvYcCW8ZhalwOp5GGeq4N5J6aYbipxPVFyoCBbXceUAAPhhCWj+ZOl9+q012nlcN9zTM4GgsD9IG1d7ogyl/ib9q1SA@lists.infradead.org, AJvYcCXNrJalwcS47H3tLe3VcpVoPChvADGTUn6FQXrxRcNuka9gfOOj0EkNcbfJgFcdTPo+I8NlxsMIiqCmV69AvgE=@lists.infradead.org X-Gm-Message-State: AOJu0YwrWic30qpZt9zWhnJm8vuX2DeSwBLdKs2vJ5v/+A/ZVl2ReDgS 4Om216FzerJpkQ9RZM+/LJ0dOAwBNCnJ5WJbQN05MKP1qBT3vZ9wVuYhbqvM X-Google-Smtp-Source: AGHT+IEVzWuJALU6+1aSVs6qiSwfELdZVdFHqAGu2Xy58PmOhzNnpMgp8wbA0kkenx3QfFsUSRnUGg== X-Received: by 2002:a05:6e02:1d04:b0:39d:286c:5b72 with SMTP id e9e14a558f8ab-39f378acb8emr64917755ab.28.1725031718371; Fri, 30 Aug 2024 08:28:38 -0700 (PDT) Received: from localhost.localdomain (174-20-195-90.mpls.qwest.net. [174.20.195.90]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39f3b05940asm8853415ab.77.2024.08.30.08.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 08:28:37 -0700 (PDT) From: Shimrra Shai To: shimrrashai@gmail.com Cc: Laurent.pinchart@ideasonboard.com, aarnoud@me.com, airlied@gmail.com, algea.cao@rock-chips.com, andrzej.hajda@intel.com, andy.yan@rock-chips.com, conor+dt@kernel.org, cristian.ciocaltea@collabora.com, daniel@ffwll.ch, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, heiko@sntech.de, hjc@rock-chips.com, jernej.skrabec@gmail.com, jonas@kwiboo.se, krzk+dt@kernel.org, ldearquer@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, maarten.lankhorst@linux.intel.com, markyao0591@gmail.com, mripard@kernel.org, neil.armstrong@linaro.org, rfoss@kernel.org, robh@kernel.org, s.hauer@pengutronix.de, tzimmermann@suse.de Subject: [PATCH v5? 3/6] dt-bindings: display: bridge: Add schema for Synopsys DW HDMI QP TX IP Date: Fri, 30 Aug 2024 10:28:24 -0500 Message-ID: <20240830152825.9053-1-shimrrashai@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240830152132.8894-1-shimrrashai@gmail.com> References: <20240830152132.8894-1-shimrrashai@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_082839_860235_5B42DE33 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml new file mode 100644 index 000000000..141899ba2 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/synopsys,dw-hdmi-qp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Synopsys DesignWare HDMI QP TX Controller IP + +maintainers: + - Cristian Ciocaltea + - Shimrra Shai + +description: | + The Synopsys DesignWare HDMI 2.1 Quad-Pixel (QP) TX Controller IP core + supports the following features, among others: + + * Fixed Rate Link (FRL) + * Display Stream Compression (DSC) + * 4K@120Hz and 8K@60Hz video modes + * Variable Refresh Rate (VRR) including Quick Media Switching (QMS) + * Fast Vactive (FVA) + * SCDC I2C DDC access + * Multi-stream audio + * Enhanced Audio Return Channel (EARC) + + Note this is not a full dt-binding specification, but is meant to be + referenced by platform-specific bindings for this IP core. + +properties: + reg: + maxItems: 1 + + clocks: + minItems: 4 + maxItems: 6 + items: + - description: Peripheral/APB bus clock + - description: EARC RX biphase clock + - description: Reference clock + - description: Audio interface clock + additionalItems: true + + clock-names: + minItems: 4 + maxItems: 6 + items: + - const: pclk + - const: earc + - const: ref + - const: aud + additionalItems: true + + interrupts: + minItems: 4 + maxItems: 5 + items: + - description: AVP Unit interrupt + - description: CEC interrupt + - description: eARC RX interrupt + - description: Main Unit interrupt + additionalItems: true + + interrupt-names: + minItems: 4 + maxItems: 5 + items: + - const: avp + - const: cec + - const: earc + - const: main + additionalItems: true + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for RGB/YUV input. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for HDMI/eDP output. + + required: + - port@0 + - port@1 + +additionalProperties: true