From patchwork Thu Nov 22 03:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 10693459 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 848B714BD for ; Thu, 22 Nov 2018 03:52:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 677222CBD6 for ; Thu, 22 Nov 2018 03:52:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 651432CBD1; Thu, 22 Nov 2018 03:52:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08C852CBD6 for ; Thu, 22 Nov 2018 03:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731065AbeKVOaD (ORCPT ); Thu, 22 Nov 2018 09:30:03 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35941 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730904AbeKVOaC (ORCPT ); Thu, 22 Nov 2018 09:30:02 -0500 Received: by mail-pl1-f195.google.com with SMTP id y6-v6so8425733plt.3 for ; Wed, 21 Nov 2018 19:52:35 -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; bh=7SbX2jFIRwZb3aLoi0InCxoFpivTxBD2keV4bq71sJ0=; b=T4ZZ6LDL4F40QP81yCM2xc2L9HnFFCUCawV6Utpx6FqkNZ8JVePodr5fcPsPuGyT57 nu6KCvprnW5ZNbBstWk2j8dzturGmztHX4AM1iBQA1Wx5Fw5ycHV0GH6QBFUtKp6u1xA 8PcI0HdpqSKk8sDJAKTaQIDfe96Ud4L09EUyU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7SbX2jFIRwZb3aLoi0InCxoFpivTxBD2keV4bq71sJ0=; b=PxF5Yu2WxsdwKkSNKNcpRSMD/r3CNRTigXriLjWM4aiLdJXkPNBwIaSsfJ9dN8hi4Q m/afMNw45Dv8F4w4WR5eCK5tZAZIeVOwX8aE9RLmcgqqwrKKj70eXwKBOJ+M8YANZ2H+ cTy1hEZLFwsZZz9FQTufwQfSIzMaN4mKVEmPM6ZKnZt91tgfhfQsAFkrwHD0vIIC+q4P AGf3dIb+GkriTkwwRRMyCia+r53bPrld6cKb3h9kUPGVxno07HP0jso5B5UBwSkumLBl rQYRDNNf9/2ELAbBSYpX3xkOucgaoik5+EqLRMl+fpcc5eqv1EGg+oG3QxTC9p1Fg0k6 +tkQ== X-Gm-Message-State: AA+aEWa2mcfzvibnDGO7pj7/xVKEIBBsuhtWCyvANmE8UucuZt5ZpGrZ 0/pGP/yFZIwHAarNQJxyb/S+06thr8j+uw== X-Google-Smtp-Source: AFSGD/W3CzJptCjUQ6vW3qjVpU9xm5lslzAR8Kh45D23F3d80IF+C1CA7oo7/BM5YvIwE9H+0TXRsQ== X-Received: by 2002:a63:a611:: with SMTP id t17mr8436151pge.338.1542858754493; Wed, 21 Nov 2018 19:52:34 -0800 (PST) Received: from virtualbox.hsd1.wa.comcast.net (c-67-171-239-254.hsd1.wa.comcast.net. [67.171.239.254]) by smtp.gmail.com with ESMTPSA id p5-v6sm58275500pfb.109.2018.11.21.19.52.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 19:52:33 -0800 (PST) From: Matt Ranostay To: linux-media@vger.kernel.org Cc: Matt Ranostay Subject: [PATCH v2 0/2] media: video-i2c: add Melexis MLX90640 thermal camera support Date: Wed, 21 Nov 2018 19:52:27 -0800 Message-Id: <20181122035229.3630-1-matt.ranostay@konsulko.com> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add initial support for Melexis line of thermal cameras. This is the first part of processing pipeline in which the real processing is done in userspace using the V4L2 camera data. Dependency patchset series: https://patchwork.kernel.org/cover/10650541/ Changes from v1: * add melexis,mlx90640.txt documentation Matt Ranostay (2): media: video-i2c: check if chip struct has set_power function media: video-i2c: add Melexis MLX90640 thermal camera support .../bindings/media/i2c/melexis,mlx90640.txt | 20 +++ drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/video-i2c.c | 131 +++++++++++++++++- 3 files changed, 146 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/melexis,mlx90640.txt