From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 601F9C6FD1B for ; Tue, 7 Mar 2023 09:53:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230457AbjCGJxw (ORCPT ); Tue, 7 Mar 2023 04:53:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbjCGJxm (ORCPT ); Tue, 7 Mar 2023 04:53:42 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0735474ED; Tue, 7 Mar 2023 01:53:36 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 552CA24E25A; Tue, 7 Mar 2023 17:53:35 +0800 (CST) Received: from EXMBX073.cuchost.com (172.16.6.83) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 7 Mar 2023 17:53:35 +0800 Received: from [192.168.60.139] (180.164.60.184) by EXMBX073.cuchost.com (172.16.6.83) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 7 Mar 2023 17:53:34 +0800 Message-ID: <0a0fbd68-9398-b6ac-3d78-e8765e4c2af9@starfivetech.com> Date: Tue, 7 Mar 2023 17:53:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v1 06/11] media: starfive: add ISP driver files Content-Language: en-US To: Krzysztof Kozlowski , "Mauro Carvalho Chehab" , Robert Foss , Todor Tomov , Rob Herring , Krzysztof Kozlowski , Maxime Ripard , Philipp Zabel CC: , , , References: <20230302091921.43309-1-jack.zhu@starfivetech.com> <20230302091921.43309-7-jack.zhu@starfivetech.com> <1270c1a6-9e12-3f0b-c90b-f1715ea07f80@linaro.org> From: Jack Zhu In-Reply-To: <1270c1a6-9e12-3f0b-c90b-f1715ea07f80@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [180.164.60.184] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX073.cuchost.com (172.16.6.83) X-YovoleRuleAgent: yovoleflag Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On 2023/3/3 16:45, Krzysztof Kozlowski wrote: > On 02/03/2023 10:19, jack.zhu wrote: >> Add base driver for Starfive Image Signal Processing Unit which >> handles the data streams from the CSI2 receiver. >> >> Signed-off-by: jack.zhu >> --- >> drivers/media/platform/starfive/stf_isp.c | 1079 ++++++++++++++ >> drivers/media/platform/starfive/stf_isp.h | 183 +++ >> .../media/platform/starfive/stf_isp_hw_ops.c | 1286 +++++++++++++++++ >> 3 files changed, 2548 insertions(+) >> create mode 100644 drivers/media/platform/starfive/stf_isp.c >> create mode 100644 drivers/media/platform/starfive/stf_isp.h >> create mode 100644 drivers/media/platform/starfive/stf_isp_hw_ops.c > > >> +} >> + >> +static int stf_isp_reg_read(struct stf_isp_dev *isp_dev, void *arg) >> +{ >> + void __iomem *ispbase = stf_isp_get_ispbase(isp_dev); >> + struct isp_reg_param *reg_param = arg; > > > Didn't you add now code which does not even build and is not bisectable? > use patch 11 to build all files in the starfive directory. > > Best regards, > Krzysztof >