From patchwork Fri Nov 11 09:17:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13039961 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F6A4C433FE for ; Fri, 11 Nov 2022 09:18:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 465F71637; Fri, 11 Nov 2022 10:17:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 465F71637 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1668158318; bh=RKLgBS9h1nbfK5UGZYc7ew5+8z3uMf8okkKzkUaA6LM=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=t6FtFkoG0O+Jre8x21m684snT1vZwJQbnxV5qU6/EqrPXtU9kPbvkKiWXVmI8NBum vNwwEl7nf7b30tZL6j9+WGy+aqr/N9D2eca3yqimn+ntAc5OMQ7C+maS2TAj/iK7vB t97uCPCLJZS9ZlAGXBhXElhJpBYK+2ye+j78shSo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BAAC4F80249; Fri, 11 Nov 2022 10:17:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7BECDF8028D; Fri, 11 Nov 2022 10:17:46 +0100 (CET) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BC7D9F800F8 for ; Fri, 11 Nov 2022 10:17:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BC7D9F800F8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FHcbu6fD" Received: by mail-lf1-x12c.google.com with SMTP id l12so7464439lfp.6 for ; Fri, 11 Nov 2022 01:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nPlbKpBD0wKljEf7tisLD35jOw8oky/FUJbaNHDXDIU=; b=FHcbu6fDH/RFtvqwucotS+pvyGY/Xx9aapd69IoMT+MqjxmKgCMXbER26Dwea+sPzL +n4ysAVthsBSBw7+errjtRHSiCe+ay4wpku9H5qyWz2ZcES0nMt4niN4x0POIRG04Eut LY+Nm0fZOOE2t5zOXodf3JutS9I3c4MMUg3DH1ezQDynvzsCR5bLgGVlxLfGpnI4++ln ASZ0Ga1ixawq0SpZX17qWyRxTTleKPyGFRpniqE9B2QRJYtcUnDTa1wrnQiPHjpAryfN QDfzz5ht7w7vnD5tsnhxN53K1/8qMdBD1cahrmxXjpEfirDXEnYPqrI0HYTnv9ySPqJL 4cyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nPlbKpBD0wKljEf7tisLD35jOw8oky/FUJbaNHDXDIU=; b=dGSzEwH6OYiEM77/6uxkVDON3C3Y7EUvTxTFDY5Myt4fh0Gm6RsByilx7DPdGHriWo YCvnphbgCJIqSgZ2Hvb48aSuphInVWdorQdIuOeqtNG6bPeZlYksNq43cjJ7SdtJNQOi VbuEiqJjOqAsBKNz1ICydiYb3ngb9O9rRU6GZRBZofYDKuiqf0FYeNjwmX7UCrXa1t8W EqfOTFqeCjIZOQ/CHTGIm3I0NXFon2XCPFapXzPD5PsDtF+8giPJ5szTqJDePwJvFKCD b/M17H3gttyW7+Pyvduwlbwmx5fHc7NCkj1bFGLrjRXHSx/bnwJk1vbZlAM3MiEgKjKk Z4TA== X-Gm-Message-State: ANoB5plPJRgoKBI8u05TN/fKetlk92XHmnirrs0LNK7yocA3taYZiIQV yIZtWIoxv69f/8ITOOKLvbSopQ== X-Google-Smtp-Source: AA0mqf6IvaGdXlTe2+QL7qgXki4ORVbtUiaQ0mEhBXJKSWWq7k50zwCSMCisOJGWTfKz8eLqFXzZ1Q== X-Received: by 2002:a19:f704:0:b0:4a7:7d62:2807 with SMTP id z4-20020a19f704000000b004a77d622807mr537837lfe.77.1668158261582; Fri, 11 Nov 2022 01:17:41 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id o17-20020ac25e31000000b00498f23c249dsm231756lfg.74.2022.11.11.01.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 01:17:40 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: dt-bindings: qcom,wsa883x: Add sound-name-prefix Date: Fri, 11 Nov 2022 10:17:38 +0100 Message-Id: <20221111091738.34290-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" For multiple speakers attached, it's useful to give them some name. Sound core already supports this, so reference name-prefix.yaml. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml index 99f9c10bbc83..f3fb1de93ba2 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml @@ -15,6 +15,9 @@ description: | Their primary operating mode uses a SoundWire digital audio interface. This binding is for SoundWire interface. +allOf: + - $ref: name-prefix.yaml# + properties: compatible: const: sdw10217020200 @@ -35,6 +38,8 @@ properties: '#sound-dai-cells': const: 0 + sound-name-prefix: true + required: - compatible - reg @@ -61,6 +66,7 @@ examples: vdd-supply = <&vreg_s10b_1p8>; #thermal-sensor-cells = <0>; #sound-dai-cells = <0>; + sound-name-prefix = "SpkrLeft"; }; speaker@0,2 { @@ -70,6 +76,7 @@ examples: vdd-supply = <&vreg_s10b_1p8>; #thermal-sensor-cells = <0>; #sound-dai-cells = <0>; + sound-name-prefix = "SpkrRight"; }; };