From patchwork Mon Jun 10 15:08:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Mugnier X-Patchwork-Id: 102332 X-Patchwork-Delegate: sakari.ailus@iki.fi Received: from sv.mirrors.kernel.org ([139.178.88.99]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sGghU-00082Z-0F for patchwork@linuxtv.org; Mon, 10 Jun 2024 15:12:48 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 84A2B286105 for ; Mon, 10 Jun 2024 15:12:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E831913959A; Mon, 10 Jun 2024 15:12:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="3TpDE/EA" X-Original-To: linux-media@vger.kernel.org Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64CBD1E4A0; Mon, 10 Jun 2024 15:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032360; cv=none; b=iKFl/mj7x1hrucVcBi0sL3yQcT13OiD/SN0PhsCkwUYDAjY+6qaX3WZpQNQb40Mjxk3PhlM5glQSVsJUEFiUMnpwzvR+oZDD+q0v3Ka92wmIUEu086SVGZqfg+1Z6O/AQmKa5GGpbqSG5tLd4Rm1vdF9Wn70I17gBsxYyBvAWR8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032360; c=relaxed/simple; bh=NXhLBTrkEXqWWfEvWJJd5wwdw3tralarTH5HfE/ofXA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=P9dgIiAJUISQlEVVVsNQhrNaOrIfZSws0SfCE8AGatUXRzW9r7VhB0MsagYzBMgM0lPvP2iA2qHH0xSN3Iv+OmjAxj5V+d880OcSLKpcXOUUCWydDn7avcNYph9PUAhpAaz2zoi/YZ05WrP+H1vaBjSriE9S+mwXNCKxbro5WTA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=3TpDE/EA; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45ACQgw0001003; Mon, 10 Jun 2024 17:12:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= VC08VaT4tFI3RtxM08z5UVskQdzS+uTSHqkCNm3Oxbk=; b=3TpDE/EA8eC53Ix3 HG9sOKXdEG6aFprQloCSQkInhc3wA8oqQ/HW29IzbK7iM1JrMfSoPkl2kfYVeL0Q qBAwlrzDTSFhzVuzLO+HZX6q4SgX+bfk/vGycH6IPZBvUjJME+KybPSFVRsWfkzq 7S9G1Bd6Bdo+hS8yXIIqamHLOsxxqAFH4BpEnetItbJC77qCfo83drvquMidq3Jf 7v+3FGunLAjrxiQDye8YUa1yUT7aiAz9SL2sA8bHSN3UafLDXXGLfP/M9hNuN8NX 98i8TokAAMMn/CnaiAFpmhtYEaUBZUcUBv6ts2BhMCKWrWi5L9fn01L9S6AC8r8c +MBA4g== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3yn28hw81n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 17:12:29 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 46F644002D; Mon, 10 Jun 2024 17:12:25 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 772AB21B537; Mon, 10 Jun 2024 17:11:47 +0200 (CEST) Received: from localhost (10.130.72.241) 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.35; Mon, 10 Jun 2024 17:11:47 +0200 From: Benjamin Mugnier To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sylvain Petinot , Sakari Ailus , Laurent Pinchart CC: , , , Benjamin Mugnier Subject: [PATCH 1/3] media: vgxy61: Fix driver name Date: Mon, 10 Jun 2024 17:08:13 +0200 Message-ID: <20240610150815.228790-2-benjamin.mugnier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> References: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-10_02,2024-06-10_01,2024-05-17_01 X-LSpam-Score: -4.9 (----) X-LSpam-Report: No, score=-4.9 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no From 'st-vgxy61' to 'vgxy61'. Align with other drivers to not use the vendor prefix. Also the vendor prefix is already mentioned in the device tree compatible string, being 'st,vgxy61', and does not need to be expressed twice. Signed-off-by: Benjamin Mugnier --- .../media/i2c/{st,st-vgxy61.yaml => st,vgxy61.yaml} | 6 +++--- Documentation/userspace-api/media/drivers/index.rst | 2 +- .../media/drivers/{st-vgxy61.rst => vgxy61.rst} | 0 MAINTAINERS | 8 ++++---- drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/Makefile | 2 +- drivers/media/i2c/{st-vgxy61.c => vgxy61.c} | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) rename Documentation/devicetree/bindings/media/i2c/{st,st-vgxy61.yaml => st,vgxy61.yaml} (95%) rename Documentation/userspace-api/media/drivers/{st-vgxy61.rst => vgxy61.rst} (100%) rename drivers/media/i2c/{st-vgxy61.c => vgxy61.c} (99%) diff --git a/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml b/Documentation/devicetree/bindings/media/i2c/st,vgxy61.yaml similarity index 95% rename from Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml rename to Documentation/devicetree/bindings/media/i2c/st,vgxy61.yaml index 8c28848b226a..4e4c2c7ad168 100644 --- a/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml +++ b/Documentation/devicetree/bindings/media/i2c/st,vgxy61.yaml @@ -2,7 +2,7 @@ # Copyright (c) 2022 STMicroelectronics SA. %YAML 1.2 --- -$id: http://devicetree.org/schemas/media/i2c/st,st-vgxy61.yaml# +$id: http://devicetree.org/schemas/media/i2c/st,vgxy61.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: STMicroelectronics VGxy61 HDR Global Shutter Sensor Family @@ -23,7 +23,7 @@ description: |- properties: compatible: - const: st,st-vgxy61 + const: st,vgxy61 reg: maxItems: 1 @@ -95,7 +95,7 @@ examples: #address-cells = <1>; #size-cells = <0>; vgxy61: csi2tx@10 { - compatible = "st,st-vgxy61"; + compatible = "st,vgxy61"; reg = <0x10>; clocks = <&clk_ext_camera>; VCORE-supply = <&v1v2>; diff --git a/Documentation/userspace-api/media/drivers/index.rst b/Documentation/userspace-api/media/drivers/index.rst index 2252063593bf..d706cb47b112 100644 --- a/Documentation/userspace-api/media/drivers/index.rst +++ b/Documentation/userspace-api/media/drivers/index.rst @@ -35,6 +35,6 @@ For more details see the file COPYING in the source distribution of Linux. max2175 npcm-video omap3isp-uapi - st-vgxy61 thp7312 uvcvideo + vgxy61 diff --git a/Documentation/userspace-api/media/drivers/st-vgxy61.rst b/Documentation/userspace-api/media/drivers/vgxy61.rst similarity index 100% rename from Documentation/userspace-api/media/drivers/st-vgxy61.rst rename to Documentation/userspace-api/media/drivers/vgxy61.rst diff --git a/MAINTAINERS b/MAINTAINERS index ef6be9d95143..3838f2ad77ca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20891,9 +20891,9 @@ M: Sylvain Petinot L: linux-media@vger.kernel.org S: Maintained T: git git://linuxtv.org/media_tree.git -F: Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml -F: Documentation/userspace-api/media/drivers/st-vgxy61.rst -F: drivers/media/i2c/st-vgxy61.c +F: Documentation/devicetree/bindings/media/i2c/st,vgxy61.yaml +F: Documentation/userspace-api/media/drivers/vgxy61.rst +F: drivers/media/i2c/vgxy61.c ST VL53L0X ToF RANGER(I2C) IIO DRIVER M: Song Qiang @@ -23210,7 +23210,7 @@ F: drivers/media/i2c/mt* F: drivers/media/i2c/og* F: drivers/media/i2c/ov* F: drivers/media/i2c/s5* -F: drivers/media/i2c/st-vgxy61.c +F: drivers/media/i2c/vgxy61.c VF610 NAND DRIVER M: Stefan Agner diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index c6d3ee472d81..25619d5e29c4 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -659,7 +659,7 @@ config VIDEO_S5K6A3 This is a V4L2 sensor driver for Samsung S5K6A3 raw camera sensor. -config VIDEO_ST_VGXY61 +config VIDEO_VGXY61 tristate "ST VGXY61 sensor support" select V4L2_CCI_I2C depends on OF && GPIOLIB diff --git a/drivers/media/i2c/Makefile b/drivers/media/i2c/Makefile index dfbe6448b549..d322ba161da5 100644 --- a/drivers/media/i2c/Makefile +++ b/drivers/media/i2c/Makefile @@ -124,7 +124,6 @@ obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o obj-$(CONFIG_VIDEO_SONY_BTF_MPX) += sony-btf-mpx.o obj-$(CONFIG_VIDEO_ST_MIPID02) += st-mipid02.o -obj-$(CONFIG_VIDEO_ST_VGXY61) += st-vgxy61.o obj-$(CONFIG_VIDEO_TC358743) += tc358743.o obj-$(CONFIG_VIDEO_TC358746) += tc358746.o obj-$(CONFIG_VIDEO_TDA1997X) += tda1997x.o @@ -148,6 +147,7 @@ obj-$(CONFIG_VIDEO_TW9910) += tw9910.o obj-$(CONFIG_VIDEO_UDA1342) += uda1342.o obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o +obj-$(CONFIG_VIDEO_VGXY61) += vgxy61.o obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o obj-$(CONFIG_VIDEO_WM8739) += wm8739.o diff --git a/drivers/media/i2c/st-vgxy61.c b/drivers/media/i2c/vgxy61.c similarity index 99% rename from drivers/media/i2c/st-vgxy61.c rename to drivers/media/i2c/vgxy61.c index b9e7c57027b1..30378e962016 100644 --- a/drivers/media/i2c/st-vgxy61.c +++ b/drivers/media/i2c/vgxy61.c @@ -1878,7 +1878,7 @@ static const struct dev_pm_ops vgxy61_pm_ops = { static struct i2c_driver vgxy61_i2c_driver = { .driver = { - .name = "st-vgxy61", + .name = "vgxy61", .of_match_table = vgxy61_dt_ids, .pm = &vgxy61_pm_ops, }, From patchwork Mon Jun 10 15:08:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Mugnier X-Patchwork-Id: 102333 X-Patchwork-Delegate: sakari.ailus@iki.fi Received: from am.mirrors.kernel.org ([147.75.80.249]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sGgij-00086Z-1v for patchwork@linuxtv.org; Mon, 10 Jun 2024 15:14:06 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 745B41F23AA4 for ; Mon, 10 Jun 2024 15:14:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AA28A13D8A7; Mon, 10 Jun 2024 15:13:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="YmM5T9X9" X-Original-To: linux-media@vger.kernel.org Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC4031E4A0; Mon, 10 Jun 2024 15:13:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032420; cv=none; b=T6kDDBWDSEPnI3oXnsqdRAfuKPBvKTXnec2JL1TVyocZD59HnPJ3mKb7ZxcoM4fLf7RWNeRRu7yxQR8iIb1VJk9T02g5UafBiIAoc4b2kOXMqsFe1yXpyGIl1ns3rDv9K0NK0nf8L+jr26hSeoZKJnvNDnJihHYgKbvcP4jV3tY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032420; c=relaxed/simple; bh=dbA4Q3NljLWwLfg/8YvXVrf5EDb7VvwfPHiP54AJwxw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dADORH0e9fLKP0HGHpsP2fhxoEUw9++3ZQ105nYvaQMsqK+NODCicX54bPFOUVgbk9gLYURaghVFPXddwYiMVgdImHlOYPdKLuNyxMWJvkgrSDzhpQBZf5PiEbPcONYukJ0p+ybeNw0HNiXWIOQsB6Xk0SHRCRwxX+M8AaNYLIs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=YmM5T9X9; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45ACQgw7001003; Mon, 10 Jun 2024 17:13:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= d59bYfJuaPhoU7eyu8V9rWLVgMTR5ee1jrq+gL9cAfo=; b=YmM5T9X9g0Ajhl9n q4RYmKMuOkch3NNYlz/4DIM51JmMNpCPejovRQ1bHRAcBe6MHXzA2GwnAppYQLOf A1MaI7uysbtMJfZDeJic7Bh2LVh1VVDgE5I6ttmOj3BPcxSyigT7mMPd47PXeXnw R7xr3TExnWQ5wsnvvpQqLLz8vtmguHa23hzoa9EFjjPWDw/HU/AD5QsRsmwqUf9o cvpuxTZplbSIzUv0Ae8jJAzLvG790iXyOqZBlFfcroCbktD6nMKqt6Uy+qKCDHJR mZqcpRCykjflJaKf6GMi0wIPBVPHGaYLsRGV+3wiCsCjJ8rN1iYFYpcpZAdbRTK3 QqooJw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3yn28hw854-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 17:13:29 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id CD79840045; Mon, 10 Jun 2024 17:13:25 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0EA2221B537; Mon, 10 Jun 2024 17:12:48 +0200 (CEST) Received: from localhost (10.130.72.241) 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.35; Mon, 10 Jun 2024 17:12:47 +0200 From: Benjamin Mugnier To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sylvain Petinot , Sakari Ailus , Laurent Pinchart CC: , , , Benjamin Mugnier Subject: [PATCH 2/3] media: vgxy61: Add legacy compatible string Date: Mon, 10 Jun 2024 17:08:14 +0200 Message-ID: <20240610150815.228790-3-benjamin.mugnier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> References: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-10_02,2024-06-10_01,2024-05-17_01 X-LSpam-Score: -2.6 (--) X-LSpam-Report: No, score=-2.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no As the driver has been renamed from 'st-vgxy61' to 'vgxy61', its compatible string has been updated to reflect this change. Therefore old device trees will not work anymore. Add the old driver name as another compatible name to handle the retro compatibility. Signed-off-by: Benjamin Mugnier --- drivers/media/i2c/vgxy61.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/i2c/vgxy61.c b/drivers/media/i2c/vgxy61.c index 30378e962016..ca3b43608dad 100644 --- a/drivers/media/i2c/vgxy61.c +++ b/drivers/media/i2c/vgxy61.c @@ -1867,6 +1867,11 @@ static void vgxy61_remove(struct i2c_client *client) } static const struct of_device_id vgxy61_dt_ids[] = { + { .compatible = "st,vgxy61" }, + /* + * Previously the driver was named 'st-vgxy61' instead of simply + * 'vgxy61', keep it for retrocompatibility purposes. + */ { .compatible = "st,st-vgxy61" }, { /* sentinel */ } }; From patchwork Mon Jun 10 15:08:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Mugnier X-Patchwork-Id: 102334 X-Patchwork-Delegate: sakari.ailus@iki.fi Received: from ny.mirrors.kernel.org ([147.75.199.223]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sGgjb-00089B-2W for patchwork@linuxtv.org; Mon, 10 Jun 2024 15:15:00 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A87391C2285A for ; Mon, 10 Jun 2024 15:14:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B057B13C819; Mon, 10 Jun 2024 15:14:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="1H0IFhza" X-Original-To: linux-media@vger.kernel.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C7651E4A0; Mon, 10 Jun 2024 15:14:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032491; cv=none; b=WqaJKtD+rjldkebKadzffIZyCHjmBflwVpji9sbRvHc508WC36Zexz6bXwDFrkhtiN45X6RTu3ZmLRIL3dDD78BDpR1xeHp4v3O/PGvVqwp9reOcbtonOgpU9iOTH1QPQKfCbD5lDh0oWe1bxLvJwApBjcQPt3GzzOrEbg/f3i8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032491; c=relaxed/simple; bh=IjlJcW2rpcpR2AhzMpx2AVjJOXObCUBp5FaDLv7xw4M=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Op7Ljwc486bI4rtP5u9w9iHeORyaZo6B+vauES8uoqL9aEZ3G0fYtTbI0ok337rNsaaM2mVB2RGtc2FHB8gAN52GA24KVujCx5QTjdJ6HqHvcRjtazF5jB593M8Jh0ayUnlZJnbiJ8fVNgyjnTAP+rjaUqQwkIGYMKuPGPKXpfE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=1H0IFhza; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45ACQhJW012970; Mon, 10 Jun 2024 17:14:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= NW9V2p3c6jEdfWsts/AzRAESe219hPF54H1y4m1f7Hk=; b=1H0IFhzamhX0Dprg 4UXoYUi8bj956wyWORsaplevL7RVsSYmXr62lwovRdP884aIiv8ldwaN2Mz2AhZo QsknU78+knd5BoVhPGK0Qmr4GqF1dVOeIDWD8RhTrhoovkaeosDIuYLYXCuiOepg OCvn1JN18ufLjTScuQ2kJWTU7BYXGBRJjoh4qWTqVqbmmTvnYfLD4osSirF4E1az Lma+2RCe3w6q2WYDAcHhH8cmWBNGBE3L3vG2CoBoEBeUHH+MOF2x8bm+o7xP+LyB gYoeOkZBLVLMyPkN5voQ/zKOX96TrcxkkN+ZNWkYMorT4xuEC/QCGjXkcwtbT/gD J/CZZg== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ymcqgfsee-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 17:14:41 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 74D774002D; Mon, 10 Jun 2024 17:14:24 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9F61921B53E; Mon, 10 Jun 2024 17:13:48 +0200 (CEST) Received: from localhost (10.130.72.241) 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.35; Mon, 10 Jun 2024 17:13:48 +0200 From: Benjamin Mugnier To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sylvain Petinot , Sakari Ailus , Laurent Pinchart CC: , , , Benjamin Mugnier Subject: [PATCH 3/3] media: vgxy61: Add MODULE_ALIAS() Date: Mon, 10 Jun 2024 17:08:15 +0200 Message-ID: <20240610150815.228790-4-benjamin.mugnier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> References: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-10_02,2024-06-10_01,2024-05-17_01 X-LSpam-Score: -2.6 (--) X-LSpam-Report: No, score=-2.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no Preserve user space retro compatibility after the device rename. Signed-off-by: Benjamin Mugnier --- drivers/media/i2c/vgxy61.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/vgxy61.c b/drivers/media/i2c/vgxy61.c index ca3b43608dad..c85f356946ca 100644 --- a/drivers/media/i2c/vgxy61.c +++ b/drivers/media/i2c/vgxy61.c @@ -1898,3 +1898,4 @@ MODULE_AUTHOR("Mickael Guene "); MODULE_AUTHOR("Sylvain Petinot "); MODULE_DESCRIPTION("VGXY61 camera subdev driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:st-vgxy61");