From patchwork Tue Jun 6 11:56:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 103751 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3341844vqr; Tue, 6 Jun 2023 05:06:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4oUpIsEKp7XwBQnf6+sYSp2R35RSygJowt74ttAbLLsSG+dAv4f6wqQCHZUpuBTO5kIXWP X-Received: by 2002:a05:6214:29e6:b0:62b:49e1:4946 with SMTP id jv6-20020a05621429e600b0062b49e14946mr1619596qvb.21.1686053218220; Tue, 06 Jun 2023 05:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686053218; cv=none; d=google.com; s=arc-20160816; b=qI39MEcrim3kv4nvONItp0Eyi77f9+x4zqFh3f3DWRN03ZimOe8zITTJGB0IN7jnS5 9VY+332+81hy7b19xuW4xM+6jo13oNV5gUqpZXZ5xadtlDqlUNsPavMUijp+DrqTH5Zs UEKpbaEl4RDQMPMOD95IeCKzf0K8onytqsa5SMfUXNI2A26GmLWO/bA3nUhew6cbj9Hd URWs0iKX8a2jfSK4MO082IP5GCDK6Br5t5ICRVQk0h0/UmoczR3+E4Pv5ts+8m8DTlSW SUp6qy7ven9yNG5pmBmzuk4Rr0GXTarUYbr0tZg3WLxgHnBFt+s1x3NdTjHxOA8e2M1k 445g== 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=NMvffGLP/L495gVeFgiRl7BuyTmCMHMDH0I+QTyHogI=; b=BODol78TTh504VUZb5DjERnQyjhwKiojXxVJrd2tlMGcp9IjF6Ecv0JXKpGa0Psh9i JASgOE5Gw07mV3J6V/hfzK+XaF+f/VRRzY8wus6HoLwVT4OemO24uEGnQXdOET9PdBYs rOl2RCJXHHWDjAglSJHAh/dcfvT/kux6TP8wy1xyxxOw9dquRlp2FjwpumUsVII/xCuY cKIrUZ743Q9LzA7slPqvi/yNFaILH/3z5OVoQ8+WI4Zx16D+nYdGLcUoHUUEoj//vJXk /18xMEvmR4R+wtVeRLf1F6zQaTyQenqXYGPBas4qgQjFAicKV7HY1madydBESPhT8qeA UChg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=I8ZaIPsC; 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=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u4-20020a05622a198400b003ee8a016d4fsi6156820qtc.30.2023.06.06.05.06.36; Tue, 06 Jun 2023 05:06:58 -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=@foss.st.com header.s=selector1 header.b=I8ZaIPsC; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237232AbjFFL6J (ORCPT + 99 others); Tue, 6 Jun 2023 07:58:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236898AbjFFL6H (ORCPT ); Tue, 6 Jun 2023 07:58:07 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01080E6B; Tue, 6 Jun 2023 04:58:05 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 356AaOmZ029810; Tue, 6 Jun 2023 13:57:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=NMvffGLP/L495gVeFgiRl7BuyTmCMHMDH0I+QTyHogI=; b=I8ZaIPsCZoo8Sx/Tub8rE44RHTcuIij2KR8rUzROdlbUd0jE2oNKX/sAc8eIdAOJe0VR +d5kiDUz+3/eTsi/NekILxEuwMc997ZyHaXJxd8ww9kjKDuiOZzITM54xXsfaSR1gRd4 LXQkF1JGmHUtdoycXbAvlKi4S2P+bdgUHqY84gBn+qSp3YyLFylHNI3HzwHf57WJ18wb KM9R4sJH4v+v+PO6s75vGdY9JRJxn7FfWlaA4HbMqChOH8dfJng7atFOkSjnDs82XVdY Dux+Sn/EefKJ4eo/RgRRU3MiR36O54ijHBYe8dXVddQimnnzzg1qKwpMtmL/EMfgmpOF 0w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3r236qrffc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jun 2023 13:57:46 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C88C510002A; Tue, 6 Jun 2023 13:57:45 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C0ACA21D3B3; Tue, 6 Jun 2023 13:57:45 +0200 (CEST) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 6 Jun 2023 13:57:45 +0200 From: Olivier Moysan To: James Schulman , David Rhodes , Lucas Tanure , Richard Fitzgerald , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olivier Moysan CC: , , , Subject: [PATCH v2 2/3] ASoC: dt-bindings: document audio of graph port for cs42l51 Date: Tue, 6 Jun 2023 13:56:03 +0200 Message-ID: <20230606115605.1633595-3-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606115605.1633595-1-olivier.moysan@foss.st.com> References: <20230606115605.1633595-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-06_08,2023-06-06_02,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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?1767954939328708812?= X-GMAIL-MSGID: =?utf-8?q?1767954939328708812?= When linking the CS42L51 to another DAI component, according to audio graph cards bindings, an OF graph port property is expected in the node. Document the port property. Signed-off-by: Olivier Moysan Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/cirrus,cs42l51.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml index 670b67ec0b61..f7bafbd4f1c2 100644 --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml @@ -44,6 +44,10 @@ properties: VAHP-supply: description: phandle to voltage regulator of headphone + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + required: - compatible - reg @@ -69,6 +73,13 @@ examples: VA-supply = <®_audio>; VAHP-supply = <®_audio>; reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; + + /* assume audio-graph */ + port { + cpu_endpoint: endpoint { + remote-endpoint = <&cpu_endpoint>; + }; + }; }; }; ...