Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2460446rdb; Wed, 21 Feb 2024 08:17:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU458o7YMFqPOZOMKOm3n7+BVlJ4yKywUWZJyCZ5miSsgjpXxjQ0LAxKmHYcHUbfKXuO3Y0VSPtGGkWUcS/QSnAuuZ4juBxV+o3gmVEOQ== X-Google-Smtp-Source: AGHT+IHYflHfef5LjokrWoVwwTZOWSM7oO9m3kcneak/rtQ2+PlcONMOHAZpC4Zy0mUJKb/mCzhm X-Received: by 2002:a05:622a:180d:b0:42c:dcca:5bf6 with SMTP id t13-20020a05622a180d00b0042cdcca5bf6mr21521034qtc.13.1708532235639; Wed, 21 Feb 2024 08:17:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708532235; cv=pass; d=google.com; s=arc-20160816; b=an5tltme8/0IgIvXrem1rkCgmEOCJJiHH2aWc9qs6PZtLQis//vpdXJrZ1OuwjtD3v VtZybJER0ImgZEsn8rbR9kE/hdpgPF6Mu5SeXeuFTdh2IamIrdA5Q/hHLfE5B88wuWXQ PMaDTWUmoPq6kMMiEn6esBHeqoCUThovA5VfrwYRrNXTtktfxcMSCVz8r4vnoLcuEeR0 RBNEEyB6mZE9B3r8XD93ah96iSjayMW/0+gGLhimnQBJCNJTaZnks5mz9MxrzvMD+xni 2sZr8Kxh389bSkzv75eo+sDcmjnslYNA15FjnGnufZRfNb6cjDCYxIRvOY5ZTKSN5vhx 08lA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=KVAwH35/MlacXlWKifCgH1KdwHWqIayMmoX/ai0O0Uo=; fh=yhxC8GQ03BAEfQvgEfak/vNGtw+VZAl4EZpTg1tDwQQ=; b=kE0G99i3L3yxU/Lui8rnjER7vgkj8W85+KbNkx2B0rP6QhC+060+SxI2T3QMj1gw1F uAq6DdOIXswm1UN6efeSjUiuFrABWOe1ENKm0ro5Qevcj+ZqQ8jsJWw2LRY8oOYnxacF XtbCWTvu1AB/zbOFFg2qvETkVBEff5SVNTz6RTczCxgfAeMa6ED69zFBwOZ2u1qyecp8 F019SJTRdzLYcdt76Oq1H1/a4R+1N7sJLjTZcuXhM0f+naWpvRepgaxe6wiXfpjskna+ /1mKHeLrP/uFzZ9/eA05kyplHxKgTF+NV1k+SWP4ZCwuM5PFbHAr0EwE3ciDH5IWPC49 VI2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ay5AXwqH; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-75087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q9-20020ac84509000000b0042ddde7c849si10624924qtn.325.2024.02.21.08.17.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 08:17:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75087-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; dkim=pass header.i=@google.com header.s=20230601 header.b=ay5AXwqH; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-75087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75087-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 62B491C234C0 for ; Wed, 21 Feb 2024 16:17:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB5AB8172F; Wed, 21 Feb 2024 16:17:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ay5AXwqH" Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (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 5031681727 for ; Wed, 21 Feb 2024 16:17:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708532225; cv=none; b=K+fdnV0KghKzNeMJQz+TIuGwo32548mV0OLw8XKDRGbA25vs8mTnMAhRe6wtcAc9OaqQTdoLtPJ7f1ciNr40h5jAKTS5Y7DK/nmblj+Jw2R5pDfLcKl9UPrB7skZPimR3dE/KNa0s5giStGcJXUQ/S2ane9kH2jn14802rDGVYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708532225; c=relaxed/simple; bh=WRewCTUMFvJojccCXJQHDaJg3H2bAUHoIWqDu+A/JqA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qzxgEQUY9rk8Wt+UHKtYl9H1xabxGmhHo8oYQ1IVVyVW4o0scT2t4e+9qK12OUWD0l159p1y9Izb7WT1Sg2AeAIzDB4ECScpd7cU9vFq56wIBxeHYrUf53UDk9Ftflh8qqIri0Vc/B5nVAVULzo6Uv1OX8lAtFOrSlqbfRLSXuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ay5AXwqH; arc=none smtp.client-ip=209.85.166.44 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=google.com Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7c749e3805dso132958439f.0 for ; Wed, 21 Feb 2024 08:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708532222; x=1709137022; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KVAwH35/MlacXlWKifCgH1KdwHWqIayMmoX/ai0O0Uo=; b=ay5AXwqHgzYpgLRjYO+ViPgWbZXDRJXitEiH8zMOdKGkcW9S3cizNhfqh34/aTCQB2 mxgANz8FIhECbB3IL/N2CwBR5ZjchGk4ZwSMkXYAipovGbjXvqb24aFbclTkf6s9nQTH fnuQdh3IWA+N7xB4/brF078n0ORO2iEuNDdlb9eh0bQo2g6Ur7z1zImmWnNDY/Pwcv/V uV5UpHs5Uyq2sc8GN7Kvluz2LWP/Frp33B3FbK4HzZkRmfzqSN2pcVqBu5U828bTQi/T NLDDnt2tqtGBBaZQjlKHh08lak4U+/eCfBNlxxkHN+OjPU5Gy4lL58vroZ+GX/7vlWOV tVVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708532222; x=1709137022; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KVAwH35/MlacXlWKifCgH1KdwHWqIayMmoX/ai0O0Uo=; b=uLm0IOiSqATKKs6cOrvBYkW04yUzOazwkdu3v1REiyTt9RpYvmrWtbBX6PK3NeuSOI 073QUzQbFVBU+1zbMuLVYhl7dN8cpa23bjOzOahlUgMKMlK7AaFoNF1yETRLjxIR72oO k0FDKtebhCzX/+QAn42/n9H0JVCBbQz//CnqtoBNISEvJhsV02li+S2Nj3Lqr1GQ+Wn/ UtbwmtnRQ6DybQV3b0kq0dyWowRGwi2+xXX1r8PRE3P2u0uMzunxZlQ61ljxt5KQPDzm Oo2jz2wbXRmA0NTYCoCor+hWmSs/6/Xi7eXwARJnw2dofWnY8O3eUrQFMUMf8NKpOWLy M5bA== X-Forwarded-Encrypted: i=1; AJvYcCW/O6yI22jSyC3gyJJlU1oioE9+Vj0Mo7EWamHv5p3egzdyYRha04qyAd9hYOLIIQnIs6ZczPlwlShm0R74bDG0OT7LPpeKlr1kYIAf X-Gm-Message-State: AOJu0YycuYrGBVP72ne3PSjdE7WEUK5N6CsElQwTzMfEz+/YSs3bDhbk DTDHhGmL+wYriBvK6Iw///Cp5kb193DEpD7YJHheoV59IOHLhSlD1FwJjbQZeqg5mfxyDhA01gP xKcWKjlrxCVgqOTulZ1H0TMErLdHV76J855Fs X-Received: by 2002:a5e:d504:0:b0:7c7:5ebf:d021 with SMTP id e4-20020a5ed504000000b007c75ebfd021mr6663294iom.8.1708532222178; Wed, 21 Feb 2024 08:17:02 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240212131323.2162161-1-panikiel@google.com> <20240212131323.2162161-8-panikiel@google.com> <20240215-supervise-concerned-55a18554a120@spud> In-Reply-To: <20240215-supervise-concerned-55a18554a120@spud> From: =?UTF-8?Q?Pawe=C5=82_Anikiel?= Date: Wed, 21 Feb 2024 17:16:51 +0100 Message-ID: Subject: Re: [PATCH 7/9] media: dt-bindings: Add Chameleon v3 framebuffer To: Conor Dooley Cc: 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, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 15, 2024 at 6:29=E2=80=AFPM Conor Dooley wro= te: > > On Mon, Feb 12, 2024 at 01:13:21PM +0000, Pawe=C5=82 Anikiel wrote: > > 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 | 77 +++++++++++++++++++ > > 1 file changed, 77 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/media/google,chv3= -fb.yaml > > > > diff --git a/Documentation/devicetree/bindings/media/google,chv3-fb.yam= l b/Documentation/devicetree/bindings/media/google,chv3-fb.yaml > > new file mode 100644 > > index 000000000000..ba6643cc7232 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/google,chv3-fb.yaml > > @@ -0,0 +1,77 @@ > > +# 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. > > + > > + google,no-endpoint: > > + type: boolean > > + description: > > + The framebuffer isn't connected to a controllable endpoint. > > + The video interface still works, but EDID control is unavailable > > + and DV timing information only reports the active video width/he= ight. > > Why does this need a dedicated property? Is it not sufficient to check > that there are no endpoints in the devicetree? Yes, I think it is sufficient. I removed the property and added a check in the driver in v2.