Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp466459rdb; Fri, 17 Nov 2023 04:13:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGLroZtGr9Q1iygW4wE7XKMfznu29bvVYWEMFVj5gbXYX1ijaKc/tEwg95U762NunCHFMj X-Received: by 2002:a05:6808:d47:b0:3b2:db61:ff8e with SMTP id w7-20020a0568080d4700b003b2db61ff8emr26125696oik.33.1700223196414; Fri, 17 Nov 2023 04:13:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700223196; cv=none; d=google.com; s=arc-20160816; b=Zkt6re7TitkKo5Of9A93WJ2AyoEs8TVWlY7ysAJcsATbLQFTKrFvMrjUKTNVBrIacu cPL23xWtqZEdQEwyx9/a5nw7TkuYtHWThNOeohCZcyml+q3zVL5qJ/vYCSuXFRsqqD1h YgwS06L6C4OM/MEdRy7n2H8fH4joNoLbod4DDhz6SlcerOZyyFS/dFH+rvew5qltRVRr +yJIf0szZNw+lDPkxvh2vJ5TOcmSzilFOXiOGhlC+kIhyKSPPsWcOal2xqgd9fGTPgLN hp9vFPwvJ8X1qqSwtW0tOdO2yLy9nB6bKP800wvXmPdq+8i0aY1ct9tXTIiIH69QBYDf MiNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nCcmce5UpUVqrZi8wHkww4oL17AI5jC4bBk/9GeTQyM=; fh=85CJ5sG8rJZTcyRVXK1+Pdg16foFZDxOpgfDbRWzy7s=; b=ZxpHfMNfm1vTeZIb5SHoi3hXiFngbxiqqaStMSqPV9/Xn3db3ftK8erBLuG5Xovxgt KTYR7zu3LUGZOXineDg5+UAiBdWmw3oZeRRubfYSxpAjnSyQLWg6IzfOVwFucLvbTiRP Lp5Y+Wm8HetJnb2BDjvPQn8psDGncKyRQsrSrSKsOWwlFWZbltLoQs0DfikBGuODHosw gyg7k70vEHokaRzK97DgBAs+wP9x+LjyFGIz2KKMcDH9/cROA7OLgtNg/lJ7mkrVUM14 cQin888SOubTEPYmO1bkxPrPeuMk09LvVRMWY3XGqYG4kayX/iagh+JwSzNoJU5itngu UwwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VKALuHhV; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o1-20020a63fb01000000b005b87df75d54si1791511pgh.83.2023.11.17.04.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 04:13:16 -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=@kernel.org header.s=k20201202 header.b=VKALuHhV; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3A4AC8280D52; Fri, 17 Nov 2023 04:13:15 -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 S1345914AbjKQMNN (ORCPT + 99 others); Fri, 17 Nov 2023 07:13:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjKQMNM (ORCPT ); Fri, 17 Nov 2023 07:13:12 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0314F196 for ; Fri, 17 Nov 2023 04:13:09 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CDC0C433C7; Fri, 17 Nov 2023 12:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700223188; bh=PVXHem/9yhgEemapb6B+aU1ZOidWzlM1JlH8PA2bqEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VKALuHhVL8MKsgOhi01VmYVe/xoNy8nZtQtRLH2k8SoSOoBe81U+nfouDXcz5cEPE ECf9wHc3olWF3PS5/kWMsUO78iifpi0sUDlOUisryGLzgWSYN0vWBtiRAZ9o6rZN5s Tv2DPBjfIU1PRjTorc/6G4Tsl2oMa+Xk9sC76G4UxrSKmRRdQiIlrIZJ4JCcXFe5Gg vCpjDF07AUrjAD4cx1Y/JxR/TRJS9MrOrrmmOz2FZA+dpZoJTYqsqQ294SEs+3gvzH Y9UOLOWWjjt/9g3YZoaTgtrUmWnsU7lwZkEpJoeu2k0ziX8PjaEREkrKhQNP0N/MAi dl6ahXRiBRh8g== Date: Fri, 17 Nov 2023 13:13:05 +0100 From: Maxime Ripard To: Sui Jingfeng Cc: Dmitry Baryshkov , Phong LE , Neil Armstrong , Sui Jingfeng , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Laurent Pinchart , Thomas Zimmermann Subject: Re: [PATCH 8/8] drm/bridge: it66121: Allow link this driver as a lib Message-ID: References: <20231114150130.497915-1-sui.jingfeng@linux.dev> <20231114150130.497915-9-sui.jingfeng@linux.dev> <1b59d647-c345-4260-b07b-22abb70ae17a@linux.dev> <7b85d057-3d66-435a-a657-dd69067b6bef@linux.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="car2seveobmjidpx" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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]); Fri, 17 Nov 2023 04:13:15 -0800 (PST) --car2seveobmjidpx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 17, 2023 at 12:24:22PM +0800, Sui Jingfeng wrote: > Hi, >=20 > On 2023/11/16 23:23, Dmitry Baryshkov wrote: > > > > > Then you will need some way (fwnode?) to > > > > > discover the bridge chain. And at the last point you will get int= o the > > > > > device data and/or properties business. > > > > >=20 > > > > No, leave that chance to a more better programmer and forgive me pl= ease, > > > > too difficult, I'm afraid of not able to solve. Thanks a lot for the > > > > trust! > > From my point of view: no. > > I respect the fact that the community prefer generic mechanisms. > If our approach is not what the community want, can I switch back > to my previous solution? By your previous solution, you mean rolling your own bridge driver? If so, then no, it's not acceptable either. > I can reduce the duplication of our localized it66121 driver to a > minimal, rewrite it until it meets the community's requirement. I know > our device looks weird and our approach is not elegant. I'm glad we agree then :) > But at the very least, we could not mess the community's design up by > localize. Otherwise, I don't know what is the better approach to solve > such a problem. I think there's a gap between what we want from you and what you want =66rom us. What we really care about is maintenance. In other words, it's mostly about two things: - Once you and/or your company have moved on to other things, how easy it will be for us to keep that driver in good shape, and how much it will hold back any future development. - If we want to do a big rework, how much your driver will stand in the way. That's pretty much all that we care about, and we will very much prefer not to merge a driver in the first place than to have to maintain it for 10y while it stands in our way and we don't have any real documentation or help. So by making it "not weird" or "elegant" or whatever we can call it, you effectively remove any concern we might have about merging your driver, and there's only an upside (more hardware support and company involvement is good!). So you're making it easy for you too. Maxime --car2seveobmjidpx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZVdY0QAKCRDj7w1vZxhR xeeaAQDqkMTWNdddur3We9/0s91HXhePgAckWeUF86wbBjvkBwEAzTrpCgaXe9sq ieP3+9H2jCNCnMm0jgBpwJivRQrYZQs= =gL95 -----END PGP SIGNATURE----- --car2seveobmjidpx--