Received: by 2002:a05:7208:3228:b0:82:47:81bb with SMTP id cb40csp2634234rbb; Tue, 16 Apr 2024 07:22:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXBl4NSB8yngpgBFr04AvUR6et/hrrxaTwUyvXVHKLNCOY+8xqRi/2/VXVeXoWruK5bcQ5hq6pg6DADeDH1c7wJ6IOfmgQ5ulvGrvLbA== X-Google-Smtp-Source: AGHT+IEa1WT+Tlhfn2I74a4AeiqBv8PaG5WnMknaJ6qZb26uASFdqo79mtdELsZY00orefSoyEHZ X-Received: by 2002:a05:6a20:1a90:b0:1a7:51f6:87e6 with SMTP id ci16-20020a056a201a9000b001a751f687e6mr10269952pzb.54.1713277370566; Tue, 16 Apr 2024 07:22:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713277370; cv=pass; d=google.com; s=arc-20160816; b=D6kKLK6ZZrbLCp4CY3P7/Z+raFFIb+NAiz3OUunpknNUgd96+rVrI7o00+mcPJFkfN KXyvWXEiceJ6ZlcYtRkXKqHSGMmK/1bShbHNXs75UCX6C1B8mLFJD7ywqRXCC83tXIFy +AgDN72AQ81v6gUIuGn3ZU3+s7odbyDZ/FVUNzec1MJ8E/FY6AYzAPe6rzcEPzNuSRnQ FnXcq4LNwbZKH2w+gQkpNcoxAh/6+bnkxKNlz+xlTWloz6NngX4GMuYRghk2F+A0YoN6 yNJwyGdsL/p2Ykm9aVjYjNHkKUrgA+WgDck2YxnWsbu74tZy+s007l0FqEp9mv9AqTcn JQ6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=b/ArCWcFafLJYyEXSyGqpam6u82hUHVqqiMQyagnXnQ=; fh=jKHGIq33oKezE6Ki+c7Xh30gqXuXCP2FZEzr3uUc1nY=; b=DIQtthk3tvITlrAhrDriazHmXRV4/sc0hHmwW5I4YqNDISDrNcBXEGNT83MrZY2vYL KWE4tmaOQHCAp5CD2LaCgLhtkmOG/fymtzlYLsJmsVC0pyxmzb4Kxgv8+LRWemgT1DJX CnuWhatCD+ROzv0FlRdbTfNfuJFf2zZrt4UWol2cmNJeIANwmfTxDkHPKooczhYCwqf9 +1v51pVsh37pW07U7G0BVIWuMk287kNiwpg2J5ufDo9sllM/rt0mcd8WGuQFNTBhlx8K KCQKnBu7m9XjVs7d9mWi1tJBiJL+m1RTIfe1kwXO7Ogr+n2EXxtsOD7MN9syf3KwqmdB yyag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UKfID6Sw; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-146985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p14-20020a170902780e00b001e587ec304esi8132533pll.316.2024.04.16.07.22.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 07:22:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UKfID6Sw; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-146985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E76728631B for ; Tue, 16 Apr 2024 14:20:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6398312EBF0; Tue, 16 Apr 2024 14:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UKfID6Sw" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D93412CD91; Tue, 16 Apr 2024 14:19:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713277152; cv=none; b=Dl6L+sFE6OU0uyIh5/y17oDEQtTBrv8MbKJwEkdspdv4Kt8WR3q9P4BjDbNp7IGtM5/k18jkruLRjtS3GN0H3y53wnyqvu3puTsfCInGRVobQtYzD8z7o6IK6vJKD1anroo93aeL+E8E8mz8T3g6bgTb3iQDlFHKQBylrbrjsDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713277152; c=relaxed/simple; bh=vRb+ue/V9JDo67dbhPPpncMA8E3/2L+FmhinMOuC1+s=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oTJIwW2EkLoPkifrd0cioRbZU334SSStbmzEGml01GymlcLh54KhH7kvjqg6JB5Otuxc9XsG1Jm+V2Mv4EVTlbWbhyCUbC+Qk/2Gd1pHdgEBNhZ4YCLmzYlREouH6HJITkEEQkxNtUJk7wpDXv8UOLvbh011SE/pZtzpyoapA2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UKfID6Sw; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-343b7c015a8so3602899f8f.1; Tue, 16 Apr 2024 07:19:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713277149; x=1713881949; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=b/ArCWcFafLJYyEXSyGqpam6u82hUHVqqiMQyagnXnQ=; b=UKfID6SwkEHdAaEtxlZsf5hzAYR62WoyiXjBwLYQ28NX2gJWza5UGMbzFmhiD0sG9Z q+Fu7UcsLAdMlNAe/dgeT/tlfmrWxvF5O/3IZ0fZp8ZwISe3lTTro203JSa7UUyMSTP1 lqb/6RcW91uWqqZR64RLzIjjM0jWUNMcJjGFXY3DhKK5s1oTVy4YTX58YpzPYBJVkZ3p xpE4jzpl30VPDf+4W2j2Yf1UxIXUzegJ9lsMcrnbQJdJrDjoQoKxR1ZOeY46fuCxPNA6 xuQX9yApaqLeux9Xm5hEwcz+pPNMSNA4hikF6PIdnQHxXtmYz9GbBPkNhA77Y5N9CWIi TdpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713277149; x=1713881949; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=b/ArCWcFafLJYyEXSyGqpam6u82hUHVqqiMQyagnXnQ=; b=twr+IiX9l7TTizo5CUBJAQTcn1JqmepC1Ort1q3Jmj1p30rlhoVVJwvFyQlfoN81P5 ZtFpVtAEPi/YkkDWyZJUPtWlZystoWdms7wzTZFJ4ir0UwJ0xV7EfKgZuUFGs/YBPpKc WDWPZ7eCsTTp9AYTKogqm/2wdy0wgqmLy7lmb8BqlyTvD3O7ufmGWatt7VJzGZ1hVvQp n/5/A5Eur0+Ttk+vMGzVrk1F7uE2T6DcvDMW5cI2r8/5wH00OEI+cnw41b14pq0nA4XN pJFPslzVYH5ptODznaChvsy42cP8fmz/7nJK3621AkQVsF1S3q9OShEnudLXyGI3mT05 BPwQ== X-Forwarded-Encrypted: i=1; AJvYcCVWgi6P0qsFmBzqbbWIwBojwIfntJEEZcxbgz08w0wJQ9tEnlJkSfEIgwQtdaxqZroW6AttMv6cjpKcXbnqkDBApl9KLFXOm+vOD+X4lG5vMZl1/nWsBuSdEbma++ZLYBxxQTQkZnch+I4= X-Gm-Message-State: AOJu0Yxt/jgWdlS8BhWQQ6e0viuhQJhUoJ96k8GTP8+DAosDDCBCwyu+ HYHhTYX6VQjTO7kKoatsxQphCjFuhuBnbUaWSoO9ZB9R5VPKLVXN X-Received: by 2002:a05:6000:178d:b0:341:ab37:6a25 with SMTP id e13-20020a056000178d00b00341ab376a25mr11748105wrg.43.1713277148332; Tue, 16 Apr 2024 07:19:08 -0700 (PDT) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation.station (net-188-217-57-233.cust.vodafonedsl.it. [188.217.57.233]) by smtp.gmail.com with ESMTPSA id b11-20020adfe30b000000b0034625392416sm15055114wrj.104.2024.04.16.07.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 07:19:07 -0700 (PDT) From: Tommaso Merciai To: Cc: martin.hecht@avnet.eu, michael.roeder@avnet.eu, tomm.merciai@gmail.com, Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Alvium improvements Date: Tue, 16 Apr 2024 16:19:00 +0200 Message-Id: <20240416141905.454253-1-tomm.merciai@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hello, This series containing improvements for the Alvium camera driver. Specifically: Patches: - 1 Fix fix alvium_get_fw_version() - 2 Rename acquisition frame rate enable define into a short define - 3 Alvium camera by default is in free running mode. Datasheet say that acquisition frame rate reg can only be used if frame start trigger mode is set to off. Enable r/w aquisition frame rate and turn off trigger mode. - 4 Implement enum_frame_size - 5 Use the right V4L2_CID for the analogue gain Thanks & Regards, Tommaso Tommaso Merciai (5): media: i2c: alvium: fix alvium_get_fw_version() media: i2c: alvium: rename acquisition frame rate enable reg media: i2c: alvium: enable acquisition frame rate media: i2c: alvium: implement enum_frame_size media: i2c: alvium: Move V4L2_CID_GAIN to V4L2_CID_ANALOG_GAIN drivers/media/i2c/alvium-csi2.c | 62 +++++++++++++++++++++++++-------- drivers/media/i2c/alvium-csi2.h | 17 ++++++--- 2 files changed, 59 insertions(+), 20 deletions(-) -- 2.34.1