From patchwork Wed Apr 8 11:08:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 202297 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 DF368C2D0EA for ; Wed, 8 Apr 2020 11:08:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B452C2076D for ; Wed, 8 Apr 2020 11:08:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fj4kbjPm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728229AbgDHLI1 (ORCPT ); Wed, 8 Apr 2020 07:08:27 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:35101 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbgDHLI1 (ORCPT ); Wed, 8 Apr 2020 07:08:27 -0400 Received: by mail-wr1-f66.google.com with SMTP id g3so7376612wrx.2 for ; Wed, 08 Apr 2020 04:08:24 -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=uz8UY4eWPJrlC/KHAdRsMpZsS+aRJqI8gmWI20mDg+s=; b=fj4kbjPmHVx5Aq7luyrz5Ec2HyEpIV74NPD7KGBOSquGJHEe85K+/i+xc6OBHI/72N gZqESCnrYhdXbm5qLhael05Y+uXXjB5ynaZRM7facAZgFZ9hLVZU+8D7pznC0wLnWJ1l wBpFwJGlEbu2sy7ZUX8uF55hvdaPWv7rFCTJrmpLIRAYIRwFwHczLYnE/qXt2zSyHpxM NF/wxFpK58xXcqQOTo83kaRjnOUldA3ba4aJpSzGyXiM5Hjpi3HW3O+cSovFVrZvScIA aKnD0vdu+SPzC+oyAM8xB0P8K6wVr9MP/GezOAUCRVHfB2G/qpe+nhPGhte8Phhc03u5 EJww== 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=uz8UY4eWPJrlC/KHAdRsMpZsS+aRJqI8gmWI20mDg+s=; b=sARcRdKSZvFGGFbPnLZG2sAvcZ5lolH/EekF659Wzl5dHuvYaMOFmU+AZbYIPVsdlg kQgNMJw4YTlpKCUrK8Bmp26g1bkGCpOtlqwh4rGH4TVVZuupiy6hIALc3H0etKSlEMLq U+xdUWPVD5VZkIqXcSgwmfe2xuhRL0Zxhr4TE5mQhon5qXlskhl0ql/f4J7/l6Fjzz0c I9x0nIQTSmQV97mEvwLtEyCvGZtusuU9EiLy3CCZBvpr8juIUKeXyDpM6Efbm8fnPMkS 2NxaL9/e6tnbbOKNCV1UogtUhdBGKot5SH5F8BMb7By4zwqeXFbgetEzBAFiNBosMbtZ rP+g== X-Gm-Message-State: AGi0PubiaWDDzKDpF/HwfxT7tF2G+GitKKIq9Mr9d25rO3+nbhrULCZp jpQVjAVYnVozUyqzGwLF0XloBw== X-Google-Smtp-Source: APiQypIHRKuvNtlqBzAppetUZdYeMh5uW9upNPqzx1rWVmyvdyQVhoEmPglxFVAPk23/+WwHIT1oGQ== X-Received: by 2002:adf:db0a:: with SMTP id s10mr7916205wri.361.1586344103363; Wed, 08 Apr 2020 04:08:23 -0700 (PDT) Received: from localhost.localdomain ([37.120.50.78]) by smtp.gmail.com with ESMTPSA id i8sm37596253wrb.41.2020.04.08.04.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 04:08:22 -0700 (PDT) From: Robert Foss To: Dongchun Zhu , Fabio Estevam , Andy Shevchenko , Sakari Ailus , Marco Felsch , Tomasz Figa , Maxime Ripard , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Robert Foss Subject: [PATCH v4 0/3] media: ov8856: Add devicetree support Date: Wed, 8 Apr 2020 13:08:13 +0200 Message-Id: <20200408110816.2712841-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 | 143 +++++++++++++ MAINTAINERS | 1 + drivers/media/i2c/ov8856.c | 196 ++++++++++++++++-- 3 files changed, 325 insertions(+), 15 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov8856.yaml