Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp277058rdb; Thu, 16 Nov 2023 20:25:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGP/8Rmqi4vj2XFj+DCUCS1tup/IgI8x+X/jnW3LaZU1M8mGhHRz3pZziQCf/DCW3dffypI X-Received: by 2002:a17:90b:350e:b0:27d:4b71:ed17 with SMTP id ls14-20020a17090b350e00b0027d4b71ed17mr14993939pjb.29.1700195104890; Thu, 16 Nov 2023 20:25:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700195104; cv=none; d=google.com; s=arc-20160816; b=zfBmz4TrPrdREqb2I6X1Peagb7S3my0cBAl3bpwFFPj0eRL8yfEloHjDl1M5olkQ8B rVGKA+Om602bOh7FSB3xa+RvPGkwUWpsPtmiy/CH7NQ2ssrugUiseOps4RSC6s+LjiRY BEv2ljNePTTmOIG85deKdM0+X78yuHhcHStjQEWbpmaT8twYAw88OK96vG2wSFYOOTA9 1dSF6nAPuqmUG/pzLLlmHHvW3F02NEdn1dfJFuDL2K40RFE2yx2BiPleQhYqi/dOiSdc bqwVeD19OQx5QrDRCLCNq/fuzXrAUrAiuEGCnplsdx0ONTXkN4v5Jemcx6x/QMWTNPpv u01A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:mime-version:date :dkim-signature:message-id; bh=sV6MlY9FpNRo4PFp8mGH8kt0LlJgg5t4q6FRtqeoifk=; fh=L6MbuOTOK7FHgIF89LITj4O+NnVze0RQCyrYNOhkPmg=; b=0xKBn+JrLDBjaK+aQ0Ypr+J0jW27vVuoNf58ERZUosHFgAFWoqRkRKibfkJ4CTevYC V1Zjg/JsDyI/u9OpVMA5IBsQl+JjPfS21RBmOuZAy3SPrSM5Dr2le0iNMrz6RjYp115c XsqH/rACGQLqQn/4MSNtszwQo/nlAUZXeFeh2ztxYYUfuh69skX7t7Q38Q9hCa71HygI Iggk94m4BR0MOVhmA3I5aZcFTWMEKpf8B5bYwr7uyRYlcx4Q5XG8BWLbcGM2E5yNz+gb 7k6gIhaoFQz8hpBWGLDS0ZDuRBC0RxEtMN0+IYcTEmX09VTcr1z6HbRJ8Vmtyd3vT+Yh GI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=t8XHEpbZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id ok8-20020a17090b1d4800b00280352e52dcsi1160350pjb.119.2023.11.16.20.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 20:25:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=t8XHEpbZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6281781BDA62; Thu, 16 Nov 2023 20:25:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345678AbjKQEYo (ORCPT + 99 others); Thu, 16 Nov 2023 23:24:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345673AbjKQEYl (ORCPT ); Thu, 16 Nov 2023 23:24:41 -0500 Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [IPv6:2001:41d0:203:375::ac]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 496E9D55 for ; Thu, 16 Nov 2023 20:24:37 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1700195075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sV6MlY9FpNRo4PFp8mGH8kt0LlJgg5t4q6FRtqeoifk=; b=t8XHEpbZzITc+Lc7Tt4invjp4Pn1SG3CPD2k5BT5pD234w0+M1W/rhJMOQ2EnoqHKEt9p9 Lb+AObtRHEW7yiSSD/IzUkv1PUv+eSPiDC/EbdQD9qrJr3XCZg3sNxVQmOj2c9Lm1uBtBn rdM023mhfknndLep2rqr/7TkqgknBLM= Date: Fri, 17 Nov 2023 12:24:22 +0800 MIME-Version: 1.0 Subject: Re: [PATCH 8/8] drm/bridge: it66121: Allow link this driver as a lib To: Dmitry Baryshkov Cc: Phong LE , Neil Armstrong , Maxime Ripard , Sui Jingfeng , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Laurent Pinchart , Thomas Zimmermann 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> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 16 Nov 2023 20:25:02 -0800 (PST) Hi, 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 into the >>>> device data and/or properties business. >>>> >>> No, leave that chance to a more better programmer and forgive me please, >>> 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? 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. 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. Can I switch back or any other ideas?