Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1515225rdb; Mon, 2 Oct 2023 11:55:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2L4+7YHR0Ucw4+DjB3cgNtEt19jtXmiw/upPD/1GxDsyp4ItKh5Mr7410IDOW3bJSR53N X-Received: by 2002:a05:6358:785:b0:142:f9dd:5aa with SMTP id n5-20020a056358078500b00142f9dd05aamr14484336rwj.0.1696272954459; Mon, 02 Oct 2023 11:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696272954; cv=none; d=google.com; s=arc-20160816; b=L8n0hGB8Mqu9YClIUBVZjF/qOuka+JN5pX7jZka7etnyQHWOU5AwtFtVtlaZPUNwAi XHSPm0V1J7lUVVcMzvpgfJOxF8DZ6grnh1SBQIoXiAHxTBBPnq8GVFodcVrqZMpYwtJL mIrrFea+ug1tB2af+oDviRPOc+WPZ/cc7bPrLOEwmOwbey9EBAG/KfE7QMILEHBebVm2 LIOr8mS8J4o1ZdNkxJAHk9D4dL7nINCKUefpyTy2I8F2+aiR1UosEnxlLXwDRtGrb3Zd kagzvzD6+v0JHLpKf3JKRlc2uLIdsUdmVNAQH6xrQiuIsTBR5bYyh8JorFY/S0gixHmh wiLA== 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=aPJFu0DzGVISSCFOh/WH0Z+cXOb4WYWRicN0LK2s2k8=; fh=8RFCDjCpTw+GiB+mjA8IWWcCdrRTpY+QDTLp5V6lOEg=; b=UtoXEa0bGwXH0ULU8L+Kv4BsCrf67w3EKVBbyW4s4qxw/s9aUY9qZ97RkkVKmEqUYI rND0Xgv8z73wZzKPyItjpLOoSMVojLQ2YlEVYF4n+OaDf6vhNKfUfQI25mHAOKoAQ80y LAHmDuYethNRKZleWzj4OpikdLUAKn6hBnlEcSvf2WeFpCRZ25n2KkHZbVfOUZr8cRlo QVR3yMhgfonsQyY2SGkVukNSKAUeE5eOELCTmbZ6gkfdNfggQTx4iGAHtG7b1+WDnYuP ecHUkkKiVTaIpPnKUznFdLENd6NMlEtbmt8yjtKDuae8hrIVw7RN8tE87x5VBU1vxHr7 6URg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GgSqZCDp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u29-20020a63141d000000b00578acf1e8a3si27579353pgl.576.2023.10.02.11.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 11:55:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GgSqZCDp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9F88480A44DA; Mon, 2 Oct 2023 10:18:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238713AbjJBRSI (ORCPT + 99 others); Mon, 2 Oct 2023 13:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238706AbjJBRSH (ORCPT ); Mon, 2 Oct 2023 13:18:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6D49BF; Mon, 2 Oct 2023 10:18:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3513C433C7; Mon, 2 Oct 2023 17:18:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696267084; bh=OIv6Z8b3JFbf9ue9YI6t7H0iEjI77VE2sqY9kqQb8fM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GgSqZCDpSyEhEbNklD+N0BU84zlb4ruPWqOpUn/WaSN9+577etivZfvzIS86JyYFi BkOFnx6zHNyPQHzjqitPJA/HkVubQB9RF+CdrtjEGuv795DKK5fdfe7bxVv8Sh+NAa 9SRLY+vm5gfL/qCs4WNsxR+UM+E+9jan+P1XohZMLg6aLNb7yxpUv62bk6anirkZw1 6xbvwjmDdeFeyikQTX56xReDbkEuUjTewBMe3IsCy2CK4NoEDGT8EdTvRGbuMnJUvd iT0CK8FWQ1Y0Jg5QJsd0mSR522Gd5lAQoU0eEZYHsPUvFuMh6pcIIp0cN9Am6WTV8v lAGtM0vHwKU4A== Received: (nullmailer pid 2033180 invoked by uid 1000); Mon, 02 Oct 2023 17:18:01 -0000 Date: Mon, 2 Oct 2023 12:18:01 -0500 From: Rob Herring To: Mehdi Djait Cc: mchehab@kernel.org, heiko@sntech.de, ezequiel@vanguardiasur.com.ar, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.kocialkowski@bootlin.com, miquel.raynal@bootlin.com, maxime.chevallier@bootlin.com, luca.ceresoli@bootlin.com, thomas.petazzoni@bootlin.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH v6 1/3] media: dt-bindings: media: add rockchip-vip Message-ID: <20231002171801.GA1942512-robh@kernel.org> References: <6fa90df50c201dec70165c5138bc837f5a8829b5.1695981374.git.mehdi.djait@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6fa90df50c201dec70165c5138bc837f5a8829b5.1695981374.git.mehdi.djait@bootlin.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 10:18:12 -0700 (PDT) On Fri, Sep 29, 2023 at 12:08:00PM +0200, Mehdi Djait wrote: > Add a documentation for the Rockchip Camera Interface controller > binding. > > This controller can be found on platforms such as the PX30 or > RK1808, RK3128 and RK3288. The PX30 is the only platform > supported so far. > > Signed-off-by: Mehdi Djait > --- > .../bindings/media/rockchip-vip.yaml | 91 +++++++++++++++++++ filename should match compatible. > 1 file changed, 91 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/rockchip-vip.yaml > > diff --git a/Documentation/devicetree/bindings/media/rockchip-vip.yaml b/Documentation/devicetree/bindings/media/rockchip-vip.yaml > new file mode 100644 > index 000000000000..33c603209c39 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/rockchip-vip.yaml > @@ -0,0 +1,91 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/rockchip-vip.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rockchip VIP Camera Interface > + > +maintainers: > + - Mehdi Djait > + > +description: |- Don't need '|-'. > + Rockchip Video Input Processor present on PX30, RK1808, RK3128 and RK3288 Write complete sentences. > + > +properties: > + compatible: > + const: rockchip,px30-vip I see 4 SoCs listed, but only 1 compatible. > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: ACLK > + - description: HCLK > + - description: PCLK > + > + clock-names: > + items: > + - const: aclk > + - const: hclk > + - const: pclk > + > + resets: > + items: > + - description: AXI > + - description: AHB > + - description: PCLK IN > + > + reset-names: > + items: > + - const: axi > + - const: ahb > + - const: pclkin > + > + power-domains: > + maxItems: 1 > + > + port: > + $ref: /schemas/graph.yaml#/$defs/port-base /schemas/graph.yaml#/properties/port if there are no extra properties (such as defined in video-interfaces.yaml). > + description: A connection to a sensor or decoder > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + parent0: parent { Drop unused labels. > + #address-cells = <2>; > + #size-cells = <2>; > + > + vip: vip@ff490000 { > + compatible = "rockchip,px30-vip"; > + reg = <0x0 0xff490000 0x0 0x200>; > + interrupts = ; > + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>; > + clock-names = "aclk", "hclk", "pclk"; > + resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_PCLKIN>; > + reset-names = "axi", "ahb", "pclkin"; > + power-domains = <&power PX30_PD_VI>; > + port { > + vip_in: endpoint { > + remote-endpoint = <&tw9900_out>; > + }; > + }; > + }; > + }; > +... > -- > 2.41.0 >