Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1213011rwd; Tue, 13 Jun 2023 06:26:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70y7DKtTOxsF7sS8Ly3tPYCFu3moFS66qVDJl2DTt1V+5li2skkCM9P1Mk/VvgU2KdHv45 X-Received: by 2002:aa7:d891:0:b0:506:7d65:c1fb with SMTP id u17-20020aa7d891000000b005067d65c1fbmr7151214edq.30.1686662777502; Tue, 13 Jun 2023 06:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686662777; cv=none; d=google.com; s=arc-20160816; b=OUoHwkscT5cX3Zc7RkYDXuYSwm7d9SKPNe2Kn7DVssmSoMozMvFFWUlBu3yMy2CzfZ nwNZHtFPMmhBWIY8PeeTBd0IKBe4MnVNftNvBr1dNI3RTSFm57WNy4pKabn+Wx5+taLC Q9U582Z+eVd2corIvwIHuG82anH7QfvpdRKk/TGxyloKziaQhM0Ax7XfCmYgxVjmbJ80 hu8XIIXUsv/cTp75rrfXilLZy08lGChu4PtWJ5nhBOsNI6nk3Q2kihdZnjB5qQkxrxEy MWZjXMBLYFgumDwcad7xZ1U7m7kg8Gr5+KNWNMWskxgUpIl38ctF3nXnDBlv44UFnKMo YjeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gDpW2YXsiVBkgtxax0MRLP4IH4dAGciD7BjAEtxvY5w=; b=WACygzfOreiK8nF8i8R5tvyHuz/1qmIScuc0+lAz+9tgiS0M6PXuc3ZUH06UFZpPTm 8qtAxuBG7CzU7j6JsIzqyjVbscP94hnm4tcotv2wG117KZQlHHJHImtAkKpsTd/KNoyM qpwBJxRrO+mPjjiHtUI8jCTOGi89wweKTOeH5sOHlO6T8t64SEqSk8u5RETnzxo8/gs+ bAtupnJs1+fqbO9L7pfHcZAMvLn6mvEYDkQXy5c/iWmwREGBjqM7DdG+k1T8kBZnwypv drhkjfOLYYq2P8wzBCPI1AT1ubP8pHQ/HGfatL5TrniSzke7LsanLnBeRT2DxHk/6Ic3 6ftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IYnhILDa; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a05640206c800b005187a5f2ed3si453586edy.240.2023.06.13.06.25.46; Tue, 13 Jun 2023 06:26:17 -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=@microchip.com header.s=mchp header.b=IYnhILDa; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242288AbjFMMrM (ORCPT + 99 others); Tue, 13 Jun 2023 08:47:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238753AbjFMMrL (ORCPT ); Tue, 13 Jun 2023 08:47:11 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02938E4; Tue, 13 Jun 2023 05:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1686660429; x=1718196429; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9KV3amG53H3ns2W2UWEPrWJRjgAoTih55p2OZIWk4nM=; b=IYnhILDagPWgl5o0h9SR3hVu8dhzZviVmHZT7qtjROYenV4COsMd1PYQ BHBjLBl8q28TBispGWmitvFT6JTdU4lnmKNiLKTMOi3ZntIW9VsiJfveW 3l3swOZ5fyirqLMh76GqevN9bMjBkzpP6dMg4VgATEmKpuMq+Z63Jhykm 3/xfdPN2tXBRAg+eOjVgTbERRzOzfG5yKZ0utGEOaM1D5mwDn6IEM/+F7 e4x6rCu2WUOV1d5cwae80YiPs3FUhrgrky5oLh3PC0tZgeHG+vbfzcnnv oIeIRzjCQY5mdLy59alMZOOxh6LgAWU1sgqadFsTN4eFKRQn37kc0c2BF w==; X-IronPort-AV: E=Sophos;i="6.00,239,1681196400"; d="asc'?scan'208";a="229858885" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Jun 2023 05:47:08 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 13 Jun 2023 05:47:08 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 13 Jun 2023 05:47:06 -0700 Date: Tue, 13 Jun 2023 13:46:41 +0100 From: Conor Dooley To: Yingkun Meng CC: Conor Dooley , , , , , , , , , , Subject: Re: [ PATCH v2 3/3] ASoC: dt-bindings: Add support for Loongson audio card Message-ID: <20230613-depletion-garnet-ccc2009111c3@wendy> References: <20230612085614.3039498-1-mengyingkun@loongson.cn> <20230612-booted-french-186dd95e78a9@spud> <20230613-zoologist-panorama-a87858bba075@wendy> <887f9cc4-6457-9d14-8aef-011ff4c9aeda@loongson.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aKk1AB1djxJIjJ7/" Content-Disposition: inline In-Reply-To: <887f9cc4-6457-9d14-8aef-011ff4c9aeda@loongson.cn> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,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 --aKk1AB1djxJIjJ7/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 13, 2023 at 08:38:59PM +0800, Yingkun Meng wrote: > 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: > > > > On Mon, Jun 12, 2023 at 04:56:14PM +0800, YingKun Meng wrote: > > > > > From: Yingkun Meng > > > > >=20 > > > > > The audio card uses loongson I2S controller present in > > > > > 7axxx/2kxxx chips to transfer audio data. > > > > >=20 > > > > > On loongson platform, the chip has only one I2S controller. > > > > > +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 b= it > > > > odd. Recently, we've noticed quite a few loongson dt-bindings attem= pting > > > > to use a single compatible for many different chips. > > > > Usually you have individual compatibles for the various SoCs with t= his > > > > 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. > > >=20 > > > Currently, Loongson has 2K0500/2K1000LA/2K1500/2K2000 chips. > > >=20 > > > Here, its' possible to use a single compatible for different chips, > > >=20 > > > as the audio device is a logical device, not dependent on chip model. > > What, may I ask, is a "logical device"? >=20 >=20 > I means it's not a physical one, like "platform bus". So it is entirely a software construct? Why does it need a dt-binding then? Your commit message says the controller is present on the device! Confused, Conor. --aKk1AB1djxJIjJ7/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZIhlMQAKCRB4tDGHoIJi 0k/DAQCasCv+M+mHIyy3THECy16Hhwe7ITu/f3lb4MVy64A/CwD7BlnAWtgAfv7H IktHIHxxC6ITwBVp8qA9b1IE2/XejAA= =INbA -----END PGP SIGNATURE----- --aKk1AB1djxJIjJ7/--