From patchwork Mon Dec 5 12:16:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 29669 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2214356wrr; Mon, 5 Dec 2022 04:18:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf45xpF234dFtiERTC+Gz2UbV5xbGbPmjK/l7FcS77vf9+YEhAWpH3B+i1HaqOx93EkpQpwB X-Received: by 2002:a17:906:3145:b0:7b5:665a:fca5 with SMTP id e5-20020a170906314500b007b5665afca5mr16713256eje.10.1670242683516; Mon, 05 Dec 2022 04:18:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670242683; cv=none; d=google.com; s=arc-20160816; b=gjKz41sL6vchikJ4hYX8FGTvakSbC7Tz7LjKui7DdZhal1Sl0EfRhZoTeu0X+GfhQH WQ06GaMEPQsCGLoHoKa/aQFb7+YB9T2AysWlOYh62OlGwfNSPXjTS1JcLt8PW1MPU4a+ /pKfrlN8VV7BeNmMMqBPHJzJmUbt8SyEjss0MAfdlMCOuSUjwGVH336MTm25jRyyfhGr 3QWns2s5tAtxvHhKuXnScY5LRi/Cug33O5Mlo33aTHE5BZCxXMMIxEqEHvANB6sZKwF2 4nvcaxSpwkaem42X+5b2sNgtxc2xzvQKWHcNHvGfVdiQFVEMbQ1gxSlRRIFBLMHax39m xFyw== 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=Hk0qo1XRLFhMLS/W/NChuc+KR14nw7WA60tebfIgFrE=; b=wzqTSILGMz4ZWl5Kg+s6CpD0ORB0Lox1l8A5wiSL9CnyUk+RfoW1d7+9NauHzySbm8 LkwXa5uwp0zpdMQaU+0MHaQbqRqI201lmo3bOx8mwyZErkUCcbaZgET1DHWb051EMJa1 mMVCWwKrITop1XfZi6iknXMNmVz8ArJ3YJUsS5/lj0hW78/+M0Nn+XoEP0Cqn4ruhBXS 95agCJlPj2VV7K/6VXuU5VE4pjTAbIhulOpCHl1MH+TOOr4nhgXOpH/KAWLFKuqJmB12 QjGSRzVcyWCMw8j38RWuqqU1DrAxjv79wOvAmiQ1InAARBobtQWOVivZcu2mhu59OzFF W0Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=wgQm86HJ; 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 js4-20020a17090797c400b0073d8830e4c7si12610088ejc.954.2022.12.05.04.17.39; Mon, 05 Dec 2022 04:18:03 -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; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=wgQm86HJ; 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 S230338AbiLEMRB (ORCPT + 99 others); Mon, 5 Dec 2022 07:17:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbiLEMQw (ORCPT ); Mon, 5 Dec 2022 07:16:52 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDDC32F6; Mon, 5 Dec 2022 04:16:50 -0800 (PST) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B594s1A015968; Mon, 5 Dec 2022 13:16:33 +0100 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=Hk0qo1XRLFhMLS/W/NChuc+KR14nw7WA60tebfIgFrE=; b=wgQm86HJun4Er+xLx3GsDYCCtyvYi+jnhwiE6z5Vb5Edv2uIDmzQkk1AqlIlZfXEioSX QGNj4+NSWz9yUvw6zeW2Wdh5IrKtkotwNdkT+0dtN3ebzV1Czu4grbUdToTV93vlaPV3 +FG6W5EB2p00ImZlYdto6CzlOOwWJ7cMAmX5R75o/hmMGKACCehQNIa6yYYoLVla4BKr f5g78K+bEjxzQ2uEYrAf6lLzmmoUtySGoMNmHPGfn4mfrYaHFE4RVx6l+tLNilIg65yi a37mtnHrtG4daSs9kISmxncSLvyDFZQZC/TIl8ZgixDE3EB0LE0xuwuJgLpSZy864TrY TA== 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 3m7vfejdb0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Dec 2022 13:16:33 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A3A9B100034; Mon, 5 Dec 2022 13:16:28 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9DF3021ED31; Mon, 5 Dec 2022 13:16:28 +0100 (CET) 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.13; Mon, 5 Dec 2022 13:16:28 +0100 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , Alexandre Torgue , , , , Subject: [PATCH 1/2] ARM: dts: stm32: remove sai kernel clock on stm32mp15xx-dkx Date: Mon, 5 Dec 2022 13:16:01 +0100 Message-ID: <20221205121602.17187-2-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221205121602.17187-1-olivier.moysan@foss.st.com> References: <20221205121602.17187-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-05_01,2022-12-05_01,2022-06-22_01 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 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?1751376392018444452?= X-GMAIL-MSGID: =?utf-8?q?1751376392018444452?= Remove clocks property in the SAI2A subblock node as this property is already defined in the SoC DT. Keep only this property when the master clock is added in the node. Fixes: 144d1ba70548 ("ARM: dts: stm32: Adapt STM32MP157 DK boards to stm32 DT diversity") Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi index 7798a2e17c5c..8b9a39cd2698 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -501,8 +501,6 @@ &sai2 { sai2a: audio-controller@4400b004 { #clock-cells = <0>; dma-names = "tx"; - clocks = <&rcc SAI2_K>; - clock-names = "sai_ck"; status = "okay"; sai2a_port: port { From patchwork Mon Dec 5 12:16:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 29668 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2214323wrr; Mon, 5 Dec 2022 04:17:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7OFXAlZPjzv6aRyyAKX5vIpqxtM6LhRUpewE0aX/Ha+xZMVwrby7aPqZkzSILLsjbScZvD X-Received: by 2002:a17:906:1dc3:b0:7ad:bbcc:814 with SMTP id v3-20020a1709061dc300b007adbbcc0814mr69728431ejh.425.1670242679613; Mon, 05 Dec 2022 04:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670242679; cv=none; d=google.com; s=arc-20160816; b=bRLU32oURSnq1mWPE00gQJ17gWoAN3X2qKGURPYji8cEnlWY1orKreiycdZZUX/caV jrWf1IRYR5/v/k2llOWooqrTcK3McVkofBcXoIm8fbbZNBTlI01JHRpwTVQoAYX6b5ua t5osuenfOujWnFlBnwloeNcM6KotWi9ksKtz6rc3w9/eHT0OIrp/G+b/sdlifsF2YqQx qPjadvttKkgEizrOM5pRj1W2zK9z0vth4vkPiIvxtuupsrqezkI8DfPxBjWziYAo56QT 73BiHrK1I+4FKP8vLUm1iv8o7vqyIY/KP6qgBJFd1/q+HwUCwERxymcJ3cufO/5j0S4B a29Q== 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=TE8kgMkS8P48PYvVfYBZGE8EaQXjdKM/5irrozXYxeU=; b=D47i4soAunUEFsAtcIT0V7Sccyk+zXHmyrCP2jcjNXZYsrRp82+1RpilteGLTu4wjo gJwxOZdUC75kysQrZhchXZbli7Pptyv53ybrWcBOL3BcPNWBw21FHcEdPPUYxEHP+9Ji lPYypwkca2+OnYX9/4pw2FH7c3BhzjCfpfg/Cef7HXmc3sBCSAfY7XovJnZxOSohr+SA Umf8BXwDs75CCqQxN28IALpOqivHPEg2oOme4aplk0e6NTzD37QIcg/1KqQjd4SD/UtC 9EvpylUwIous88O5MyJ7XMDyYHyx7hZYWj4LX+eiLgL1UO8+iYURUZnlK2ydafWmIxgW cT0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=LIrVfrce; 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 qw31-20020a1709066a1f00b007c08a2c2406si11203011ejc.85.2022.12.05.04.17.34; Mon, 05 Dec 2022 04:17:59 -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; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=LIrVfrce; 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 S231715AbiLEMRE (ORCPT + 99 others); Mon, 5 Dec 2022 07:17:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230294AbiLEMQw (ORCPT ); Mon, 5 Dec 2022 07:16:52 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7BBC2B8; Mon, 5 Dec 2022 04:16:50 -0800 (PST) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B594xpw016578; Mon, 5 Dec 2022 13:16:34 +0100 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=TE8kgMkS8P48PYvVfYBZGE8EaQXjdKM/5irrozXYxeU=; b=LIrVfrceIQaYBFEBWJCbjISnp0Uqtw+lSbBiNMVOn3CpQGfzcsdfjdAObgVwoDuXW6Qo alHd9LvSGjzAAVxoAxADlA2eBSGETmE0+uJrt0Tg+sImu8j8ht7Qc4pzw7OwFWPkWW8V qlt4v+eS70SgBtiwpfe/ZlgJHf5tn4PHiGLA7FMaE6x2+77y6KaD8cNxJzlb/7KToYxT e5IrbZTY36NX0t3luB6+X+MFqIU+rJBZePF63bhmYzEdtRfX5KffAwFqxdTgJyyHmPTF oxEpkSSb/C7GfA52sjVLP4gQt/3f2pnZC1bk/09we01oaOXNtlgbuYf+Rdq+VKQMPmc7 cQ== 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 3m7vfejdb2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Dec 2022 13:16:34 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E23E3100038; Mon, 5 Dec 2022 13:16:29 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DA92121ED31; Mon, 5 Dec 2022 13:16:29 +0100 (CET) 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.13; Mon, 5 Dec 2022 13:16:29 +0100 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , , , , Subject: [PATCH 2/2] ARM: dts: rename sound card on stm32mp15xx-dkx Date: Mon, 5 Dec 2022 13:16:02 +0100 Message-ID: <20221205121602.17187-3-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221205121602.17187-1-olivier.moysan@foss.st.com> References: <20221205121602.17187-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-05_01,2022-12-05_01,2022-06-22_01 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 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?1751376387786023416?= X-GMAIL-MSGID: =?utf-8?q?1751376387786023416?= From: Olivier Moysan Rename the sound card for STM32MP15x DK boards to manage SoC diversity management. This typically allows to discriminate the sound cards for STM32MP15 and STM32MP13 SoCs. Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi index 8b9a39cd2698..11370ae0d868 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -72,7 +72,7 @@ led-blue { sound { compatible = "audio-graph-card"; - label = "STM32MP1-DK"; + label = "STM32MP15-DK"; routing = "Playback" , "MCLK", "Capture" , "MCLK",