From patchwork Mon Nov 4 19:31:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benoit Parrot X-Patchwork-Id: 11226279 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3479913BD for ; Mon, 4 Nov 2019 19:31:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 135682184C for ; Mon, 4 Nov 2019 19:31:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="B+ikx3jc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729534AbfKDTbw (ORCPT ); Mon, 4 Nov 2019 14:31:52 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47506 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728321AbfKDTbw (ORCPT ); Mon, 4 Nov 2019 14:31:52 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xA4JVnbQ000700; Mon, 4 Nov 2019 13:31:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572895909; bh=B1a44FWRzGdFEtSOw+s4sREX4iLbJx4ypX3MqMP9wg8=; h=From:To:CC:Subject:Date; b=B+ikx3jcGac6mOaMI//+TDWo0HAtS1F/voWCudOK1yr+zfbuSkhyD1QA1Qc5rpJkl uAOAXN7w7xpr/jzCBwE8eFwwfJyb9mRxt7u1VaUgwsm/a83vkmO/7NEMeLhf0BExxD bOK/40lXgrkfd3MwtIzHksNqtR5thyjvFiAuYTC4= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xA4JVnW9126124 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Nov 2019 13:31:49 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 4 Nov 2019 13:31:35 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 4 Nov 2019 13:31:34 -0600 Received: from ula0869644.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xA4JVmcx096934; Mon, 4 Nov 2019 13:31:48 -0600 From: Benoit Parrot To: Hans Verkuil CC: , Rob Herring , , , Benoit Parrot Subject: [Patch v2 00/20] media: ti-vpe: cal: maintenance Date: Mon, 4 Nov 2019 13:31:20 -0600 Message-ID: <20191104193140.31145-1-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This a collection of backlog patches I have been carrying for the CAL driver. - Add support for SoC variants. - Switches to syscon/regmap to access a system controller register for the DPHY configuration. This register has different bit layout depending on the SoC version. - It adds supports for pre ES2.0 silicon errata. - Reworked the DPHY initialization sequence to match the technical reference manual and provide a more robust restartability. - Adds the missing ability to power subdevice. - Update the devicetree binding and then converts it to dt-schema Changes since v1: - Removed unneeded "items/max/min". - Add a ref for ti,camerrx-control type - Move compatible description as comment in the schemas - Simplify 'endpoint' syntax - Removed clocks description - Added ti,cal.yaml to MAINTAINERS as a separate patch. - Added Rob's ack - Remove 'inline' from cal_runtime_get() - Switch to use of_device_get_match_data - Reworked the syscon_regmap_lookup_by_phandle() section - Updated the binding to use ti,camerrx-control instead of sycon_camerrx - Updated the binding to use ti,camerrx-control instead of sycon_camerrx Benoit Parrot (19): dt-bindings: media: cal: update binding to use syscon dt-bindings: media: cal: update binding example media: ti-vpe: cal: Add per platform data support media: ti-vpe: cal: Enable DMABUF export dt-bindings: media: cal: update binding to add PHY LDO errata support media: ti-vpe: cal: add CSI2 PHY LDO errata support media: ti-vpe: cal: Fix ths_term/ths_settle parameters media: ti-vpe: cal: Fix pixel processing parameters media: ti-vpe: cal: Align DPHY init sequence with docs dt-bindings: media: cal: update binding to add DRA76x support media: ti-vpe: cal: Add DRA76x support dt-bindings: media: cal: update binding to add AM654 support media: ti-vpe: cal: Add AM654 support media: ti-vpe: cal: Add subdev s_power hooks media: ti-vpe: cal: Properly calculate max resolution boundary media: ti-vpe: cal: Fix a WARN issued when start streaming fails media: ti-vpe: cal: fix enum_mbus_code/frame_size subdev arguments dt-bindings: media: cal: convert binding to yaml MAINTAINERS: Add ti,cal.yaml Nikhil Devshatwar (1): media: ti-vpe: cal: Restrict DMA to avoid memory corruption .../devicetree/bindings/media/ti,cal.yaml | 172 ++++ .../devicetree/bindings/media/ti-cal.txt | 72 -- MAINTAINERS | 1 + drivers/media/platform/Kconfig | 2 +- drivers/media/platform/ti-vpe/cal.c | 767 ++++++++++++++---- drivers/media/platform/ti-vpe/cal_regs.h | 27 + 6 files changed, 808 insertions(+), 233 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/ti,cal.yaml delete mode 100644 Documentation/devicetree/bindings/media/ti-cal.txt