Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3879205rwe; Mon, 29 Aug 2022 23:41:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR78A/pG2Vi3P0ofuYbFuh5EEWISwzwmnX8JSD7IZLn3hBRhh/2pa23AW6kyNZraaGaaQE2R X-Received: by 2002:a17:907:2705:b0:741:6caa:20f4 with SMTP id w5-20020a170907270500b007416caa20f4mr7216213ejk.35.1661841691487; Mon, 29 Aug 2022 23:41:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661841691; cv=pass; d=google.com; s=arc-20160816; b=rVdQAKRrGHXykOPDofE0D/ViR0BGjezoxk/LTekIf6cVsBM4O1db4gcYFPwoB/MymS FVrTGkzh2LUbgrwsnFkWFeiBd9WiRE/32CIkXbot0DEZOq2TO25qaGQpkoOnmQK0fkZa yaZ4zOY0bacAIH0eyzTU13rCfQCxFbCr4EN78tY7lMlpE+a5gL5SIqLqhXWchuGxXngL kIcLtKfdxY/RzR4z6V/0wFmknFkNh6/EhZXdE7Uv51mdc9Ak0lAkAlxnMi76Zh4HANan UJJ1776AHtcxFNPD50EPDsVXNUHfliQU946G2UOmAh8t2Sajwy6R1rUjj1elpB9V1Xna vrAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=ymfPX6j+OWBEZcxVEjCrH6H9gl3THon3fAx7mHNf2jo=; b=0L2kQLXOtLWfXLaunCcLbAkD9L6HsUxRgB3w3LNIDDOmrofp7oGRlBd6qyOZ1g5gDq YFcPqjPBFkNxL45GOLnVjlG3gOCyLxtiSSJZ6aHpg1eZWSCtbOJNsZnQlgNysT8gHCZ6 +Tt4qgacCUnATEDFERWzK0kAEoD7Irlw2EaY3IM94BIbIXnH0OqpX/xDC/w8xsbFhfln 59jErvzdQ9MxAnXXj6opvQpaIs9DfXsJ6Xc4w93NE5CrGBYO41yJvPBmCcMUy7np1w9Y t74aWAjRqcBmF+/wynJTNpmqRxDTuNb92PslPzzlAAZ0ORmxBo2275QiMdlSEiz3IfE7 /dpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WNY9ZGx3; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf5-20020a17090731c500b007413a6b95c5si7351066ejb.602.2022.08.29.23.41.05; Mon, 29 Aug 2022 23:41:31 -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=@nxp.com header.s=selector2 header.b=WNY9ZGx3; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbiH3G2u (ORCPT + 99 others); Tue, 30 Aug 2022 02:28:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230185AbiH3G2n (ORCPT ); Tue, 30 Aug 2022 02:28:43 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2078.outbound.protection.outlook.com [40.107.20.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E117674D; Mon, 29 Aug 2022 23:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OaLCFKDVfDZlzYwUYQV/YUjH322/k0sSIhDNYyZuo1ju571DjIEytinj5B8ERvXEtiRMYJVHRpJoJ80A4+SwT7Yhm1QYJqEVjieIGrTiSjT6IlpOyW0/TVuoDoLyumk4LiO7igt4QGnTG3K1JmyAdB2nv52FYwosa/4RF1KaTahe7ZVlyWqKXKjL6Kn3sECDi3QLKzbQoW+Q0fI80y/kM65C1EU0m+O/sreKskVS9RXyqb6MmLTSeLUjP665Ik+Mvn+A0iDZrUbcGgrPy4T9TL8QNu5dtTx1EDe63Ao4Qz0fTe/a2z3GturwiF4jCgD+7xqCiZtTm13VJNQpF9HIJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ymfPX6j+OWBEZcxVEjCrH6H9gl3THon3fAx7mHNf2jo=; b=PaeO/miPV17LnTXUr7taWtIsKtSjW6smBcdHo9NbnfpCvwnbNyRdlHU0KfYRmfA463wp8PrSV6ciNHOmth4mjsIAY/TNb37F7TBmtmtMeQHMG6D/B2kjWmp9cBdryQWQ/2tS/rd+WHqvHvu/tKx7+4GRwot1bgO7PeNFWUiJv4ANFlMJEpV48SXKarD7LxoaljwBFi/gcMEvrNJAMK0eTfb/7wCzlGsKbUC9fgS+gMdHpIPcEm4pxrT8uWPQOJYvalJ1kZNn0ldr/N7gXkqg7tnZr/ZFLGlTaofZ+S/NS01JnxCpQFgBjhUghURZ5sUt2QTCP7VnFg8s4pxQ5ZXtHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ymfPX6j+OWBEZcxVEjCrH6H9gl3THon3fAx7mHNf2jo=; b=WNY9ZGx3kL6caCprq3masGR2ZDldhyvZgxNG5KfjFaeRn7BoT3ZIEL2tcgp8cE0SjJQsTlB3KOQ94iapoaQ/pbPuQ7z0v4K1Nta3WjuO9f+7kdBw4fMcmpwhMFLdhBOS1KuVystKNTdEdAyUxkUMS4oLdcHSwNS5TxaPjPVUydk= Received: from GV1PR04MB9183.eurprd04.prod.outlook.com (2603:10a6:150:27::9) by HE1PR04MB3098.eurprd04.prod.outlook.com (2603:10a6:7:20::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Tue, 30 Aug 2022 06:28:27 +0000 Received: from GV1PR04MB9183.eurprd04.prod.outlook.com ([fe80::28cf:2839:247c:b34e]) by GV1PR04MB9183.eurprd04.prod.outlook.com ([fe80::28cf:2839:247c:b34e%6]) with mapi id 15.20.5566.021; Tue, 30 Aug 2022 06:28:27 +0000 From: "S.J. Wang" To: Chancel Liu , "lgirdwood@gmail.com" , "broonie@kernel.org" , "perex@perex.cz" , "tiwai@suse.com" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "Xiubo.Lee@gmail.com" , "festevam@gmail.com" , "nicoleotsuka@gmail.com" , "linuxppc-dev@lists.ozlabs.org" Subject: RE: [PATCH 1/5] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign platform driver name Thread-Topic: [PATCH 1/5] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign platform driver name Thread-Index: AQHYu3zGgKrj+wHzzkWzPDbVUiF1Eq3G++vw Date: Tue, 30 Aug 2022 06:28:26 +0000 Message-ID: References: <20220829075144.2405000-1-chancel.liu@nxp.com> <20220829075144.2405000-2-chancel.liu@nxp.com> In-Reply-To: <20220829075144.2405000-2-chancel.liu@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3b52a81c-075d-4ae9-35c8-08da8a50d919 x-ms-traffictypediagnostic: HE1PR04MB3098:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PcAqEkgj1luFMWeOZBjXIFe9uRyYhyl0rrgibiV8sC28UeHRz/YCeY2NcLIx4HWmRm64EswByslWE/mCcO1ZoBn1vExtUqeKBLrrWSMUJacqPaEV2OxUnITmfOsmDae1JAil/ReP87aMDbuMxvo2unAmWPa9y5dtTfJqjn4ZWxYEXJ1SFacky38kGfIICzzHFRdqNv0sz2/hwi0T50OJ27fDeSnqXfiDeDQFyNlUdNgEFkqsdsVZ3Er7iT391m7hYGh+nG0bvGBFgStXL7OZ33IjQOpKIiPREvrhzM3hA4QQpXKWUyIhdM5HWBsp/IiPbA64kf45CIi+Is1ueUkyms7U/uUrlI2HBxt3SwAImASi04wlipE4zghWgvBjG9gEsqkYIoTfUTIGkhvn1vMKgIoq4Re0SVwgogDRO3f+NgI74Bz7Q2l0N1UyVF0fcHaA8Klv+7LQR5SwMLGnM7Snzpwz/yuQ3h3HAQ+ZPYmOrfXoMseCnrGsVcZJr6Un3oxiwQ+F0/JH8YPkLcBDY2qPqjs+imJXP6/0SolUrWEOUNLNqrX33dLKDmPPuARcPRna6uZp2XtzKRJZFKz0ahEekGlTF8ZPUOWAjn49pKPjtufB5/hhjv0whXqQsk+tJyko508ZJ7/X7paqB2u6ne6XY/9JYfSCWx0NhwjJco3nU3udNtMcgRJ8zvaBL8K30KygVNH1r8FhqDvbSE9HZZEEjpEgNf8V3RcApjR38AlBhsbAJ8qqn3atsmllqNNecpfiH28Uc84N6N076QzQbMEN5Pnmjd4+ZP4ZJyCO30lWJ+E= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV1PR04MB9183.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(396003)(346002)(136003)(39860400002)(366004)(9686003)(38070700005)(921005)(83380400001)(186003)(2906002)(5660300002)(66946007)(64756008)(8676002)(66476007)(76116006)(66556008)(66446008)(8936002)(52536014)(55016003)(33656002)(7416002)(316002)(110136005)(71200400001)(7696005)(41300700001)(478600001)(86362001)(6506007)(26005)(122000001)(38100700002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XJC+CgdAXwMPKFJh07LagO4mqvZu3e05fn3U5yobvnLaHL+aeaWX99kcA0tC?= =?us-ascii?Q?UpYWxnGB6WkYQikPsvHm3YiTO2/PTO4H/0v6Y5sCYAmXDGECZWNtGMVvCBrZ?= =?us-ascii?Q?6q2bM6+4V9R1GCqDx3Ont4VWtO8/XbF8uWkRtfoJnqkZpVXP47pGCJOFR3MS?= =?us-ascii?Q?4F4PUEAMv10qacSkTG1q5NEN3c7IdCj3FuIXByctWfo2sSE+Hg/U7HB6dZIW?= =?us-ascii?Q?mu6TYgf84TO4QF9HoKulGBvx3S4S7odcT9ApT2JJbfdBiaF0vlG2GF+R5CEr?= =?us-ascii?Q?hb1NMK4cQcxSM1ua9vDd20BAh66eD+isRTXfH5fDWgAtyZB5INZktHDw+rpj?= =?us-ascii?Q?nmyWJZ4G7xwNpaaHsgpWSsk8m6ywLh2s3acBpP7ayzLdKdY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XthPYChusXNDH2VsD5CY0MGe6YDr02S?= =?us-ascii?Q?EU91xUrXO112mNm3UUXlQUmLPfiVQcZdJUDJQqvN83Yhh8qoNA3zF5Nqe7EW?= =?us-ascii?Q?QDNt28B5Lof74Fm8+ko6/9e0Uu17IM7M+5XjnYXdF1v06hD3HNpCOOcIkYq/?= =?us-ascii?Q?mddR6Ywe63JzbqHq2c+wWi95DynampDJ9W5pw5dDhLgAC+kWmjcTGrjYqjOk?= =?us-ascii?Q?mzr7oEmjyo/3B76qKhE9wyxCGOLDnNew2/C45W3iidC0bnRfN217ZgqODG+z?= =?us-ascii?Q?bNbE4mMX2m6xv5W0wuBcRcFWuozft+qlZgeX5NQR?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GV1PR04MB9183.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b52a81c-075d-4ae9-35c8-08da8a50d919 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2022 06:28:27.0358 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: B8xQaS0aeD9TwfjiPZ6SjunRO644zBsCzlXK9lHj9w4QqOvv7O4UIqioX8vmh8bP4iNvp52a7oFH0HIW+WrZPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3098 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 >=20 > Add a string property to assign ASoC platform driver name. It also repres= ents > the rpmsg channel this sound card sits on. This property can be omitted i= f > there is only one sound card and it sits on "rpmsg-audio-channel". >=20 > Signed-off-by: Chancel Liu > --- > .../devicetree/bindings/sound/fsl,rpmsg.yaml | 34 +++++++++++++++++-- > 1 file changed, 32 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > index d370c98a62c7..35e3cb9f768b 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > @@ -11,8 +11,11 @@ maintainers: >=20 > description: | > fsl_rpmsg is a virtual audio device. Mapping to real hardware devices > - are SAI, DMA controlled by Cortex M core. What we see from Linux > - side is a device which provides audio service by rpmsg channel. > + are SAI, MICFIL, DMA controlled by Cortex M core. What we see from > + Linux side is a device which provides audio service by rpmsg channel. > + We can create different sound cards which access different hardwares > + such as SAI, MICFIL, .etc through building rpmsg channels between > + Cortex-A and Cortex-M. >=20 > properties: > compatible: > @@ -85,6 +88,14 @@ properties: > This is a boolean property. If present, the receiving function > will be enabled. >=20 > + fsl,platform: > + $ref: /schemas/types.yaml#/definitions/string > + description: | > + A string property to assign ASoC platform driver name. It also > + represents the rpmsg channel this sound card sits on. This propert= y > + can be omitted if there is only one sound card and it sits on > + "rpmsg-audio-channel". Please add enum to list supported strings. Best regards Wang Shengjiu > + > required: > - compatible > - model > @@ -107,3 +118,22 @@ examples: > <&clk IMX8MN_AUDIO_PLL2_OUT>; > clock-names =3D "ipg", "mclk", "dma", "pll8k", "pll11k"; > }; > + > + - | > + #include > + > + rpmsg_micfil: rpmsg_micfil { > + compatible =3D "fsl,imx8mm-rpmsg-audio"; > + model =3D "micfil-audio"; > + fsl,platform =3D "rpmsg-micfil-channel"; > + fsl,enable-lpa; > + fsl,rpmsg-in; > + clocks =3D <&clk IMX8MM_CLK_PDM_IPG>, > + <&clk IMX8MM_CLK_PDM_ROOT>, > + <&clk IMX8MM_CLK_SDMA3_ROOT>, > + <&clk IMX8MM_AUDIO_PLL1_OUT>, > + <&clk IMX8MM_AUDIO_PLL2_OUT>; > + clock-names =3D "ipg", "mclk", "dma", "pll8k", "pll11k"; > + }; > + > +... > -- > 2.25.1