Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16401164rwd; Mon, 26 Jun 2023 09:28:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5PLA7UnKsnVMWHc0apcoVfR/wf7xA1Zyu1DlYxN4Z+iSKUzDhdvnKVQk1yPy/kME1uDs6Z X-Received: by 2002:a05:6a21:99a8:b0:129:f3e5:98a8 with SMTP id ve40-20020a056a2199a800b00129f3e598a8mr411132pzb.23.1687796919933; Mon, 26 Jun 2023 09:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687796919; cv=none; d=google.com; s=arc-20160816; b=dVyrD+YSX5RAq9lk5btL8h2/zlSv4oS/9zKk5DYDyjIPz/YlF99TS1mo2dkIiIJiny cDbd8VR8Lj9N8oeZcpxkr/VSwPq+MEx8OzAuywyyHXONiRArEdvT1JUCt78e+BLBt6+r B1E5eXfWzFxKCDkl1BtHt89JRj+VpP+aNg6Iv+qF9QkDRZszSAzpEWNSgRN+olvTieBO Z1xb+489kBSy/KaPUOnd32IsOklW/7sKNbiAbOBiVuQRiMH904vP8QsKfg7SnQGkLotb t+CUuA74563fC5gQrXUaYep8MW9Pjl0EWCsjhOYj2HPDo73k3P5HPG9dNRjPtbEeuLWq zfmg== 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:dkim-signature; bh=Ya1oHLhK49gH69AdTB5fxakgV4R1n474hp6YX3YudTQ=; fh=Jxsj/eRVOvoFFd7p54BGj70jY5MsL2ETsNkag5gmJKA=; b=qf1XT2FAD0VquqFJ6ZLHc40IEYN5cUHbxN53/M/yNzvJXw2r/hvPx41PckWaMU0T9r 901aBXms/J+bOdr1qkR6MvUa3rE0JEKFVVDSctFt2PGNWU5Kx+UEP+9Fd7982nCHxHOJ GbL5aYLSEHwiHU+amKXg/r0+0f+wWKBSMKnyl2GKk6G0AcksmgJMWeyZPQCAdt+gVq+C y3/IdlwGleI/a4CuTpRObf3gqFPObBT4G2gtzS7C0ZR4nBaBl/OCboXvFx3DRuDnDDsp M37Ic+XqzrwN91+grV1argp0WKuUCihekm63pM0Gf3gLiEHHLffTHzzrGHj69Tko3EmP hcmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FU977iSC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a056a00089100b00666887b7eecsi13693pfj.312.2023.06.26.09.28.26; Mon, 26 Jun 2023 09:28:39 -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; dkim=pass header.i=@linaro.org header.s=google header.b=FU977iSC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbjFZPeE (ORCPT + 99 others); Mon, 26 Jun 2023 11:34:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbjFZPeD (ORCPT ); Mon, 26 Jun 2023 11:34:03 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE456F3 for ; Mon, 26 Jun 2023 08:34:01 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4f004cc54f4so4450331e87.3 for ; Mon, 26 Jun 2023 08:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687793640; x=1690385640; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ya1oHLhK49gH69AdTB5fxakgV4R1n474hp6YX3YudTQ=; b=FU977iSCGRyiI5lsFP8aGlOyB7y+B3rjbyHZvA5XqDSDOYFhQiuLWqlqxWu2HvLAKE ghINrrtM6m85L1qa1RI7MU7ym7CASmcJNM3F7EGQ+6APgNLr6g5BvGaXzOz3eU5MK5C7 +j9DENN1SRhQw86lq0dGNToWRNsglX69G0pIk/NjjQrSV1pXtkUcn5+WpZtcpIN/gVCZ tNv/W8D5J+cjnoXYjV5am6ZCN5HqjVNQ2u80dzglRQcTPBj8FLFXkMjdz3a0jeXlXasj QqCbadPYTEGKETZzdVa2vWrUylxveetltTrnOENcNxeDbbyeAij0Bu1WwtTMXTlrHXik cubQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687793640; x=1690385640; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ya1oHLhK49gH69AdTB5fxakgV4R1n474hp6YX3YudTQ=; b=h2+HCnU3Qiuruf0W9LMgi3k50KTrPblaFklYQ1JITdjTmUPlW4PizPnke2nsnogapl zdkwR4vGyQ9xbesFqVLMDo4yl2DcqXQuawh2alzjPrCJZ1yfgMFnXJ15lcRKgWNy3XBr MldDjmNYJhGQsX9eoOiiiU8gxzazyY65aMz9o0f7fv0oKMgRBb8JY9pU47GBNat6CAK2 U8yJpexMRhJ7i+wF1lFJHX+EJXDX6rhYD8hslTOx8B58fNskxxIPPbP20TZsCeMqEcoe eQqOG/WgWjldViaz0dkDDHEYvs0JNsplXOdkm0eRwvGsJh/LdpzI0OEJxqnzKmfF67za FJUQ== X-Gm-Message-State: AC+VfDyY0VYpkPgJQBS+RkHFEivGClkG8FnNeUMapiAxIV6BVZks1s1F Ja1soCCc+F+3Gu/vVyf8tPEnN9bOyJULVsC8Cjs= X-Received: by 2002:a19:7718:0:b0:4f8:6e6e:3f42 with SMTP id s24-20020a197718000000b004f86e6e3f42mr14189892lfc.14.1687793640007; Mon, 26 Jun 2023 08:34:00 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id z20-20020a7bc7d4000000b003f90067880esm10977810wmk.47.2023.06.26.08.33.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jun 2023 08:33:59 -0700 (PDT) Message-ID: <4c421206-39a2-d98e-f75d-f5d269e881ff@linaro.org> Date: Mon, 26 Jun 2023 17:33:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1 2/5] ASoC: codecs: Add StarFive JH7110 dummy PWM-DAC transmitter driver Content-Language: en-US To: Hal Feng , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Walker Chen , Xingyu Wu , Emil Renner Berthing Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230626110909.38718-1-hal.feng@starfivetech.com> <20230626110909.38718-3-hal.feng@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230626110909.38718-3-hal.feng@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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. Best regards, Krzysztof