Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1613663rdb; Sun, 19 Nov 2023 03:28:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVV9Mqi4muLe1fLf1k/N8n9BkNlFC7oTR7jR8k662QnwL9r/iCl/ndrumU3fxhKkKLXd6Y X-Received: by 2002:a9d:7554:0:b0:6b7:4a52:a33a with SMTP id b20-20020a9d7554000000b006b74a52a33amr5129747otl.14.1700393317607; Sun, 19 Nov 2023 03:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700393317; cv=none; d=google.com; s=arc-20160816; b=YquD0tC+5x+f+vZv+5iokUPq0qQRspBN5RGMAxhFFekpBrZSmUrvY7K8MAweDILWMp irDS2ueB9Skl/6Bxelpo4h2ui2fhWarYDenSKFCk6vWzCTTxRxGeIkVyB3fdvgwQ8bY5 gaTSE38ik4ylW1JTd7qRIkXvqdMBsa3ZtM/ZZCG7c1tcPcQHMCiRiuTL7BHl6FSCKBxt Dmcn4km/R8+7JjtcC5GqOjmgcof9L76Fpv1rJz8TYNnxjLPJvwcCMZ260aJoTKmd9uYZ 6tTcX0MR6z0kxf0mQ5fzhNGWAEFKecmYGH+hY+Dzc0luH5caez3TffDSm0Q4sekDmT3w K+Aw== 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=4zsSf4ZkDNs2IGAtcWQSvygdvnaeiSuxsGnh/E5aZTQ=; fh=m/zuDY1Qb7BqNPekI1i646u43TWhse5XakOCiqIeoAY=; b=L3uCCZRdkSosePf4G2sOBL7momNAzr6W4u0ywU63JTl6Q0oTQ8DAnb/gg3xuEpV4Lp 28hh5yMqxdGeFNUufL9xQIT/7OiJM08cFl66rNqnX06p4b2LR8sz+WdIuKL3ChKtjjF8 aVIQDZFuw/7sAbXzfuKcDmNGYYSd/cKxzBGhmvNqq1zeysVzDX87t97D8h1HPqMLFh8q boYjb1j7re7MAFZw0znKuNtx9zJjd55+kKRNSUki//lB4f1hy22Fki3+nXb3161Ljw7+ GPMtq4dGWakEu5jC1DRBstxavd/l2jagZMwWJmKICF6RPbSlsdhA6NtKr6sEYf+zkLxd Jr/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bnA0tP14; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ck15-20020a056a02090f00b005b9687105dfsi6507899pgb.597.2023.11.19.03.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:28:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bnA0tP14; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4388280C65F8; Sun, 19 Nov 2023 03:28:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230389AbjKSL2f (ORCPT + 99 others); Sun, 19 Nov 2023 06:28:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229799AbjKSL2e (ORCPT ); Sun, 19 Nov 2023 06:28:34 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33215E5; Sun, 19 Nov 2023 03:28:31 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9e1021dbd28so477052066b.3; Sun, 19 Nov 2023 03:28:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700393309; x=1700998109; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4zsSf4ZkDNs2IGAtcWQSvygdvnaeiSuxsGnh/E5aZTQ=; b=bnA0tP148W7CJIU82sYZyZBhYaDN3L9DLYQvDUB82xdoNXmbtSeJrYqUZmxe1vBsSj XWMTCBIwQFo6UNWSol3sOWrEYhCgI6HKVYf0Xa8hcA51VfiV6+CwIdKhLDPeA83pL1jt 6v7egUB7cOVnGOHt+sUAWwyEdG9S3YHLXDiefVgMBGtkcpGiWjBbVMYWciTe1OeiZOf7 1gz1hEEQYvTU/KHrEy7jV5ioA1mM0GBXQ+9/aa0NtYRE8WBepTymMHqiNmvRpxAaApMJ spPYk6F94wBnNLreAs3Xlk7l+PmHS3K150mVvAFjbzzOwvyyhZmisAKOQUuOYVoSa5N5 lm/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700393309; x=1700998109; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4zsSf4ZkDNs2IGAtcWQSvygdvnaeiSuxsGnh/E5aZTQ=; b=ZsVddsCMXvZyKYw/YfOilQpybG6LHBCWJstURsR294txcSDYcMzAuZMNlDPERG46pA rdl5s825xD4MFtTUZ4KAVGChyeN22/4tx2+vHVIkJoAFLGGXEEd4LzOGv388gKl9Yy5p lrdJsZQgwwgKJDuCjoV+6ZtIiISzkdFIdD3Bb2iBRoDKFHx+k9cc7ThKH1OYyPLH6pZu M5Ad+15OP3Z8L74uVH+ylNzwDFxGx6zY+n9llSv63Jir+mXiZ4dqoaK6hPRidyO8EfNV 3JyH60vJYfDYZmRdf3q1aDtu/hwUzKcfdiju2V1QlokhsinUuHYNtYT01buhFC5qIemp jXuw== X-Gm-Message-State: AOJu0Yxc3boAlP2+afEVxq8SGb9Gm7WzNCMtw42BmzFoeSHpULtzSjhh GCbys3cTyvfedlXVuafWjBo= X-Received: by 2002:a17:906:2b56:b0:9d3:8d1e:cf0 with SMTP id b22-20020a1709062b5600b009d38d1e0cf0mr2841220ejg.54.1700393309393; Sun, 19 Nov 2023 03:28:29 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c23-bde4-3e00-2223-08ff-fe18-0310.c23.pool.telefonica.de. [2a01:c23:bde4:3e00:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id k22-20020a1709063fd600b009f8af454d0dsm2420378ejj.112.2023.11.19.03.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:28:29 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , intel-gfx@lists.freedesktop.org Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , linux-fbdev@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thomas Zimmermann , Jocelyn Falempe , linux-sunxi@lists.linux.dev, linux-mediatek@lists.infradead.org, Sean Paul , Marijn Suijten , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz Subject: [PATCH v3 RESEND 00/20] remove I2C_CLASS_DDC support Date: Sun, 19 Nov 2023 12:28:05 +0100 Message-ID: <20231119112826.5115-1-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sun, 19 Nov 2023 03:28:36 -0800 (PST) After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series should be applied via the i2c tree. v2: - change tag in commit subject of patch 03 - add ack tags v3: - fix a compile error in patch 5 Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | 1 - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 - drivers/gpu/drm/ast/ast_i2c.c | 1 - drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 1 - drivers/gpu/drm/display/drm_dp_helper.c | 1 - drivers/gpu/drm/display/drm_dp_mst_topology.c | 1 - drivers/gpu/drm/gma500/cdv_intel_dp.c | 1 - drivers/gpu/drm/gma500/intel_gmbus.c | 1 - drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c | 1 - drivers/gpu/drm/gma500/psb_intel_sdvo.c | 1 - drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c | 1 - drivers/gpu/drm/i915/display/intel_gmbus.c | 1 - drivers/gpu/drm/i915/display/intel_sdvo.c | 1 - drivers/gpu/drm/loongson/lsdc_i2c.c | 1 - drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 1 - drivers/gpu/drm/mgag200/mgag200_i2c.c | 1 - drivers/gpu/drm/msm/hdmi/hdmi_i2c.c | 1 - drivers/gpu/drm/radeon/radeon_i2c.c | 1 - drivers/gpu/drm/rockchip/inno_hdmi.c | 1 - drivers/gpu/drm/rockchip/rk3066_hdmi.c | 1 - drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c | 1 - drivers/video/fbdev/core/fb_ddc.c | 1 - drivers/video/fbdev/cyber2000fb.c | 1 - drivers/video/fbdev/i740fb.c | 1 - drivers/video/fbdev/intelfb/intelfb_i2c.c | 15 +++++---------- drivers/video/fbdev/matrox/i2c-matroxfb.c | 12 ++++-------- drivers/video/fbdev/s3fb.c | 1 - drivers/video/fbdev/tdfxfb.c | 1 - drivers/video/fbdev/tridentfb.c | 1 - drivers/video/fbdev/via/via_i2c.c | 1 - include/linux/i2c.h | 1 - 31 files changed, 9 insertions(+), 47 deletions(-)