From mboxrd@z Thu Jan 1 00:00:00 1970 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 6992EC433EF for ; Tue, 8 Mar 2022 23:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Hbb5Q8jEoHc23nNSWGimmUtPSNS264lDx5mbkhwr5Y0=; b=mWCUSVjNUobpjJ SE+bwfmcJlOKdI2NGiRMnZ3wO7IC6QVMbrQlKOnmRIACMsoe3zp0HfPN8tss3LOq0H3zWtcBXuk7a YnwggMonFByAh2u/fcR3CMDTsFqqGLoyrVzY+9O9/jbyqXjMlPNopOojRLb1p3OH4FMeHGwhLEwYJ EHt67UQPiCGQbk5798Y4HiV1tGdBDWo3brXnDNBC11fltPwYxPJa7CH30BH7DbZS+7DVgeB2m0k8r VILz94VACpbVwdl7wtk+a1R6BOLYhequfsTTolPvcPnLfL7mU63RIjoZa0FKT34KZkv0QnKTlcBN9 cqoDg1QgtEzCwV20yZqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRj65-006Wst-Mk; Tue, 08 Mar 2022 23:18:29 +0000 Received: from mail-oi1-f177.google.com ([209.85.167.177]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRj62-006Ws1-1N for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2022 23:18:27 +0000 Received: by mail-oi1-f177.google.com with SMTP id z8so937255oix.3 for ; Tue, 08 Mar 2022 15:18:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iit0u9zWiQbQ3YiVBUcj7kSNoNspLfGLfmOn3xXbkEQ=; b=p1JYCF4ilIrZHxNLgHSJDoRGC7HjSJne9q4w8EN0UO/ztXzorZ7OCEZbF9yskyP1X2 HHY3q9KFcCad9wODoHSr5nPEAndLF4mSC7mPvhcbOlGhCROprRq83QbCOE/ePatRTawy IuX2ZKsx1uae4v/S7wKs9cX9NEasCXeDrC4FIriG8H9zmJ4c4dEgb4c80phFW574fe86 ZpoalIRpSkPTFoxZ4XxrL0CmjlziprF29XA4bzv3VzDO9CLi9cuMYdSMoFqnlgapCXK2 zyljsUULxq/+JsFg036WdnajQ/jcjzLn/d3PFgpKnRu3/e2iZvTc9SxMVpPQB/Mgt+n5 uGsw== X-Gm-Message-State: AOAM531xSDpmi7Xf+YKdqefUk1Yajt+iDbJqsF5bcBLXJIOGqDb1zzIE TAzqsSFd3nPSWDmOPWvrrg== X-Google-Smtp-Source: ABdhPJxyh2TC/u+YmC4dbuRB94Ndhj6I+qJNb4nn1oht99Z0poj4FiI9BQlsQnzRtlNfAVkLp/uQdA== X-Received: by 2002:a05:6808:14d2:b0:2d9:dad1:a148 with SMTP id f18-20020a05680814d200b002d9dad1a148mr4272138oiw.257.1646781504401; Tue, 08 Mar 2022 15:18:24 -0800 (PST) Received: from rob (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x25-20020a056830409900b005af164235b4sm88950ott.2.2022.03.08.15.18.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 15:18:23 -0800 (PST) Received: (nullmailer pid 1546596 invoked by uid 1000); Tue, 08 Mar 2022 23:18:22 -0000 Date: Tue, 8 Mar 2022 16:18:22 -0700 From: Rob Herring To: Laurent Pinchart Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Sakari Ailus , Jacopo Mondi , Eugen Hristev , Hugues Fruchet , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Fabio Estevam , Shawn Guo Subject: Re: [PATCH v2 1/3] dt-bindings: media: Add macros for video interface bus types Message-ID: <20220308231822.GA1538975@robh.at.kernel.org> References: <20220306173905.22990-1-laurent.pinchart@ideasonboard.com> <20220306173905.22990-2-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220308_151826_108778_C35728DA X-CRM114-Status: GOOD ( 16.58 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Mar 06, 2022 at 08:04:49PM +0200, Laurent Pinchart wrote: > On Sun, Mar 06, 2022 at 07:39:03PM +0200, Laurent Pinchart wrote: > > Add a new dt-bindings/media/video-interfaces.h header that defines > > macros corresponding to the bus types from media/video-interfaces.yaml. > > This allows avoiding hardcoded constants in device tree sources. > > > > Signed-off-by: Laurent Pinchart > > --- > > Changes since v1: > > > > - Dual-license under GPL-2.0-only or MIT > > - Rename PARALLEL TO BT601 > > Contrary to popular belief, further investigation revealed that BT.601 > doesn't define VSYNC and HSYNC (or HREF, as it is also commonly called) > signals. MEDIA_BUS_TYPE_BT601 is thus likely not a good name. I haven't > been able to find a standard for parallel camera interfaces that would > be a good match here. On the display side there's MIPI DPI, but on the > camera side it seems things have evolved quite organically. I may have > missed something though. So keep 'PARALLEL' and anything less ambiguous will be a new type. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A2B7C433EF for ; Tue, 8 Mar 2022 23:19:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229610AbiCHXUZ (ORCPT ); Tue, 8 Mar 2022 18:20:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbiCHXUZ (ORCPT ); Tue, 8 Mar 2022 18:20:25 -0500 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD899F6E8; Tue, 8 Mar 2022 15:19:21 -0800 (PST) Received: by mail-oi1-f177.google.com with SMTP id b188so880542oia.13; Tue, 08 Mar 2022 15:19:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iit0u9zWiQbQ3YiVBUcj7kSNoNspLfGLfmOn3xXbkEQ=; b=g7OQzrcNYl2ebRqOijzEXnIOuZXD4VS42yMfMa0Tv/6lBeSogml07Poo+U7YOZvjPW 9Zp3Mfzi3F16rQLWa3Eq5IysanmpaV7XiyAf8lvz+6VQqSuy+UVyt0RH1ynFkObLiLmQ tkdKMmQWkSR0BnybAKUaQvsx1FjQbKbIKQ/OcyAFg+wkHVsmkPiOjjWJY64CYj+NosDV JrvegZO85Rndve5Stjb1OfcIkGHVP4jhk0uCYb+HGnHn75fgShHu8MPxQBt1UY3Dob/G VWqDjy8uytTZlOPAPLwV1TRQA0frtLyt4oYlt6NuLUwiJQ+3/y5MPrqmx7dA53q6vJ2y ucSQ== X-Gm-Message-State: AOAM533SIzxV74eJ95PKM0uIk0EHJiUtOWwViDkboncZSodY+mRGG8TF oHvaCZ3I1teJcVe5NrSC4g== X-Google-Smtp-Source: ABdhPJxyh2TC/u+YmC4dbuRB94Ndhj6I+qJNb4nn1oht99Z0poj4FiI9BQlsQnzRtlNfAVkLp/uQdA== X-Received: by 2002:a05:6808:14d2:b0:2d9:dad1:a148 with SMTP id f18-20020a05680814d200b002d9dad1a148mr4272138oiw.257.1646781504401; Tue, 08 Mar 2022 15:18:24 -0800 (PST) Received: from rob (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x25-20020a056830409900b005af164235b4sm88950ott.2.2022.03.08.15.18.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 15:18:23 -0800 (PST) Received: (nullmailer pid 1546596 invoked by uid 1000); Tue, 08 Mar 2022 23:18:22 -0000 Date: Tue, 8 Mar 2022 16:18:22 -0700 From: Rob Herring To: Laurent Pinchart Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Sakari Ailus , Jacopo Mondi , Eugen Hristev , Hugues Fruchet , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Fabio Estevam , Shawn Guo Subject: Re: [PATCH v2 1/3] dt-bindings: media: Add macros for video interface bus types Message-ID: <20220308231822.GA1538975@robh.at.kernel.org> References: <20220306173905.22990-1-laurent.pinchart@ideasonboard.com> <20220306173905.22990-2-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sun, Mar 06, 2022 at 08:04:49PM +0200, Laurent Pinchart wrote: > On Sun, Mar 06, 2022 at 07:39:03PM +0200, Laurent Pinchart wrote: > > Add a new dt-bindings/media/video-interfaces.h header that defines > > macros corresponding to the bus types from media/video-interfaces.yaml. > > This allows avoiding hardcoded constants in device tree sources. > > > > Signed-off-by: Laurent Pinchart > > --- > > Changes since v1: > > > > - Dual-license under GPL-2.0-only or MIT > > - Rename PARALLEL TO BT601 > > Contrary to popular belief, further investigation revealed that BT.601 > doesn't define VSYNC and HSYNC (or HREF, as it is also commonly called) > signals. MEDIA_BUS_TYPE_BT601 is thus likely not a good name. I haven't > been able to find a standard for parallel camera interfaces that would > be a good match here. On the display side there's MIPI DPI, but on the > camera side it seems things have evolved quite organically. I may have > missed something though. So keep 'PARALLEL' and anything less ambiguous will be a new type. Rob From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 AE483C433FE for ; Tue, 8 Mar 2022 23:18:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D4D110E32B; Tue, 8 Mar 2022 23:18:26 +0000 (UTC) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6128310E32B for ; Tue, 8 Mar 2022 23:18:25 +0000 (UTC) Received: by mail-oi1-f172.google.com with SMTP id n7so929541oif.5 for ; Tue, 08 Mar 2022 15:18:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iit0u9zWiQbQ3YiVBUcj7kSNoNspLfGLfmOn3xXbkEQ=; b=q9mp1jK22JJEHhMk4HE7x2LsVUnzI7fNdlvnz0NQn7PhB3MIEnJFAzB9xzJ7IDsgAp oq6wHnFtAMKdlK8NPs7JRxj5sFtJj/t3cc/i1Ob8wRNP7b9Q6+SvS82Uu26IM2Ov2LPX l56cGpX9p/eSV5djqHDlLwzlaXxhyNXSVeihMXqTIvTPI3wwaBTEHRLbEINOOpLRbm9R x8NEfvH+BxPMbiK8kiFz9qFtRZ0k9WoJhgSEOctmEATrSlA1Y8xbM7lTOyntil1n240K oFUKiXeP5FT4MO2CaIgEgsVb10oweeafPepR/oKf6dQqNgBNMh6HAWsc90IA833qtwhH fiNA== X-Gm-Message-State: AOAM530zYt9Iopw1jmZuckLvQmFNihpqK623be4GMM1Lh6Ut4XCRBNMU 9/VA8ma3MlhoGi6lYQ36gg== X-Google-Smtp-Source: ABdhPJxyh2TC/u+YmC4dbuRB94Ndhj6I+qJNb4nn1oht99Z0poj4FiI9BQlsQnzRtlNfAVkLp/uQdA== X-Received: by 2002:a05:6808:14d2:b0:2d9:dad1:a148 with SMTP id f18-20020a05680814d200b002d9dad1a148mr4272138oiw.257.1646781504401; Tue, 08 Mar 2022 15:18:24 -0800 (PST) Received: from rob (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x25-20020a056830409900b005af164235b4sm88950ott.2.2022.03.08.15.18.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 15:18:23 -0800 (PST) Received: (nullmailer pid 1546596 invoked by uid 1000); Tue, 08 Mar 2022 23:18:22 -0000 Date: Tue, 8 Mar 2022 16:18:22 -0700 From: Rob Herring To: Laurent Pinchart Subject: Re: [PATCH v2 1/3] dt-bindings: media: Add macros for video interface bus types Message-ID: <20220308231822.GA1538975@robh.at.kernel.org> References: <20220306173905.22990-1-laurent.pinchart@ideasonboard.com> <20220306173905.22990-2-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jacopo Mondi , Maxime Coquelin , Hugues Fruchet , Alexandre Torgue , dri-devel@lists.freedesktop.org, Lad Prabhakar , Sakari Ailus , Eugen Hristev , Shawn Guo , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sun, Mar 06, 2022 at 08:04:49PM +0200, Laurent Pinchart wrote: > On Sun, Mar 06, 2022 at 07:39:03PM +0200, Laurent Pinchart wrote: > > Add a new dt-bindings/media/video-interfaces.h header that defines > > macros corresponding to the bus types from media/video-interfaces.yaml. > > This allows avoiding hardcoded constants in device tree sources. > > > > Signed-off-by: Laurent Pinchart > > --- > > Changes since v1: > > > > - Dual-license under GPL-2.0-only or MIT > > - Rename PARALLEL TO BT601 > > Contrary to popular belief, further investigation revealed that BT.601 > doesn't define VSYNC and HSYNC (or HREF, as it is also commonly called) > signals. MEDIA_BUS_TYPE_BT601 is thus likely not a good name. I haven't > been able to find a standard for parallel camera interfaces that would > be a good match here. On the display side there's MIPI DPI, but on the > camera side it seems things have evolved quite organically. I may have > missed something though. So keep 'PARALLEL' and anything less ambiguous will be a new type. Rob