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 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3C3A9EB64DA for ; Fri, 30 Jun 2023 08:35:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0B7B17F1; Fri, 30 Jun 2023 10:34:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0B7B17F1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688114145; bh=9o5jFqY8Cf/eBoOjbmW/oRp3Nn20QNCjmaRK2Z1ELhI=; h=Date:Subject:To:CC:References:From:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=rdjXJ2MKnhoKAEf0kYP7Gzo8EDgPL0upnS+8I4iBtvm6raX3c9khm/MLD9ighpFPE rVw36YFmLUTHnS99Ycg4S5WI3skKW5ri/dVpoYI/1JUM1TWZ+HYhokHZSMsKgCdWR3 gxxLLBzjjNUi1UMuhNYRnxNCGJEQt+Y2vErk7y/s= Received: by alsa1.perex.cz (Postfix, from userid 50401) id CF796F80588; Fri, 30 Jun 2023 10:33:48 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 391C9F8057F; Fri, 30 Jun 2023 10:33:48 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CAD4FF80246; Fri, 30 Jun 2023 03:46:04 +0200 (CEST) Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 719FCF80169 for ; Fri, 30 Jun 2023 03:45:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 719FCF80169 Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id D76DF24E245; Fri, 30 Jun 2023 09:45:51 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 30 Jun 2023 09:45:51 +0800 Received: from [192.168.125.93] (183.27.97.206) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 30 Jun 2023 09:45:50 +0800 Message-ID: <4ed97fd6-a99c-0be8-aff5-61021be59422@starfivetech.com> Date: Fri, 30 Jun 2023 09:45:49 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v1 2/5] ASoC: codecs: Add StarFive JH7110 dummy PWM-DAC transmitter driver Content-Language: en-US To: Krzysztof Kozlowski , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Walker Chen" , Xingyu Wu , Emil Renner Berthing CC: , , , References: <20230626110909.38718-1-hal.feng@starfivetech.com> <20230626110909.38718-3-hal.feng@starfivetech.com> <4c421206-39a2-d98e-f75d-f5d269e881ff@linaro.org> From: Hal Feng In-Reply-To: <4c421206-39a2-d98e-f75d-f5d269e881ff@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.206] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag X-MailFrom: hal.feng@starfivetech.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: PXF7MQRLX7HIUJKDZJDXGYWQ777WAZ7H X-Message-ID-Hash: PXF7MQRLX7HIUJKDZJDXGYWQ777WAZ7H X-Mailman-Approved-At: Fri, 30 Jun 2023 08:33:43 +0000 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 26 Jun 2023 17:33:57 +0200, Krzysztof Kozlowski wrote: > On 26/06/2023 13:09, Hal Feng wrote: >> Add a dummy transmitter driver for StarFive JH7110 PWM-DAC module. >> StarFive JH7110 PWM-DAC controller uses this driver. >> >> Signed-off-by: Hal Feng >> --- >> sound/soc/codecs/Kconfig | 4 ++ >> sound/soc/codecs/Makefile | 2 + >> sound/soc/codecs/jh7110_pwmdac_transmitter.c | 74 ++++++++++++++++++++ >> 3 files changed, 80 insertions(+) >> create mode 100644 sound/soc/codecs/jh7110_pwmdac_transmitter.c >> > > ... > >> + >> +static struct platform_driver pwmdac_dit_driver = { >> + .probe = pwmdac_dit_probe, >> + .driver = { >> + .name = DRV_NAME, >> + .of_match_table = of_match_ptr(pwmdac_dit_dt_ids), >> + }, >> +}; >> + >> +module_platform_driver(pwmdac_dit_driver); >> + >> +MODULE_DESCRIPTION("StarFive JH7110 dummy PWM-DAC transmitter driver"); >> +MODULE_LICENSE("GPL"); >> +MODULE_ALIAS("platform:" DRV_NAME); > > Drop. You don't need it. If you need it, it means you miss proper ID table. OK. I will drop it in the next version. Thanks. Best regards, Hal