Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp426585lqp; Mon, 10 Jun 2024 08:14:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwfzmMLEJoER4EyvpStTEpOSAGMLf1Y7Uv/N/llkegN+ZsyfAc+/p+ajRcAVm8WkMcB5QwQylfU1SbIZjW8mPQhfjByhWCkwRMQVMhfg== X-Google-Smtp-Source: AGHT+IEzTp2BncDx7/X2hqK12WlS+sDxfEhyRx16zliCWrJ/7ely7SOxZ0CUGcQZ7/YyGsfAqan4 X-Received: by 2002:a50:d69b:0:b0:57c:6234:e95b with SMTP id 4fb4d7f45d1cf-57c6234e9acmr4718303a12.5.1718032440060; Mon, 10 Jun 2024 08:14:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718032440; cv=pass; d=google.com; s=arc-20160816; b=PJk6qjNegKM4zWqA9cxKVv/iLK7jtw02q8PDv1bIv7jPE+d+M/ZiBlOB3rPFKmgwdZ TGPbA8hswbZZxQFVxSEZoCBMYFGVLsf//dNfB7qHe5xjl4vy48gKJNRilfhdpPn26Vy/ KWBEY1HCzsXTQWp7q/CKh0jJFbkywIKpVEBt1XyQVPLWx57FOt5UCcDxvyib4mfgXFHJ HLr2OTITOXopEIZFX/ZqGnrT59AdVnrIW7nPALF8GSMptbVxEvsGTimXvGvc44VP4Lbd rA5bS9Lu4KRAnIxBH1MXKzNWLnX2kVStXL4jJKIfdV/FlDEMV4WZfb+4hsugEE0Fr4/2 B4BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VC08VaT4tFI3RtxM08z5UVskQdzS+uTSHqkCNm3Oxbk=; fh=KaYzQqGFw8iE4QGjF0JXgOT4TtmwEZ35Fg4KqlPBbrU=; b=ZIMQqijdJVb+xRvZs+gutZ12JcYlA7AeoDQ20MvnlOnjGJETm9+kvtPoyTc5Hic+8G 6Vg5CU3SWD1OvXSw2gyj7RHCE2IrnePicGIUB8pGpVeWiOHRzEpbiJ5n0m920uvmgX6f GK2PnmmUpDLC3862rr0OLjcGorvVFPfj6Ur9hDMcDtKS2yX4+cUVWcqAc/F5XnBH+ZKa ShnL3L35B6NxsSyuhTfCxbD4uH1oeg18KSq0WSeZZkiw3LeIyy4XTDJEn3nT90pLiKQU zywtdKZ7Tr2gdGl5Rj687rqR8N5ZmyofUfONoLJDI5S9v+4ilmI9mVZFPi5myHkBnPc5 etrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="3TpDE/EA"; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-208430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c611b8272si3073060a12.682.2024.06.10.08.13.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 08:14:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="3TpDE/EA"; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-208430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 0F6F51F23010 for ; Mon, 10 Jun 2024 15:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 917BE13D2A2; Mon, 10 Jun 2024 15:12:41 +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" 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 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, }, -- 2.25.1