Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3815435ybn; Fri, 27 Sep 2019 11:47:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuQ0r3U9lsgk3OcJzC77/rRyFpe0uGt0lT9xtPka5NH35yt9tGv636gRAWzIjzcWj6otN+ X-Received: by 2002:a17:906:57ce:: with SMTP id u14mr8956970ejr.184.1569610032319; Fri, 27 Sep 2019 11:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569610032; cv=none; d=google.com; s=arc-20160816; b=BjQCTyCPv3ly3iZA71WcROHrt16MiZcFIwec/aowZJHpFA6kn0/oDX8bxFQg/k/b6+ mwg8gDITF2sV7LtBGilPexJo6FwyCZ6F4WdGKL0ORwTMDulo2/ANTolSM95AQyZ/d6OD i05p12ibwI4P7VGnQywuH6Fq1edl+Rqz8Ov0nPSaIjn873yR1ayDJISpqhu7jaaHi5NU IUUkVHVAa1sX7J+x4wVejD18r8Pe4QMjH6D2BLrOripqnK2lKG2gKVV3DZaK/o6r+vnE sKeDlZkLfePMYJzNQRbcOMWo5Zp5nyG8yY2y0+y+tt0DGIS9FLtf8QswWfS/dVt6c0oG OwcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=rA7FtL2+Qf+WIRNaxJA48Ma8rhf/5zjYgvZGEIMyaH0=; b=06rhEwBnnYNOTVzaJjdY4q/TabooWwqcxs+AQvgSfp3ZeKP0E6WGRxlzKTgbvVFH8U 4U2wXAz7LLMKoCOqRMlRA89gRWe2MJ8WNgshIQlj70VCSLZIsrbvs3n719a93S/6N6Y4 L4tEqIuFAuSwIWRDJEJyIdwMug2Bmjo3mHIULtR+AYuy4Ova+A48nFZaPWtuc2wMCAEt rYW5lFZvG/ipY0/MNPsHeaECDjKcMLgUbffs+UHgE74fPRUR/2RiMM/WROCYzjY5SI+i 1rnkOKHYMa6DaupNEYiYOvbXrw2ribVqnH4KgJLvu2N3+C3YxPbLqNN+OVLq6CO0eiR+ NDEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="b/LdKpUH"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si2136587edb.371.2019.09.27.11.46.47; Fri, 27 Sep 2019 11:47:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="b/LdKpUH"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbfI0SpR (ORCPT + 99 others); Fri, 27 Sep 2019 14:45:17 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:48166 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbfI0SpR (ORCPT ); Fri, 27 Sep 2019 14:45:17 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8RIjEVD068668; Fri, 27 Sep 2019 13:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569609914; bh=rA7FtL2+Qf+WIRNaxJA48Ma8rhf/5zjYgvZGEIMyaH0=; h=From:To:CC:Subject:Date; b=b/LdKpUHTy01PCJazGkorNpAfgS7uX1Xsnhw9QuX5jOAjMd7kSt6rbFbnJpTbzvIp ab8Jq3cDAc6MaszFJt2zilddSj2bmjyKz0UvEXH1We2qgPIhDJbHghuW11mgDHhHMU JOCc7rreKZpUAPDEFstzdBMhloiR0XeAct9QzWY4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8RIjEvX074913 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Sep 2019 13:45:14 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 27 Sep 2019 13:45:06 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 27 Sep 2019 13:45:14 -0500 Received: from uda0869644b.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8RIjEVV122194; Fri, 27 Sep 2019 13:45:14 -0500 From: Benoit Parrot To: Hans Verkuil , Sakari Ailus CC: , , , Benoit Parrot Subject: [Patch v4 0/8] media: i2c: ov2659: maintenance series Date: Fri, 27 Sep 2019 13:47:14 -0500 Message-ID: <20190927184722.31989-1-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is a collection of patches we have been carrying for a while. It includes a few sensor register fixes which would cause visual artifacts at lower resolution and also at 720p. Also on some board the 'powerdown' and /or 'reset' pins are not tied so we need to add support for optional gpios to handle these. Since these camera are removable on some board we also need the driver to actually fail when there is no hardware present so the driver is actually removed. Also added a patch to check and propagate errors on s_stream invocation. Finally, we update the licensing statement to use SPDX licensing. Changes since v3: - Addressed review comment from Sakari about s_ctrl i2c access whne powered off Changes since v2: - Addressed review comment from Sakari - Reworked the "media: i2c: ov2659: Add powerdown/reset gpio handling" to use pm_runtime if it is available but not to make it depend on it. - Cleaned up the gpio related calls to remove the unnecessary NULL check Changes since v1: - Addressed review comment from Prabhakar - Added support for reset-gpios - Rework the power setting to use pm_runtime instead of s_power as based on discussion with Sakari it would be the prefered method - Added a patch to reduce the number explicit include files to the minimum necessary instead of the previous kitchen sink approach Benoit Parrot (8): media: i2c: ov2659: Fix for image wrap-around in lower resolution media: i2c: ov2659: Fix sensor detection to actually fail when device is not present media: i2c: ov2659: Cleanup include file list media: i2c: ov2659: fix s_stream return value media: dt-bindings: ov2659: add powerdown/reset-gpios optional property media: i2c: ov2659: Add powerdown/reset gpio handling media: i2c: ov2659: Fix missing 720p register config media: i2c: ov2659: Switch to SPDX Licensing .../devicetree/bindings/media/i2c/ov2659.txt | 9 ++ drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/ov2659.c | 138 +++++++++++++----- 3 files changed, 112 insertions(+), 37 deletions(-) -- 2.17.1