Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4031440rwd; Tue, 23 May 2023 01:59:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Sb8QGdNeP6GqP1miVUdvHiqWYHAoSiainTquRLk7sLQBJMHGBngtpSK4o/DzwAapqv32q X-Received: by 2002:a05:6a20:9153:b0:100:11c9:8c06 with SMTP id x19-20020a056a20915300b0010011c98c06mr14640352pzc.18.1684832362650; Tue, 23 May 2023 01:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684832362; cv=none; d=google.com; s=arc-20160816; b=xf8uZ7IsqqC27X54pPuZCA3YbIklmusko6/YUcLJOFdHpPkX4qQYAKr2bWzOjqnm5+ fIODKg5fPX7gqAurwejppkoI7lveh3/bJN0AbBodspXTfwS9ecRYL1zMb7YYAH1YwT9Z /WY3GoMvfQvDDx7ZY35NGQN+zk2cKiqgM8lFlFvB8OlTYgHprYT5/r0GEga+UO/cvmpw yof85+7KoCebDtCvFYwrHgOVMjPyOczSkskEfDiz5EFI73Mu+Q8k+UHUa/7nSvnwSlO/ zi2wdQ2767AeNg4YgKrZgYrQ/eMxJX7HPKVmLIjvotMCNTev5iDd8EKUjptbj3qHuSMs zkPA== 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; bh=BB2krYGw4HCqiT5eYIJsLm4JEDGNkttDsw1Yx6a/Sh8=; b=D7WaoSJ6jdQE74j2biVLNIR/ZMfS9TXJhuOAwUihQ7UkegjppG3WBpmw1Sf2wCMsRt PWUPzYgSDh7TQikUgq5xblEvNI4DWeC6qhvWtgDwcYQU72j8ydNbVYTI/Y2bbRG2jqSr OWkVruko3Fd9R0q+wGXu4vDYOP2N0tInp3RFckleDV8vMxW7jcVEkGjtZzI0uOMqd1Q1 jol4WrhYwQBT3syeVyMgSHI/mfDgkh7quXxgKRH6IOSJZnQ8H1WRTjRsLr9zp/nH5WSn rJzMFLIrZLZvug0kNRVCHNei+sPEa1lh1piK2KmTKN0bVGEkXaAAAKaiR8dt7N6Ls0ns BP0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu17-20020a632951000000b0053eee275ae2si1191140pgb.32.2023.05.23.01.59.09; Tue, 23 May 2023 01:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236204AbjEWI4i convert rfc822-to-8bit (ORCPT + 99 others); Tue, 23 May 2023 04:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236153AbjEWI4c (ORCPT ); Tue, 23 May 2023 04:56:32 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DD83120; Tue, 23 May 2023 01:56:30 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 3799F24E257; Tue, 23 May 2023 16:56:28 +0800 (CST) Received: from EXMBX173.cuchost.com (172.16.6.93) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 23 May 2023 16:56:28 +0800 Received: from xiaofei.localdomain (180.164.60.184) by EXMBX173.cuchost.com (172.16.6.93) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 23 May 2023 16:56:27 +0800 From: Jack Zhu To: Mauro Carvalho Chehab , Maxime Ripard , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Laurent Pinchart CC: , , , , Subject: [PATCH v2 2/5] media: dt-bindings: cadence-csi2rx: Add resets property Date: Tue, 23 May 2023 16:56:23 +0800 Message-ID: <20230523085626.3295-3-jack.zhu@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230523085626.3295-1-jack.zhu@starfivetech.com> References: <20230523085626.3295-1-jack.zhu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [180.164.60.184] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX173.cuchost.com (172.16.6.93) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add resets property for Cadence MIPI-CSI2 RX controller Reviewed-by: Krzysztof Kozlowski Reviewed-by: Laurent Pinchart Signed-off-by: Jack Zhu --- .../bindings/media/cdns,csi2rx.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml b/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml index aba1191b3e77..30a335b10762 100644 --- a/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml +++ b/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml @@ -41,6 +41,24 @@ properties: - const: pixel_if2_clk - const: pixel_if3_clk + resets: + items: + - description: CSI2Rx system reset + - description: Gated Register bank reset for APB interface + - description: pixel reset for Stream interface 0 + - description: pixel reset for Stream interface 1 + - description: pixel reset for Stream interface 2 + - description: pixel reset for Stream interface 3 + + reset-names: + items: + - const: sys + - const: reg_bank + - const: pixel_if0 + - const: pixel_if1 + - const: pixel_if2 + - const: pixel_if3 + phys: maxItems: 1 description: MIPI D-PHY @@ -123,6 +141,12 @@ examples: clock-names = "sys_clk", "p_clk", "pixel_if0_clk", "pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk"; + resets = <&bytereset 9>, <&bytereset 4>, + <&corereset 5>, <&corereset 6>, + <&corereset 7>, <&corereset 8>; + reset-names = "sys", "reg_bank", + "pixel_if0", "pixel_if1", + "pixel_if2", "pixel_if3"; phys = <&csi_phy>; phy-names = "dphy"; -- 2.34.1