From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E025C07E94 for ; Fri, 4 Jun 2021 10:46:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51EF36141A for ; Fri, 4 Jun 2021 10:46:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51EF36141A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h1N5KoOaZqMshpOvX7CdebW8zpnJKYz0VawjC6P+s0Y=; b=3gTyCUaCVoqso1 vLBIjqrVoTXZOE5fioP+7RHYbsm2C9sNUBk093Hmxr0qnIrJuOivFvz5I+0UUazs0YOTIvdjVIRHH 9iuWXdgOgXCxgoa6vZXAzHYpDHwBPsQm6/3nzuV1MtWxM0p6P3VXQqtHpOrWvIUXH5lsXnITRkbC0 4SLJQVGoDJOZ/07D2hivcCtVGJNPAhN1MiCrYLPJqp7ZVaIA4iSzSCziBSMYHyD+zFAAlVyRRFPUO hRX17MP9m23W3YqG9EyeG635B43NxmjZcnPIbppd1QrsAC+rxp2bPq8KCEI53+V7FlDpIfKbvmDRd 0Oqnw1egzkVg8V0Ogh/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lp7J1-00D2Gf-VX; Fri, 04 Jun 2021 10:44:01 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lp6yQ-00CvuZ-Km; Fri, 04 Jun 2021 10:22:46 +0000 X-UUID: 82b82c438653426b817f8b2966afdd2b-20210604 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=ejuq5SlmfT6xWK2lKEuK37+s2rh96rXwkYOgTP8rwM8=; b=reDmGyp7LkkMAbv4ho1Yv6ufmFFxJHZJfHckQF+mrc3CGfDWHvZntMjBnj8Vy5xb1LujBfYIsl3ILBnSlMkYHMh/SwXRlENtTQC34vgIcO6jidIDs88GYerosKR/DQ/gl8AM66qr/IGDd3jdg/hkoCX8Ij/MEDcncjAH8qJ9RnQ=; X-UUID: 82b82c438653426b817f8b2966afdd2b-20210604 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1785469155; Fri, 04 Jun 2021 03:22:36 -0700 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Jun 2021 03:22:03 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Jun 2021 18:22:01 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Jun 2021 18:22:01 +0800 Message-ID: <1622802121.26830.22.camel@mtkswgap22> Subject: Re: [PATCH 1/1] clk: Export clk_register_composite From: Wendell Lin To: Lee Jones CC: Stephen Boyd , Matthias Brugger , Michael Turquette , linux-clk , open list , ARM/Mediatek SoC support , linux-arm-kernel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , wsd_upstream Date: Fri, 4 Jun 2021 18:22:01 +0800 In-Reply-To: <20210604082524.GF2435141@dell> References: <1595493126-21611-1-git-send-email-wendell.lin@mediatek.com> <1597052186.27843.1.camel@mtkswgap22> <162276982204.1835121.10976600065855289763@swboyd.mtv.corp.google.com> <20210604082427.GE2435141@dell> <20210604082524.GF2435141@dell> X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_032242_724745_1BB84307 X-CRM114-Status: GOOD ( 22.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 2021-06-04 at 09:25 +0100, Lee Jones wrote: > On Fri, 04 Jun 2021, Lee Jones wrote: > > > On Thu, 03 Jun 2021, Stephen Boyd wrote: > > > > > Quoting Lee Jones (2021-05-20 09:07:42) > > > > On Mon, 10 Aug 2020 at 10:36, Wendell Lin wrote: > > > > > > > > Hi Matthias and all, > > > > > > > > Gentle ping on this patch. > > > > > > > > > > > > What about a not-so-gentle ping on this patch? Grrrr... :) > > > > > > > > FYI, this is still required by more than one source. > > > > > > > > Please help get this out of all of the vendor trees please. > > > > > > > > > > Is there an in-kernel user? > > > > How can there be? It's not exported yet. :) > > > > However there shouldn't be any barriers for vendors represented in > > Mainline to build their drivers as modules if they so wish. If/when > > they do, this will need to be exported. > > Wendell Lin, is this what you wish to do with the in-kernel MediaTek > driver? > This is because Mediatek clock driver would be built as kernel module, so clk_register_composite() used should be exported, then we could use it. Please refer: [PATCH 2/2] clk: mediatek: Add EXPORT_SYMBOL for kernel module support https://lkml.org/lkml/2020/7/1/124 +EXPORT_SYMBOL(mtk_clk_register_composites); clk_register_composite() is used by Mediatek clk kernel module. >From export symbol: mtk_clk_register_composites. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel