Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94B47C43334 for ; Tue, 28 Jun 2022 20:14:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231710AbiF1UOM (ORCPT ); Tue, 28 Jun 2022 16:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231690AbiF1UNq (ORCPT ); Tue, 28 Jun 2022 16:13:46 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71953B03 for ; Tue, 28 Jun 2022 13:07:06 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id p13so8927091ilq.0 for ; Tue, 28 Jun 2022 13:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=58uGHT1wkzHcOwGiM/tG1YDR+EQL8zM7OJ1XHh2pbPM=; b=V0XcDN8ArBGifZqV6c2hOOGD0Qc2jF94XC/4DZUC1UmOGJQLTywNpK3d4WPfEhMjMD YTj3Z8ybEjUXBxof5IIAMvbPRf+ugOvghKLUtWRQAx1pEP1TDuMM5wwLniT2mArauVU6 djSzv/OJ11KZWbOLh1rNfO8D1AmlMkOXi5+KE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=58uGHT1wkzHcOwGiM/tG1YDR+EQL8zM7OJ1XHh2pbPM=; b=htOSRsfTlW9EwtU0aA+2fvOC2LDP+qgphkiEJl9VuHiVYluVB/IcJZZuhbHMRKuSb/ 6edrTAHLszgN6WIfSXD6hCFoPpDb2emhmOEi51HGtBO2aab/gb9zHIJtED0DP3UdAHbS hjQsTDdSzCH0srAWFXCGD00w/E41OrjCHlBT8GFvhBneEmi7AUXzZTZmm0UqE4p/V/JG eTERBx9JCp5AEIptthdX6GwMic9b6ACo1p9n8pKJbiIiE04NvOa9FPZZQiRccdP7KdXo /4ahQ9aXpc4U1F0Q6SIDWNFW7sgQCdlYdmyACygazsTd+j7FXSRnIsC17NiT495BkCa3 UOFQ== X-Gm-Message-State: AJIora9vK2xVl36nNxd/Y3ejq53PE3ZwuduerTLB/7jMuKhd4rG3jwX3 mRcz3bA5dsEwv6wbfplbrFchKw== X-Google-Smtp-Source: AGRyM1uT8icQziaBNgTHYDZxGDzvdLDwLHA2m3dikjlKd+7vyMjg5QZQhZLV+8CHczy76SKepcHqbA== X-Received: by 2002:a05:6e02:15c4:b0:2d7:aa1e:5b55 with SMTP id q4-20020a056e0215c400b002d7aa1e5b55mr11633315ilu.120.1656446825888; Tue, 28 Jun 2022 13:07:05 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id r20-20020a5d9b94000000b0066952cfe3e2sm6954921iom.39.2022.06.28.13.07.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jun 2022 13:07:05 -0700 (PDT) Subject: Re: [PATCH v3 1/2] media: vimc: add ancillary lens To: Yunke Cao , Mauro Carvalho Chehab , Kieran Bingham Cc: Tomasz Figa , linux-media@vger.kernel.org, Shuah Khan References: <20220628005353.1719403-1-yunkec@google.com> <20220628005353.1719403-2-yunkec@google.com> From: Shuah Khan Message-ID: Date: Tue, 28 Jun 2022 14:07:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220628005353.1719403-2-yunkec@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On 6/27/22 6:53 PM, Yunke Cao wrote: > Add lens to vimc driver and link them with sensors using ancillary links. > Provides an example of ancillary link usage.The lens supports > FOCUS_ABSOLUTE control. > > Test example: With default vimc topology >> media-ctl -p > Media controller API version 5.18.0 > ... > - entity 28: Lens A (0 pad, 0 link) > type V4L2 subdev subtype Lens flags 0 > device node name /dev/v4l-subdev6 > - entity 29: Lens B (0 pad, 0 link) > type V4L2 subdev subtype Lens flags 0 > device node name /dev/v4l-subdev7 >> v4l2-ctl -d /dev/v4l-subdev7 -C focus_absolute > focus_absolute: 0 > > Reviewed-by: Shuah Khan > Reviewed-by: Kieran Bingham > Signed-off-by: Yunke Cao > --- This patch is now queued for vimc pull request for Linux 5.20-rc1 to be send to Mauro Chehab. https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=vimc thanks, -- Shuah