Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2366695rdg; Mon, 16 Oct 2023 02:01:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNq3EIerzrzrDyXyJTzyqgULrfB5iewON1841XmvFBm/QlX8+b8yLjdZLysArKW1f7g/24 X-Received: by 2002:aa7:8c0f:0:b0:690:fd48:1aa4 with SMTP id c15-20020aa78c0f000000b00690fd481aa4mr10173809pfd.0.1697446877743; Mon, 16 Oct 2023 02:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697446877; cv=none; d=google.com; s=arc-20160816; b=cp9emeEmdfk4RtlbtqPPsRviJshw6nh1/niaP3NVXUrntBTniFqXshDlg4hiwMvVpO ox8VPDs9OGQ/VgawpzJbdMUGN9VG4zn8cRJ2ZF45uVliCkoXUj705STseZMaTXz52/BM 5pLI4mfKdBbgTucSBuGMe2ZiimDi+Rj4Oyol6Wd/Hl++5OSUuQR1Bh5NmIlEehF/1CoK g/aMfNUjT0eaU0Uoxagvqb3EjtZ6AkNLm8sF9Gv2GwY5cSoqGF/JA9hoTpkBRDtQ2YEn wcV+hrU5Y1hwT/VCIQA5yJ2o1lgxGh0GaEkdmhuxiF+emfbufdkFda9yssRB7svrJW5m T8Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hpjgcBNJPQTB0ooU5RPIqtWS43UUpqZHMK3YSE09lug=; fh=w2DzM0xYri1I37E7tBmYcgKDZNJxTQCmH/V+BD9TCy4=; b=KW+0MTt7Ww1WaZb7/cmhox0GXw73/W+OvmSML3fu0LyQPL1veQiGP3M5DEzKKO5Jkd Mlm0USEZ14zspixgL3ZR90qitS17hxtghuSc6aKwTi0bWovRfFH02SKo/Gd+hBqeWVo9 R2l2O9jI2DcvwSnbnU3sBdSGY8G5wFD73I5ZJZroHBUQgFqy99bsbFxIVwIAHS79EkNk fAhbhKNRUZFg56dYDkluqWEcqE/jvhOul7z6iLkviJNl8Yb3tkqdFsq14NU2zOB4pg1s +rHXvLu687xYBCvhcelrLsLPwDJp4evgmS2E0mEABrQ+jmUR2UDYhdyDj7QvqR3Sn+9x xaEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ceqlvABk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z8-20020aa78888000000b006b7abfbf700si5962905pfe.394.2023.10.16.02.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:01:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ceqlvABk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C3D1D8080E22; Mon, 16 Oct 2023 02:00:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233242AbjJPJAp (ORCPT + 99 others); Mon, 16 Oct 2023 05:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233223AbjJPJAm (ORCPT ); Mon, 16 Oct 2023 05:00:42 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0C43F4; Mon, 16 Oct 2023 02:00:38 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2ECABFF803; Mon, 16 Oct 2023 09:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697446837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hpjgcBNJPQTB0ooU5RPIqtWS43UUpqZHMK3YSE09lug=; b=ceqlvABkqNeAJ8Aab6l5S6wKCM0QLoBpipmoZ+2klEHdO0TdhO3oqb0S+EKunHdAHqJmmd tc8mhj3AjGMjdlx7Uwp2fQZjBefFUDRaA6soU1Ro2U7MHVcjPibdx1QWHMT3Z6Du5yynsR E7CUrF5AqbKB80758ThGbrR0opq0kr8dk39uFqWEdI3wu0n6M21hmEqH816dqD+TM5ZA6a fek5XcwWJSia2IEsBkTtSJtlFbiejmojB6CIKiBBpijClISzCSCBYntB3lgWA8HUFyGnES 2vf5dtD0J14dKdA6fo1xHgUvKpUxWIkDXYw4j7yysjJppUavYbAv8DZlqTePwA== From: Mehdi Djait To: mchehab@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, ezequiel@vanguardiasur.com.ar Cc: 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, Mehdi Djait , Rob Herring Subject: [PATCH v8 1/3] media: dt-bindings: media: add bindings for Rockchip VIP Date: Mon, 16 Oct 2023 11:00:03 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: mehdi.djait@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Mon, 16 Oct 2023 02:00:57 -0700 (PDT) Add a documentation for the Rockchip Video Input Processor binding. The PX30 SoC is the only platform supported so far. Reviewed-by: Rob Herring Signed-off-by: Mehdi Djait --- .../bindings/media/rockchip,px30-vip.yaml | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml diff --git a/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml new file mode 100644 index 000000000000..41f0cd58372d --- /dev/null +++ b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/rockchip,px30-vip.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip VIP Camera Interface + +maintainers: + - Mehdi Djait + +description: |- + Rockchip VIP is the Video Input Processor of the rockchip PX30 SoC. It + receives the data from Camera sensor or CCIR656 encoder and transfers it into + system main memory by AXI bus. + +properties: + compatible: + const: rockchip,px30-vip + + 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#/properties/port + description: A connection to a sensor or decoder + +required: + - compatible + - reg + - interrupts + - clocks + - port + +additionalProperties: false + +examples: + - | + #include + #include + #include + + parent { + #address-cells = <2>; + #size-cells = <2>; + + 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 { + endpoint { + remote-endpoint = <&tw9900_out>; + }; + }; + }; + }; +... -- 2.41.0