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: 210259 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 EEFA3C2D0EA for ; Wed, 8 Apr 2020 11:08:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B143D2076D for ; Wed, 8 Apr 2020 11:08:25 +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 S1728081AbgDHLIZ (ORCPT ); Wed, 8 Apr 2020 07:08:25 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33406 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbgDHLIZ (ORCPT ); Wed, 8 Apr 2020 07:08:25 -0400 Received: by mail-wr1-f66.google.com with SMTP id a25so7367556wrd.0 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=JwuSTSsp8BYTA6XZB3HHlqFF3ObCqcTyxwoY9TV5P4rhNkBNrrj6VBUJZszp6PpEgo P3RTk4hBs8gidkAws9vZFgb/YMNNlf5JgQaOLn12yVrAbq9web6rXc6z/wrMIFKTSEw5 oIuw4S83QfY9m6acPSi+YlwuIPDHPn3O/17FilTNVYhoKo/XPipbSHeF/NCIuVEpzzSf FHRtLgNdmGeN8syH747DvcBHUqWqT6GotHBTObpythCzdJCeHVzc+0KTFzYG0j5/xAZY JOAHxwrZNSMUWESl2JtIVFAtPiAiraz2fQ0YWyPw5Suj/LB094eePf86KCwifHec2umQ cfSw== X-Gm-Message-State: AGi0PuYJt4HcYoFJ+G6FOqPbu5RLveSY5jQH/S097xsKxe4kidktVrTX D2KFBhTMNqXhh+6OKKc9eDtClA== 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: 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 | 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