Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp490475ybb; Wed, 8 Apr 2020 04:09:15 -0700 (PDT) X-Google-Smtp-Source: APiQypL5aQpIUSpWchPM0F1AZ8SRnivFSxKCykkswR72/pDHygrBBhfiiDxoYD3qH0VY2Rk2YYl/ X-Received: by 2002:a05:6830:19d8:: with SMTP id p24mr2986038otp.309.1586344155823; Wed, 08 Apr 2020 04:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586344155; cv=none; d=google.com; s=arc-20160816; b=GQVlRSR4qv+0g6AP4OBvwBoAtNr1P9/tCUySLbHN3+HpSZ/Jx7ImCQoyVwTCOGjOW3 FKSpI4sh5GrUipD7q/UNVtNkngptXF197tmFqWXmb7GjMvxM7wP+uU+AVogAUurW4gt2 TtCjiRRK2yGL2wFH1/1RpsPkqTu+Z4jXjXUQS09B4fVR0p+bFPMIkL7+IyP2vcT9AkU/ tlf1tjsJU27CvdX12j6eUrlLy3JyX8H3unK7RgViCOJJbs6Pixn+CERVAIGMghfix22/ 1S1QgtYWplPcotPWgdGp2Tgw6u2+yMEfI0a6H5crJMQtPj+tsazV+J12gaCQofFjK+7s BVgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uz8UY4eWPJrlC/KHAdRsMpZsS+aRJqI8gmWI20mDg+s=; b=jUHwH+m8dQQTvh7deQQ40fd9PlD9HZZYoTmon/u5EkIaQSvWcYWmC8Z5q5b8yebdOp /3LFed6+duNsf0Iubr6aD9vUk7clooKcffeyJYW+gcT5A/TK3T3rNY7kXLPzV+7zCstv Bkqi7BmsrhBGyfAf2ppqQjFxVbuvCzAAP8JCZAZHvPHMHzO4NhDYaOIb4Gtk9fl2BKu0 bHpsASBpk+xW/D35nf/RUUUVkWvJf/vGv9geG20A5/mOIT7bcFJOMF7Z17xDa1Wi5d7f AENjcOwBUC5RwyD5N0vIh/N1iLlJ5dt8rO3x10+ZhJEtv4Ny3eBI02xV5AWgwQZ2ppNs 3N6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fj4kbjPm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9si598547otj.241.2020.04.08.04.09.00; Wed, 08 Apr 2020 04:09:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fj4kbjPm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728180AbgDHLI0 (ORCPT + 99 others); Wed, 8 Apr 2020 07:08:26 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44789 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbgDHLIZ (ORCPT ); Wed, 8 Apr 2020 07:08:25 -0400 Received: by mail-wr1-f67.google.com with SMTP id c15so7285363wro.11 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=Z+ryYTfNnd8UjkfvZ1L9kAZ4pt0mkDzrqVnHXfJSKhEQXaltcVZJTbLwEev8qpxQEq jJ9cAPEWUcA3+glwCvbuOR9DrXY9gBYf79Ibw0ehJ0FCiVVPv/fnKDzQKPCSvfSn6fMD IJ61yeG3vXkGH+y4DF4m80H3mPOq6AUL6gMe/2PYGKb6UPK5dCxukoedmWz9rE1/MOyF BArfGEOG1RWk8OtO7vMVBMavkL6SgDp1gFWKm4RWqNvvf5LANsvGuajEZilRkyTkJZfW wZr3dInApUeZlYjBYge2g+xCORQJico++ytv5xu87k0pSxJz16V8J5nge139PEKLIen5 FZkQ== X-Gm-Message-State: AGi0Pub4ZNozqIXSdVQCEQ8s6vRraeMCzjTB2Coy2cjoDyltRwTETdbE Q5hTs41Nkbes9z5aZKOrtP5G0g== 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.25.1