From patchwork Mon May 11 11:03:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 200804 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 8EC25C54E4B for ; Mon, 11 May 2020 11:03:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 699D420801 for ; Mon, 11 May 2020 11:03:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="E9OP0txQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729241AbgEKLD5 (ORCPT ); Mon, 11 May 2020 07:03:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729160AbgEKLD5 (ORCPT ); Mon, 11 May 2020 07:03:57 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D389C061A0E for ; Mon, 11 May 2020 04:03:56 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id g12so18691541wmh.3 for ; Mon, 11 May 2020 04:03:56 -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=YYtGTZN1IDnhl2DGD//+L1M7Uh3Y6F/c8Nk8YQ5S4LM=; b=E9OP0txQ0ln5On8Vka2/Vii+xPPWCDo+RcC3j57ohFiiq2XXOryTEwRz7wf7CUES1D XLBbz005jDzpG32wam1NdBdE83ezou1oSdw0e1idkMW4nC1UnTgk/GJXlpUkgCwa61u1 bslbKk0GCirkIlfCMRfxCpNfKUapVA78c/zQW9YDeC/mwvSkkuUa0CpcXJp0vmB2y0st T/7Q4p9ECBNIK8uJkJH0KheQL8m1BUB2u30iVIJk6EswQgTEZ22Hku8MJRmKU7PO04zk bQTZ1OrirQqxfolrRrly5w5qcC0WShhxz6cdN28PDyOObp++sJPG1rk1WhxDb6rnDbST nLLw== 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=YYtGTZN1IDnhl2DGD//+L1M7Uh3Y6F/c8Nk8YQ5S4LM=; b=TLSI1+GeA2r2WmH4PqL7a2WPyetaGNuB2KgXf252P5jvpe6ah2QACj0y6i0Cr+aRJG PEp/sawHCQ1frtoHbT8HUB4qcBZkOhS20w0xQ41NMgQ7cOQOrspREeChz9iEZm3xRgpw WFx/2hy5lLNkMO6EHdwgCSBQVTh9dm6NalZZDlD+/zCrhFVp+dMmYDS00A01JEpn2wId z+fO4q25f2F2UYd71cbIkb6Lj+s2YXCoda2l9MjKf43D58wFkRLnG2nzJQnOIts0ZPN8 lwo0irn11YeAmBbh7jHpw+7OOw6eCDx96CGDvo0lBzjamp87b1uVcG3DZDu5yPQB4/Yw F+qg== X-Gm-Message-State: AGi0PuanM8hfqLYK1ocGE3RbZ4Sdh3Vf3pX+6ofLiF5LAuUnOvMhY/6A Wtr3nJMF8/xUv7CSvS5Z0eW4ag== X-Google-Smtp-Source: APiQypJIuLYqKCCu71EykxQAeZzhyH4J/mpRW6NrzLFbXBbwDpDNbWaJx31A7kAP/ES5nX8d1Hu08Q== X-Received: by 2002:a1c:7d92:: with SMTP id y140mr15836919wmc.10.1589195034723; Mon, 11 May 2020 04:03:54 -0700 (PDT) Received: from localhost.localdomain ([37.120.63.158]) by smtp.gmail.com with ESMTPSA id z18sm7046584wmk.46.2020.05.11.04.03.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 04:03:54 -0700 (PDT) From: Robert Foss To: Andy Shevchenko , Sakari Ailus , Marco Felsch , Maxime Ripard , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Dongchun Zhu , Fabio Estevam , Tomasz Figa , Ben Kao , Robert Foss Subject: [PATCH v8 0/3] media: ov8856: Add devicetree support Date: Mon, 11 May 2020 13:03:47 +0200 Message-Id: <20200511110350.11565-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 | 142 +++++++++++++ MAINTAINERS | 3 +- drivers/media/i2c/ov8856.c | 191 ++++++++++++++++-- 3 files changed, 321 insertions(+), 15 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov8856.yaml