From patchwork Tue Mar 10 13:46:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 210697 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C66EC10F27 for ; Tue, 10 Mar 2020 13:46:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E5F620637 for ; Tue, 10 Mar 2020 13:46:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="abZroker" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726847AbgCJNqJ (ORCPT ); Tue, 10 Mar 2020 09:46:09 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:56316 "EHLO mail-wm1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726390AbgCJNqJ (ORCPT ); Tue, 10 Mar 2020 09:46:09 -0400 Received: by mail-wm1-f51.google.com with SMTP id 6so1462989wmi.5 for ; Tue, 10 Mar 2020 06:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wD/rjwDaFSH4m0qLvYcsJe5uINdhvscpogJ3gh+ddBE=; b=abZrokerv1XQs4CdYgMZDC/O5UauiH6mqKC2Rrdy1tv4xSXq1RKsr+iLSyaMu5QRrY eNToWk64+vZzKd5eeIFecdjcgvg5U62vU7dexhWjTJGcM9vb+TmvA6P4A4xsOXQvW2fi wb2/v2YN1HJGBWhNsaZaJsTHq9C+BIA4ID0FoIbZUuGmip1war0RJ9oU2O6ca/Eb8bnp lKwQxo9FxcvxnukaM01tLAXT2mdTHQ+BWTwNmBjHEBFWXKM+WWrV9KQRZ9Gjn8GzG1NP UzG8pjbwxIVQlVYsWb8vQaUL2aaeAjFaIZ9pL5L7SBi0tKFDOAG5ttq+QXKgWrlHYdsw mQKg== 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:mime-version :content-transfer-encoding; bh=wD/rjwDaFSH4m0qLvYcsJe5uINdhvscpogJ3gh+ddBE=; b=fzN36XsSfnvt93483oeiBFKQV0/OMmW7c4KGlUAB8bUbTU1reLKh1qS7d85BM/r7LX 65T9/UoOA29emwnveQ3q1UXYzUVQWV142pzG0bqiCDHRt9L7zJKG8iI9qOCIyRsiNmVL DrV+Uqft+hDmDkjRfhXsZ2z7fdBR5ILsYnMHJNPi5wfFl9Vv1i3zsZuTo6qWvAKnN0BE zhPTFiqA6TYK8+L2XG/O032xMWloTMLkdhWjxuTLUrLuPd5wGPviOKpgIfSl5b7hk8u+ knJiVgzDVkme8k500dQ0eeg+SkIRhwXY5iBKXvNBYkdAbs5gk3rfpoqFJK+ea4M0N7QO M6jA== X-Gm-Message-State: ANhLgQ3T4SX5x31/vzifthrTiMUIHwlBs3rEwFbHPWbP4C+Wl1ZkBjoQ /fY6l86QCf7KDe+5rsd9Dz31vA== X-Google-Smtp-Source: ADFU+vsAqODaD7c54dhNVCiGo6mkHHmbHDjZbcCM9Ns8rtR6QHeWU2SEQUgGGnzoUNA8SRhX+nS2rA== X-Received: by 2002:a1c:f60d:: with SMTP id w13mr628899wmc.171.1583847967491; Tue, 10 Mar 2020 06:46:07 -0700 (PDT) Received: from xps7590.local ([2a02:2450:102f:13b8:e50c:c780:9a1:8b61]) by smtp.gmail.com with ESMTPSA id d63sm4074009wmd.44.2020.03.10.06.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 06:46:06 -0700 (PDT) From: Robert Foss To: ben.kao@intel.com, mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, matthias.bgg@gmail.com, davem@davemloft.net, gregkh@linuxfoundation.org, Jonathan.Cameron@huawei.com, andriy.shevchenko@linux.intel.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Dongchun Zhu Cc: Tomasz Figa , Robert Foss Subject: [v1 0/3] media: ov8856: Add sensor modes & devicetree support Date: Tue, 10 Mar 2020 14:46:00 +0100 Message-Id: <20200310134603.30260-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This adds devicetree support to the ov8856 driver. In order to to aid debugging and enable future sensor modes to be supported, module revision detection is also added. Dongchun Zhu (1): media: dt-bindings: ov8856: Document YAML bindings Robert Foss (2): media: ov8856: Add devicetree support media: ov8856: Implement sensor module revision identification .../devicetree/bindings/media/i2c/ov8856.yaml | 129 +++++++++++++++ MAINTAINERS | 1 + drivers/media/i2c/ov8856.c | 153 +++++++++++++++++- 3 files changed, 281 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov8856.yaml