From patchwork Tue May 5 10:01:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 1283399 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=h+wkAt1i; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 49GZy63t84z9sSW for ; Tue, 5 May 2020 20:01:50 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727931AbgEEKBq (ORCPT ); Tue, 5 May 2020 06:01:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728481AbgEEKBq (ORCPT ); Tue, 5 May 2020 06:01:46 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 157ABC061A10 for ; Tue, 5 May 2020 03:01:46 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id y24so1625208wma.4 for ; Tue, 05 May 2020 03:01:45 -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=+LL5Exw/qifs+ywjXu90IVbYhDqBc3wJ0gzzOrYmWxA=; b=h+wkAt1i/yCYuX+qg1JC8lx8oQsta2OrisDGdBFuMTcvtQk/cQivwwqTaDR0pmR3DP 39LFUa7BjHELU77lw1tHM5xu+whtgayMBcmmYv3pIh9k7md57hp0p93IVtvEWnIqdujM coqXsmWyzIIzwqGFLyxYVnKyb92OfpUSbyDGNjGexX6ymnJPeW7KUNHXsCB2YO6JPH/n ENOoE7YlGuM/vT5atE4/qKpekrQsvgrCqC2/4crQaO2O7W+OLjuQGfD5khlyDBk5OuuN 2wuWE6Kfi+D2X9DZJQ9f8lJU8LiHMfPbQu6xwjW/piotoJSnupNpYhyAgkg7XEWc77L+ ueSQ== 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=+LL5Exw/qifs+ywjXu90IVbYhDqBc3wJ0gzzOrYmWxA=; b=oJOme9pSgqC+CD4W6RzhEhCR1Xy9Raw2Jb8bHMACPlN+ExenfHrCoFeQCn7VfddU5u jdFetN/LNPwvv/xrkVrA8t5C120algtbJO6wHq3u2XI3UxobCZsXGwNuBrwTx9RbhYKk 31melWvU1nqLRaLnqFLlvT+5vxRKOJ1dXhlcJTcmgZnTFzgl6F5n2AdPOADU9Nt4jOD9 1HrTNtJDQckyQgM1fRHz4hFr0L6iH8uPAlXMVcg46eKsUXdcUXgsS5rzK4Hn9UER7VGF wTmlKXCntUjXa0oraCkkUaZ+QT6eL5ABg9qTviKPNPfRocPuhLFR2KUbsmfA84Oy/YYE 6qXw== X-Gm-Message-State: AGi0PubNPWG3KUxXkmZLh2JROMhA8GNEXmJeYT9MQBvcdXTojONNFVQP F/fBlvjKJtZsTa+CIxI4zUBzCw== X-Google-Smtp-Source: APiQypJH4ypVMYFM9XMVWAInmVcCnVeQt1dycl0lYgZmTAGLLZ0z5kQZxnBsAutgmTA2Hwem48xMXg== X-Received: by 2002:a1c:2002:: with SMTP id g2mr2318452wmg.109.1588672904726; Tue, 05 May 2020 03:01:44 -0700 (PDT) Received: from localhost.localdomain ([37.120.63.158]) by smtp.gmail.com with ESMTPSA id n6sm2884258wmc.28.2020.05.05.03.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 03:01:44 -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 v7 0/3] media: ov8856: Add devicetree support Date: Tue, 5 May 2020 12:01:27 +0200 Message-Id: <20200505100129.104673-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 | 1 + drivers/media/i2c/ov8856.c | 190 ++++++++++++++++-- 3 files changed, 319 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov8856.yaml