From patchwork Thu Jun 17 16:27:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 463277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D0CEC49EAB for ; Thu, 17 Jun 2021 16:28:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 49FC2613CE for ; Thu, 17 Jun 2021 16:28:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230167AbhFQQaK (ORCPT ); Thu, 17 Jun 2021 12:30:10 -0400 Received: from gloria.sntech.de ([185.11.138.130]:38152 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230269AbhFQQaH (ORCPT ); Thu, 17 Jun 2021 12:30:07 -0400 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lturw-00057p-Ps; Thu, 17 Jun 2021 18:27:52 +0200 From: Heiko Stuebner To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl Cc: ezequiel@collabora.com, dafna.hirschfeld@collabora.com, helen.koike@collabora.com, Laurent.pinchart@ideasonboard.com, linux-rockchip@lists.infradead.org, linux-media@vger.kernel.org, heiko@sntech.de, robh+dt@kernel.org, devicetree@vger.kernel.org Subject: [PATCH v5 0/7] rkisp1 support for px30 Date: Thu, 17 Jun 2021 18:27:35 +0200 Message-Id: <20210617162745.4080975-1-heiko@sntech.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series adds support for the slightly different v12 variant of the ISP used for example in the px30 soc. changes in v5: - handle interrupt-names as conditional required property (Dafna) - add second example for showing interrupt-names (Dafna) changes in v4: - clean up multi-irq case (Dafna) Now each variant can have a list of interrupts and their respective handlers, with or without interrupt-names changes in v3: - add necessary binding additions - fix pclk naming in binding - move v12 clk_ctrl register bits to v12 addition patch - fix rebase artefact with hst_enable changes in v2 (from rfc): - split out phy patch into a separate series - drop dts patches for now - split v12 addition and v10 prefixes into separate patches to enable easier review (Dafna) - remove {stats,params}_config structs, we can just use the correct constant (Dafna) - adapt to styling comments from Dafna and Helen - add patch to remove the unused irq variable in struct rkisp Heiko Stuebner (10): media: rockchip: rkisp1: remove unused irq variable dt-bindings: media: rkisp1: fix pclk clock-name dt-bindings: media: rkisp1: document different irq possibilities media: rockchip: rkisp1: allow separate interrupts media: rockchip: rkisp1: make some isp-param functions variable media: rockchip: rkisp1: make some isp-stats functions variable media: rockchip: rkisp1: add prefixes for v10 specific parts media: rockchip: rkisp1: add support for v12 isp variants dt-bindings: media: rkisp1: document px30 isp compatible media: rockchip: rkisp1: add support for px30 isp version .../bindings/media/rockchip-isp1.yaml | 113 +++- .../platform/rockchip/rkisp1/rkisp1-capture.c | 9 +- .../platform/rockchip/rkisp1/rkisp1-common.h | 44 +- .../platform/rockchip/rkisp1/rkisp1-dev.c | 71 ++- .../platform/rockchip/rkisp1/rkisp1-isp.c | 29 +- .../platform/rockchip/rkisp1/rkisp1-params.c | 557 ++++++++++++++---- .../platform/rockchip/rkisp1/rkisp1-regs.h | 406 ++++++++----- .../platform/rockchip/rkisp1/rkisp1-stats.c | 107 +++- 8 files changed, 1044 insertions(+), 292 deletions(-)