Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2452645rdb; Wed, 21 Feb 2024 08:06:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUT5C/JTzMxbPNGDztto9Qd+MJihf5eAFluQhOzkmXoT/PTaiQCTh6nDoqNO8OQKZoM0UNs/rLfPP4uDQFwC65d7QpgY1Fg6VWS1YksGw== X-Google-Smtp-Source: AGHT+IFdoXlajSIwqkM1vODNMplFf9JV9Y87EGD91HUFTcF9xGKUkKr5cc/WQARcQZLymoFL1BSB X-Received: by 2002:a5d:8958:0:b0:7c4:1df1:14d7 with SMTP id b24-20020a5d8958000000b007c41df114d7mr19888783iot.6.1708531561242; Wed, 21 Feb 2024 08:06:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708531561; cv=pass; d=google.com; s=arc-20160816; b=L5ERE1KmQ5GLxZDojjaaCUq6qDar+iM+6I2U2S8/YlawMBGIS63UM6vqwRIGfvqaz8 jrJewEvgID7Bb0SQX4QSwrn67qQ62Ok7zE0HEYZGa+Oefq3qV/FYolPRMZY8USUWlKbB NFyEuL2xM4uMXJWna01rr/AHUrL2Gs7nwVG+e0Jq/6ziH7ZhQskuMJcRrueSmobyyP63 tUWvd/qA0OKLoGCPLjhJaDqvxA+waEC1qkvSQPx5Kx0x41nPmJtsUGOBefZOm+hiItBz JUllRQ3Fizmnzy8ZaCjMHeiOxZNWcnF/Va4Rkgm5IgFrEMUrB9Tq4vQpntmO1f8fyVpU tLuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:date:dkim-signature; bh=QGg5dBp+TAqi4Vih9jNxwVmFa4RIBnviXwiga7aX/Pg=; fh=TXjxele23mLMQwBNO1AAwvtdlbLIlJzjrSgMHYGi0LY=; b=YqjYtoPoC6Fb90UYDAls8U9ebj3LWl2Z209spVbdkpYodOYsLgSPfajz2tP4GZ+a9U AqFMGWC4s/mKj0XCEB/7N262Ysb5ULzzAc5cU33heSVxANBP8HXP1ACuWoMUYj/Fx0BA cyyliuaP0vzhs1DW5VY+V07ca4KSJc++wORc8ZJV49+rnrafOqYGEujPtjVRMAa3yS1a Q0hMio8ezR4Yj8znQeqvsRH2Q9GOPtV8eo7HVS1znbv05NN7herMmbhC0tILu19vnNnD 7UC1Vxk99m9hfAiCfLF/VJ8dR5/OiCPdICqoXv2O/lSUUqWxPDtMpk0/smcNppHj7KUH r/Lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=R6hXu2AG; arc=pass (i=1 spf=pass spfdomain=flex--panikiel.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-75069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 23-20020a5d9c57000000b007c734f1e3bbsi2754823iof.92.2024.02.21.08.06.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 08:06:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75069-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; dkim=pass header.i=@google.com header.s=20230601 header.b=R6hXu2AG; arc=pass (i=1 spf=pass spfdomain=flex--panikiel.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-75069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 2EC01285970 for ; Wed, 21 Feb 2024 16:05:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC46F84FD8; Wed, 21 Feb 2024 16:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="R6hXu2AG" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 717FE83CCF for ; Wed, 21 Feb 2024 16:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708531368; cv=none; b=qbo1TnPwjvxwSxMIBIkOgKQm+3G3G7ptpHPZ3dq5KGPcJk64Znws/qHpQQItH1iUTbydqms62qYP29jl3d2j0AZKbbu/CjDOGKybkvSxTXeowI7W6xeEZbE6wcJZN7/M/I5YV4KucGkMGPc2Agu2Lke1ux8H23MZ81B+INvgvME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708531368; c=relaxed/simple; bh=CaYboc1XswJbQ3g9eMR+UOvFXPujQMCgvGjX8ZAWPVw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PHTjp8W7u6L0YIqX2fnGfi3uF2F4eevWgAU7P8TxsWdol4/jXbA0NU6tPQiiYcG24H9ChZT09DPZBIhYwlG3aUyHWoUEBkWfoL3T4HYkDgaJv9+YMDUzxDkhVhKIUCPVWtBxv40IPwxzqYF2oP5PfGgKk8R6jF3+380lEAQtttk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--panikiel.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=R6hXu2AG; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--panikiel.bounces.google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6dbdcfd39so1414017276.2 for ; Wed, 21 Feb 2024 08:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708531365; x=1709136165; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=QGg5dBp+TAqi4Vih9jNxwVmFa4RIBnviXwiga7aX/Pg=; b=R6hXu2AGCp/oZu9Szu+N7FMrF7/CBtoPSMGUMJmUfuqxqs9U2FgIbCCcCircMdCuIp s70t7MhRipZZeu2d5nYSSi3SD5ZmGVM1RbhdphlASwm+ihq0J98QY3u1tuNNCWMDhI8u Gwfhor3I9By1Vf8db4nVbWqr0/RTQ8Ba5/sXosmfAEh9RzGsz1FM8T4VsgX2Wh1pMy36 B19x2vgxq+njSrVw46Md8A78XVtzVQcrdoqswMgOSh2sEdSzxQhwqHt8g2WfkTbMXgaV z3Y3fxBrnB2FATji08SnCzuPE+37VCPaOa9X0WYo7H+/gRvrTfb7CPrdS03coDU2vs4B Vr6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708531365; x=1709136165; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=QGg5dBp+TAqi4Vih9jNxwVmFa4RIBnviXwiga7aX/Pg=; b=tebUfQb+EKYA3E4M4kKguOgBQ/QXrSU6XqExaETLLGW/oOuhx2Uxv6V2jcAEI1J40V kjxQpUFLWFgLNJbKq17exLUyQr5SoQGzgUdTgBkDh3HkNb1xX1SCbdkWwBB8HSzL5KUv 1PkFGAVxwYw6FcbL6/QhIoVPM8jv8WNkEZcbvvt42NVpabJ0tsnzaGtgLJtARjLcf0nm yIEbz4hzeiJdWCWrmOveIyguq9e0flGt+hlc8/njLjvUaHgZrr6eC1zbgIN9ZG5WkkgA xoT4OZEdQLeFjROlvTbIB4bOm80hlyqyN0+99fi6MhoqI7H3sDtcjAERlBWzfsp1meQG QY5A== X-Forwarded-Encrypted: i=1; AJvYcCWgF3AsdJWfjNGQxI+kEqmknOs8lqDxKUochQJ/9gnYZxv+wTx0UP0IiGfxhJ+z6LDMqQtPvfsQXOAZ96P3qjAuMRIWW08zoObAFFWx X-Gm-Message-State: AOJu0Yy7iUBG17e1hICtDCR3dlwOuMhHQ6JNJWAmWwPS5c1M6oY6GaiP wJ0Ry80FroZX+5zv7AD+vPU0oHoJjg9CxOrBx2GWljFg3QYK/1ZaCl3+j96vJBMaikc/AnpriWR YURVbWJLH8w== X-Received: from szatan.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:2d83]) (user=panikiel job=sendgmr) by 2002:a05:6902:1209:b0:dc6:9e4a:f950 with SMTP id s9-20020a056902120900b00dc69e4af950mr4645277ybu.3.1708531365611; Wed, 21 Feb 2024 08:02:45 -0800 (PST) Date: Wed, 21 Feb 2024 16:02:13 +0000 In-Reply-To: <20240221160215.484151-1-panikiel@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240221160215.484151-1-panikiel@google.com> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog Message-ID: <20240221160215.484151-8-panikiel@google.com> Subject: [PATCH v2 7/9] media: dt-bindings: Add Chameleon v3 framebuffer From: "=?UTF-8?q?Pawe=C5=82=20Anikiel?=" To: airlied@gmail.com, akpm@linux-foundation.org, conor+dt@kernel.org, daniel@ffwll.ch, dinguyen@kernel.org, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, maarten.lankhorst@linux.intel.com, mchehab@kernel.org, mripard@kernel.org, robh+dt@kernel.org, tzimmermann@suse.de Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, chromeos-krk-upstreaming@google.com, ribalda@chromium.org, "=?UTF-8?q?Pawe=C5=82=20Anikiel?=" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The Chameleon v3 uses the framebuffer IP core to take the video signal from different sources and directly write frames into memory. Signed-off-by: Pawe=C5=82 Anikiel --- .../bindings/media/google,chv3-fb.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/google,chv3-fb.= yaml diff --git a/Documentation/devicetree/bindings/media/google,chv3-fb.yaml b/= Documentation/devicetree/bindings/media/google,chv3-fb.yaml new file mode 100644 index 000000000000..7961c0ab66ec --- /dev/null +++ b/Documentation/devicetree/bindings/media/google,chv3-fb.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/google,chv3-fb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Chameleon v3 video framebuffer + +maintainers: + - Pawe=C5=82 Anikiel + +properties: + compatible: + const: google,chv3-fb + + reg: + items: + - description: core registers + - description: irq registers + + interrupts: + maxItems: 1 + + google,legacy-format: + type: boolean + description: The incoming video stream is in 32-bit padded mode. + + port: + $ref: /schemas/graph.yaml#/properties/port + description: + Connection to the video receiver - optional. If this isn't present, + the video interface still works on its own, but EDID control is + unavailable and DV timing information only reports the active + video width/height. + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + video@c0060500 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060500 0x100>, + <0xc0060f20 0x10>; + interrupts =3D ; + google,legacy-format; + }; + + - | + video@c0060600 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060600 0x100>, + <0xc0060f30 0x10>; + interrupts =3D ; + + port { + fb_mst0_0: endpoint { + remote-endpoint =3D <&dprx_mst_0>; + }; + }; + }; --=20 2.44.0.rc0.258.g7320e95886-goog