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 979B4C021B6 for ; Fri, 21 Feb 2025 22:22:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AtEBEd4OF5jJesM1UWuC8B55cy1wUC1Xy89ppNlShPo=; b=f4XdTOLPii/x59vRmwNDd/wErF jy3K+juTXomfKjpOrZGmaPxEA4weP4TnExbcgqKLzftTpNrSXBkYM/253DLdIaebOuxSjsydT+WMw eGrfRFXdSa2Z4+P9jsYB1OMyV9+pLpks/siRZZw5LirgHQtDwO3+GH7aTsohcCmY223T+QPjpYlR6 KM0e/3LZrilvJow7AaN5zZM3GowqizVpNzB4tofTvlljz6gDEb3ONjmKKJ/LsFU33wmcIeEuGua/x et0tzOpQ52FOYyqkiF5dAy/th67r8x5ICZGgaeOZNeFLqzx1vo2pEdB0LbexHz+e5kWHgRz0VDxcx 4qx04YeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tlbPu-00000007063-3XcF; Fri, 21 Feb 2025 22:22:42 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tlbOS-0000000701T-4BWD; Fri, 21 Feb 2025 22:21:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 7BE20613B8; Fri, 21 Feb 2025 22:20:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 735FAC4CED6; Fri, 21 Feb 2025 22:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740176441; bh=7aHNW9A/Uq8Lugq2wM6k+l78zNQMYLApgkpRccP75pk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XQHqptEYXy861nH4Dp3RHO8Sdfum1rPxoXVSQxqSsLeHc/wzblZu01Jp8LwAxnwa+ nursnUX6W+mwkV1VbDQW34IoGY3OUrqwDy11zDOHvubeZPD9CVvKmUwkboH/gr3Dku w9V4pnrNV83ZKiFYvUvm5KIbXoybGj6dxHwT4AA2F/aDdKYQiyX2LSc/IFCpXum91M +X2+x8IBhBAgiWxLFTsSBtmPm1P4+SWZETkDS1uO5Tu2guE6nQCgfP9EaiFDzYMkYl ZukxOU4JMRtlwHaaH4Zv/ZcoTWerV8eKB9Ruln0azVoYwoIRqxSOmnKyTvN5cDDFcP CfSNstlUdpt6A== Date: Fri, 21 Feb 2025 16:20:39 -0600 From: Rob Herring To: Sakari Ailus Cc: Michael Riesch , Mehdi Djait , Maxime Chevallier , =?iso-8859-1?Q?Th=E9o?= Lebrun , Gerald Loacker , Thomas Petazzoni , Laurent Pinchart , Mauro Carvalho Chehab , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Nicolas Dufresne , Sebastian Fricke , Sebastian Reichel , Paul Kocialkowski , Alexander Shiyan , Val Packett , Philipp Zabel , 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 Subject: Re: [PATCH v4 04/11] media: dt-bindings: media: add bindings for rockchip mipi csi host Message-ID: <20250221222039.GA164750-robh@kernel.org> References: <20250219-v6-8-topic-rk3568-vicap-v4-0-e906600ae3b0@wolfvision.net> <20250219-v6-8-topic-rk3568-vicap-v4-4-e906600ae3b0@wolfvision.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 21, 2025 at 02:13:13PM +0000, Sakari Ailus wrote: > Hi Michael, > > On Wed, Feb 19, 2025 at 11:16:35AM +0100, Michael Riesch wrote: > > Add documentation for the Rockchip RK3568 MIPI CSI-2 Host unit. > > > > Signed-off-by: Michael Riesch > > --- > > .../bindings/media/rockchip,rk3568-mipi-csi.yaml | 123 +++++++++++++++++++++ > > MAINTAINERS | 1 + > > 2 files changed, 124 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-csi.yaml b/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-csi.yaml > > new file mode 100644 > > index 000000000000..288941686e96 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/rockchip,rk3568-mipi-csi.yaml > > @@ -0,0 +1,123 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/media/rockchip,rk3568-mipi-csi.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Rockchip RK3568 MIPI CSI-2 Host > > + > > +maintainers: > > + - Michael Riesch > > + > > +description: > > + The Rockchip RK3568 MIPI CSI-2 Host is a CSI-2 bridge with one input port > > + and one output port. It receives the data with the help of an external > > + MIPI PHY (C-PHY or D-PHY) and passes it to the Rockchip RK3568 Video Capture > > + (VICAP) block. > > + > > +properties: > > + compatible: > > + const: rockchip,rk3568-mipi-csi > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + maxItems: 1 > > + > > + phys: > > + maxItems: 1 > > + description: MIPI C-PHY or D-PHY. > > + > > + phy-names: > > + items: > > + - const: csiphy *-names is kind of pointless when there is only 1. Drop it. > > + > > + power-domains: > > + maxItems: 1 > > + > > + resets: > > + maxItems: 1 > > + > > + ports: > > + $ref: /schemas/graph.yaml#/properties/ports > > + > > + properties: > > + port@0: > > + $ref: /schemas/graph.yaml#/$defs/port-base > > + unevaluatedProperties: false > > + description: > > + Input port node. Connect to e.g., a MIPI CSI-2 image sensor. > > + > > + properties: > > + endpoint: > > + $ref: video-interfaces.yaml# > > + unevaluatedProperties: false > > + > > + properties: > > + bus-type: > > + enum: [1, 4] > > + > > + required: > > + - bus-type > > + > > + port@1: > > + $ref: /schemas/graph.yaml#/$defs/port-base > > + unevaluatedProperties: false > > + description: > > + Output port node. Connect to RK3568 VICAP MIPI CSI-2 port. > > What's the purpose of a port node without an endpoint? If there are not custom endpoint properties, then you don't need to describe the endpoint node. But that case should be this instead: $ref: /schemas/graph.yaml#/properties/port (no unevaluatedProperties) Rob