Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp682315rdb; Fri, 17 Nov 2023 09:36:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7LQj39U0Xo6FGLle9ALAPUx0CiBEgLfG2XioTUD++NwMkSoJBVR3bWYuqKVBeytOsa4rA X-Received: by 2002:a17:902:dace:b0:1cc:68a5:f397 with SMTP id q14-20020a170902dace00b001cc68a5f397mr306840plx.51.1700242605953; Fri, 17 Nov 2023 09:36:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700242605; cv=none; d=google.com; s=arc-20160816; b=C5BzsTuAWAhSgKZTmL9Z6aw33lZbNA1G6pp77P1ZI8P2eWCHnKpcvYkJmvgPF+YxHq /OgdclrPVix2X9JzB1MQurO/hZSMjhLyZXqpHjyI62txkqX4FTJMcilymLJA32uJJXwk 0r48+5B0CsuhsLlQdHuj68bhQPf19xbP62pkobxFpCpqlc0lmPepHKywJzEDL5w00XMt 97HgKYc4LLC/DlNHDjFyQFANTmH2U5xRMPYi1NaW/qs/OlpkFCQPJtTmG4AebNWiBWoK Ja0hBZrhcjOW6BCv7i7l0r6OAcj+G8PAx6BRv0feL5BrPV5eBBBf1SiaF1Zt2um/6hMm Conw== 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 :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=9vWjfYPNGTMvPQmWqPhQYpJv3Ri6BeWVhxBfWZZgUXg=; fh=L6MbuOTOK7FHgIF89LITj4O+NnVze0RQCyrYNOhkPmg=; b=FaGn5JvaQ1qwe4CmwUwTdXw3VY5ubdRaECWJukOd8shFo+kZ0r+ochVKRyTtcdhr+x jfmS6JIUC/ZYgZQy6fHs943LPqkiTYia7JfvYHj9CX602XBU5NQTYERCxok5Mf/MfZu6 Hct67GL+yCJnf2SERHnL8hbfwvwOvsXivKzKI/sp0XCHc5THuYCe2TxdBj6l5vWVxDPD lgs0NWrF1zc8DS3KMAII4F51nTLNHZlMmpWcsPTUSYF6hR1epZ6/pLF1aoQoI0/S0DdJ UYiXTMKSN9CuD7MttEp7drvQP71uuHAuKFQmisWLbQxscs8b90vmDveQ0FW3udstXVuh Rlhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=baZIDETo; 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 s7-20020a170902ea0700b001ce64a096dfsi681310plg.502.2023.11.17.09.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 09:36:45 -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=baZIDETo; 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 1CA0A8089A08; Fri, 17 Nov 2023 09:36:22 -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 S1346146AbjKQRgO (ORCPT + 99 others); Fri, 17 Nov 2023 12:36:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231430AbjKQRgN (ORCPT ); Fri, 17 Nov 2023 12:36:13 -0500 Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [IPv6:2001:41d0:1004:224b::b0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07FCC90 for ; Fri, 17 Nov 2023 09:36:07 -0800 (PST) Message-ID: <954e2f85-7ed8-4768-97c4-970315afeec1@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1700242565; 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=9vWjfYPNGTMvPQmWqPhQYpJv3Ri6BeWVhxBfWZZgUXg=; b=baZIDETogy3HPFLmzPPEvP+7Z7rf3XKfKcDs8ueMQdbzIbxthuwI2sJATP245CyZiV9grr 3NuEfR/r0nJvTnzPQkPme2O5OUYg/it4JBQlUs/64v8uXtGk5dHZqYyD1pMJ3F/5WCdOC5 tCnAItfZhFH62ftjaGzE8P9WpdfO+4E= Date: Sat, 18 Nov 2023 01:35:56 +0800 MIME-Version: 1.0 Subject: Re: [PATCH 8/8] drm/bridge: it66121: Allow link this driver as a lib Content-Language: en-US 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> 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]); Fri, 17 Nov 2023 09:36:22 -0800 (PST) Hi, On 2023/11/17 17:03, Dmitry Baryshkov wrote: > On Fri, 17 Nov 2023 at 06:24, Sui Jingfeng wrote: >> 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? > I keep on repeating: create the i2c device from your root device > driver, which parses BIOS data. You didn't focus on solve the problem, You are focus on solving me. How does the method that parsing BIOS data can be generic and applied universally?