From patchwork Tue Nov 20 10:03:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10690131 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 313E613AD for ; Tue, 20 Nov 2018 10:03:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2271426BE9 for ; Tue, 20 Nov 2018 10:03:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1633A26E78; Tue, 20 Nov 2018 10:03:46 +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=-7.9 required=2.0 tests=BAYES_00,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 0819026BE9 for ; Tue, 20 Nov 2018 10:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727239AbeKTUb4 (ORCPT ); Tue, 20 Nov 2018 15:31:56 -0500 Received: from shell.v3.sk ([90.176.6.54]:50003 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbeKTUb4 (ORCPT ); Tue, 20 Nov 2018 15:31:56 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id BCE1CC6FAF; Tue, 20 Nov 2018 11:03:35 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id eF-QLWY3BBBs; Tue, 20 Nov 2018 11:03:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id E415DC6FB0; Tue, 20 Nov 2018 11:03:32 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fjvHypwahF3c; Tue, 20 Nov 2018 11:03:32 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id CE126C6FAF; Tue, 20 Nov 2018 11:03:31 +0100 (CET) From: Lubomir Rintel To: Mauro Carvalho Chehab , Jonathan Corbet , linux-media@vger.kernel.org Cc: Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , James Cameron , Pavel Machek , Libin Yang , Albert Wang Subject: [PATCH v3 0/14] media: make Marvell camera work on DT-based OLPC XO-1.75 Date: Tue, 20 Nov 2018 11:03:05 +0100 Message-Id: <20181120100318.367987-1-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 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 Hi, this is the third spin of a patchset that modernizes the Marvel MMP2 CCIC driver. Notably, it ports it from the platform data (which seems unused as the board support code never made it) to devicetree. At the core of the rework is the move to asynchronous sensor discovery and clock management with the standard clock framework. There are also some straightforward fixes for the bitrotten parts. There's probably still room for improvement, but as it is, it seems to work well on OLPC XO-1.75 and doesn't break OLPC XO-1 (I've tested on both platforms). Changes since v2: - All documented in individual patches. Changes since v1: - "marvell-ccic: drop ctlr_reset()" patch was replaced with a straightforward revert of the commit that added ctlr_reset() along with an explanation in commit message. - Added collected Acks - Other changes are noted in individial patches Thanks, Lubo