Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2569110iob; Sat, 30 Apr 2022 12:14:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC46QaoHJQf0Ow1c/QnvzBUWRhrwUFog5+Vpl+xIQiEVaJdH0EtZyxkKiZoFioGvS8XqR/ X-Received: by 2002:a62:3083:0:b0:505:f7ac:c4a6 with SMTP id w125-20020a623083000000b00505f7acc4a6mr4557206pfw.66.1651346045207; Sat, 30 Apr 2022 12:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651346045; cv=none; d=google.com; s=arc-20160816; b=EepVWkBAkOjQ9R6kRfnv63xHkFq+KwTvYRrX02GfOWYiR7c3ywsB0lSXACCPbrVSFt hM5e6aOIxtjWPp3oV59dsxj01jzRUrycZVZ1TGsnsIATeBDGj0+fs2VqghHz9AaYChYY HuDOc3TyIbape76L7lcLFuNZhOBJ2OUX5RtFBtHfRRSH0PBgrUwKg+JjCOyBwKCNd7G2 OnxL+cmDAF+mIYlPPH9wc0p4K083LrqjVLaiemiCznsrHm+KiC0RJjx6hZVME/E7G9AO M7fwzJhvfleI5NYa9Ok1czS4SW6oUQBKOSYE961OW4F+BShNrLhPSM/MHWOLd927XmQf /qoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7PUj+PWpDxk/HDsDt7mQUfXcw16UaVvW8gLOySMxD5w=; b=f4N0a0S8//0fj+HgyV7bG/cOi8ooRWytH2bASe5REy+xRFVxMDckWmN68KmnhOfHV1 bb6rxTowMO7OVflXBwDKccu/7vcx0kvV5OztWSuQ5nUcvu/7FLL6le39HLrbglBp9+f6 v46e1k0P/PITnn7prkgMh2yXdTGXdegwoWCbxji5I0EMcKqecQ7rpT9lG1w9mR49Znpj B4P3B/LK3Olqx6tHRxujT/7fDcfUo1DU8au+PcGVwNp8LzxCUu6zcH8dGYSAyChH4FJ+ ahIIr7ZDftaFq/NqgdUwJLezb5FsM9OvtezEOwyNUoZBOlonzN1TL0pUVWgSAVwDE9UF LBtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IEXLTWvq; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu15-20020a17090b1b0f00b001c6a15fe77bsi11397272pjb.51.2022.04.30.12.13.48; Sat, 30 Apr 2022 12:14:05 -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=@collabora.com header.s=mail header.b=IEXLTWvq; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380772AbiD2UeQ (ORCPT + 99 others); Fri, 29 Apr 2022 16:34:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380751AbiD2UeN (ORCPT ); Fri, 29 Apr 2022 16:34:13 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4592343EE6; Fri, 29 Apr 2022 13:30:53 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 13ED91F469D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1651264251; bh=iA81JYnLAQQ56KXiWfdUYhI2+oyfPVXJFjeDzQn33UQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IEXLTWvqDvhD8CXoQFsb1+gzKNMCACdb8rlEhLrPyFd5Ezy+kLRcmFRgNDdCBsuKN F24McZ6t0CsiSnp6455dCY4H1vu7lXGmcYxl5ke4thYo5fhgXDCtnWhmwohSXFFCEj HR3NsmGWzRONXwoUFTxpZ98PUXsHAO6evwLPcOIAtkBXwsmkitIWiu1guxTspIsf2W I1oW750Zw+95Up0iRS8Enhwhs6IwLCwc7gx+FF85yE0Y6AuXegjBGms3Z/+t5khTEL tMxYkikxZsfLJf6KdIeL8LLyPo6mozWksZutDOsDDeMHPdcQdcmlNv0c3MRm5bX/y6 35CkcCaxg8KMw== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Mark Brown Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Jiaxin Yu , Krzysztof Kozlowski , Liam Girdwood , Matthias Brugger , Rob Herring , 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: [PATCH 1/3] ASoC: dt-bindings: mediatek: mt8192: Add i2s-share properties Date: Fri, 29 Apr 2022 16:30:37 -0400 Message-Id: <20220429203039.2207848-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220429203039.2207848-1-nfraprado@collabora.com> References: <20220429203039.2207848-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY 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 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]$" + required: - compatible - interrupts -- 2.36.0