Message ID | 20240220-v6-8-topic-rk3568-vicap-v1-1-2680a1fa640b@wolfvision.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> 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 8EED2C54787 for <linux-rockchip@archiver.kernel.org>; Tue, 20 Feb 2024 09:40:20 +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:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=WksFL2yOLUYYe/BC7p2DLHiv5c+X78mfLFCgBZK1AMg=; b=YuZfSXH3Z7XuenSynjDO+fpwAu 6TBEkMNpqEdkgIt0uOiDmCH0LCVcKUFLAL4XAN9VfZaYSavCv04SmcNSLppZFaKitDzUkNJXitaTA YHyirXjsuMGiW2dvSMk6gjRKftxALEXOzMq3WZuDjMVuh09KdEfNHIo5/MZCRB3J6/zw0iGcdzymA o5Og3cr1Ndq5vEsel6WooS3VGwxpcY5FNeKtbT/pfPBZlcMvzk+LyLBB86BMj6qgT7AJ4wxm4R3sm qi6nJ19WrK5U+tNcB7GJ1I139qh7RxPZISOrjH5yHCFvD+uf6sS/nTut/r04+ElmnYGrSA40w+6c0 prdajipA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcMbo-0000000E2C2-3JIC; Tue, 20 Feb 2024 09:40:16 +0000 Received: from mail-he1eur04on20700.outbound.protection.outlook.com ([2a01:111:f403:260f::700] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcMbd-0000000E230-3YK5; Tue, 20 Feb 2024 09:40:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KfAu055tAsp8sfxI4kcrem5FW6+/IGwdEf+929ltcw63ihUjYgluJ42nS0+Kxt9eP+eCTwY6r9um/V3E9ZI1n9qN8yej3l/GTNjGAyKVRMYZi1Z6FLSD9Yw0I3496e6npDQtQWHv+IZqEIMO7Lm853DX0jXG0/useeyuNOJBkP/o4vNwDllx7B5xVvl167pCIKThwG8CtQQ7p1hsvcur98IQezrgplH/Tr9sF9BQDHFVDmVnlOZ8AJqZkyGM4rFS54PhfUV4CAX7qmc2fArZHiQ6zarg6qZiG20CQUr4V4oNSKxgmTLKi7X/P7HZLpjLyAEA56dos7EVAZs0xD+H/g== 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=AOSCNarQTpOdBKiNefCuvX+0wyQgOdzu7JqDndPX6r4=; b=dCc0RJgPx6jpZFbKl9dE0Tf4UKN0hQckekSxma564tdKQXiGnzZpOH6rCTDIeNULobRx9NHLZi7l+aplJcgbLsH9b3dpJbVGjOVPY+OkQydj3GGExoMVEsZkiQ1gl3GhEL31T9fUddswB858uWGqY6+SV7e0t3buM9+jFDMyTFOsgI6IWjzHzXoWhV2Z6QylfnA7rPVBHlVVHhSmp22h7XcvQhU8JvxMnPfUHd5S4F3/BPZVpux50wYD6S/QiP1HgGkgPsTOM3M6Jw5Hly912Oi8zcqYzQb89vx2e9Ysfy4DMDwy0nW1vMmAmDAsM5bQbA+EuKKUg3dQibLEB+sJvQ== 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=AOSCNarQTpOdBKiNefCuvX+0wyQgOdzu7JqDndPX6r4=; b=aRJgwo/r875Lkb/ZmCJErYvl8sfel+8TKB2jg8J68TbuUAZy3AY3rqdqsdIXM6DyQJF1A60LuwglF9vxMG9q8OxVTBDcn/RcVb35wBZ/HTW8/bOfVLmb0tE98LFAxJy3n0rYbFeyQ7H5e0Rnxt93bZlWuSme5Z0nalx6dnktR8w= 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 DB9PR08MB6763.eurprd08.prod.outlook.com (2603:10a6:10:2af::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 09:39:58 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::7409:db60:8209:c9f4]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::7409:db60:8209:c9f4%6]) with mapi id 15.20.7270.043; Tue, 20 Feb 2024 09:39:58 +0000 From: Michael Riesch <michael.riesch@wolfvision.net> Date: Tue, 20 Feb 2024 10:39:11 +0100 Subject: [PATCH 01/14] media: dt-bindings: media: video-interfaces: add defines for sampling modes Message-Id: <20240220-v6-8-topic-rk3568-vicap-v1-1-2680a1fa640b@wolfvision.net> References: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> In-Reply-To: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> To: Mehdi Djait <mehdi.djait.k@gmail.com>, =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Heiko Stuebner <heiko@sntech.de>, Sakari Ailus <sakari.ailus@linux.intel.com> Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Michael Riesch <michael.riesch@wolfvision.net> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708421995; l=886; i=michael.riesch@wolfvision.net; s=20230803; h=from:subject:message-id; bh=nB3d9Wukx0QT9PG4kX8prjqM/bzHZfdj1+aQXraSAJ8=; b=0X0GGjrZHjccolAvDaoMWfrKn676ioVpkeFb68k1ItAKvQoI4tfJHkWcDM/xlszwus+g4/SNx YK7Z565wy+SBf/c1lPh0NYNoyZdp+NWMU3oqC8ag3cQAmpf68AHX2Jr X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=9ral3sulLe95bLcbaiNXTgUTRiBayRBEFZ5OVIEHp+0= X-ClientProxiedBy: VI1PR04CA0128.eurprd04.prod.outlook.com (2603:10a6:803:f0::26) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DB9PR08MB6763:EE_ X-MS-Office365-Filtering-Correlation-Id: f80ab7ed-dc8b-4647-8697-08dc31f7e6ea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OQoZujETFA0W8sMaQE7l7zrlz9bOOKTkOk/cV1SpUVJuFiruzljMbz8EzzKErxFWCGREdqhesJZq+SULVmyDzPjEKXq2c0tC6+TE0MEOqLTAMojqFSNC/7WjVQd834SM7eWw/decUgAWpgx8YoAw/YN5vtVcXQ88XYukF1ikK7Ahlag6ZeQ21bI8SNsReRNFmcfi/17Bw5Rt13pqKDuyuWu4OzM2ft5KT6L8rOlDBROaqhEkHmjxPWZXYTPRe3CqRxggRatWufakHh5alzD7K53wm7gIPQVqMNlM6Hke/emXkb5nHTcAo+J8QKGSiXptu3GxhwyDrhKXVA8aZD4g5q8II4WA8ar/xzERdu/vtGJcw6Wjo+TeqqDynWBTv/2ZIZH1qdb+56pvRFcKCnyIP/usS+oKr8MzuRit+cTxFNr3xJR1iyUNZ08kUNlbe/+Kz3dJaumMYtteWtGSPzNOeBYuzHcqcncGjjCneN7usVeGo+DUFOjaeuDQviBXUoDqTitN0NBuyWguub09i1SR4GLLxMuH84df41s4h8C/P5VB7TH14Pyaa8rfpaqnx6HW90t1I7A5jmq8HsOTsLvynt3GdJLUy2VvuZk6ITCIv7FjOycvYOX6mQQyndI7/uk8FQ8BZ1n8BioTr0N6Kj4ykg== 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)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?mVRvYyI8Ra/pAXTs1Wq+uFNFvsFV?= =?utf-8?q?NtnmpWINZe+CINpi46f5EzEnMzEYW+UdIwUwYGO4HURaIO31MGrOxXYLb94/6SL02?= =?utf-8?q?gRNBFWEj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StJwfp6wnDJc6zVDAVcHCWnQh8BQuIq1vB1KCLcbZY09?= =?utf-8?q?HUFQStAlMXtBt34gaiX6CuPyLkbwOrQ3/JtS+Y6wiBWPuXl0BkrTmp5LM/ZV1MX8S?= =?utf-8?q?ZR21UNC+J5hMRu4mCHIOBnrmRWLCyVkFH4QGnpSbZ9j6HEpU25sf6GT7U4d4J4OyO?= =?utf-8?q?Rbq4aAlQW044lOs1Qk8UIrrX0FRaHAv0qSLb8gvWgjC9Ncz2DEsLHfB6VK7zZkwFe?= =?utf-8?q?SMBjcsC4KtUjPcgiIHLWT95datT7MWqhzgM8OSJ5G/wBbe4nli47fUFPYcQEz4qkr?= =?utf-8?q?tspHqIMk/Mcxy9lksygBY1wrf+PV8mhn4C5ZOsLScjTl+FiT62N/gNrdaEl0nxNKd?= =?utf-8?q?O++VQdzmSnM6j9bSkSMSZS7W7UOXWBAnStIU9y/NQ2dOPtT9qvZKa+AlvxpHTyC1z?= =?utf-8?q?B0/oTwUntxPeNeVxMrh07M9zuKqg1rY4b00pD9xsfXqWtFi7jIszvOgVadUuGpxFf?= =?utf-8?q?oxYcyzu7OxrPdnNH4UvbLKnkhEylUCpMrusbdTcbQHgQfuyW0HdRvhKT65mzECcxR?= =?utf-8?q?ELDccTnBW4eq6E5c4AeG//dRCgE+rdEq8Q=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f80ab7ed-dc8b-4647-8697-08dc31f7e6ea X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 09:39:58.1212 (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: UeTGeer2+0eyI0EzktxER089Q989OWb29OdR7foK4PZ4VNMZhSa24wI4ygR2I9joAQhM8ynx1HSti74ZntVVwCsyS0AVNLog/s1doGgRW4M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6763 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_014005_897799_765C7E6B X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
media: rockchip: cif: add support for rk3568 vicap
|
expand
|
On Tue, 20 Feb 2024 10:39:11 +0100, Michael Riesch wrote: > Add defines for the pixel clock sampling modes (rising edge, falling edge, > dual edge) for parallel video interfaces. > This avoids hardcoded constants in device tree sources. > > Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> > --- > include/dt-bindings/media/video-interfaces.h | 4 ++++ > 1 file changed, 4 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/include/dt-bindings/media/video-interfaces.h b/include/dt-bindings/media/video-interfaces.h index 68ac4e05e37f..02d8239c2038 100644 --- a/include/dt-bindings/media/video-interfaces.h +++ b/include/dt-bindings/media/video-interfaces.h @@ -13,4 +13,8 @@ #define MEDIA_BUS_TYPE_PARALLEL 5 #define MEDIA_BUS_TYPE_BT656 6 +#define MEDIA_PCLK_SAMPLE_FALLING_EDGE 0 +#define MEDIA_PCLK_SAMPLE_RISING_EDGE 1 +#define MEDIA_PCLK_SAMPLE_DUAL_EDGE 2 + #endif /* __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ */
Add defines for the pixel clock sampling modes (rising edge, falling edge, dual edge) for parallel video interfaces. This avoids hardcoded constants in device tree sources. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> --- include/dt-bindings/media/video-interfaces.h | 4 ++++ 1 file changed, 4 insertions(+)