From patchwork Fri Jul 3 07:44:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 11641055 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 464A814E3 for ; Fri, 3 Jul 2020 07:48:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1DDB22064B for ; Fri, 3 Jul 2020 07:48:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SzoBL3zO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="o4PvYS5x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DDB22064B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=HPM7Ob4JAoiZvdJUwMkR2elhJu6UHyS5JhxwCoHW0Tg=; b=SzoBL3zOjhDcrKyXNPclzCKlpE LKSj3VotvwGnh2MUiCP3Q0vA7tpGrGxmm9Pc6QbacwF7kFeBhDUzSqdecWwHA0g9nDI4CbudPl6tB /A2oyVKHMduATg4OgQ7NSVwE0oyZr/eCysVe+e3cribwxMoi38kwq3IW8eOjXjoJjuoUnlb8L7k1t lGBjA69ckHVwjloPHvQ2KltnL80aCDjvin70sKg7F45hi5kV+61HkSDZa7AhwBRF13rCU/XP6a6/W OFihtnIqrYd1zVxU1rHs/TKCvP9YwOt/kH5P8sTQdzMJ3UbJL0RYhjnnjUs79+UoVk+0i9rpjNTba IDugwiWg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrGPI-0006a9-SV; Fri, 03 Jul 2020 07:46:48 +0000 Received: from esa2.microchip.iphmx.com ([68.232.149.84]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrGPD-0006Xe-4Y for linux-arm-kernel@lists.infradead.org; Fri, 03 Jul 2020 07:46:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1593762403; x=1625298403; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Qe3AsKz/1NWtVp1Lygpm/UXyvvks8ItOId5LZbRDzSE=; b=o4PvYS5xQjzQy/NC5ELrlLkBE+ZSvJn8fdQsxhLNGnNXAqrG9w3dV+N9 RdClUfWxBVRYYp+GyDkthzmsV45gJZC9CX5Tf2QrHK9sf8MGKvRyQaUvQ z9sfrjoMHxzLxJbW969niHYQ2kjksRG1d4LmU2kTOznY817dZRl5cLWOi SYEPU4jxAAFJyhaZQvzzmEv84NJgh80pRH4qoS2KZmH0fcmfGjnaOt4JO RDmC3NAEkudxTcxRLhHc8q38+kjx2Z9rLxcimAWkcI/mnEz67TCpY6CZZ IxI84XyM/oe2zZ2uGj5BMNfUev99BIspxM0EeoK3WxTOYMys2q/RLQtyY A==; IronPort-SDR: AfTzNOcXbRjSM3KS+KI3U/gtKHXSrMqBkFwBiCYJNjQMzDG0zc1q7RvSLo6ksFiDlZnyMJvVAC 5ouKWWhV+IbsIlil6Zu4QdH8vX6OW2GXIUE7saiPq75jeSHXTUlTyvAUvnuqjFnvP7578tYV85 RNV1vgd5Fib+L0KA1hzxgBS6lOtAKhaJkmrjEaZU93MZsfAnjrewxIna1tCi4Vswi4jPhI3902 BNAYFHeJsKiUcQJokCf/WGfDy9b10yRUJ3i92kgOh+gxh3oasQHhV82U2QDy9e2iiS/mOrYjOD LWw= X-IronPort-AV: E=Sophos;i="5.75,307,1589266800"; d="scan'208";a="80602013" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Jul 2020 00:46:41 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Fri, 3 Jul 2020 00:46:39 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Fri, 3 Jul 2020 00:46:14 -0700 From: Eugen Hristev To: , , , , , , Subject: [PATCH v2 0/4] media: introduce microchip csi2dc driver Date: Fri, 3 Jul 2020 10:44:12 +0300 Message-ID: <20200703074416.55272-1-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200703_034643_312116_65A43BC8 X-CRM114-Status: GOOD ( 11.52 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [68.232.149.84 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.149.84 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eugen Hristev Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, This series adds support for the Microchip csi2dc csi-2 demux controller. I was not fully sure where is the best place for such a helper chip, thus I added the driver in a separate 'misc' menu under the media menu. There are references in the binding driver to the Synopsys IDI interface, which is not yet in kernel mainline, as per the patch series at [1]. As this driver is still new, it still can get plenty of improvement, so, waiting for feedback. Thanks everyone for reviewing ! Changes in v2: - fixed warnings for binding yaml check [1] https://lwn.net/Articles/790917/ Eugen Hristev (4): dt-bindings: media: csi2dc: add bindings for microchip csi2dc media: misc: introduce miscellaneous menu for helper chips media: misc: introduce microchip_csi2dc driver MAINTAINERS: add microchip csi2dc .../bindings/media/microchip,csi2dc.yaml | 185 +++++ MAINTAINERS | 7 + drivers/media/Kconfig | 1 + drivers/media/Makefile | 2 +- drivers/media/misc/Kconfig | 22 + drivers/media/misc/Makefile | 2 + drivers/media/misc/microchip_csi2dc.c | 705 ++++++++++++++++++ 7 files changed, 923 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/media/microchip,csi2dc.yaml create mode 100644 drivers/media/misc/Kconfig create mode 100644 drivers/media/misc/Makefile create mode 100644 drivers/media/misc/microchip_csi2dc.c