Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1168711rwd; Tue, 13 Jun 2023 05:57:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7FsEofgffyTWxQWl95GdwnI8l8a2J4uhnYeTNWMkNSSOL2SbF02TH55K52WRuI/3trURV4 X-Received: by 2002:a81:4f4a:0:b0:565:dafe:691b with SMTP id d71-20020a814f4a000000b00565dafe691bmr1964438ywb.47.1686661063683; Tue, 13 Jun 2023 05:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686661063; cv=none; d=google.com; s=arc-20160816; b=oelZlpbUS1OnPuaS3mkR/D8j6uTEoajvmkP+K4DCi5Ug/sgVGq1rVIk3SaS9UeGwAY pIaC7UFxhaNdoSSSYuc4T8ztEs/0mkBLeE2hPPYkhjYjUxNk4u5tx94EApLIZlAkySBo jfQOPdigtJJ13x44Alj4plf6prDWqK92EfcdPprjhv+3z3pwKfi1mq64U/mA+Ag83RMz z+RBX5k5R8TeBy2w+JxGQTkGKq0Pr2ec0xIoR2TsO91y86sNFzPETVIs0jGF7ydGNa2D 2F7yIRkqch1GrudbZkIqcu6EJVovVqb5+Hptwu337LyogZua0SsWCA/6CLXKHwBSjdWb SRrw== 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=rpNcemagTj+Bw9s51MCTmeAyENHmN8dv/74n0Fo9t9A=; b=TFWpkdv1Gg3gGbhR5XJ/D1pJlwtHhTmi08XWjiQ+Y6MsO1b+B2Tne0BTgyYGejJHSe Yh3jqnrJCwWbcKJps+EhBPv54CrivSTvoA1/k92A9eS/9GuJmDk6+RPygb40mIo0Bdv8 e48729SLVw5p+pQAtuOwvrflalc+gbtVid+KYqZqZI2W3L07cGPvKG7X/x7El/ogMJpY Wy+KCPlxa62GzyqgIDqfYiCPs1jPYp7ITItlm9z8/aGsvdI1hITH+S+Ue3IgW9SG6dF3 8Z/po3NT1NSCSvExnAOg29qgepsotNbMCXBtdg0bk7Vv78wXCbESGiExRzbCVCJkicMy Jq6g== 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 m9-20020a654389000000b0053ef0ac79c8si6395854pgp.263.2023.06.13.05.57.30; Tue, 13 Jun 2023 05:57:43 -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 S242437AbjFMMjf (ORCPT + 99 others); Tue, 13 Jun 2023 08:39:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242431AbjFMMjd (ORCPT ); Tue, 13 Jun 2023 08:39:33 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 51E321981; Tue, 13 Jun 2023 05:39:27 -0700 (PDT) Received: from loongson.cn (unknown [10.180.13.22]) by gateway (Coremail) with SMTP id _____8AxV+l+Y4hkjaQEAA--.7932S3; Tue, 13 Jun 2023 20:39:26 +0800 (CST) Received: from [10.180.13.22] (unknown [10.180.13.22]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxFOR8Y4hkTigZAA--.6345S3; Tue, 13 Jun 2023 20:39:24 +0800 (CST) Message-ID: <887f9cc4-6457-9d14-8aef-011ff4c9aeda@loongson.cn> Date: Tue, 13 Jun 2023 20:38:59 +0800 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 v2 3/3] ASoC: dt-bindings: Add support for Loongson audio card Content-Language: en-US To: Conor Dooley Cc: Conor Dooley , krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, broonie@kernel.org, lgirdwood@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, loongarch@lists.linux.dev, loongson-kernel@lists.loongnix.cn References: <20230612085614.3039498-1-mengyingkun@loongson.cn> <20230612-booted-french-186dd95e78a9@spud> <20230613-zoologist-panorama-a87858bba075@wendy> From: Yingkun Meng In-Reply-To: <20230613-zoologist-panorama-a87858bba075@wendy> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf8DxFOR8Y4hkTigZAA--.6345S3 X-CM-SenderInfo: 5phqw55lqjy33q6o00pqjv00gofq/1tbiAQABDGSIXIIARQADs4 X-Coremail-Antispam: 1Uk129KBj93XoWxZrW3Zw1UAr4DZF4xJw15Jrc_yoW5WFWkpF WrCa47KF4xtw17Cr9Iv3WfJr4avrWftanrXr42qw1UCr98tFy3Ww42yF15uF92yr18JrW2 vFyFk3WxG3Z8AagCm3ZEXasCq-sJn29KB7ZKAUJUUUU3529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUPIb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVWxJr0_GcWln4kS14v26r126r1DM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12 xvs2x26I8E6xACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r12 6r1DMcIj6I8E87Iv67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr4 1lc7I2V7IY0VAS07AlzVAYIcxG8wCY1x0262kKe7AKxVWUtVW8ZwCF04k20xvY0x0EwIxG rwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVW8ZVWrXwC20s026c02F40E14 v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkG c2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUCVW8JwCI42IY6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4U MIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07joc_-UUU UU= 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,URIBL_BLOCKED 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 2023/6/13 20:28, Conor Dooley wrote: > On Tue, Jun 13, 2023 at 08:23:58PM +0800, Yingkun Meng wrote: >> On 2023/6/13 01:24, Conor Dooley wrote: >>> Hey! >>> >>> On Mon, Jun 12, 2023 at 04:56:14PM +0800, YingKun Meng wrote: >>>> From: Yingkun Meng >>>> >>>> The audio card uses loongson I2S controller present in >>>> 7axxx/2kxxx chips to transfer audio data. >>>> >>>> On loongson platform, the chip has only one I2S controller. >>>> >>>> Signed-off-by: Yingkun Meng >>> I got 2 copies of this patch, but none of the rest of the series appears >>> to be threaded with it. >>> >>>> .../sound/loongson,ls-audio-card.yaml | 70 +++++++++++++++++++ >>>> 1 file changed, 70 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml >>>> >>>> diff --git a/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml b/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml >>>> new file mode 100644 >>>> index 000000000000..61e8babed402 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml >>>> @@ -0,0 +1,70 @@ >>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>>> +%YAML 1.2 >>>> +--- >>>> +$id: http://devicetree.org/schemas/sound/loongson,ls-audio-card.yaml# >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>> + >>>> +title: Loongson 7axxx/2kxxx ASoC audio sound card driver >>>> + >>>> +maintainers: >>>> + - Yingkun Meng >>>> + >>>> +description: >>>> + The binding describes the sound card present in loongson >>>> + 7axxx/2kxxx platform. The sound card is an ASoC component >>>> + which uses Loongson I2S controller to transfer the audio data. >>>> + >>>> +properties: >>>> + compatible: >>>> + const: loongson,ls-audio-card >>> Reviewing sound stuff is beyond my pay grade, so forgive me if I am off >>> the rails here, but this (and the "x"s in the description) look a bit >>> odd. Recently, we've noticed quite a few loongson dt-bindings attempting >>> to use a single compatible for many different chips. >>> Usually you have individual compatibles for the various SoCs with this >>> core, which can fall back to a generic one, rather than just adding a >>> generic compatible for all devices. >>> As far as I know, there's several SoCs fitting 2kxxx, and the format >>> being used elsewhere is "loongson,ls2k1000" etc. >> >> Currently, Loongson has 2K0500/2K1000LA/2K1500/2K2000 chips. >> >> Here, its' possible to use a single compatible for different chips, >> >> as the audio device is a logical device, not dependent on chip model. > What, may I ask, is a "logical device"? I means it's not a physical one, like "platform bus".