Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1635867iob; Thu, 5 May 2022 05:37:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcPJWMubnlVdxJtfIZZFYvVYfvkUEqhLZSZ/QcnkXjALgklOwFHPUtU8tIsjTP+An/mL4x X-Received: by 2002:a05:6a00:a85:b0:506:b9e:7f43 with SMTP id b5-20020a056a000a8500b005060b9e7f43mr25859035pfl.5.1651754241462; Thu, 05 May 2022 05:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651754241; cv=none; d=google.com; s=arc-20160816; b=PXkTI/rp6vk0uWRf09jhzWTq0Ux9Wy4K/MdU0D2ooMgdd+s8jwK/YrJZU0/+uSWTnu T4UBNhy9ZT0AJ0xbOV6z+LoQRx0fJ1YqZZsRoHCH/+cgiZ/XYvSRvKQGtXC61ZF3g9+V Tq7rn8/XKOI8TKtjYenTR4sRK03D+bQ25d7LAePd5ZBNAjHswMs24aFLr6FJ7lwRGR5x myj1iCJ34P0qgwrBy5ssLKt9J/+SMPyjX7l/+60DBV7siQq3pXnO6CHk1ShuGPk6YiI8 YJcEuNAXZfUJDxCB/PcBkJPX+mae2O3qeFocC7fiIWI9jBUXHCJ+cwwT4HnbIABaxzX3 oj5Q== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AcpEU69sAJkwiV3catvTf9Ba2Nirs+uxT6TgvfUDezQ=; b=Z/EYT6ZMpVVZFGBjXdHL4cgZtrE6gwGfBF38Fa070p2aeJL1YHzZPjQFJNhNhvntfU oqMTYNICKKHdq25AfjX+jvtZuJRDlmgb23wyLZ4KTgi9vBXQwc8Xib+iz5QurInZOGEU 553pOPNDAKx7ExpMEl/bbMW3xYQaFKZeCWGW7beWxEvMd8SsGsTo7X/Kk1tUE+RQ6MIL UdvYmdSfJVovfyDMxTz/xmpdENhZcHYY1zwpQjfW9PuWDsWtWb6jfKE4Ri3q9zCqeJ/S JpIQLeMBeongsZ9NpaGpf7MaQuXQzMD8zllsamy9/xmliM01NITPbeewgP3Y4yiyjs/C A9Rw== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a632150000000b003ab573bd7dfsi1509911pgm.80.2022.05.05.05.37.05; Thu, 05 May 2022 05:37:21 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378152AbiEDUmh (ORCPT + 99 others); Wed, 4 May 2022 16:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235824AbiEDUmf (ORCPT ); Wed, 4 May 2022 16:42:35 -0400 Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 226FA4FC5E; Wed, 4 May 2022 13:38:58 -0700 (PDT) Received: by mail-oi1-f169.google.com with SMTP id v65so2365673oig.10; Wed, 04 May 2022 13:38:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=AcpEU69sAJkwiV3catvTf9Ba2Nirs+uxT6TgvfUDezQ=; b=aI1+bxMjx+oP8zZqlFHPpvekCh3BHxh13601zAKUIN8tanqW7Egx5swO7Xp0CIqVZD TaWQSaJ8lB+OoImnVOUPEaljDAg5DKyiSRz7DzDJEHyPzHCwTZXJ5TWUQlZ/8ratyCjl +Kg1DeBy36IkFh5aHPdls+kIT4JpKamE69rPgv3YegqtF2CO8HD3XH3Ww6SxToMngjpI TLLOXIaaIOBf/XiuhPb59JS5/mSgxKJ6VAqkY04xB4OrgB9afE77JZo2vi8THBHL+gN+ 821bOIR1hfafGixQvhSxciSKZguie+2em4L95giU2SSooPGimF4348SpM603/WPS41bl 2BbQ== X-Gm-Message-State: AOAM533AHZViDc9k4pzR205BKZftWV9qzt0eXDPARwCKYBdHBSUOGcqI J5Fo3uRKvkgQgwHATKdaFA== X-Received: by 2002:aca:545:0:b0:325:6e7:992d with SMTP id 66-20020aca0545000000b0032506e7992dmr673969oif.244.1651696737433; Wed, 04 May 2022 13:38:57 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id dv2-20020a056870d88200b000e93d386d97sm8387005oab.31.2022.05.04.13.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 13:38:57 -0700 (PDT) Received: (nullmailer pid 2187220 invoked by uid 1000); Wed, 04 May 2022 20:38:56 -0000 Date: Wed, 4 May 2022 15:38:56 -0500 From: Rob Herring To: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado Cc: Mark Brown , kernel@collabora.com, AngeloGioacchino Del Regno , Jiaxin Yu , Krzysztof Kozlowski , Liam Girdwood , Matthias Brugger , Shane Chien , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 1/3] ASoC: dt-bindings: mediatek: mt8192: Add i2s-share properties Message-ID: References: <20220429203039.2207848-1-nfraprado@collabora.com> <20220429203039.2207848-2-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220429203039.2207848-2-nfraprado@collabora.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Apr 29, 2022 at 04:30:37PM -0400, N?colas F. R. A. Prado wrote: > The Mediatek AFE PCM controller for MT8192 allows sharing of an I2S bus > between two busses. Add a pattern for these properties in the > dt-binding. > > Signed-off-by: N?colas F. R. A. Prado > > --- > > Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml b/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml > index 7a25bc9b8060..5b03c8dbf318 100644 > --- a/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml > +++ b/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml > @@ -54,6 +54,11 @@ properties: > - const: aud_infra_clk > - const: aud_infra_26m_clk > > +patternProperties: > + "^i2s[0-35-9]-share$": > + description: Name of the I2S bus that is shared with this bus > + pattern: "^I2S[0-35-9]$" Why not a phandle to the the other bus? That would be the DT way to do it. But I'm not sure I really understand who is sharing what here. > + > required: > - compatible > - interrupts > -- > 2.36.0 > >