Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp443999lqp; Mon, 10 Jun 2024 08:41:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6mI5OGUXsZOZGhYa/Jq7vBC03s9A3dXfavw7AjpSJ0Hv8AGPuiZQX9VT+K7PLygMOJAzxqZ2ovVUR3ErhEetF7DOwr9UIk8p2ifFBzQ== X-Google-Smtp-Source: AGHT+IEMnh/EJO6qFU2mNMyL8Bi6mp82dUjk33dkuv9AZy+5Igyez3c973L00rUxJ/9eO5+p79al X-Received: by 2002:a05:6e02:1789:b0:375:a6cd:dff2 with SMTP id e9e14a558f8ab-375a6cdeb28mr38914805ab.5.1718034105518; Mon, 10 Jun 2024 08:41:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718034105; cv=pass; d=google.com; s=arc-20160816; b=sJpllgYS7M6JYi62At1zceI91utkn6iI0pHHUApKcOYt8g6NAB9ExzCscOomKPUACM uodsIapQ+rZEMgWZVfOoVJCITWJIlb/mtw6YEGuV7AWgLVI6n8kBnGlDklT1e9shfFpd ENRAWZLG5nf8mLyZDEE5lo28RfR02f3Rz3OLo6q0kWsVmppgj/RsBh5dIwCUNBUlc64A rhfM+woI0qtz9c93R3Wa9ptBl+zXf0miyH+4QJTUt1SxviU8tUfWiyZxJPU67Ude9uqA Cr6OHEBkYN/SYNYfLN4siEemR3nU20zjUV+aUgjmjoUwvXH/f4BNC+R+1NHO3FrQNB3a FbZg== 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=d59bYfJuaPhoU7eyu8V9rWLVgMTR5ee1jrq+gL9cAfo=; fh=KaYzQqGFw8iE4QGjF0JXgOT4TtmwEZ35Fg4KqlPBbrU=; b=F9LJN44TqPIScqtrVc3ZBByR2EwDBqhtyGls9ES86vLJT243jtSpkE9MdOUaXMLjc5 YD82qNZtMiwL0dtQM22ydHsP3BGT0SaVCKcKooa/fI7BQV6POQl3NiDdkKzO76DvdqAf yfCHrQh6YsDUTVCB/jgeddi4rI8U+ZWIQJEKJMOqEhEwVT+G4lpURZgAD6JgfBxNvqZs qNYP9bjGC9kRBnxfn7tsuZ9UBwB4RTuZ0ouJSZv15s6QpBKVdCHsgMdsGO7fc8PvD9K0 Vgo3PjIohQkFk4FdA1JmlF1KUBHT9bs2hhD+FitIf6K0JG3/tVPGhRwsE9+uQ2Rzj+uT WOCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=YmM5T9X9; 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-208434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208434-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 sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2760a680si7795268a12.524.2024.06.10.08.41.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 08:41:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=YmM5T9X9; 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-208434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208434-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7632AB23CEC for ; Mon, 10 Jun 2024 15:14:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29E2F13A26B; Mon, 10 Jun 2024 15:13: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="YmM5T9X9" 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-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 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 */ } }; -- 2.25.1