From patchwork Sat Dec 22 17:12:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 10741359 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A933714E2 for ; Sat, 22 Dec 2018 17:13:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E27728A1B for ; Sat, 22 Dec 2018 17:13:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F69D28A1F; Sat, 22 Dec 2018 17:13:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48C7828A1B for ; Sat, 22 Dec 2018 17:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388701AbeLVRNJ (ORCPT ); Sat, 22 Dec 2018 12:13:09 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:47084 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731640AbeLVRNI (ORCPT ); Sat, 22 Dec 2018 12:13:08 -0500 Received: by mail-pg1-f194.google.com with SMTP id w7so3892055pgp.13; Sat, 22 Dec 2018 09:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xJPcU1yj3Uk8XxxcPgthNU71H3yhSYTiBywpiL1BYe4=; b=SL0gCXSKknc4OJc+6ZMM7Y/lkaJOZjXiJXfqZjjuxpez4S4WQx1cPbnSl+WMYmFTUO Jmg9N9XEFiscWJ7j0XOHqCuPbXfslZOswAKz4T6055unbHUZo+PJmlsmFaUw9rxKAy6J nVzgk06GPGjv9642mIjMtNYAV9J75+TjzdtlneZ81hD/b2FgRxZb+DlwtKC2hycUASn5 hUlAOiajot0JqiYJNinZynb5fXDqPc83Gmlh0cIbKFeUMxXtCs+YVcY4Ye2b8HWTeXvf /Wt43h9HAI5mg/L8YY5LkPhFIMLgchxd6OqaxU8q5dRBrKHeP2QWh446tTm9ypH+7Zlc L5CQ== 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; bh=xJPcU1yj3Uk8XxxcPgthNU71H3yhSYTiBywpiL1BYe4=; b=b0qAPC45Q8ccsLF8FeKhMMpNvfEgHZPBDrxJUgiYMpEF77H5awfLDLADVYhSwvDROi j5eD9nZalc1lL1eIlUp5y9dFva3bwH/pfoTmdUonM8+temIAlnFiXHCD3ecHjSRks6jN 5jKSQYLMVJ6sRSBbD/S8PbS6WJEsf/RzSZwU9AUJdpZhx2DHqCx8Aby/hnlgshgTioLQ QoBZGA9PyA+Aeq7WgFI0ddPRl7wb9Dh8vqudJdkuOagKtep13xMlHsSKMY4Im5b8pC2E WOcGJBmi9xRvU5ygOyW/XXH7pB0sAO6S934SMGWZ49DIABFexF0RgwvViv0CQs7j/m9s S3Zg== X-Gm-Message-State: AJcUukepqC26ywjzJ1zJSCBKnq1bsLT1H995k5dH25QhPWbBSRjowp7Y sj/KhIRI1XRKhXpilVC+mi3AWNrE4JY= X-Google-Smtp-Source: ALg8bN7FJPgrzJhIhcqR+4cRBVQBvq7ZBgVWxF+QCbLBVDWM3Yq/xmcVOdZsDiphkXGB/klz0N/WUg== X-Received: by 2002:a63:1321:: with SMTP id i33mr6889960pgl.380.1545498786395; Sat, 22 Dec 2018 09:13:06 -0800 (PST) Received: from localhost.localdomain ([240f:34:212d:1:966:8499:7122:52f6]) by smtp.gmail.com with ESMTPSA id w11sm33322025pgk.16.2018.12.22.09.13.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 22 Dec 2018 09:13:05 -0800 (PST) From: Akinobu Mita To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: Akinobu Mita , Rob Herring , Guennadi Liakhovetski , Sakari Ailus , Mauro Carvalho Chehab Subject: [PATCH 00/12] media: mt9m001: switch soc_mt9m001 to a standard subdev sensor driver Date: Sun, 23 Dec 2018 02:12:42 +0900 Message-Id: <1545498774-11754-1-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset converts soc_camera mt9m001 driver to a standard subdev sensor driver. Akinobu Mita (12): media: i2c: mt9m001: copy mt9m001 soc_camera sensor driver media: i2c: mt9m001: dt: add binding for mt9m001 media: mt9m001: convert to SPDX license identifer media: mt9m001: add of_match_table media: mt9m001: introduce multi_reg_write() media: mt9m001: switch s_power callback to runtime PM media: mt9m001: remove remaining soc_camera specific code media: mt9m001: add media controller support media: mt9m001: register to V4L2 asynchronous subdevice framework media: mt9m001: support log_status ioctl and event interface media: mt9m001: make VIDIOC_SUBDEV_G_FMT ioctl work with V4L2_SUBDEV_FORMAT_TRY media: mt9m001: set all mbus format field when G_FMT and S_FMT ioctls .../devicetree/bindings/media/i2c/mt9m001.txt | 37 + drivers/media/i2c/Kconfig | 9 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/mt9m001.c | 900 +++++++++++++++++++++ 4 files changed, 947 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/mt9m001.txt create mode 100644 drivers/media/i2c/mt9m001.c Cc: Rob Herring Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab