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 B7C16CAC5A9 for ; Wed, 17 Sep 2025 15:39:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ndwvHJZgEp73CKCUJKruBXld8wg+3BKsVUYYnB7fxps=; b=nqNddsIe4oEKMJK3eQqpY0UOP4 0knt57iSsx2ydC2tD1tK+AnMaOj+4oeN7ujcuh6HFNwVAZMMlZcFZfGNiH35b0ny63kCwJ1yPpLy3 43wmaFW9rnaCaPUf+zzQq9Qbs0N4Sgd9IVAWnie2U0QX5G327kbsljopMd53mU4OY7gqPb8NqgwxA hu7skJRjsmCp6erAqaMlzIi4ky7usYt9GbZwFbLQaBOuuUzsz1nQAuxi6WdmA4h4PvzenLm9yU7uG QhkoGkIauJUgq6zhYBigNypskVzv8Sfwp7VAFzJDckJexAal+yTmOX+o/0FEkje8x0yDq3/78C5OT xv8XYKtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuFP-0000000Cmam-0tAX; Wed, 17 Sep 2025 15:39:07 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuFI-0000000CmQd-2nLt; Wed, 17 Sep 2025 15:39:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Reply-To:Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Content-ID:Content-Description; bh=ndwvHJZgEp73CKCUJKruBXld8wg+3BKsVUYYnB7fxps=; b=oLXTIwa2xMnFRZcfjqorvABNoy jFwAFOR1SrtJ5Spzj9jTqTW15lKh91XHX+pACzRX3s7FW0RlJZnMsVvjdwf4XRk4tXkKw/Cv0wW6k nYkx6AKJo7JvUSG2M7kWHZQ/gz28Uq/2fxv1DJOyMelhb1Evu8bk+MmXB1NmgaMLk0QG4x5pqyzaR ov6+t2CyqgQ7hgQruEcVZX5IN18xU2IT4Z1d/GGexXbF8jflav5dBOTXHuWIGKen26bwKPRHMuXcK /n7RY1HiBO/Q/sY7zE2l2C2gJIexC8I/fOY0Qg6AWOAsTAqvjQK8b9c9RDMRpmkWBXDhtsd6HBUJ1 F4gWgWxw==; Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyuFE-00000007Rfm-1jOk; Wed, 17 Sep 2025 15:38:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id E262F44F62; Wed, 17 Sep 2025 15:38:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BBD81C4CEFB; Wed, 17 Sep 2025 15:38:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758123532; bh=5S76H0gCqRW35R4vrZQiDQSDEFyCSQxzI3LegANS2nk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=cGJGyPlLeJtDYLyVclpYHXGvqF68AoEYgT+AirrkHSW1SYtiOeuPPlb/ADQ1zzuso ekwM1Jy0sk4ue3vilc6CW1L5z7MmkOfGrUKvantOvd+S7iGnhtBylaxc3+tdnVsB9e qMeGSFwAH8KtxT59dqXidkDaYzV+4FZ6riMFpo654QL4woNa6JvmOh69Tp8aHGgMbE HhFQoULtC3se+Ud4/GR46D9HCqiPfJGCUC/4Zo/sW0sVO7Q129O/l7pTgak0yfnZ/2 c/oPC0Nj9I/uRSYeVWk6x630tab3Q2BusAVvBw07X6E1Oepa+/hoa3qUVGbekiMxBk HaeoydSBP/9TQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABCBECAC5A0; Wed, 17 Sep 2025 15:38:52 +0000 (UTC) From: Michael Riesch via B4 Relay Date: Wed, 17 Sep 2025 17:38:42 +0200 Subject: [PATCH v11 02/17] media: dt-bindings: video-interfaces: add defines for sampling modes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240220-rk3568-vicap-v11-2-af0eada54e5d@collabora.com> References: <20240220-rk3568-vicap-v11-0-af0eada54e5d@collabora.com> In-Reply-To: <20240220-rk3568-vicap-v11-0-af0eada54e5d@collabora.com> To: Mehdi Djait , Maxime Chevallier , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Petazzoni , Gerald Loacker , Bryan O'Donoghue , Markus Elfring , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Nicolas Dufresne , Sebastian Reichel , Collabora Kernel Team , Paul Kocialkowski , Alexander Shiyan , Val Packett , Rob Herring , Philipp Zabel , Sakari Ailus 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 X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1758123529; l=1010; i=michael.riesch@collabora.com; s=20250410; h=from:subject:message-id; bh=Uz74OJ3MrVHSpMmLIY3bphZ6CO+aAi3TjYd87Bbmoq0=; b=NoojX8/vIpuYWWK4NRXEfbC0cgbRtluFS0BcKe6MaTZWFSUJyERD6ezQlHG0XCxiHc6JreN54 VtqbvKaN63oAam5dJdQByc4JZP0buLqh4cWr1MryqhayC5vVEg94PNF X-Developer-Key: i=michael.riesch@collabora.com; a=ed25519; pk=+MWX1fffLFZtTPG/I6XdYm/+OSvpRE8D9evQaWbiN04= X-Endpoint-Received: by B4 Relay for michael.riesch@collabora.com/20250410 with auth_id=371 X-Original-From: Michael Riesch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250917_163856_880277_B1EB5C1C X-CRM114-Status: GOOD ( 10.19 ) 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: , Reply-To: michael.riesch@collabora.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Michael Riesch 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. Acked-by: Rob Herring Signed-off-by: Michael Riesch Signed-off-by: Michael Riesch --- include/dt-bindings/media/video-interfaces.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/media/video-interfaces.h b/include/dt-bindings/media/video-interfaces.h index 88b9d05d8075..0b19c9b2e627 100644 --- a/include/dt-bindings/media/video-interfaces.h +++ b/include/dt-bindings/media/video-interfaces.h @@ -20,4 +20,8 @@ #define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_CAB 4 #define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_CBA 5 +#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__ */ -- 2.39.5