{"id":17929,"url":"https://patchwork.libcamera.org/api/1.1/covers/17929/?format=json","web_url":"https://patchwork.libcamera.org/cover/17929/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20221201145133.479794-1-umang.jain@ideasonboard.com>","date":"2022-12-01T14:51:28","name":"[libcamera-devel,0/5] ipa: rapsberrypi: Introduce auto-focus (auto-mode)","submitter":{"id":86,"url":"https://patchwork.libcamera.org/api/1.1/people/86/?format=json","name":"Umang Jain","email":"umang.jain@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/17929/mbox/","series":[{"id":3653,"url":"https://patchwork.libcamera.org/api/1.1/series/3653/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3653","date":"2022-12-01T14:51:28","name":"ipa: rapsberrypi: Introduce auto-focus (auto-mode)","version":1,"mbox":"https://patchwork.libcamera.org/series/3653/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/17929/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 5EF8FBE08B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  1 Dec 2022 14:52:42 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A09CA6333F;\n\tThu,  1 Dec 2022 15:52:41 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C6ACF63335\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  1 Dec 2022 15:52:39 +0100 (CET)","from umang.jainideasonboard.com (unknown [210.186.188.117])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8DFDC2D9;\n\tThu,  1 Dec 2022 15:52:38 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1669906361;\n\tbh=mK3xYx6rRacV5gTJ1a1UJwGK/w5uzbQ2efjn9SapdCI=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=C7uL3cifiS1n3EJUR3n9OJ6kw7ovDdjQ8Bp77DYIwaHpLcVblbW0sDfgq0OEBJENN\n\tCHqpGqBVVbaAFTUzQvsU967+sbJvHv9xqMHF6SUN70JHGMogIicZWc9byc6d0WDlbb\n\tBpxFxe7TAhU4U9SvMZS6QB8OWu7Mm93CU8qKTnYFyNoVz9frmmEFgemjUJkitJgaD8\n\ta0quXRRIHg3OqvdHqVQFhSsfce6vJGgo5TalIaRzvlNCbKwkLBhHr7iYeu86HkYfE1\n\t2nSU2RhKZ0h3ziSISmK+MLfXNf1+wPL+zFGq2EhrfLTqx0SEQW4IfG3oYcNZEXQLFN\n\tesUlA+hlo7NLw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1669906359;\n\tbh=mK3xYx6rRacV5gTJ1a1UJwGK/w5uzbQ2efjn9SapdCI=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=Wx7gqkCzzBZDdy8A/mTGT/CTBJ5WX7NEX4jCoIlh2b0TVQ2KDmabSl8WDGNgFcGDU\n\t+kTI72dFzVgxCfxIq+25KQftqobgNl/22qaC1ji61cuinCaxOylxPpzufh9OrUhEa5\n\tmmqSxCONm6jZXogq6bwyzipZVSxcByEDNHjpcF2U="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"Wx7gqkCz\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  1 Dec 2022 22:51:28 +0800","Message-Id":"<20221201145133.479794-1-umang.jain@ideasonboard.com>","X-Mailer":"git-send-email 2.38.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/5] ipa: rapsberrypi: Introduce\n\tauto-focus (auto-mode)","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Umang Jain via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Umang Jain <umang.jain@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Introduce the auto-focus working in auto mode. This is a split-off from\nhttps://patchwork.libcamera.org/project/libcamera/list/?series=3174\nseries.\n\nThe patches have been tested by me on IMX519 module with ak7375 VCM,\nwith mainline v6.1 **kernel.\n(I'll add T-b tags manually on the list)\n\nOnly the auto mode is tested and the state machine hasn't been.\nI believe that shouldn't be an issue provided there was not reviews on\nthe auto-focus series. If someone thinks that the state machine patches\n(patch 5/10 to patch 10/10) of the parent should be bundled as well,\nplease speak up (it will need more testing on my end though). That\ndoesn't mean the state machine will not be posted / integrated - it's\njust that I am not confident enough on those because I myself haven't\ngot a chance to try them inside out.\n\nSamples are available at:\nhttps://drive.google.com/drive/folders/14BKHXATZ_mZCrm27wCB5TxqTQnGmfGFq?usp=sharing\n\n** The kernel branch comprised of unicam + bcm2835-isp driver(meant to\ngo upstream). Along with that IMX519 v3 patches [1] and ak7375 regulator\nsupport [2] was cherry-pick manually. This is was the test setup to test\nthis series on RPi-4-Model-B.\n\n[1]: https://lore.kernel.org/linux-media/20221116091855.00007ebd@arducam.com/\n[2]: https://lore.kernel.org/linux-media/20220711144039.232196-1-y.oudjana@protonmail.com/\n\nJean-Michel Hautbois (4):\n  ipa: raspberrypi: Introduce an autofocus algorithm\n  libcamera: raspberrypi: Control the lens from pipeline\n  ipa: raspberrypi: Control the lens position\n  ipa: raspberrypi: Send the AF status back\n\nUmang Jain (1):\n  ipa: raspberrypi: imx519: Instantiate auto-focus algorithm\n\n include/libcamera/ipa/raspberrypi.mojom       |   1 +\n src/ipa/raspberrypi/controller/af_algorithm.h |  33 +++\n src/ipa/raspberrypi/controller/af_status.h    |  21 ++\n src/ipa/raspberrypi/controller/iob/af.cpp     | 212 ++++++++++++++++++\n src/ipa/raspberrypi/controller/iob/af.h       |  62 +++++\n src/ipa/raspberrypi/data/imx519.json          |   5 +-\n src/ipa/raspberrypi/meson.build               |   1 +\n src/ipa/raspberrypi/raspberrypi.cpp           |  45 +++-\n .../pipeline/raspberrypi/raspberrypi.cpp      |  17 ++\n 9 files changed, 394 insertions(+), 3 deletions(-)\n create mode 100644 src/ipa/raspberrypi/controller/af_algorithm.h\n create mode 100644 src/ipa/raspberrypi/controller/af_status.h\n create mode 100644 src/ipa/raspberrypi/controller/iob/af.cpp\n create mode 100644 src/ipa/raspberrypi/controller/iob/af.h"}