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: 13064449 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 803FEC4321E for ; Mon, 5 Dec 2022 12:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AYDQtercyxcX1UmqhPu4FUywBmJ0ZCYtpbIkia6G4oo=; b=QWdhHRFsW7T8ay tHO4gxPQad50WIDX+NDC2ml7jcq/VrhEgRpUgOxH9Kbc2ZA74nKwGApMsb74oF3yInb9Z3HIfIVcy w4LvK0DN3a/kGGcWgEpLrWL4J4j1wZn4UG75ILe143bClHQL3tJdFTiL1kXXCabNzNsuM8uQ4Ghgz FJafStS0w2HdLNafvPKHSyTuBfdJYIb1aCMaaH1a5UpAI+SJKa8uk7AIlvdhDDioA3e1pN5Z4OmHk bqvOoYOTjl4wyUi6/nWmoEtbSt+l9LGEQKqHVzdhY35eo3hKh4K8VmD53365AW1tE01vVp6uh349r 7gQGnPZMa/oOVGto2gPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2AP5-002bJt-1z; Mon, 05 Dec 2022 12:16:59 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2AOt-002b13-7Q for linux-arm-kernel@lists.infradead.org; Mon, 05 Dec 2022 12:16:48 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_041647_729571_4B4102EA X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13064448 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FBAAC4321E for ; Mon, 5 Dec 2022 12:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HRamdOv0ntM0amdL+lm5AoGp29hGfTDZW/G+S9CVIXQ=; b=Eiw9EWSqJTFAZO DzxOqCii2vuKUyxNBzSP5TZdtCoUYapfiHLGPzxPSiX3uDECxju8OsmHpboYlwZVK++dEa5LHPJQJ KQytSIIAtr3wnpR6IcHNfG2Gp4RoNTTMpn1TmJS3npXxGSsJODbQllnoAvAc9huULEPBEy+bDuDnO qCxC8Xu2S5KdAihdyVabWOrMg+X0MFCVAD1+HdKiRmCZus6aIb874VJb8fy/mQdJTujo6kydl5NTk 7o4Z7eDMr8sqM0WIsDOzWlDlHVPIu+PEqLi2dQmbDyLPgSnwwknYFOE+3XLEYkupPF2xwYA6+lGua 4OcEqicV85DvtdqQM/pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2AOw-002bHR-Sp; Mon, 05 Dec 2022 12:16:50 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2AOt-002b0y-BB for linux-arm-kernel@lists.infradead.org; Mon, 05 Dec 2022 12:16:48 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_041647_739659_07AE2459 X-CRM114-Status: GOOD ( 15.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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",