Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21583927rwd; Thu, 29 Jun 2023 19:06:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlHgO8KyN+gzSRT0q97X2diaqym0SnsfVNut8CSEknToPef9KrKEGinMEyQtsI7jt9LuR8X5 X-Received: by 2002:a81:7757:0:b0:576:91e0:b8c5 with SMTP id s84-20020a817757000000b0057691e0b8c5mr1118300ywc.0.1688090811291; Thu, 29 Jun 2023 19:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688090811; cv=none; d=google.com; s=arc-20160816; b=j5eFQyv15xbff6Pa2iRnlZEwle7qU/YnwV4rYOPx8BO6FKuFD45k4xfE1kCPddvgQ6 EQ+UJYU3Cp1f9f5tFALkZ2II7R+Ua/xZy9Kp0T28pJpPKbqri0PmK/oHHM16quZbrGik c/heDuRMUIqKLLL39L78gBAWjCojLhu4BObSi8z92OYehN35d/W0Kixi37ReQwmBdEc6 tUmHiZ/lDgPxeXVPEtUXtfcNSmDilBp5uFyV7ufRFs6Z18bh9tbQ8K0rM9VqYyOf06co 0w2S7s25Elvypm0YMwBkFVcAeWAN7URyMC98XnVBwZr/RV6LhPn/sCbkAWaJYkhWjNXu 6G7g== 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:user-agent:mime-version :date:message-id; bh=NxatYOTUptBE4B56pVoTR+FOco2iPnHHsrhxpMobEWw=; fh=f2/2HyUqLrsLfaMzPtpX0SQECN7afHCKNNDFnGXzMh0=; b=M4OsKDMjxz7xBJFZyTDEEaG+rZhBtJHfnWeXSM+sHubClcJG3DxIeX6oAknkRyqxL3 InF6CeWSFr7DwmASaEeJyHrkffyR/eOwtvNV0CnRBAOQnH1mXUxJtKJntnXm53q5sg1S LFuvFdCx0nwAuKklWI6PiwlSy7XwNO4F4djTmGqnWTnCWLSo3ESfzDibpQO6Rf5L9pBF W1dpYA55E4g4mUCTC9Kqk5GpxbwqL9wTAkQRI4xaAFIdifjKt/1ZfP0IIRfeJijC/1Fw iSLCzZeujhFT3g54GAfJRAzOP/nDIduxT7u1Uvm8cJhUbPN/a9b50pgd/p4j54sLc0RB KsqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a63f005000000b005539083748bsi11487822pgh.557.2023.06.29.19.06.36; Thu, 29 Jun 2023 19:06:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231743AbjF3BqG (ORCPT + 99 others); Thu, 29 Jun 2023 21:46:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbjF3BqD (ORCPT ); Thu, 29 Jun 2023 21:46:03 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52C2330DF; Thu, 29 Jun 2023 18:46:02 -0700 (PDT) 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-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 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