Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp39770rdb; Thu, 16 Nov 2023 11:15:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+KDm2z+rWcp9Bq/EcjuadPMUJr4N9DOIOry6raRTEUQQZHwFwqbwDmeivQJKtbynAZ9Nn X-Received: by 2002:a17:903:32c4:b0:1cc:3b86:cfc5 with SMTP id i4-20020a17090332c400b001cc3b86cfc5mr11104206plr.4.1700162118956; Thu, 16 Nov 2023 11:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700162118; cv=none; d=google.com; s=arc-20160816; b=ohmtk9u6XNXGZjBBXmcX4k1BNH7E3sha24QP1ed/slULwrbb1xxrNTHgCTYbYEmfio YDNrX0a010JafRXheCC6NJWucxjF5TzdFoMD6yAkxEoERajnLREj7rrtKf0c6GUXxNpY EHSxFsAjVYivUT0FP9mHck2kdUjTpPyXB5Qo5LNDavnWa6jTf/LYfv1a84TUuVr+0B6m iI1gduOk1TT9K0VWFGmOLrzbLeZV8oPX4AGnRDex9bYw70XfU6JjWgHcHRwfTkJMMtpV Qrx4Kbz3xXqeJr83hBuKTuABXcL0EUAFCy6GBl+BZsod9oHyPUL9NJo91DWv47mJnu/q uHIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MWiF1WqqxyBapoclv3EkYIJfdBOsrn+v/ULRkmttT6o=; fh=AtWGYOJDle0AUODgwdiQ7GfcRrg+cVt6LV7I5mkXENw=; b=LrQgQNby7JEJuwyrIG9MdffmcbnyhaDeSWv/50lB7hXHqF0Ha3es+GZZ8LwD/amCia 3oi4+9efTMS0i2FUoUA295n7z7Evv5FlnXh4uZx4dCiuY4T1HFIlmMtoaRQ4Rs5gorGM aDf2FMb711mxFoTm8tWYH/VmBGjbh8xB+GGqntkEL/gzChZ5ODn6QSKSvqgGVYPHx/ch tIm8XYlaomp9DwxTgGg+3MMSPTffwH4GnXoqAUqIj7UyeKMuPfAvfc5EugA2vigQ8FSX IKd5RMFSciaAeUZB2VrtzOJV1eUlMqCZe9aKaxwr7pE08Tbbvyew5ZuiGkBGkfesovO5 ciQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=moYr9IiP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w19-20020a170902d3d300b001b674055d72si11735plb.621.2023.11.16.11.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 11:15:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=moYr9IiP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 F02C181DD7FB; Thu, 16 Nov 2023 11:14:47 -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 S1345396AbjKPTOq (ORCPT + 99 others); Thu, 16 Nov 2023 14:14:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345484AbjKPTOo (ORCPT ); Thu, 16 Nov 2023 14:14:44 -0500 Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D04ED4D; Thu, 16 Nov 2023 11:14:41 -0800 (PST) Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-1eb39505ba4so629149fac.0; Thu, 16 Nov 2023 11:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700162080; x=1700766880; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MWiF1WqqxyBapoclv3EkYIJfdBOsrn+v/ULRkmttT6o=; b=moYr9IiPXFWERTQv6eglElnLYVjZ5hcPGBk0/J1sioYVqam6KKdNuQF/9CWF5Pgjl5 bEORdNyCP7qbUSpAJvgQ2hYLW+vMiEvRKsFqM3aEHKtYMYQ9iE4LZeZvBUGFrsnc7j0/ bGFNOA3A4khFk47pdRUsNo3ZoEb27lbUEyu5/vKxDGttQky+9o0k8g1itBv3NM4TRnyf dyEIBPhA/ijxszwUUkJkheeDaYRCrYDtJCxHdguiW1ZFIRkcm7uc3zTj4JevN18cEHAn gMwtP2TbBGvnAii9jtcoUBwPv2BGsgN0SE6XlIcU375bIF+h034MxzRqr4cuPKYv+xXZ 0Bdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700162080; x=1700766880; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MWiF1WqqxyBapoclv3EkYIJfdBOsrn+v/ULRkmttT6o=; b=KWj3y4HoRteqL3/ISAJRoH4QGhWQ5jAej7FjTNwpgQ6CmTJOYzfIsHHc8DnuGW6S9P RDd01QPNXP5EHo4TbqkJSCoS1UtshlihsKqE9Iugisljy/nBVrpjk8YVEG65HEqtjoQA zG9rA/7+s9DgC1tfvRexHNxDpKYp1SmVleH3FJNQIlT4O0ZaRUzxzW8eRM5VMU4+2rf6 48pFg2FPCAP4EIh/PVLC3B/Dd3tJIO3fbl3DL4hul4sBcxDVkB4zHmCg6B5gCIEMS/ar sL/ERfcvQd/Egy5SSF24bMKNxJF62lpvWucWBg++zVqRPq+8PnXPXSU7IZ8ssPPlKYRD g5Rg== X-Gm-Message-State: AOJu0Yy2vk90z6FLNdDQr4RIW36TG32VnEKLJ7P55vaMdDMQhm/tQIOX fFZMYTAEmAKZ+9n1EqBNUPPWnVTef59JQaqVn+Y= X-Received: by 2002:a05:6870:bb19:b0:1e9:9179:4c6f with SMTP id nw25-20020a056870bb1900b001e991794c6fmr21555134oab.49.1700162080572; Thu, 16 Nov 2023 11:14:40 -0800 (PST) MIME-Version: 1.0 References: <20231113112344.719-1-hkallweit1@gmail.com> <20231113112344.719-20-hkallweit1@gmail.com> In-Reply-To: <20231113112344.719-20-hkallweit1@gmail.com> From: Alex Deucher Date: Thu, 16 Nov 2023 14:14:29 -0500 Message-ID: Subject: Re: [PATCH 19/20] drivers/gpu/drm/display: remove I2C_CLASS_DDC support To: Heiner Kallweit Cc: Wolfram Sang , Maarten Lankhorst , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Maxime Ripard , linux-i2c@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Thu, 16 Nov 2023 11:14:48 -0800 (PST) On Mon, Nov 13, 2023 at 6:24=E2=80=AFAM Heiner Kallweit wrote: > > 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. > > Signed-off-by: Heiner Kallweit Acked-by: Alex Deucher > > --- > drivers/gpu/drm/display/drm_dp_helper.c | 1 - > drivers/gpu/drm/display/drm_dp_mst_topology.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/display/drm_dp_helper.c b/drivers/gpu/drm/di= splay/drm_dp_helper.c > index f3680f4e6..ac901f4b4 100644 > --- a/drivers/gpu/drm/display/drm_dp_helper.c > +++ b/drivers/gpu/drm/display/drm_dp_helper.c > @@ -2102,7 +2102,6 @@ int drm_dp_aux_register(struct drm_dp_aux *aux) > if (!aux->ddc.algo) > drm_dp_aux_init(aux); > > - aux->ddc.class =3D I2C_CLASS_DDC; > aux->ddc.owner =3D THIS_MODULE; > aux->ddc.dev.parent =3D aux->dev; > > diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c b/drivers/gpu/= drm/display/drm_dp_mst_topology.c > index 0e0d0e76d..4376e2c1f 100644 > --- a/drivers/gpu/drm/display/drm_dp_mst_topology.c > +++ b/drivers/gpu/drm/display/drm_dp_mst_topology.c > @@ -5803,7 +5803,6 @@ static int drm_dp_mst_register_i2c_bus(struct drm_d= p_mst_port *port) > aux->ddc.algo_data =3D aux; > aux->ddc.retries =3D 3; > > - aux->ddc.class =3D I2C_CLASS_DDC; > aux->ddc.owner =3D THIS_MODULE; > /* FIXME: set the kdev of the port's connector as parent */ > aux->ddc.dev.parent =3D parent_dev; >