Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3531959rwi; Sun, 16 Oct 2022 12:50:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6k9ZwydTaqy8qe8yhLEI6agR2KdIzbcH2I5RiCNlHXHRhR6tqexrVYdweDcyGf4BvLO5XQ X-Received: by 2002:a17:903:2c9:b0:182:c500:d93d with SMTP id s9-20020a17090302c900b00182c500d93dmr8582857plk.44.1665949812962; Sun, 16 Oct 2022 12:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665949812; cv=none; d=google.com; s=arc-20160816; b=TzzHJze6FtK2bECsE5VtGzrdTN4LFQ7BCjc42b3iJcY0wnCzwOfegbqRjczVDpfWNn PV9E50L8gvNG4fifxSJoyC9p2OLg9fg5450Rx/RchKabNrZrXhNGUK2Wo3r4PIf2SY+K grDyoSfdNCj60bZ70ehiVqNov/mYqwJqfZzmIvIrdp1PKeTibnakSnhThLEJ6YxtFRxD W2PNgvGZOi3GiNlVgwSTrIT5GiJVNTFykY9RcI1vQtbpNgxnz8e2cMwF7rd+FsjUE17I l5M8g5yT0M2mqQVwdCR6CClIUQa7oeI9OSOCJoXl3J0cTcKWrU26bE8nKx28xnksGs3o y6qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:content-language:subject:reply-to:user-agent:mime-version :date:message-id:from:dkim-signature; bh=2tT8kCb/WVUuH+lBmBzSowO1khzyce9k0uFdBJXQAY0=; b=eQtRmhcpLoe6QwG2SyH+9+hqQL+fFxyZ/9OeTGPQOfZf5wDyHo2KnWoXMhGeBChWlQ 9KZ3T9Ikm6zqKD4mR7LLeyjNCNL7WyjgbSxNGGOKMuomR6HcAAFgZmDxTFG88SHamrT0 7Ev9b72L7D8+71+xe7ityGwaXa0J6M1HI6UO7O4vuOnTDjM+SKVY3ucuBRckLvDeaL+H rOCwgkNDhwCVW0hi9KGZn7BzHEfQIWL2Ddjv/dDbLErY/G8D1GZBSIjgi+bUFeDJSZ7V BrG9LgX+mZ1PEynLHnUGdegDCtCUOktaWDYRW6vGXSd3JCKvybjm6yyv0EKD3uyhF6cS TRIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Wn022Jhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r5-20020a63ce45000000b0045a3e1d1a77si8413848pgi.111.2022.10.16.12.49.46; Sun, 16 Oct 2022 12:50:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Wn022Jhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbiJPTCY (ORCPT + 99 others); Sun, 16 Oct 2022 15:02:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229732AbiJPTCW (ORCPT ); Sun, 16 Oct 2022 15:02:22 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 721C12AE3F for ; Sun, 16 Oct 2022 12:02:21 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id g1so14477561lfu.12 for ; Sun, 16 Oct 2022 12:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:reply-to:user-agent:mime-version:date :message-id:from:from:to:cc:subject:date:message-id:reply-to; bh=2tT8kCb/WVUuH+lBmBzSowO1khzyce9k0uFdBJXQAY0=; b=Wn022JhbSiAKl2X8PK/0dLLvnA2KYx59VyBDcpMKkslDxq1gmTavUweTw7TSpfsy29 ZQNm5d5Kud9NAMBx2DWE4ATZlqZ+7v4VQY6jnBU0w/Jly+Ji2YJygQ2d2aE5SvnPOuBc LUaIek3ag9tos1DYUCuOXC4mBkjA654+4/vseW2aGFGg4V9Q4tOwIoveXTgC6nBCvoix WqKvIjohOpkxN+5vEWW2J/wJ5Bt6x6aSYTqCGGxEtIxf30EL8n0PHVh8GQ0KmrQyXays jsKB/0dkT524iaTd2N3LvRFONyV2QpPt9l6M6dD70TbInNsqcmnQjjZX7ML1lQcEx5+N Xt9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:reply-to:user-agent:mime-version:date :message-id:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2tT8kCb/WVUuH+lBmBzSowO1khzyce9k0uFdBJXQAY0=; b=vFW5pkLvhHLrr9cqBsmy0w38nQmsm+kbNxCErh5XpeQjsoLxqeNLEMilqzDZ4p8xxZ JyHKS4dXojIXEEFXM1B3ot5A2vkTPBpPgd77NOfnaesXyPnUMtyNDsJrZn/ikorUbPa9 6H39d8Uih/XJwuAQhbT+kkYA0ffzsNFPfdggMXAjUJzEgUBmns3/gO9OWQ1y0vE8c4Cp UkPdKETadrTNBe5R0ThQ4NjcNXG50yWzw9mA5cANtCZvZ4qN3d/8e1R6QAXkOBOKlZTP PFZ7NxsOhmU0QDnfy4iitok4+nWnrvZONixn+HuGSYihhINYHvT6dBgF7qmDYHy62XWs I9mA== X-Gm-Message-State: ACrzQf0UvFbWiZ+9kTKTnvi0wHNPVpqvAldyco4/FLzEuN67GVMc+Fs3 9psTNtlYeTFrkrWq74FeRMo= X-Received: by 2002:a05:6512:32ab:b0:4a2:2e49:94c with SMTP id q11-20020a05651232ab00b004a22e49094cmr2839114lfe.351.1665946939657; Sun, 16 Oct 2022 12:02:19 -0700 (PDT) Received: from ?IPV6:2a02:a31a:a240:1700:64bb:87df:aad7:a9f0? ([2a02:a31a:a240:1700:64bb:87df:aad7:a9f0]) by smtp.googlemail.com with ESMTPSA id p10-20020a2eb7ca000000b0026dc57ee439sm1235527ljo.71.2022.10.16.12.02.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Oct 2022 12:02:18 -0700 (PDT) From: Mateusz Kwiatkowski X-Google-Original-From: Mateusz Kwiatkowski Message-ID: Date: Sun, 16 Oct 2022 21:02:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Reply-To: kfyatek+publicgit@gmail.com Subject: Re: [PATCH v5 21/22] drm/vc4: vec: Add support for more analog TV standards Content-Language: pl To: Maxime Ripard , Karol Herbst , Jani Nikula , Tvrtko Ursulin , Daniel Vetter , Maarten Lankhorst , David Airlie , Joonas Lahtinen , Lyude Paul , Maxime Ripard , Emma Anholt , Chen-Yu Tsai , Samuel Holland , Ben Skeggs , Thomas Zimmermann , Rodrigo Vivi , Jernej Skrabec Cc: Dom Cobley , linux-sunxi@lists.linux.dev, Dave Stevenson , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Hans de Goede , Phil Elwell References: <20220728-rpi-analog-tv-properties-v5-0-d841cc64fe4b@cerno.tech> <20220728-rpi-analog-tv-properties-v5-21-d841cc64fe4b@cerno.tech> In-Reply-To: <20220728-rpi-analog-tv-properties-v5-21-d841cc64fe4b@cerno.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLYTO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, W dniu 13.10.2022 o 15:19, Maxime Ripard pisze: > From: Mateusz Kwiatkowski > > Add support for the following composite output modes (all of them are > somewhat more obscure than the previously defined ones): > > - NTSC_443 - NTSC-style signal with the chroma subcarrier shifted to >   4.43361875 MHz (the PAL subcarrier frequency). Never used for >   broadcasting, but sometimes used as a hack to play NTSC content in PAL >   regions (e.g. on VCRs). > - PAL_N - PAL with alternative chroma subcarrier frequency, >   3.58205625 MHz. Used as a broadcast standard in Argentina, Paraguay >   and Uruguay to fit 576i50 with colour in 6 MHz channel raster. > - PAL60 - 480i60 signal with PAL-style color at normal European PAL >   frequency. Another non-standard, non-broadcast mode, used in similar >   contexts as NTSC_443. Some displays support one but not the other. The current version actually does not support PAL-60. Proper PAL-60 output from VEC requires configuring it differently than for regular PAL. We have unified the PAL and PAL-60 modes for the "TV mode" property, but the code here has not been adjusted appropriately. I'll try to submit an additional patch that fixes this shortly. > - SECAM - French frequency-modulated analog color standard; also have >   been broadcast in Eastern Europe and various parts of Africa and Asia. >   Uses the same 576i50 timings as PAL. > > Also added some comments explaining color subcarrier frequency > registers. > > Acked-by: Noralf Trønnes > Signed-off-by: Mateusz Kwiatkowski > Signed-off-by: Maxime Ripard > --- (snip) Best regards, Mateusz Kwiatkowski