From patchwork Tue Feb 13 18:12:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 98669 Received: from sy.mirrors.kernel.org ([147.75.48.161]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rZxJz-0002JT-00 for patchwork@linuxtv.org; Tue, 13 Feb 2024 18:15:55 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6AC12B27D0C for ; Tue, 13 Feb 2024 18:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAD8A605C5; Tue, 13 Feb 2024 18:12:43 +0000 (UTC) X-Original-To: linux-media@vger.kernel.org Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E069D604D8; Tue, 13 Feb 2024 18:12:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707847963; cv=none; b=Tzx2IGoCaFeaRiwgwJYyH/6w2WnykqGgK+pkRGUBZB/K4OTKlQ7y6JxnhaTNakWfmUvpzYIPpFP4oYNUqGal0V8J1kG28hIyb2Z/jcRvJpKF8dZXoaCUWAAbhyncxJyhRCGLcPCBx0AnNeTtfS6vfqP+lkaIVJHd49vuO4YFupY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707847963; c=relaxed/simple; bh=XFtLXNFMRLVAPAUHfGDJGYsa0BKabFaP7n/oc0+oJl4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jeFdXHM36OddDWkL3CEXEB0mKfKKh/FGykktJHwuL+29sGoL5KqIs78xN9YjbJlWLTpy4pWeLLV3xK7gH79aqB3o7XnGgnDOIph/4ruffrv/cNK/KyhtdZRUv/t4EqrvMHZQMjrX6aKu4Lo+hIfZHycJttLZdanVIAJlBS8Gygg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.06,157,1705330800"; d="scan'208";a="197718665" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 14 Feb 2024 03:12:39 +0900 Received: from localhost.localdomain (unknown [10.226.93.58]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id A75D140617B1; Wed, 14 Feb 2024 03:12:35 +0900 (JST) From: Biju Das To: Mauro Carvalho Chehab Cc: Biju Das , Hans Verkuil , Sakari Ailus , Laurent Pinchart , =?utf-8?q?Uwe_Kleine-?= =?utf-8?q?K=C3=B6nig?= , Rob Herring , Lad Prabhakar , linux-media@vger.kernel.org, Geert Uytterhoeven , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 0/5] RZ/G2L CSI/CRU improvements Date: Tue, 13 Feb 2024 18:12:28 +0000 Message-Id: <20240213181233.242316-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-LSpam-Score: -2.0 (--) X-LSpam-Report: No, score=-2.0 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,DMARC_NONE=0.898,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no This patch series aims to sync the CSI/CRU driver code with the latest hardware manual (R01UH0914EJ0145 Rev.1.45). v2->v3: * Added Rb tag from Laurent for patch#1. * Updated commit header and description for patch#4 * Patch#4 split the patch into 2. Restructuring of vclk for link reception is handled in patch#4 and fixing start reception procedure is handled in patch#5. v1->v2: * Updated commit description for patch#1 removing deprecated for SET_RUNTIME_PM_OPS() macro. * Aligned RUNTIME_PM_OPS() macro. * Added Rb tag from Laurent for patch#2 and #3. * Replaced usleep_range()->fsleep(). * Added blank space after manual in commit description for patch#{2,3}. * Dropped clk-provider.h and __clk_is_enabled() as consumer clk should not use it. Plan to send RFC for clk_disable_unprepare_sync() in ccf. Biju Das (5): media: platform: rzg2l-cru: rzg2l-csi2: Switch to RUNTIME_PM_OPS() media: platform: rzg2l-cru: rzg2l-ip: Add delay after D-PHY reset media: platform: rzg2l-cru: rzg2l-video: Fix image processing initialization media: platform: rzg2l-cru: rzg2l-csi2: Restructure vclk handling media: platform: rzg2l-cru: rzg2l-video: Fix start reception procedure .../platform/renesas/rzg2l-cru/rzg2l-cru.h | 3 - .../platform/renesas/rzg2l-cru/rzg2l-csi2.c | 37 +++++---- .../platform/renesas/rzg2l-cru/rzg2l-ip.c | 18 ++-- .../platform/renesas/rzg2l-cru/rzg2l-video.c | 83 ++++++++----------- 4 files changed, 62 insertions(+), 79 deletions(-)