From patchwork Mon Nov 27 13:51:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 17142 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3126067vqx; Mon, 27 Nov 2023 05:52:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXU/43jZhJBLO/yc1Js7Q0XyWyxtmCK2+bYz7SnApcpfTmtBEZD1oOeSa18Ha3Tay0TDT3 X-Received: by 2002:a05:6a00:884:b0:6be:2e07:5c5c with SMTP id q4-20020a056a00088400b006be2e075c5cmr12042110pfj.20.1701093121740; Mon, 27 Nov 2023 05:52:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701093121; cv=none; d=google.com; s=arc-20160816; b=EEsrU9L0tWE7ZyoK9W3/uoZSVil0PNLOyQUfxD/QCzJdfWHEki4f3SM4PhI9D+LwRd bfbP5+4cPq9V2SWbLKnzTxSPgKkF0HIe5jfyc+Nuqnme9ikNph0qbm27tNoK+Tay6yxq 3Pv6Ya0VbN9CDLeqiG7vu6yFZFe739TN0KXyA+0R3AYlFmzU42s3f4JFsIrz5ZvhQYdX +DGpD0aajDpCjESarBhHNcRkrjwj4VLLw+CVMIHyUWkVO31ZjyzWsXIH6EaSkTb0jX+o vjCDeVE5TpuHU5pk4l9UVyg1KJYbH8HQ4Qby1fatr+9dYEggkA1OJCC1ySjESAcIdfMf s9qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=DF2OIEewUh5+1ayOsbMuAkChSkmhZv8jd9YCZXorCH4=; fh=BxHfF2UDrFCvfdViTfHf9aSnaVPPddZPsK97tb04y2I=; b=bcNuLq7xBkkJhZmLOkinIcwrYeHrpLndBo7WXgRj+SDwPpo7FD43bhNDsQRhbq0Lb/ 2nOgr5++2masrn9fpaBAMccUJfMiSpK3arMyIkoBvWhtdu3lVq0GrOjFo3cklPVcJ6dE e8X4VPzrL7lXLMo6iY5vfy/KEHQOaGZFBEDNLF8ScAxK8togjYqoUDi7nnusz3BXEAKW 5bKZCM6XrHaG56vMhg9CPAW8eWCWH5qZWDdsg3SMVuG4B/kdsnSb6s/8hIkwlvBR7EzE 1dJyNZqcTlTaPUV+aglrSs3iGFIHxdSMTQZIVmIdL7bUlABC3umPp6ygpjXM9hjpOXtS i0aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=5OG6liUX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c1-20020a63da01000000b005898e10f9cbsi10068346pgh.572.2023.11.27.05.52.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:52:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=5OG6liUX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 875A88097161; Mon, 27 Nov 2023 05:51:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233074AbjK0Nvt (ORCPT + 99 others); Mon, 27 Nov 2023 08:51:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233121AbjK0Nvs (ORCPT ); Mon, 27 Nov 2023 08:51:48 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E6F3136; Mon, 27 Nov 2023 05:51:53 -0800 (PST) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3ARDYkX8032119; Mon, 27 Nov 2023 14:51:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=DF2OIEe wUh5+1ayOsbMuAkChSkmhZv8jd9YCZXorCH4=; b=5OG6liUXwAr/1RNi9KgJuX3 UOFkgaYgx27+LxqYd5z354DlUdDEymjVoCyB5J236sasptrXjFFYfeN3Ddr1m4p6 DMdFfugctWVTh+mK1Egx118djBRK8Ulo8dd/4pG1zNAWx0aWfLaHF/+aH+ovpCY2 oTsKcJry/tDf+DpLGhrdLF2K9gg2eTpaoM7QtHg7oyVNtpVOJUHgliS9ulh33nnr //VWDwLd5P/meoEXA1IERPOIDFFNj8PrB/6F0kSjtKwZ05Cx2FRlLbwMvT8YECt4 dTDlAtj2u84sGB1pUoff7V9Zbd9AUcTZJR3yqbtJEZx7mouJhSLDFdekBFY2CJA= = Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3uk951qxbt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 14:51:44 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 668AC10002A; Mon, 27 Nov 2023 14:51:44 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5E07F2291B5; Mon, 27 Nov 2023 14:51:44 +0100 (CET) Received: from localhost (10.129.178.213) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 27 Nov 2023 14:51:44 +0100 From: Alain Volmat To: Benjamin Mugnier , Sylvain Petinot , Sakari Ailus , Mauro Carvalho Chehab CC: Alain Volmat , , Subject: [PATCH v2 0/2] media: i2c: st-vgxy61: add subdev events & fwnode ctrls Date: Mon, 27 Nov 2023 14:51:10 +0100 Message-ID: <20231127135113.1424113-1-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.129.178.213] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-27_11,2023-11-27_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 05:51:58 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783725421104070123 X-GMAIL-MSGID: 1783725421104070123 Correct v4l2-compliance test by adding flag V4L2_SUBDEV_FL_HAS_EVENTS and subscribe hooks and add fwnode properties in order to be able to expose sensor properties such as orientation & rotation. v2: rebased on top of Sakari's tree master branch, needed due to merge conflict following internal_ops addition (init_state) Alain Volmat (2): media: i2c: st-vgxy61: Add V4L2_SUBDEV_FL_HAS_EVENTS and subscribe hooks media: i2c: st-vgxy61: add v4l2_fwnode ctrls parse and addition drivers/media/i2c/st-vgxy61.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)