From patchwork Wed Mar 15 11:47:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 70169 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2279771wrd; Wed, 15 Mar 2023 04:50:17 -0700 (PDT) X-Google-Smtp-Source: AK7set8bah05fjHB86Z453Q/gB1WHx2rC31CEqphRuWb02AwY4F9+SYp7RsPTqwRcZCqf2Ids1c2 X-Received: by 2002:a17:90a:2dcd:b0:23d:1dd2:fdc2 with SMTP id q13-20020a17090a2dcd00b0023d1dd2fdc2mr7900772pjm.26.1678881017398; Wed, 15 Mar 2023 04:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678881017; cv=none; d=google.com; s=arc-20160816; b=UR+ikBzJyam/6bI37VxZhNOQjdkSEt4wE6zmS0ZQvu7gHgv6SOUg8j+zkbT2Kg/fug jXTKNy79Ru+tvv6UBRio5AVk7+8O1McmCK+Om63um8L92QXDNWuE/6oqDapLJUlD599n ngaUsiHTrUEA4GWOVFDDiBrLAvdMK0gH7+z0jgyBygBXLu/5XK5d+XrB3WYsFLR7BfW/ GVdfPjjuIOwVlRICUbmnDULDoTTFIOdKNetAw2k+dXtBYsDYSEwXjWzq2vtRRTDWjdPb TmqhgM31m22MvRGbWwCWkW8+D0fTk8h0OBtanVNoBbGzNP84Y3BIla+fNge8Zl/Ti3xw 7aFQ== 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=GHUCEK/lj4TJRJRvN7BhNZpOMFKCDj+YitsrWQKeDS4=; b=Mn2cScgwogJwgE9GZGmhs3JjAazQ9HztxnkQ1e1mG89Maquu22qCKCippbDrePgmgl n7I+6khWCP2WHMJpodkM4sdyYeLE6kQHSF9PYSqjf6fM4iWN55brK+WtmWx974XAwsSx 4f7TS9R0zLfbuNRizrWhM7u1rT9B4ryACs1cW0mAKArDv8qo3HDvOsDYudJtz/Z26sRW 9JvJK5BucnWctCtpZfKhW6rWhOLQZWJEJHeyXbVgYAy1anChO0hC5VMLCEtmgIV36vvn Hf2GOEGph73EB1IoxLuv/gLbNWQDF9TaMaqhTRGTBOZf6XpXcP/2xJchT3ssmNxFFakr LzwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Qropq4Q+; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om6-20020a17090b3a8600b0023d2d9e0483si1454739pjb.109.2023.03.15.04.50.04; Wed, 15 Mar 2023 04:50:17 -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=Qropq4Q+; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231664AbjCOLtY (ORCPT + 99 others); Wed, 15 Mar 2023 07:49:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231127AbjCOLsb (ORCPT ); Wed, 15 Mar 2023 07:48:31 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3E04618B9; Wed, 15 Mar 2023 04:48:25 -0700 (PDT) Received: from localhost (unknown [188.24.156.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id E48736603096; Wed, 15 Mar 2023 11:48:23 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678880904; bh=YwZI6+CLTozcM4IgrIwS1wTY3wwS+KWhUpPNYpE/v00=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qropq4Q+2KIPDKb8oulyDdLLdKidkeIaxE6cEqGDobvYvZJSicrbKSejWC57Akq4y 3+C3mUOFhLb/hZFq7zC9h9SwXbMmdqcsaPmDbwW9JLebFmfIuAfUSFYbQwQReRJIsB QdvFJ/y+TS6DpMqpCcY9QN/0Lg044+VLJJ7WoXieurU7FgmQrCoMzSihT2iajfCVot NZyozTqz3IZgUnlD7E4A/oC+5MctDSwbb61qrUD3EY/8nBtRRaSRX7unMhT+lXZQ9e z2ebjHd5Ps8s2HejE1/GHliq+XQ3IAhJeR79AAgou2IuqxasHfsl/6zMRMAo+b2YWg Df9+S2Tn/U4tA== From: Cristian Ciocaltea To: Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , Nicolas Frattaroli , Heiko Stuebner , Jaroslav Kysela , Takashi Iwai , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Drake , Katsuhiro Suzuki Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, alsa-devel@alsa-project.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, kernel@collabora.com Subject: [PATCH 04/11] ASoC: dt-bindings: rockchip: Document audio graph port Date: Wed, 15 Mar 2023 13:47:59 +0200 Message-Id: <20230315114806.3819515-5-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230315114806.3819515-1-cristian.ciocaltea@collabora.com> References: <20230315114806.3819515-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 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_NONE,SPF_PASS, URIBL_BLOCKED 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?1760434341663813286?= X-GMAIL-MSGID: =?utf-8?q?1760434341663813286?= The Rockchip I2S controller is currently used in conjunction with audio-graph-card to provide an endpoint for binding with the other side of the audio link. This is achieved via the 'port' property, which is not allowed: rk3399-rockpro64.dtb: i2s@ff890000: Unevaluated properties are not allowed ('port' was unexpected) Fix the issue by documenting the missing property. Signed-off-by: Cristian Ciocaltea Acked-by: Rob Herring --- Documentation/devicetree/bindings/sound/rockchip-i2s.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml b/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml index 1cb4da300607..c32b4750651c 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml +++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml @@ -82,6 +82,10 @@ properties: resets: maxItems: 2 + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + rockchip,capture-channels: $ref: /schemas/types.yaml#/definitions/uint32 default: 2