From patchwork Tue Jan 17 06:18:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Faiz Abbas X-Patchwork-Id: 44523 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1593341wrn; Mon, 16 Jan 2023 22:33:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuv9szCzayrFnZrLFgn/dmAl74o5PStZd8TvVG9FTXDU26u2Gzn3xAiO/AiJSI45s+S9le6 X-Received: by 2002:a17:906:fa96:b0:7c1:5098:9074 with SMTP id lt22-20020a170906fa9600b007c150989074mr15555223ejb.0.1673937185911; Mon, 16 Jan 2023 22:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673937185; cv=none; d=google.com; s=arc-20160816; b=k4EOAhvjt3vis5T2B+rX8fI5xlyJ63HPsqfTdiFAYUpVUZiK/LG7pz5gsWYA71UqiH 0GBDwMfnkaAVtZMAzjbgDtiUs01jrAmvqtglGnj4o2p2m7ExJ8DAqgSnDGT/7/pGfQIt gbEPfGnKP489O+12goju8RlziRAngej9ui3JBpytpSy3TRTzxl2CM1t1YcEs+cm0vQT2 Yg5UJM2kUcFRv8qwOTmE7s1HDc80yzqEMSEuaL41SW0YzHNi+Wb2kd8cbaogTxo1n7lD QJntuKNV9bcZxLhzHkAAatkeH18b0LSsDibWGzYtkbN69XzeVJsCtlh+fM89Q22oGhHs 6a6Q== 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 :message-id:date:subject:cc:to:from; bh=ur03rNcL3VEXIqMMtr3bCV9rHmy20d2crClNYN8GbaM=; b=ul/cCzuNpmJ0b5syJ2HRUB1xcbX5uPg8HCUU4a+nonMpmUD73JpsXPcCAJoO6aICM2 2Xq9TYhGZV91xRtH8DZ1daRyv1AWOVAKALH0FtHE6jqiKhn/as2ueH7/Pz1j48NEVorn K8TevbDepb+wnukgIacMVxxfLcwgmGr5QLpxsW8FaXUpZmZjblH0rJunMeXXdAUwgPLW K1QdEQSkVlABrQaOXGEbGyOXDnxZMAKCBix8xsX0VEvMIL00OEOgGI4UuXevwDdoI6VF e+ulNP6beq4jlKwQb98IZ0xnIi3fwDzPSrbXerZNNOG0CpzSQ7rAGcKwMM0ZNiqm2A9+ ctGg== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id et19-20020a170907295300b00871b6dea6adsi2466558ejc.872.2023.01.16.22.32.42; Mon, 16 Jan 2023 22:33:05 -0800 (PST) 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235735AbjAQG00 (ORCPT + 99 others); Tue, 17 Jan 2023 01:26:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235720AbjAQG0B (ORCPT ); Tue, 17 Jan 2023 01:26:01 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C6E6422032; Mon, 16 Jan 2023 22:25:37 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 80631C14; Mon, 16 Jan 2023 22:19:12 -0800 (PST) Received: from R913NWR2.arm.com (unknown [10.162.42.84]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 26E013F445; Mon, 16 Jan 2023 22:18:26 -0800 (PST) From: Faiz Abbas To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, broonie@kernel.org Cc: lgirdwood@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, kuninori.morimoto.gx@renesas.com, Anurag.Koul@arm.com, Deepak.Pandey@arm.com, faiz.abbas@arm.com Subject: [PATCH v2] ASoC: dt-bindings: simple-card: Document simple-audio-card,plat Date: Tue, 17 Jan 2023 11:48:08 +0530 Message-Id: <20230117061808.18422-1-faiz.abbas@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755250358680182310?= X-GMAIL-MSGID: =?utf-8?q?1755250358680182310?= The simple card driver already has support for a simple-audio-card,plat property but its not reflected in the documentation. Add documentation for this plat property. Signed-off-by: Faiz Abbas Acked-by: Rob Herring --- Changes since v1: 1. Updated commit message to indicate the property already exists 2. Removed redundant example 3. Fixed formatting issue found by 'make DT_CHECKER_FLAGS=-m dt_binding_check' Documentation/devicetree/bindings/sound/simple-card.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/simple-card.yaml b/Documentation/devicetree/bindings/sound/simple-card.yaml index ed19899bc94b..9abe99f15763 100644 --- a/Documentation/devicetree/bindings/sound/simple-card.yaml +++ b/Documentation/devicetree/bindings/sound/simple-card.yaml @@ -205,6 +205,8 @@ patternProperties: $ref: "#/definitions/dai" "^simple-audio-card,codec(@[0-9a-f]+)?$": $ref: "#/definitions/dai" + "^simple-audio-card,plat(@[0-9a-f]+)?$": + $ref: "#/definitions/dai" "^simple-audio-card,dai-link(@[0-9a-f]+)?$": description: |