Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D01CF1DEFDC for ; Sat, 17 May 2025 11:41:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747482083; cv=none; b=ubeh1Up6ScEH75Cov5VgnEYUJbmad5dtx6kpwFUjUp7L1CebmoVsfTY7bGjs4i3rgJ3lbu7ciPmvQH9RPBIjVV6xdPAllQCaDhnviRpfmH0vGnL1xSsJpKa2JMekhNc49/R6eSQbjPQNPWPng4iwuqM7SALx4i9ibPO4a9Xxqh8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747482083; c=relaxed/simple; bh=0v1Qxly4XbpH9R05dxT0o9FplWG+cb90xtFZgeHVdVI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=akC7UWNq7lvZBERivjIDFkR+vgjfR6Ud1JYD6oqSIUlYAQEZzMybHxr2r5KfrVXTnsWOBY3f/meqZvyobURiFpkoiV7KT3IUHhjiHVqFl8xK2Q0+mwlAxRBPmL8FTRYEDPdE/9pyQeBX73q6u/xxmbkKT+9jQ/xDIbrVL6tNenk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=J1JFYsYD; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="J1JFYsYD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1747482077; 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; bh=aLMId0TzbQg32MWeehFM5MFmElv3RDP2SorEgKIM2uA=; b=J1JFYsYDhBKH0He2PV8zi06ow1BKH1rZjsgPmdt/sn6kFLuWnKo58s+2gXmeqDo3obLYC2 NQoRS9KVpQUW3oWUvpDjaaNQr1OVUJfAWgN04lST9UTnW61whA2xNnAg9mrfDqUpaRv6XP tDokmvIpBi9r4K53dlnUrwNPjbZj2qs= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-621-GILM-56KOJet9XHefuPX4Q-1; Sat, 17 May 2025 07:41:15 -0400 X-MC-Unique: GILM-56KOJet9XHefuPX4Q-1 X-Mimecast-MFC-AGG-ID: GILM-56KOJet9XHefuPX4Q_1747482074 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6BAD819560AE; Sat, 17 May 2025 11:41:14 +0000 (UTC) Received: from x1.redhat.com (unknown [10.45.224.43]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 068E718003FC; Sat, 17 May 2025 11:41:09 +0000 (UTC) From: Hans de Goede To: Sakari Ailus , Andy Shevchenko Cc: Hans de Goede , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 00/23] media: atomisp: gc0310: Modernize and move to drivers/media Date: Sat, 17 May 2025 13:40:43 +0200 Message-ID: <20250517114106.43494-1-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Hi All, Here is a patch series to bring the staging atomisp gc0310 driver inline with the expectations for new v4l2 raw camera sensor drivers and then after this move it to drivers/media/i2c since it is now just another normal modern v4l2 raw camera sensor driver. I plan to send a pull-request for patches 1-22 to get added to media-commiters/next once they are reviewed. After that Sakari can review the final resulting gc0310.c file and merge the last patch moving it. Regards, Hans Hans de Goede (23): media: atomisp: gc0310: Rename "dev" function variable to "sensor" media: atomisp: gc0310: Drop unused GC0310_FOCAL_LENGTH_NUM define media: atomisp: gc0310: Modify vblank value to run at 30 fps media: atomisp: gc0310: Switch to CCI register access helpers media: atomisp: gc0310: Use V4L2_CID_ANALOGUE_GAIN for gain control media: atomisp: gc0310: Add selection API support media: atomisp: gc0310: Add link-frequency and pixelrate controls media: atomisp: gc0310: Add vblank and hblank controls media: atomisp: gc0310: Add camera orientation and sensor rotation controls media: atomisp: gc0310: Limit max exposure value to mode-height + vblank media: atomisp: gc0310: Add check_hwcfg() function media: atomisp: gc0310: Fix power on/off sleep times media: atomisp: gc0310: Remove unused is_streaming variable media: atomisp: gc0310: Switch to {enable,disable}_streams media: atomisp: gc0310: Switch to using the sub-device state lock media: atomisp: gc0310: Implement internal_ops.init_state media: atomisp: gc0310: Use v4l2_subdev_get_fmt() as v4l2_subdev_pad_ops.get_fmt() media: atomisp: gc0310: Switch to using sd.active_state fmt media: atomisp: gc0310: Move and rename suspend/resume functions media: atomisp: gc0310: runtime-PM fixes media: atomisp: gc0310: Drop gc0310_get_frame_interval() media: atomisp: gc0310: Drop gc0310_g_skip_frames() media: Move gc0310 sensor drivers to drivers/media/i2c/ MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/gc0310.c | 800 ++++++++++++++++++ drivers/staging/media/atomisp/i2c/Kconfig | 8 - drivers/staging/media/atomisp/i2c/Makefile | 1 - .../media/atomisp/i2c/atomisp-gc0310.c | 712 ---------------- 7 files changed, 817 insertions(+), 721 deletions(-) create mode 100644 drivers/media/i2c/gc0310.c delete mode 100644 drivers/staging/media/atomisp/i2c/atomisp-gc0310.c -- 2.49.0