Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1096109rdf; Wed, 22 Nov 2023 05:40:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJyOPX1MnzjtBavpZbg8k7hh6vzPVXpWvp+u/t0wp/ub+L0nhXSZvxYDdEFEfS/o6+zowz X-Received: by 2002:a05:6e02:2165:b0:359:cc15:b0b3 with SMTP id s5-20020a056e02216500b00359cc15b0b3mr2470081ilv.25.1700660409887; Wed, 22 Nov 2023 05:40:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700660409; cv=pass; d=google.com; s=arc-20160816; b=UZvf9Gt2bTFr6QnrvsqzH3Buw5anqNbeF1XvAwkAPXNTlHUYbTJrNX12zxziW9Yvvu XeM6TTCLEHWbHWPt/KvKURtVfRgkMILE/cGvZ6AfeVTL1HdXMZ30Gf1g7a9wj6rZ7ZRN pptFC9y/eZONzmTWGpnz2l+Ay3VqXXKxL0TaNUfChfARUx2UN9ybh2qkSF5IQnJUoMO9 HfFRdhnavyWlXPe8ROVcffLrqc2DYN1cOTqqiIb6U1GBOGZZFcFUimc/cQJ9mDvipSbm zQMsJ1Bc1Z6BC8QU82/U3Wjz8inTYxwS5RMu93lCUnDyiWAfzkUSx3bZPEUGg9bjq174 t2Vg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:organization:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature; bh=qtdYOdCiYP2cb3Ohof6ccfOMbawRf+U9hP18gukFsXw=; fh=QDfoBkiQIqQXnEsJF6R5xa00iYK6YxKU5qBEl7CZ+lk=; b=a6rTDRiLp6RTCOOPWWbo8hqXCM6/WBmHPux6PYie8eVn2ceMnmHWvwgJ+FahNPHoEi Bkg5zARyF7HKzLE3sgPFMsdrSd0lyHVbcqvBHjj04AC1ugXpWb2SCNlK/aDCDoYhRCK8 DBZl0kZdJAVgAmZOpvKeSlteFoyOukhh8v4Ch2rJGjfLqin+Wwms/jrf/GWeKk5aXKyO RS8/LJfzT3qZlrElz2ebeq5j3AxAENu69Zor/NKVtHBXQxfPZquofjI48ym26vT40ryz XQ65cmK9iwtZaaybM3BIKmUZKG3dCPglCKtx8GMzIsKizSv/DuiRsSmPpY6U9g9Z8OQv YOZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=C08xxQAU; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y10-20020a634b0a000000b005c1b2baa6a8si12624972pga.309.2023.11.22.05.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:40:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=C08xxQAU; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BBED381BDA78; Wed, 22 Nov 2023 05:40:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344229AbjKVNj5 (ORCPT + 99 others); Wed, 22 Nov 2023 08:39:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343968AbjKVNjz (ORCPT ); Wed, 22 Nov 2023 08:39:55 -0500 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2064.outbound.protection.outlook.com [40.107.104.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09784D5C; Wed, 22 Nov 2023 05:39:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fDlYFyFkitlfEpSR9vfg/m6MFD1fKFpql4rwKqOJjeMEtTywcbjQfWuffRUrAVMiDitGG8zFzr9GL6Hqhqd+gYjLFjR5XIeiFvuI3Wi3hdWCfir7v99DRciJzbXwVx9jXth6LZqbnlZdY3Uqt/nNX0dzWiquPfLInZCIOMErRPCbKsuheE3a8SpKlJzM3vcvxpWu8HifdgtGw4qBiAbefAupdet/JFTmFk4z+6jI7kegNGbVbV83d3WZ7kZ3XtDhJXIrCgA7ZKCxbqzDzi4e3Ls0b7wCExqePesan4aHKlzTVSY7ub4AJU7i/eQbBGVr+QLrlOAZ05orTHHWb6MBwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qtdYOdCiYP2cb3Ohof6ccfOMbawRf+U9hP18gukFsXw=; b=SM9/sMHjHhpEfa+PkywFfQpAi45xic5iTthxaA/oOESQKFcl5ErMdMTQ6icIOFZLR37Bno+guhHX8zzre1xISAlCM7SEF7dOlW/dd47m40D/ILzzlzIQWZvR1Mul0jCzS81VB+efg4j+m68jZyrk8Y8zuqKfqHbAyid21D8p8WdNCKErRxVFHm9W7EyHMgmaCeZRaST6dQK5kYfjE/CzyoeyaTC6Tbgl0TGOjnFd5Edq72b257VWk0HVbrf2A0UR10qBGBhG2lHyWk0NkzyO6TJTuMJ5UWzq+ZXe7inusoeyzWhy0Er1grhK8IRO6xFOe8q9Vuh5IrbGx5C4krZxTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qtdYOdCiYP2cb3Ohof6ccfOMbawRf+U9hP18gukFsXw=; b=C08xxQAUYiFdx+5744JWQiEkivD//CpexucZb9iDqJSQ9tmtNSb3DP8JYYU7z4/vP8XCBPxpPc+KvEYFGpf7Qn95qYLfhev/DBamD1OIbsfEeMafsqqwR+yCHv0J3fuHftY9wZJFnhK3DYZCwPVOHNUWYzGkHfRa+1FFCWrHgXs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) by GV1PR08MB8283.eurprd08.prod.outlook.com (2603:10a6:150:a4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.28; Wed, 22 Nov 2023 13:39:44 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::79a1:5ad6:b221:ad]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::79a1:5ad6:b221:ad%4]) with mapi id 15.20.7002.028; Wed, 22 Nov 2023 13:39:44 +0000 Message-ID: <64c2bc47-e922-4655-a5ef-6d3aab51058b@wolfvision.net> Date: Wed, 22 Nov 2023 14:39:41 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 2/3] media: rockchip: Add a driver for Rockchip's camera interface Content-Language: en-US To: Tommaso Merciai Cc: Mehdi Djait , 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, paul.kocialkowski@bootlin.com References: <9570dc1c-a437-46d4-95e7-1f3dd399e458@wolfvision.net> From: Michael Riesch Organization: WolfVision GmbH In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1PR04CA0114.eurprd04.prod.outlook.com (2603:10a6:803:64::49) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|GV1PR08MB8283:EE_ X-MS-Office365-Filtering-Correlation-Id: f0ba36cb-0e80-4506-5a62-08dbeb607cc2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z2C5hTz1Wl79nTbwEqamJ2T5l/kd6mpuoEEt9PQ29Pzi9dwLPZmWV1hiHETvvy26OzcyD1V3l8SHPSB6JPYwN3NUZ8Gxq9Jg2U0b1PPrZurPB7l8dXuxPfeUaRLBPvdj3QIY8iQLFZWKKW6WSgDcuAq/JQAuRaQcwS9hXtz/nfB95G8xV3s4739NRfbroT2L+eSOizzDL0dn2QYUlY0S0t30pQwS1AL6y6e/DYBoqkEEBd4vY2cMN2WxAGiwF9OirkKQPhyEURKIpsCiBiyEgipWYXxwjch0LTREZzpznC0tTi+KczErlqPMa+Qsjs3O9Wx+Xo1g8BS9wq9XoH6ghFA7Ee+TtbFY2Nhj6LpV/eeM6mr2ptDGa8l83yVB6t5xdPk6rGDkKfO+yp+RSodpdnQx/Pv1R/qxOYdokjF8yAME8WhrP7NTbu9XykSZnzEN+NJEpLjro6+LgD8LDp6YsZ179uvxG7LQ6WFv8Hc/FMbuAQc6Wn17ryF8rd9bHnt7i8aqTHYAGP71gXw/jCRbq/jz1NQz1Bkveckdb+tQpwLONwI3eth14juPgkWnX85k7UiQZhregSlRcIWtzO7WrFc0mkZMWZHNj6MWvONdRjwRg5HCVYMpTZqtin87FA6YvwNzZTQkO/q9GhgRDJyueg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9155.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(366004)(376002)(136003)(39850400004)(396003)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(2616005)(31686004)(86362001)(31696002)(6666004)(316002)(36916002)(6916009)(66946007)(66476007)(66556008)(36756003)(53546011)(5660300002)(6512007)(83380400001)(7416002)(26005)(44832011)(2906002)(478600001)(6486002)(6506007)(8676002)(41300700001)(38100700002)(4326008)(8936002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QjhMQTc2V2FnQ2U1OEdnRnFuMU5zSVBVdDN4N2o1QXZpSVNpRm1FMnpCZVgv?= =?utf-8?B?OGtnNjU4QldZNWRSMjMreHFFcTZISTFjeWw1TUQvWjJMc25NbGdXYlpLc3I3?= =?utf-8?B?bzRxeE1oempEbzRQQTBXZ1p6SmhzcDdyaWFpTHRqc284TzFBSkFnS2lUTWpo?= =?utf-8?B?Zk1UcVQ1MU1FdVpsYkgrTjVXa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-8?B?aFRCWmdiMkl1YUtGckVESG1wazF1MEtiY3c1ejFYK0ZxVUVSL3JaVzMzOFc2?= =?utf-8?B?a0pZenE5c2xFT0pMOW1QRHNETlozSTR1N1FwSytkbXFMNEp2bWlwb283bzhP?= =?utf-8?B?S1hUWXgxOXozR2Y3OWpoaGtIUGJBOGJoOStPdlVmNmFWUFVFaWdoYXZWWC9p?= =?utf-8?B?cHc9PQ==?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f0ba36cb-0e80-4506-5a62-08dbeb607cc2 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 13:39:44.7318 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9Alerxd7RGusIKnVq0/jMzj8O8NJgqDgtatNym9mVVYtX6RztIuiiMfV+lJczDaRyXGIC5QM1nBy+RkfMLDCGybZmvvWww/eGo6eckkL2+I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8283 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 05:40:06 -0800 (PST) Hi Paul, Tommaso, On 11/22/23 14:33, Tommaso Merciai wrote: > Hi Michael, > Thanks for your comment. > > On Wed, Nov 22, 2023 at 01:42:50PM +0100, Michael Riesch wrote: >> Hi Tommaso, >> >> On 11/21/23 19:41, Tommaso Merciai wrote: >>> Hi Mehdi, >>> >>> On Thu, Nov 16, 2023 at 12:04:39PM +0100, Mehdi Djait wrote: >>>> This introduces a V4L2 driver for the Rockchip CIF video capture controller. >>>> >>>> This controller supports multiple parallel interfaces, but for now only the >>>> BT.656 interface could be tested, hence it's the only one that's supported >>>> in the first version of this driver. >>>> >>>> This controller can be found on RK3066, PX30, RK1808, RK3128 and RK3288, >>>> but for now it's only been tested on the PX30. >>>> >>>> CIF is implemented as a video node-centric driver. >>>> >>>> Most of this driver was written following the BSP driver from rockchip, >>>> removing the parts that either didn't fit correctly the guidelines, or that >>>> couldn't be tested. >>>> >>>> This basic version doesn't support cropping nor scaling and is only >>>> designed with one SDTV video decoder being attached to it at any time. >>>> >>>> This version uses the "pingpong" mode of the controller, which is a >>>> double-buffering mechanism. >>>> >>>> Signed-off-by: Mehdi Djait >>>> --- >>>> MAINTAINERS | 7 + >>>> drivers/media/platform/rockchip/Kconfig | 1 + >>>> drivers/media/platform/rockchip/Makefile | 1 + >>>> drivers/media/platform/rockchip/cif/Kconfig | 13 + >>>> drivers/media/platform/rockchip/cif/Makefile | 3 + >>>> drivers/media/platform/rockchip/cif/capture.c | 1120 +++++++++++++++++ >>>> drivers/media/platform/rockchip/cif/capture.h | 21 + >>>> drivers/media/platform/rockchip/cif/common.h | 129 ++ >>>> drivers/media/platform/rockchip/cif/dev.c | 302 +++++ >>>> drivers/media/platform/rockchip/cif/regs.h | 127 ++ >>>> 10 files changed, 1724 insertions(+) >>>> 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. > > Others platform drivers are using this pattern prefix. > Please check: > > tree -l 2 ./drivers/media/platform/ > > Would be better for me to align with this common pattern. > But this is my personal idea :) > > Thanks & Regards, > Tommaso > >> >>> Thanks & Regards, >>> Tommaso >>> [...] >> Best regards, >> Michael Right, thanks for the explanations. No objections to renaming the files to cif-*.{c,h} from my side, but let's get the naming discussions sorted out quickly :-) Best regards, Michael