Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp128456rdg; Tue, 10 Oct 2023 06:15:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhDfRRqGD5Iu+sFvhIblAwBpoCfAEsSJbq7BFPoKGWnSbt3UrUpBH1+i3EAkLtcE2fN9tv X-Received: by 2002:a05:6358:5e0f:b0:134:e549:50d6 with SMTP id q15-20020a0563585e0f00b00134e54950d6mr22886301rwn.10.1696943757174; Tue, 10 Oct 2023 06:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696943757; cv=none; d=google.com; s=arc-20160816; b=fjZHmtGssyXtdE7kbS0XwYwSxNBPmXXU1PEUpy4sUq9q5v1wWN2zlblaCCGN3X5tHR PVT/rxgEMDBXl6yY5ih75oyFyM8DlKvEyceUA1/c3Ym8vgGxsV6qQzsDisqkmfJ9ar3u 7NS6Fy9PSe1B9x0fSIwT2w3pelJCCwoxHr8vc8yMibLEv98VYhDOAlQ4PBZpp+4Pu2ez ALZ/BYO/wwClu3GPnSHyi7GJ/5RO0/ZhY4NgPyIqzDg9AgRj4Y11aXRiD+AJHPQ+xvz1 j6sJ9UJ21xLr2gbGSPkueFPmPdw/kqnmEXNJHKuj7Q2etqy64oYhunZ5eoe8Kjvf68vH +ewA== 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=cLoDVpxUKwb/2OSyhld8V/8D5oIOJGl19lhv+fQYfTg=; fh=/ps7i0a5eTmc6YnKJAsVAP2Hb/L4Lzk0k1UNSKUlUHs=; b=D/4Acd7MuKbVvvghxVZ4qksGH5wiGu9NHZlz6xvBVpOTAvPB8Q1lr+78NA19xedGqE xaztEGVNTfbDAnwLEI7HGMh25KZgEifEuTrWnE5LAqyJKdhPmyO+Vbs47m2b8EoCLkRI KqYpDCGt6bz8ZghfDH6/G3ARxgln1OBbxmbIFTdTImjxMCChmO/3VuLO2YVG2CeeGEt1 ObTEtBtSYr5Ab6dWy/U5PF5ieNm0yB8oSrEZgHqj1BF4/tAJefp6k6nfq1gxBDQ8MqOj H81KYrhFcjmqEsWGtTZgfnHUwOIvk4w5cdGtQsMyyVTZBwbcmvGvP5RNUC7IkIp5qve2 nWRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kO43tBjo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m1-20020a656a01000000b00573ff14b9e0si13334746pgu.763.2023.10.10.06.15.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 06:15:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kO43tBjo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id A4EEA8092162; Tue, 10 Oct 2023 06:15:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232024AbjJJNPU (ORCPT + 99 others); Tue, 10 Oct 2023 09:15:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbjJJNPT (ORCPT ); Tue, 10 Oct 2023 09:15:19 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7B36B0; Tue, 10 Oct 2023 06:15:16 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9258B6000D; Tue, 10 Oct 2023 13:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696943715; 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=cLoDVpxUKwb/2OSyhld8V/8D5oIOJGl19lhv+fQYfTg=; b=kO43tBjoE1IPvog05sNrzO5ZcPE8OVX60UOwVtVgXRUikJ/3y0uDyVPbD4BctR1sddiGlD 371cbqmtVLccXTkUH2N+jUOIJ6Qo5oPHTtSInDAW6Bmy4TY+3E4CLgedx7+UwIIv2khfNR ncZlSbwZXADNzq/X3FRdsz+bYsbqooEoHnhZHIXy4d+8vX3VdKQnf4n67ljTaxrhQ3zjgx 31hftblaF/qiLfC8p5jvzdSSbO6uyqhN6/qJPLtycBJiWkNRCmoHVDqWKDpUkB4YxP31jw ctNYycGxCSz8fk2maLafxjqhrZkXWpZFuJSYZgSnrXEPN7F7PEr46UQBd5Eqjg== 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 Subject: [PATCH v7 1/3] media: dt-bindings: media: add bindings for Rockchip VIP Date: Tue, 10 Oct 2023 15:15:04 +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=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 06:15:48 -0700 (PDT) X-Spam-Level: ** Add a documentation for the Rockchip Video Input Processor binding. The PX30 SoC is the only platform supported so far. 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