From patchwork Mon Nov 12 00:35:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10677943 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 13427139B for ; Mon, 12 Nov 2018 00:37:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 042802A02E for ; Mon, 12 Nov 2018 00:37:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC50D2A036; Mon, 12 Nov 2018 00:37:07 +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 9C8282A02E for ; Mon, 12 Nov 2018 00:37:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729793AbeKLK0R (ORCPT ); Mon, 12 Nov 2018 05:26:17 -0500 Received: from shell.v3.sk ([90.176.6.54]:57380 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729704AbeKLK0R (ORCPT ); Mon, 12 Nov 2018 05:26:17 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 5B203C66E5; Mon, 12 Nov 2018 01:35:38 +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 pmLa9z3qwBo5; Mon, 12 Nov 2018 01:35:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 4D70FC67A9; Mon, 12 Nov 2018 01:35:25 +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 y35eoGqGwtIh; Mon, 12 Nov 2018 01:35:24 +0100 (CET) Received: from belphegor.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 12285C67A5; Mon, 12 Nov 2018 01:35:24 +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 v2 0/11] media: make Marvell camera work on DT-based OLPC XO-1.75 Date: Mon, 12 Nov 2018 01:35:09 +0100 Message-Id: <20181112003520.577592-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 Hello, this patch set somewhat 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 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 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