Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1282793rdb; Sat, 18 Nov 2023 09:43:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOAjQlKMLgZgB+GmVCVuH8B9BNVDABcWzzp3ATTgU15L5qbnXbjy35wUwAelzencEtcBN8 X-Received: by 2002:a05:6a20:9187:b0:187:962d:746b with SMTP id v7-20020a056a20918700b00187962d746bmr3531615pzd.9.1700329397548; Sat, 18 Nov 2023 09:43:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700329397; cv=none; d=google.com; s=arc-20160816; b=KBU9ZC0mbYgH7DYb9JdvFfh2mjH7XRlenwKDgoy85c6h6Fn1GPFFrVi79wQtAxs8mn n8uZWlGKO9H35ubCGilUAappF3sEYu9fU8hpQvRBMzRBrrIHJTEbnj2+fHdOAfhXQNOY GK3GnyY3KiXm8un7jcurcoaQLow9JkJvl7rY5VQYb2fbYIP9OCJBWMinrTYibQzHbHTz nXWLNTjzMx5ll0jt2z4uIgUmL9rmId/fIOAwiDlsFZQ9fe1zXW2iSWFRfJNP9qPaLbDc DSeAItwBvUi3X2Wew2/8xKGPlGTLfpA7c+ZdkU4voiOQ4B5sAgF21xOprRd5SQWmTv4a VEEg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Flg3cjX3M0BMzkNxd6dhw9SgkIHrrzmjyvbrc5ZWO1w=; fh=VuBPc8SrxAx/A/HsiNqMpRXNPs5cVNPqmDnqXWuhozE=; b=JjvLlV3FfZ+2ZQpf9bDlWJddJJkYjdtldoFSphDPAy94TS9MviNp77+KfnfVWJbg2v odHhxiL56MEJmTOwB6IDUD4spjjQD7xiwnto7ecL56PvVw/48kiagg//jy24ggzo3n8m E0VM1PLdXZCgcZTRrpaYyeLIqMNHZZTGA5itr12w/QhX2WryAIauTj1LCkruZ4Z3JQ2E jMtG9tXqIVoSGUbuObi3uogsKjFCNjjC3O/dtLk9t8L4uJY1gumA5HOpkP0RJHow9Rn3 lkg0f99xtkX4Se9IFyiqBgXT0v9d+Z41dRO5s9DHDaHnd0uzquqjjmDBj4OD2/PkNERY qRzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KP1RC6Ba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id fd39-20020a056a002ea700b00691019fd0efsi4710424pfb.75.2023.11.18.09.43.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 09:43:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KP1RC6Ba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 799F380968AA; Sat, 18 Nov 2023 09:43:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230148AbjKRRmd (ORCPT + 99 others); Sat, 18 Nov 2023 12:42:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbjKRRmc (ORCPT ); Sat, 18 Nov 2023 12:42:32 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9B44130; Sat, 18 Nov 2023 09:42:28 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4083f613275so4951565e9.2; Sat, 18 Nov 2023 09:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700329347; x=1700934147; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Flg3cjX3M0BMzkNxd6dhw9SgkIHrrzmjyvbrc5ZWO1w=; b=KP1RC6Ba6PXsQozBHV4kk/de6pTWwhNQtfegrVKppUJp1i2Gyuj3aeWOT4LKFXXGy3 GClr5m3glaTo1JQECTROzX7kU/tSKtIzRMuyWkeKDG9wFjNXHoBDI3QIIice5Nn2dtmm R/SiBW26QkNiOjejH+fTiYPwXlLsMqBHhhz/E6D9AMt0K6bUz8VLCFqIpFrnL8oHhEPY pF8slpT0whttGTqad3gDSBULnOBjEIK03wuVZInvJBg60V3Q7oYNUPNgzc80y0tjigDh aZrFiCzdpEaVxCbRoXxutteel+bp8inQIXHAITMa/4xwz+QLISDHr6fBlYTNVEyIsBqW KtOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700329347; x=1700934147; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Flg3cjX3M0BMzkNxd6dhw9SgkIHrrzmjyvbrc5ZWO1w=; b=DO62MDLveag5BzJNfXmbyJLYIQ5pZr3+JcFNdSeCFCzoCsj59Wa7CZwGOskHKguEec BCiPfQB48CqdLXzmhekcJ6JiGiThRNpvJmOxt/pbm1aPijYE10aLo5NWuzOXypYqEwxM Dxgvg5qs8cYQQGsB+Hio6Q2feyWpxK4hVyNa1XM06MDD6KE+ZDfqC5bh0IyZtUKr1o2t a/hkSMuwoTJtrL/xYNviwAcZg4cB2V1gf4VLQxN3EfXPpvIQ4fW4aBryOvorNsl+WZO5 ww6PDtQaPRlvQslyJz1tkb2zNWE5Ba7f40iuyIg4ewfO6kr5cB/6Avw+2NE56wJhC9Wd RXCg== X-Gm-Message-State: AOJu0YzlzVLV7O6r6BgtM0nOL6tFdr67+FZ/RLnVrpBERbgEtnr/NAcb 9Lfd2+MBYdGHeRkzxQ+LcgQ= X-Received: by 2002:a05:600c:358d:b0:406:849f:f3cd with SMTP id p13-20020a05600c358d00b00406849ff3cdmr2461814wmq.29.1700329346812; Sat, 18 Nov 2023 09:42:26 -0800 (PST) Received: from zotac.lan. (dynamic-2a01-0c22-77bf-8300-2223-08ff-fe18-0310.c22.pool.telefonica.de. [2a01:c22:77bf:8300:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id y10-20020a05600c340a00b004068de50c64sm6964211wmp.46.2023.11.18.09.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 09:42:26 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Sandy Huang Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 01/20] drivers/gpu/drm/rockchip: remove I2C_CLASS_DDC support Date: Sat, 18 Nov 2023 18:42:01 +0100 Message-ID: <20231118174221.851-2-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231118174221.851-1-hkallweit1@gmail.com> References: <20231118174221.851-1-hkallweit1@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 fry.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 (fry.vger.email [0.0.0.0]); Sat, 18 Nov 2023 09:43:04 -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. Acked-by: Heiko Stuebner Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/rockchip/inno_hdmi.c | 1 - drivers/gpu/drm/rockchip/rk3066_hdmi.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno_hdmi.c index 6e5b922a1..a7739b27c 100644 --- a/drivers/gpu/drm/rockchip/inno_hdmi.c +++ b/drivers/gpu/drm/rockchip/inno_hdmi.c @@ -793,7 +793,6 @@ static struct i2c_adapter *inno_hdmi_i2c_adapter(struct inno_hdmi *hdmi) init_completion(&i2c->cmp); adap = &i2c->adap; - adap->class = I2C_CLASS_DDC; adap->owner = THIS_MODULE; adap->dev.parent = hdmi->dev; adap->dev.of_node = hdmi->dev->of_node; diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index fa6e592e0..7a3f71aa2 100644 --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c @@ -725,7 +725,6 @@ static struct i2c_adapter *rk3066_hdmi_i2c_adapter(struct rk3066_hdmi *hdmi) init_completion(&i2c->cmpltn); adap = &i2c->adap; - adap->class = I2C_CLASS_DDC; adap->owner = THIS_MODULE; adap->dev.parent = hdmi->dev; adap->dev.of_node = hdmi->dev->of_node;