Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp379150imm; Thu, 6 Sep 2018 04:04:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZsuuSFUenNg3V01PKKOLX/M8DCGQEKVOozbk5vyh3tFiuddenSqAfcE1aMxQakIlYzrn/2 X-Received: by 2002:a65:5545:: with SMTP id t5-v6mr2113454pgr.157.1536231896026; Thu, 06 Sep 2018 04:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536231895; cv=none; d=google.com; s=arc-20160816; b=v33/OxB6XGPqUWk/O3cG1IPudzC7rpR8QEDf1xgQzIbAtTwMJfbncOw4TaZh3sOp26 VkJcPFDSsx8DTz0qgY6XnetoktwK2bdDAvc3gg0zUfpMDBy93fEvKPMfDVbfm6I/QBKC uy31PedHnqpCam/HNDOd1z2OyZ+frdunrpIE7Zd1bqhAt+ckxiYpmZx0n1cE7dVtbN6R llxaVEb18S4KyFCuJUfynbaBuBM+75nz4UdIkbf1nsCK6fhV8NSil3KgqV3Fm2FmytKB ntUm0V0ipKpj87MWAy50gSYZf6cN6vFqZWnGNrq1WHolL7YXdiLtNo0w+V2UbI6S/ccz Eu9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=UVCg78XtdFHldYTtS8HAxQts6BZNtiG4Z91c3rz5ltw=; b=Aqwkr87c+ZHvfxiz/6jTEG2zQyekE0puksFvCY09S3hs/cbA0pwbiYupnL3tDRU777 R6noRrWuhNBk0IOygG1eSDNcYACCDIl18vnUJUTbdJDHqf4G7Eb7oWCMegsxyCsQ2Fpa E7HpUcGQ4FVNkt1+bP8JwD7sQpse7wElTOin9i5YkXRl2k1tE+rgrbk6l2LIrEiga0OE aj8bdjnamN/anp+kARGgh9mefCbCby5dUlolkawBPlvqiI2uRBnP6Zj+jxYlwpMoMMJc QGVYt8UxjeZGWMD/uoCySOOqla3w7UC8wSEVL0xttHfS4OlFdM+LCx7E5NduzZB+idbr 4RqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p84-v6si4897201pfj.101.2018.09.06.04.04.40; Thu, 06 Sep 2018 04:04:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728314AbeIFNiv (ORCPT + 99 others); Thu, 6 Sep 2018 09:38:51 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:38562 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727629AbeIFNiv (ORCPT ); Thu, 6 Sep 2018 09:38:51 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w868xG7K007329; Thu, 6 Sep 2018 11:03:44 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2macwsdsqc-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 06 Sep 2018 11:03:44 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BB63A31; Thu, 6 Sep 2018 09:03:43 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8E8F626ED; Thu, 6 Sep 2018 09:03:43 +0000 (GMT) Received: from localhost (10.75.127.49) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 6 Sep 2018 11:03:43 +0200 From: To: , , , , , CC: , Christophe Priouzeau Subject: [PATCH] ARM: dts: stih410: change syntax of multiple DAI Date: Thu, 6 Sep 2018 11:03:31 +0200 Message-ID: <1536224611-30979-1-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG4NODE1.st.com (10.75.127.10) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-06_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christophe Priouzeau With change of syntax for 'simple-audio-card,dai-link' containers, devicetrees of stih410 must be updated. This fixes the following error: [ 3.839466] asoc-simple-card sound: asoc_simple_card_dai_link_of: Can't find simple-audio-card,cpu DT node [ 3.849150] asoc-simple-card sound: parse error -22 Signed-off-by: Christophe Priouzeau Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stih410-b2260.dts | 5 ++++- arch/arm/boot/dts/stihxxx-b2120.dtsi | 11 ++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts index 155caa8..4ee6d51 100644 --- a/arch/arm/boot/dts/stih410-b2260.dts +++ b/arch/arm/boot/dts/stih410-b2260.dts @@ -61,8 +61,11 @@ compatible = "simple-audio-card"; simple-audio-card,name = "STI-B2260"; status = "okay"; + #address-cells = <1>; + #size-cells = <0>; - simple-audio-card,dai-link0 { + simple-audio-card,dai-link@0 { + reg = <0>; /* DAC */ format = "i2s"; mclk-fs = <128>; diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 4dedfcb..97e05f5 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -27,8 +27,11 @@ compatible = "simple-audio-card"; simple-audio-card,name = "STI-B2120"; status = "okay"; + #address-cells = <1>; + #size-cells = <0>; - simple-audio-card,dai-link0 { + simple-audio-card,dai-link@0 { + reg = <0>; /* HDMI */ format = "i2s"; mclk-fs = <128>; @@ -41,7 +44,8 @@ }; }; - simple-audio-card,dai-link1 { + simple-audio-card,dai-link@1 { + reg = <1>; /* DAC */ format = "i2s"; mclk-fs = <256>; @@ -55,7 +59,8 @@ }; }; - simple-audio-card,dai-link2 { + simple-audio-card,dai-link@2 { + reg = <2>; /* SPDIF */ format = "left_j"; mclk-fs = <128>; -- 1.9.1