Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1112035rdf; Wed, 22 Nov 2023 06:04:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IF85zqNMsFr7SYVuqwDq99uz7VBcRYekPLxXQ4uoPzbSp/n6gKzpJSu1oh2AIXSwssSGmIA X-Received: by 2002:a17:90b:783:b0:27d:a105:d9a0 with SMTP id l3-20020a17090b078300b0027da105d9a0mr2562084pjz.12.1700661865824; Wed, 22 Nov 2023 06:04:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700661865; cv=none; d=google.com; s=arc-20160816; b=XAnBNmHrQytMUF4n4U2y5Rok09SBvrWEWOur5QbO8Ok5PpSFpTIuHseYPIEoFyA011 4SkZk6+R9BGyWuoYVSc7mdi/bbwSpEXuRehCP3be+8FF90RPsx0cG1E0nBjWgw+pr+iR iyopF7N2C3KFHQiMwG/cba8qQcPmYOydyRqVIDgQfZUikl7Bu5hkeOvFVH8k0VQHJ7IS G3xV6cVa8rSH+pJEDi0qaedy+ebUzdFohJlpBGuwZwpZgKBZUqbEeJnac1VygsQvNRV8 TyDnYkhg8ZHFlKY2UtjW5OE14vsGqAl4k9p2hXUlVPf/+5DzV4btgAsalpFFFhCKq1zz nd1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NWBqSZ0d2/YYtI3gI0JVxUXQAtOv2ZHu2s8DSzjbYUI=; fh=Z6reQGgO4elLIzV2CcXw4b9niWmgOu0LwHHLcB6bYuQ=; b=RvM62IoVHkBzm5Vez4sukBeu2jhDH2hirJc9zjGWR9raxzokAjIsT8QtV8hDPFIwEX rnawis6McqOgkdBoJm3JiZUB6PxOmO/XxpsIry+ygDq/qUF0ujK+6kphf2rkuWNDWYe5 REraEfAjIe1gty5JhuDz4mudd753vh9K3QPV1hevdfaP9vZTGWWKShVxaZ9DEoj7B1vU ZWbmlivoEDGwTbKgNWQsN9k+rCpVdPEYzMBvuOdwW4bzvKq23+y9toKcelyhiarN7oLg VDeJr1gJzSD1ug/C9F8YDcRRZoRNd7Mu8t1zHi2UZGeF39Q4zGQ9gj1940GfUVs0sdwD rVPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hXUBjRkC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id qa11-20020a17090b4fcb00b0027d22d5aa7esi1580539pjb.46.2023.11.22.06.04.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 06:04:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hXUBjRkC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5B86181CE126; Wed, 22 Nov 2023 06:02:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344271AbjKVOCz (ORCPT + 99 others); Wed, 22 Nov 2023 09:02:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343965AbjKVOCy (ORCPT ); Wed, 22 Nov 2023 09:02:54 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B702101; Wed, 22 Nov 2023 06:02:50 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 6A49C20011; Wed, 22 Nov 2023 14:02:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700661769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NWBqSZ0d2/YYtI3gI0JVxUXQAtOv2ZHu2s8DSzjbYUI=; b=hXUBjRkC+zbu4gxz3FlLfskV2M9hDWhTvgbmgp50mfxfNrhQDvRlYkr+OiW5l0/723GtXS FEyKOthGV8afYUqry2TW3eGXoj8CU1IMixeno1gM7TldbmwB+QSix7NKAZVMGhuL+0i4x2 rJQP01jVfEDSYgEHzm1bmgQe6vaYi6nGOO6r3bzp6OGteGB4Rrvblh8m8J4oXNdlua+fJR RWrSFGZaXBLEAeYnQWVbe0tNlalWRR3WphnOJWtJENXKZE7/eU+n6fiFebwwJdrb237IQW 2fhWtssuFA5T7sYgaK4xORm5Bp1yZZJOj3isGKsnICAJHTdUBSrW+dnOSV0BWA== Date: Wed, 22 Nov 2023 15:02:47 +0100 From: Mehdi Djait To: Paul Kocialkowski Cc: Michael Riesch , Tommaso Merciai , mchehab@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, alexandre.belloni@bootlin.com, maxime.chevallier@bootlin.com Subject: Re: [PATCH v11 2/3] media: rockchip: Add a driver for Rockchip's camera interface Message-ID: References: <9570dc1c-a437-46d4-95e7-1f3dd399e458@wolfvision.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GND-Sasl: mehdi.djait@bootlin.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 06:02:55 -0800 (PST) Hello everyone, > > >> create mode 100644 drivers/media/platform/rockchip/cif/Kconfig > > >> create mode 100644 drivers/media/platform/rockchip/cif/Makefile > > >> create mode 100644 drivers/media/platform/rockchip/cif/capture.c > > >> create mode 100644 drivers/media/platform/rockchip/cif/capture.h > > >> create mode 100644 drivers/media/platform/rockchip/cif/common.h > > >> create mode 100644 drivers/media/platform/rockchip/cif/dev.c > > >> create mode 100644 drivers/media/platform/rockchip/cif/regs.h > > > > > > Just a logigistic comment on my side for now, sorry :) > > > What about use cif-* prefix in front of driver files? > > > > > > like: > > > > > > cif-capture.c > > > cif-capture.h > > > cif-common.h > > > cif-dev.c > > > cif-regs.h > > > > What would be the rationale here? > > > > IMHO the files are in a folder named cif, so adding this prefix seems > > kind of redundant. > > > > That said, if there is a good reason I could live with cif-*.{c,h} as > > well, of course. My only request would be to agree on something ASAP. > > It's rather common to do that in Linux and one advantage is that it makes it > clear in your text editor which driver you are looking at when only the file > name is shown. > > I don't have any strong opinion on this either though. I see that the majority of the drivers are named like suggested. I will change the names in the V12. -- Kind Regards Mehdi Djait