Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8547861rwr; Thu, 11 May 2023 02:55:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZMFoqwDC6xhxjaZOCKcKI0nMTGHkc5pAjzoHKGJPFc7wtB9ueuGrCiWJThYrnxqMo0Wka X-Received: by 2002:a17:902:a9c4:b0:1ac:8def:db2a with SMTP id b4-20020a170902a9c400b001ac8defdb2amr9517719plr.0.1683798937233; Thu, 11 May 2023 02:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683798937; cv=none; d=google.com; s=arc-20160816; b=mEZZ7f+f/2vZPXKXHJnoxnaLvD71xbnUXOm3TR2iYmUxmHF9msG7eym2+VCvw4v/Mn rAWja87WHefh2NOddeDQjNC8HeZls4kx27J+2+KEbpeLIbK8qjeBziV7dyj3eOIvLEKA 9JRtK/ooHP/exhSNcoiNC//TuM/DJ1qBs2/cE39LBNi0d2EgGrzY37a2ruKc0eIHFB8t EzWRM2FAGL79oqtJ/Crv5k96Z8NDVNZOTxKQUylv7MFMJsQJ2auy+/LMziCJI4nRDIST ZQybCNOWXAJyMLeD6kJ2habaj1fMJ8izTJ02z9ZyOLMzlWYBzLQHfQKONgsmXUgryamD SpZA== 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=ra1EDpxvz2xv3pLfovf6y0ptDS0ESOKI+0xxALZBic4=; b=SC0ibHo3MsObha8OnFs0yimS08aZEQ/udFfp/7EqocgAGVmRut1k/answRTJrwMiNf D1+1vMlwi1+JjerpYToFwWFh+6qE6hcBq/FNjwwfUT2f4frxpWF8EhomO63SINUoQI+E na/x3s/MJsz/pq7XkDR/aPDFUQqAYafmhnEZ3x7oMNAfdzZOpoJH7QFMTqtGiyuqz4Gy 5B1cSkxvtG0Vtq7DEowV+jCAhxYGu2Yi2WTfg20h5q508okRhl5A9okL34wK/+YrrUUM 6U3rnWmBXeYuW54SlArd90fGS96RKUhlXh9PqtrpruDnG5YX2CCOXZgQGHXTjkWWGzhW RttQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JyfQ3vpe; 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 13-20020a170902c20d00b001ac38646f0csi6144043pll.27.2023.05.11.02.55.22; Thu, 11 May 2023 02:55:37 -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=JyfQ3vpe; 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 S231278AbjEKJyH (ORCPT + 99 others); Thu, 11 May 2023 05:54:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235809AbjEKJyF (ORCPT ); Thu, 11 May 2023 05:54:05 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E553093FF for ; Thu, 11 May 2023 02:53:19 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-50bc075d6b2so15478902a12.0 for ; Thu, 11 May 2023 02:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683798792; x=1686390792; 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=ra1EDpxvz2xv3pLfovf6y0ptDS0ESOKI+0xxALZBic4=; b=JyfQ3vpeV7QV2DXsksKGQykVOBXIpvX+AHhMHcKaCMrJ4vJlVyQEBIqZLTUlnttSYk rkpc2JSKlp+Atk/89aPqBDHXWvhsMyJ5uYRVwOVABKswrJk+30dSZEXtbZHmQ40uTO+V bG7lfpK0AAPOTeRhYZMdz8KLger/caFBBGEFO4+l3QV+/GXqCwXnAoBdhzS8RIRKEdTp pQgT+HApj9tCn7lfBJhXL93rXbqntED2shyBTF/QoppoLxaUfvvqZR5cE/90dKe8I3qs X1AdELeKdNKd2OqkKh9HWS79OenMM+SzPWYXR1LrEvyAtIN9IgntX9UtI6rra27uyrwh FeEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683798792; x=1686390792; 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=ra1EDpxvz2xv3pLfovf6y0ptDS0ESOKI+0xxALZBic4=; b=DkC560oLbHjX6OWjQw0ErZNVew9qpD9ECxJyokyt1Ee5Cdmg8OAvxxX8jLkRfcJVbp n9P1ej3qxVQkuSYpoLQO3dYADoeJC+RxebQE07NfHmsb+15NY59/9kkC0pABOyp7aU1L AutQ2LO2t8F87d8FEEEK6RfIX+g2djjsWvh/QfB/WFIshTWnJyXtiDomulUjmU4Hxoz0 KKUZ+FEyEzSEYW9hdlVDDKzO4jkDBlA/AMaXjyMnJpv6Ex/zpR/BARM2lArI2RVj/IuO nnZhCMg2rd/LEYBImhS5icorntsyVG8EWr2aQE4+N2wNNT9SNYB9RunVlS93lgYwuFvB aYEg== X-Gm-Message-State: AC+VfDyWrcRQjvEFcGD5j95onGLkquhNgMa0d/+NGEqbWYA+GaTEO5O4 cKlv5C5229bXdEnEYS8s9PI0XQ== X-Received: by 2002:a05:6402:213:b0:50b:c380:a929 with SMTP id t19-20020a056402021300b0050bc380a929mr17383943edv.10.1683798791655; Thu, 11 May 2023 02:53:11 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:7e61:f14a:c3a4:809e? ([2a02:810d:15c0:828:7e61:f14a:c3a4:809e]) by smtp.gmail.com with ESMTPSA id z24-20020aa7d418000000b0050bfa1905f6sm2861035edq.30.2023.05.11.02.53.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 02:53:10 -0700 (PDT) Message-ID: <55489ae6-dddc-ca72-07ea-761bf1e40912@linaro.org> Date: Thu, 11 May 2023 11:53:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v1 1/3] ASoC: Add ESS ES9218P codec driver Content-Language: en-US To: Aidan MacDonald , lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230510112349.939991-1-aidanmacdonald.0x0@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230510112349.939991-1-aidanmacdonald.0x0@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.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=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 10/05/2023 13:23, Aidan MacDonald wrote: > The ES9218P is a 32-bit stereo codec featuring an integrated > headphone amp with analog volume control and up to 2.0 V rms > output, and a low-power bypass path for passing through an > analog signal from an alternate source. > > The digital audio interface supports 16/24/32-bit I2S inputs > ranging from 8 KHz to 384 KHz, and DSD inputs. This driver > only supports I2S operation. ... > +static const struct of_device_id es9218p_of_match[] = { > + { .compatible = "ess,es9218p" }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, es9218p_of_match); > + > +static const struct i2c_device_id es9218p_i2c_id[] = { > + { "ess-es9218p", 0 }, > + { } > +}; > +MODULE_DEVICE_TABLE(i2c, es9218p_i2c_id); > + > +static struct i2c_driver es9218p_i2c_driver = { > + .driver = { > + .name = "ess-es9218p", > + .of_match_table = of_match_ptr(es9218p_of_match), Drop of_match_ptr or add __maybe_unused to the table. Best regards, Krzysztof