Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1172956lqd; Thu, 25 Apr 2024 07:58:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQoJx6YW4yHvcOvx8OFF45H4Nv0xjTLKpbB+sswYGZ6u2y+Gt1KBXtMqO0iusBplbi1aTo2mHvaOzoN+HWqL7puuB1x5fNStIQ3is/7Q== X-Google-Smtp-Source: AGHT+IG1+au1NGs6EaBnnHapYKM1LwHtuViypPd2suPasKCECd/GsQI/VAMMHmvm9s9MhIrYU64N X-Received: by 2002:a05:6a00:815:b0:6e6:ac71:8b38 with SMTP id m21-20020a056a00081500b006e6ac718b38mr7188187pfk.22.1714057114661; Thu, 25 Apr 2024 07:58:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714057114; cv=pass; d=google.com; s=arc-20160816; b=pXkd0xKPYtkloSptMJFHU0kKLlxLMOZWxnyBGfEM7qLYAjZUWin8ckvBODiA+NrgPQ O433FTdRx/M0Cqxa5ducjp4AT8fLdL3LdsKuIvpXHAvpGd/xXaIkxOufalJVlI49AqVm Sd1Hp/AK6v920usMoG4rl0LPieA+Lc/jboxz5O4LUam5Rn1ATsC5iXrQ7WY5xXCNFUg0 Xfvn9tvdMl/xR571LdZvTU6j6rhKarXJpGhRUZy2NvLzXrztAC3P3trZpIJtfCW40dEg BkFOg1Vp8CIbHTkU9rUc8gxZwpzHBi8p0P9eXPMdeHDdujQtUMt35fy+q3adEExoXR/B kxag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zyuU7aypTY7g7YWDgpvL/ij2MOClcEQlWT1WF9DZpnE=; fh=2ThpzSQtcGpfdkslBsjkwnurIE2TCsVn6HBvEwpYpDM=; b=LgSERrqDPJW1UMqK1VHaJoNsLm/dVgsinluKYr076Z6f4X/a1l3PcapscNlwuXywl+ YHz0Y2feKbKaaA/9fliWpIA4VrW5jierOEX+oJXjAIpYVkNO5n9jHv0h8DqgJloyVISt 4zYTEOaFMPrMmM0PkMIMIUZShuU5QfzPE1BBlEVAQ78OSrfarzhYHcxd3Tuf5IsrfLLe Fj+E3NqO8P9+NGb5RAMihM6oKPsslXSA0XdzuZ73HqOw3Xb/1n4fePuR0QZcGBGmtKSA MttwGBoRumXVWUullZyeBmaAHbOvJ4/v9dUZcAr1Lt6y8q9S168VPaW1URrhJHmt7SdS IXGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BtLHAqD5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158750-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t28-20020a056a00139c00b006f0c158a3b1si11826683pfg.302.2024.04.25.07.58.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 07:58:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158750-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BtLHAqD5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158750-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BAB722851E7 for ; Thu, 25 Apr 2024 14:58:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A4E914A4FB; Thu, 25 Apr 2024 14:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BtLHAqD5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BF9F11494BC; Thu, 25 Apr 2024 14:58:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714057089; cv=none; b=khsGGdkeRZFdXgtKiPBr+iKFqqTtkrTCxcKVFqbS9vtrxgcPO9RtguwIiop46/FeH2x1vgIpmAX78V93Q6ehydjwYvkERTE/OxVS1+QORFvgnjzd1u7y4xVtTC93jCJUBEP7UjoqQHzM9Y7nAZ41IeTsOCVY6oZ0mBFNPejIRbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714057089; c=relaxed/simple; bh=zyuU7aypTY7g7YWDgpvL/ij2MOClcEQlWT1WF9DZpnE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qrBNY80yHLRGqkwMG2TsWRB5IIqre21Kp+rx4FyhesahgHFaHDJZzaKp8ovctqLmQL5LL41gTBkDI+ZspZF0mXNBbfAueKQs9EbmF2oS2z/tAfrlTcBMK0VTtQMnP70DF8RPjAs91knQH0QfhYafZSFchBMn27VMkkAUCFg9VqA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BtLHAqD5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9A06C113CC; Thu, 25 Apr 2024 14:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714057089; bh=zyuU7aypTY7g7YWDgpvL/ij2MOClcEQlWT1WF9DZpnE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BtLHAqD5xWO6OKKeia9yyRqUbAZB0xhKytVz5eaC5G5Ya1YPReGVbVAaF7/ZaKn9E /YuLVEgSYmSyITwT+i4uYE8KjcE9QsaA7lfLMFml/bQbHVooHG5gooswSTbsbxGkVb GmNqGaU0umBagSSt43PXEn7MfPYYrh/LXo7BxRaX+gCVpY0xbFfTVd1CyJVq44PgVk ijSEO/PN4GdaRWue3P0ayedh8e881ZCREpETeTeD7+LPthn+ICOFyrYRdiNqOwueVG ATod9Y9lk0OwDZmw/nbgeV3Q/0A5a65xik1HCpPMMXHzvhkd1Dz9D4tRGGhx7TSgTg Qw41nwqdHBLPg== Date: Thu, 25 Apr 2024 16:58:06 +0200 From: Maxime Ripard To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , David Lechner , Helge Deller , linux-fbdev@vger.kernel.org Subject: Re: [PATCH v1 1/1] drm/ili9341: Remove the duplicative driver Message-ID: <20240425-perky-myrtle-gorilla-e1e24f@penduick> References: <20240425124208.2255265-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha384; protocol="application/pgp-signature"; boundary="74envoxrgvwfu67m" Content-Disposition: inline In-Reply-To: <20240425124208.2255265-1-andriy.shevchenko@linux.intel.com> --74envoxrgvwfu67m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Apr 25, 2024 at 03:42:07PM +0300, Andy Shevchenko wrote: > First of all, the driver was introduced when it was already > two drivers available for Ilitek 9341 panels. >=20 > Second, the most recent (fourth!) driver has incorporated this one > and hence, when enabled, it covers the provided functionality. >=20 > Taking into account the above, remove duplicative driver and make > maintenance and support eaiser for everybody. >=20 > Also see discussion [1] for details about Ilitek 9341 duplication > code. >=20 > Link: https://lore.kernel.org/r/ZXM9pG-53V4S8E2H@smile.fi.intel.com [1] > Signed-off-by: Andy Shevchenko I think it should be the other way around and we should remove the mipi-dbi handling from panel/panel-ilitek-ili9341.c It's basically two drivers glued together for no particular reason and handling two very different use cases which just adds more complexity than it needs to. And it's the only driver doing so afaik, so it's definitely not "least surprise" compliant. Maxime --74envoxrgvwfu67m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCZipveQAKCRAnX84Zoj2+ dvmrAX9etHoRYY5/bI3esFlwYvaOtVaTDgXGupHx8xowA1Hxjt+tFOdluSqL/hlq SI1l4y8BfRsxjM/ARJYlGvp4Wnn0sIUBposLg8sGbgX1rxcALiJweK1Et3vTt3+S QMlLOJkL9w== =4TjG -----END PGP SIGNATURE----- --74envoxrgvwfu67m--