Received: by 10.223.185.116 with SMTP id b49csp254323wrg; Thu, 8 Mar 2018 16:55:17 -0800 (PST) X-Google-Smtp-Source: AG47ELvGlkI69o10lQcnQisc466Ttf84MwFNRjbldLgRQpceKck8cX132QRY5XTWKxH8embWYMer X-Received: by 2002:a17:902:48c8:: with SMTP id u8-v6mr26024709plh.306.1520556917326; Thu, 08 Mar 2018 16:55:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520556917; cv=none; d=google.com; s=arc-20160816; b=m2I6tkh0fjm5o1wACgeHumJQC0GUe6TA9K2cNXJdAb53qpi/bvbth4AgqIoT8EZ+qV 6of1gbczxU240+kHXJcUhwaeuxzLTbduLfCflCiUmHolVt4j8Ai8MaiC1uJd6hQO2sUX 0BvuLfLLOPE12H7xWi2OjbPWSpfAlHlYrjBpyhzqPGU5wz7Ih0YXsAw9EVapSn9v+8XD 6Ah8FDPnA/y0W9VsOdhIytUkfMRHv+z00hGFyqSG0EncF0RUTC+9P/wV7AVEj5zRIMTK qr5oxweejEMvHqxQD1OKyAwZ570G2GLny4fsenMsB0HPI54QB/GjrXSYAfoTeQbXNW8y RRLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=LRqKwAvh7zM9NyjaIi6HFKWMk9DPDzfH6rll3GD2Ifc=; b=onOwUSVVb8VSUocDD+raqYYbXdsZP4UHadH5+ox5B5WvwIcSOB5WcmByYhqbfEYshJ rxnObVdOu8RX+FN7fXePDxlN04JfvCHB45YK7q9a/nW7Rh+Ng1NKE6qSv+glEKcAnSdn wciTGv7mCa/htBsI8XugAF/Zmm5i4+XrUpDP+ssc8x9xSoiTqkPHltrVM68ac3AJH1NZ IyapeYyLkqkMGWvXjpQJ8+qgGVeMRTWd3Sr7krbxZJkl0ZVt/UpF+61RP6a6gY6+gSfk MV7NZ4mLqUf559Gt1II8BIKkPUzPUUmfIAYPvT1ZAEObUA3CPvHLYZ1rHCwAMVfC2N2p 50zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ssYngcmm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63-v6si15767586pld.602.2018.03.08.16.55.02; Thu, 08 Mar 2018 16:55:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ssYngcmm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbeCIAyB (ORCPT + 99 others); Thu, 8 Mar 2018 19:54:01 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:37089 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbeCIAx6 (ORCPT ); Thu, 8 Mar 2018 19:53:58 -0500 Received: by mail-qt0-f196.google.com with SMTP id r16so8986446qtm.4; Thu, 08 Mar 2018 16:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=LRqKwAvh7zM9NyjaIi6HFKWMk9DPDzfH6rll3GD2Ifc=; b=ssYngcmmWQ5M5IUac3vu0T2uKssc63CGVxzUiguLwwiRP7g5IoN82YsMEg6cGCeTWs Gy0wppYnlUK1LF8/z0QRFioLni8Dtud+iEM20FL/NSRDVG7FR+nn7uxEgHOsnpB1iwp3 6TvodFmZOsZWh9kjuOAxJGkPsmaZFuflDSfAKz3fTDovrQHTyUZxCGei5hfVmipPTeN/ BMuFV/al4RNvl2QjBCg54vvoUpgRGH1BSugj4fD9lR+LlIGGse2zK0ALXLIKBCvZdtuO iah9/jXhJNXaF51AIhMvl2Cv7BaPoEHSEQOyrrf8c+4aGsHdTYSUmYCAvMopoU0Grmno bXnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=LRqKwAvh7zM9NyjaIi6HFKWMk9DPDzfH6rll3GD2Ifc=; b=PphVCesJsERGKGPiTCa5eo+7wmvA7WemsX79Y3c17JIRv4fdxy2bVEbnVwClZPUuKt sO+RYYeSyzwAo1/IC+P7zQe/lVIoWmJxe31bR+KDajuMGzMjQn0YpJQz+gYblI6oUqE8 rp9uqYyOU84FkBzuyT0a9LutJo1ke8gsqRf73XuPx0oh1mSbmAuRfK2mwIgjoGqID1Tp 3qvRzpzyidTLDe6b+XHeZ6K85goWQ1lHDaxftz4kGVj2ehMQzMFySJAIQ9us1Oj5x9OH /bah5jxuwFn0nk0lvR2v3uaZ2p3FUrcY9RPxOLRkwu5ak88HhvEbBRyh48t2SkEL6pv3 1DWg== X-Gm-Message-State: AElRT7GizIhF7hWb8KG5dWSHpYSvoiRXEiAJ1R+2n2JLUzv/HneUgZ2p /tjgrSmtwOgc3tJkgZLKfxQh1J27auvCQ7KU6+A= X-Received: by 10.237.51.69 with SMTP id u63mr44802186qtd.52.1520556837555; Thu, 08 Mar 2018 16:53:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.80.148 with HTTP; Thu, 8 Mar 2018 16:53:57 -0800 (PST) In-Reply-To: <20180308120200.wpcjnbglf4x32vrp@tarshish> References: <20180308094807.9443-1-jacob-chen@iotwrt.com> <20180308120200.wpcjnbglf4x32vrp@tarshish> From: Jacob Chen Date: Fri, 9 Mar 2018 08:53:57 +0800 Message-ID: Subject: Re: [PATCH v6 00/17] Rockchip ISP1 Driver To: Baruch Siach Cc: "open list:ARM/Rockchip SoC..." , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab , Linux Media Mailing List , Sakari Ailus , Hans Verkuil , Tomasz Figa , Shunqian Zheng , Laurent Pinchart , =?UTF-8?B?6ZKf5Lul5bSH?= , Eddie Cai , Jeffy Chen , devicetree@vger.kernel.org, Heiko Stuebner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Baruch, 2018-03-08 20:02 GMT+08:00 Baruch Siach : > Hi Jacob, > > On Thu, Mar 08, 2018 at 05:47:50PM +0800, Jacob Chen wrote: >> This patch series add a ISP(Camera) v4l2 driver for rockchip rk3288/rk33= 99 >> SoC. >> >> Wiki Pages: >> http://opensource.rock-chips.com/wiki_Rockchip-isp1 >> >> The deprecated g_mbus_config op is not dropped in V6 because i am waiti= ng >> tomasz's patches. > > Which tree is this series based on? On top of v4.16-rc4 I get the build > failure below. The V4L2_BUF_TYPE_META_OUTPUT macro, for example, is not e= ven > in media_tree.git. > This series is based on v4.16-rc4 with below patch. https://patchwork.kernel.org/patch/9792001/ > drivers/media/platform/rockchip/isp1/isp_params.c:1321:3: error: =E2=80= =98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vidioc= _enum_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_enum_fmt_meta_cap= =E2=80=99? > .vidioc_enum_fmt_meta_out =3D rkisp1_params_enum_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~~~~ > vidioc_enum_fmt_meta_cap > drivers/media/platform/rockchip/isp1/isp_params.c:1321:30: error: initial= ization from incompatible pointer type [-Werror=3Dincompatible-pointer-type= s] > .vidioc_enum_fmt_meta_out =3D rkisp1_params_enum_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/media/platform/rockchip/isp1/isp_params.c:1321:30: note: (near in= itialization for =E2=80=98rkisp1_params_ioctl.vidioc_g_std=E2=80=99) > drivers/media/platform/rockchip/isp1/isp_params.c:1322:3: error: =E2=80= =98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vidioc= _g_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_g_fmt_meta_cap=E2=80= =99? > .vidioc_g_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~ > vidioc_g_fmt_meta_cap > drivers/media/platform/rockchip/isp1/isp_params.c:1322:27: error: initial= ization from incompatible pointer type [-Werror=3Dincompatible-pointer-type= s] > .vidioc_g_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/media/platform/rockchip/isp1/isp_params.c:1322:27: note: (near in= itialization for =E2=80=98rkisp1_params_ioctl.vidioc_s_std=E2=80=99) > drivers/media/platform/rockchip/isp1/isp_params.c:1323:3: error: =E2=80= =98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vidioc= _s_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_s_fmt_meta_cap=E2=80= =99? > .vidioc_s_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~ > vidioc_s_fmt_meta_cap > drivers/media/platform/rockchip/isp1/isp_params.c:1323:27: error: initial= ization from incompatible pointer type [-Werror=3Dincompatible-pointer-type= s] > .vidioc_s_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/media/platform/rockchip/isp1/isp_params.c:1323:27: note: (near in= itialization for =E2=80=98rkisp1_params_ioctl.vidioc_querystd=E2=80=99) > drivers/media/platform/rockchip/isp1/isp_params.c:1324:3: error: =E2=80= =98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vidioc= _try_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_try_fmt_meta_cap= =E2=80=99? > .vidioc_try_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~~~ > vidioc_try_fmt_meta_cap > drivers/media/platform/rockchip/isp1/isp_params.c:1324:29: error: initial= ization from incompatible pointer type [-Werror=3Dincompatible-pointer-type= s] > .vidioc_try_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/media/platform/rockchip/isp1/isp_params.c:1324:29: note: (near in= itialization for =E2=80=98rkisp1_params_ioctl.vidioc_enum_input=E2=80=99) > drivers/media/platform/rockchip/isp1/isp_params.c: In function =E2=80=98r= kisp1_params_init_vb2_queue=E2=80=99: > drivers/media/platform/rockchip/isp1/isp_params.c:1462:12: error: =E2=80= =98V4L2_BUF_TYPE_META_OUTPUT=E2=80=99 undeclared (first use in this functio= n); did you mean =E2=80=98V4L2_BUF_TYPE_SDR_OUTPUT=E2=80=99? > q->type =3D V4L2_BUF_TYPE_META_OUTPUT; > ^~~~~~~~~~~~~~~~~~~~~~~~~ > V4L2_BUF_TYPE_SDR_OUTPUT > drivers/media/platform/rockchip/isp1/isp_params.c:1462:12: note: each und= eclared identifier is reported only once for each function it appears in > CC drivers/media/platform/rockchip/isp1/mipi_dphy_sy.o > drivers/media/platform/rockchip/isp1/isp_params.c: In function =E2=80=98r= kisp1_register_params_vdev=E2=80=99: > drivers/media/platform/rockchip/isp1/isp_params.c:1507:43: error: =E2=80= =98V4L2_CAP_META_OUTPUT=E2=80=99 undeclared (first use in this function); d= id you mean =E2=80=98V4L2_CAP_VBI_OUTPUT=E2=80=99? > vdev->device_caps =3D V4L2_CAP_STREAMING | V4L2_CAP_META_OUTPUT; > ^~~~~~~~~~~~~~~~~~~~ > V4L2_CAP_VBI_OUTPUT > > Thanks, > baruch > >> Jacob Chen (12): >> media: doc: add document for rkisp1 meta buffer format >> media: rkisp1: add Rockchip MIPI Synopsys DPHY driver >> media: rkisp1: add Rockchip ISP1 subdev driver >> media: rkisp1: add ISP1 statistics driver >> media: rkisp1: add ISP1 params driver >> media: rkisp1: add capture device driver >> media: rkisp1: add rockchip isp1 core driver >> dt-bindings: Document the Rockchip ISP1 bindings >> dt-bindings: Document the Rockchip MIPI RX D-PHY bindings >> ARM: dts: rockchip: add isp node for rk3288 >> ARM: dts: rockchip: add rx0 mipi-phy for rk3288 >> MAINTAINERS: add entry for Rockchip ISP1 driver >> >> Jeffy Chen (1): >> media: rkisp1: Add user space ABI definitions >> >> Shunqian Zheng (3): >> media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format >> arm64: dts: rockchip: add isp0 node for rk3399 >> arm64: dts: rockchip: add rx0 mipi-phy for rk3399 >> >> Wen Nuan (1): >> ARM: dts: rockchip: Add dts mipi-dphy TXRX1 node for rk3288 >> >> .../devicetree/bindings/media/rockchip-isp1.txt | 69 + >> .../bindings/media/rockchip-mipi-dphy.txt | 90 + >> Documentation/media/uapi/v4l/meta-formats.rst | 2 + >> .../media/uapi/v4l/pixfmt-meta-rkisp1-params.rst | 20 + >> .../media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst | 18 + >> MAINTAINERS | 10 + >> arch/arm/boot/dts/rk3288.dtsi | 33 + >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 25 + >> drivers/media/platform/Kconfig | 10 + >> drivers/media/platform/Makefile | 1 + >> drivers/media/platform/rockchip/isp1/Makefile | 8 + >> drivers/media/platform/rockchip/isp1/capture.c | 1751 +++++++++++++= +++++++ >> drivers/media/platform/rockchip/isp1/capture.h | 167 ++ >> drivers/media/platform/rockchip/isp1/common.h | 110 ++ >> drivers/media/platform/rockchip/isp1/dev.c | 626 +++++++ >> drivers/media/platform/rockchip/isp1/dev.h | 93 ++ >> drivers/media/platform/rockchip/isp1/isp_params.c | 1539 +++++++++++++= ++++ >> drivers/media/platform/rockchip/isp1/isp_params.h | 49 + >> drivers/media/platform/rockchip/isp1/isp_stats.c | 508 ++++++ >> drivers/media/platform/rockchip/isp1/isp_stats.h | 58 + >> .../media/platform/rockchip/isp1/mipi_dphy_sy.c | 868 ++++++++++ >> .../media/platform/rockchip/isp1/mipi_dphy_sy.h | 15 + >> drivers/media/platform/rockchip/isp1/regs.c | 239 +++ >> drivers/media/platform/rockchip/isp1/regs.h | 1550 +++++++++++++= ++++ >> drivers/media/platform/rockchip/isp1/rkisp1.c | 1177 +++++++++++++ >> drivers/media/platform/rockchip/isp1/rkisp1.h | 105 ++ >> drivers/media/v4l2-core/v4l2-ioctl.c | 2 + >> include/uapi/linux/rkisp1-config.h | 798 +++++++++ >> include/uapi/linux/videodev2.h | 4 + >> 29 files changed, 9945 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/media/rockchip-isp= 1.txt >> create mode 100644 Documentation/devicetree/bindings/media/rockchip-mip= i-dphy.txt >> create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-para= ms.rst >> create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat= .rst >> create mode 100644 drivers/media/platform/rockchip/isp1/Makefile >> create mode 100644 drivers/media/platform/rockchip/isp1/capture.c >> create mode 100644 drivers/media/platform/rockchip/isp1/capture.h >> create mode 100644 drivers/media/platform/rockchip/isp1/common.h >> create mode 100644 drivers/media/platform/rockchip/isp1/dev.c >> create mode 100644 drivers/media/platform/rockchip/isp1/dev.h >> create mode 100644 drivers/media/platform/rockchip/isp1/isp_params.c >> create mode 100644 drivers/media/platform/rockchip/isp1/isp_params.h >> create mode 100644 drivers/media/platform/rockchip/isp1/isp_stats.c >> create mode 100644 drivers/media/platform/rockchip/isp1/isp_stats.h >> create mode 100644 drivers/media/platform/rockchip/isp1/mipi_dphy_sy.c >> create mode 100644 drivers/media/platform/rockchip/isp1/mipi_dphy_sy.h >> create mode 100644 drivers/media/platform/rockchip/isp1/regs.c >> create mode 100644 drivers/media/platform/rockchip/isp1/regs.h >> create mode 100644 drivers/media/platform/rockchip/isp1/rkisp1.c >> create mode 100644 drivers/media/platform/rockchip/isp1/rkisp1.h >> create mode 100644 include/uapi/linux/rkisp1-config.h >> >> -- >> 2.16.1 >> > > -- > http://baruch.siach.name/blog/ ~. .~ Tk Open Syst= ems > =3D}------------------------------------------------ooO--U--Ooo----------= --{=3D > - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -