From patchwork Wed Mar 9 10:22:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petko Manolov X-Patchwork-Id: 12774890 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 D6A09C4332F for ; Wed, 9 Mar 2022 10:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230007AbiCIKXf (ORCPT ); Wed, 9 Mar 2022 05:23:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbiCIKXd (ORCPT ); Wed, 9 Mar 2022 05:23:33 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C0DB5583 for ; Wed, 9 Mar 2022 02:22:27 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id qt6so3812082ejb.11 for ; Wed, 09 Mar 2022 02:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2odQ8BcT/g6/viXEFNUwFkg3kRO03GusUQree4/idl4=; b=gB1D5iAHstQ4FMKJ2Z+OdC9l9VGqi3TNU5WVlVv7sKQiNF7WpP17gkR3SmIQGhNB+w GwkkXj77UIzJlez82vVFsMrYJx/k+Mrpn1iq34D8MHg6h7ChNsyCPMPpyzt+0ewkTgcd gqRtFv46x7tXCBpEQEOLGqY4pAtW3E/i9kpMg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2odQ8BcT/g6/viXEFNUwFkg3kRO03GusUQree4/idl4=; b=d5XJNc/GqBrKMdutqjS1wEEK90xTCHWjiiu5FYsH46XWnfg242w3F3Hgukfu9hSNT4 EEc7SsAixGuok/KtzzVBCwaMaA0RhTnTZQJolun7J6AaKc8hK+djbHppshkyqzj+/bLn TzbdsO1xsxlzHIx3SU+/hGuXamf1gPmPAE7s5fCcYxIXVX8gSt+RVVb8wuFCHhB9VLHY b2Yj/oQ+L1vfWl39wtuTMTvYXW0AJKZ4Hb1xpRZ1Yn8rCRooVxTk3laiS9uZNB8ct0gx ovCXrCxQ1ExIPQ4nxm8kl8NTgucW2/ysaWTV+VHyky2w1x7Quy6ukvCLozaAK27LlFnv nLpw== X-Gm-Message-State: AOAM5318K9opEDO7fY94R5jyZqNByzMMKWsvDm0jCuEHSnS9WuvZqTaj ehNPTDUNM46ESh1+b7eDMonPPmKFPh3VPw== X-Google-Smtp-Source: ABdhPJzBaINjSnu8B/ToCFyoFs9YNPJVA6iciWRJZrKtEPPTUfNw5yM+5A3knsvtfaMxjamnUP8JRA== X-Received: by 2002:a17:906:3a55:b0:6ce:c2ee:3e10 with SMTP id a21-20020a1709063a5500b006cec2ee3e10mr16118362ejf.210.1646821345411; Wed, 09 Mar 2022 02:22:25 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id ce12-20020a170906b24c00b006da824011eesm547229ejb.166.2022.03.09.02.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 02:22:25 -0800 (PST) From: Petko Manolov To: linux-media@vger.kernel.org Cc: sakari.ailus@iki.fi, devicetree@vger.kernel.org, Petko Manolov Subject: [PATCH v5 0/2] media: ovm6211: Adds support for OVM6211 Date: Wed, 9 Mar 2022 12:22:13 +0200 Message-Id: <20220309102215.891001-1-petko.manolov@konsulko.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org v5: Moar cleanupm, adds the ovm6211 bindings. v4: More unused header files removed, use media_entity_cleanup() where necessary and some other minor cleanups. v3: As usual, not everything is perfect, hence v3. The patch set is now merged into one big patch, redundant code was removed and the end result tested on the board. DT bindings are coming some time later. v2: Removes an unused function (ovm6211_set_pix_clk) and this patch series is now based on media/master; Didn't receive any comments about the RFC version, thus i assume everything is perfect... :P This patch adds ovm6211 driver into the staging directory. It also creates media/i2c entry, where ovm6211.c lives for now, to mimic the generic media source tree. Petko Manolov (2): media: ovm6211: Adds support for OVM6211 media: add ovti,ovm6211 bindings .../devicetree/bindings/media/i2c/ovm6211.txt | 49 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ovm6211.c | 1018 +++++++++++++++++ 4 files changed, 1078 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovm6211.txt create mode 100644 drivers/media/i2c/ovm6211.c base-commit: 2b891d3980f6c255459d0e1c29ce2152ec7cf678