From patchwork Tue Sep 5 12:50:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 13374556 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A16AC83F2C for ; Tue, 5 Sep 2023 15:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjIEP6p (ORCPT ); Tue, 5 Sep 2023 11:58:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354593AbjIEMug (ORCPT ); Tue, 5 Sep 2023 08:50:36 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1914DDB for ; Tue, 5 Sep 2023 05:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693918224; cv=none; d=strato.com; s=strato-dkim-0002; b=jMwNAdvcxD3RmrZ9R2PhnTwpva14v2o4tM/Ty22qEUzPHT10JU9ZNmT+VsLG8IzUcJ H8Z3vfz2KAEI+c6GG39vsoDZbemEZJBiNQPvZP+jgtZUYvsmXLPfpnRgmW492xFfhs8W Sa4pM55hrQud+ShBqQ96zgVbumsB5Z/S3376OgnUtN381p1kSEyaLLQGNigCbwZt2Kgn /myaVGc7ivSnfB3fYS32BMeShr19HjRoP2LqRNdxpRRGENbJMkmdqcBNGqboXesD0SPo fBFq7YJL8GPIEkDwORZKW3jzfYTd4PXnyqoy53pnuZe2Iov9qwA452xxk5v487wZW4Te 2g5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=W3Nkpo2doA25N/O3GRBIU/l26DqKGAjiAD2HtrBDUe0=; b=h7FYbBnRg/I+6KwTcYaPQCvRMdZisAyB8qLPz2Co5PoMuSzaMthE0FSLubHnncxwDJ udrdymklMxxtNdFjpUnnMgUXkOlu8lL1EXIOLkMrKOxNxZVln0E+sbu2rbE+RmGGXKqw b3vLBZtX8RZBSuiFoRRHxdXSkCgFDU3ylpTnk8FnDfzVOFbfxuVH/GFAX1q7YVYklM70 iZlA2l3z2/PgCcpwzrEswbma1f1UKrKTiFgKpRFw0DsK9DqmXJ6JNgA6Usau7sxiUjel wV3mpJLIelF2bjHnfJbGkF6cg68e1rm6X/CdoAH0mVlu9TOrqEDXaUmF/PPFWl3Z72ak u66Q== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=W3Nkpo2doA25N/O3GRBIU/l26DqKGAjiAD2HtrBDUe0=; b=ebEqTUFVy6UpvwrYLnuwGk0RnwVZ+bD6qtjDntTBSPRXNxEMyam+K4GCS91qJWTeih vS6yOFjj3gzjgiMaOuFk4nljUQ6GPsy2M4MFGGBNKA3qvTaXgKs2qdxhX9qxRwnGGsSZ Il8lsU0WzzdOSP4h7f3tgCp2LC6231HgbbE2Dff+BteyM2C07Fd8+VjdraSdu7UO72lZ XQ5apUH+JeSYjGbU6eUivz5W47pDN/72qbqxUGlsLKE66cZ3BLNEf4qZh1HAFkDrczYW klmSclem/8/6r42DqwW0Q6V0e9OcODThzo6pByqNeR7ZMyU39r0RlxRCBOMIftZAHSgS 86UQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0003; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=W3Nkpo2doA25N/O3GRBIU/l26DqKGAjiAD2HtrBDUe0=; b=0a9pX8P+Uq0t9J7kzYq4n4vBmUzKGWgGFOXS/QyK7NVCSD9CTzwCYZ6hHpkLn2jTzf HYk/tLmAhmnR4n0YKPCA== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrW7J" Received: from localhost.localdomain by smtp.strato.de (RZmta 49.8.2 DYNA|AUTH) with ESMTPSA id 04cbadz85CoNLbG (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Sep 2023 14:50:23 +0200 (CEST) From: "H. Nikolaus Schaller" To: Tony Lindgren , Andreas Kemnade , =?utf-8?q?Patrik_Dahlstr=C3=B6m?= , peter.ujfalusi@gmail.com Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org, "H. Nikolaus Schaller" Subject: [RFC 1/6] ARM: DTS: omap5-l4-abe: we do not need separate target-modules for dmem, cmem, smem Date: Tue, 5 Sep 2023 14:50:10 +0200 Message-ID: <239a3e7bfdfff7e83e8fa0f7bb89bad63a5fd0a1.1693918214.git.hns@goldelico.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org They are part of the Audio Engine target module. The address ranges are handled by the aess child node. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi | 27 --------------------- 1 file changed, 27 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi b/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi index a03bca5a35844..7d223f938d479 100644 --- a/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi @@ -404,33 +404,6 @@ timer8: timer@0 { }; }; - target-module@80000 { /* 0x40180000, ap 26 1a.0 */ - compatible = "ti,sysc"; - status = "disabled"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x80000 0x10000>, - <0x49080000 0x49080000 0x10000>; - }; - - target-module@a0000 { /* 0x401a0000, ap 28 1c.0 */ - compatible = "ti,sysc"; - status = "disabled"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xa0000 0x10000>, - <0x490a0000 0x490a0000 0x10000>; - }; - - target-module@c0000 { /* 0x401c0000, ap 30 1e.0 */ - compatible = "ti,sysc"; - status = "disabled"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xc0000 0x10000>, - <0x490c0000 0x490c0000 0x10000>; - }; - target-module@f1000 { /* 0x401f1000, ap 32 20.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; reg = <0xf1000 0x4>, From patchwork Tue Sep 5 12:50:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 13374559 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E52ECA0FFD for ; Tue, 5 Sep 2023 15:58:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230459AbjIEP6z (ORCPT ); Tue, 5 Sep 2023 11:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354594AbjIEMug (ORCPT ); Tue, 5 Sep 2023 08:50:36 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFD88C9 for ; Tue, 5 Sep 2023 05:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693918224; cv=none; d=strato.com; s=strato-dkim-0002; b=IlkLxkSJLoDWPpvuQm95h8en90I+pQ6WwHdO2iJfQ1AqDFPucHuvBZc/pUvbmvugjG VeKCj5w7xhFegdEZzLCMphieZ7tB9CNQ2rzeLF5Md844b62GBXCKXb/Sz33p0tpmsR8T Lzn7Rgk4y5mol7a1Q1xEDULufZXXEqk7ogcWk50UcDyrh+/6lGsuhviQoCZ9u720qYlj ou0uIaQC2WjompDqaGViuEAxMSfsEeW0yQkpGKIu1poPFKE4MWIMTv20c8F2zWk7IQ3O LzKOlZVgvAY1Trm0kcPWHcjNUMCcDv+k3hxLUEHd5yEo77tW6ToEyz7gaaJujBedeSaX un3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=0xjo9zaxvNCLi7I93swS7ghP7W5bgPFcncd8+c+M7hA=; b=VKWzPbAdTaEQvso+PZ0YgiqQkWYcnEUyuOBmeTxyWcC/Os3y00aDTpL58OyYQHahys HbPXsVwlay06PIStYSbwMaWHNcuo0FWwew7zjdSqwK5yWCwfSO/cW35f9uSxurJFNO8d 664/kDtS9h33uQhqVc6FwuGLlQiuJoyGAZML39gAOyGYg/urExjBNh24chXCwQFdUBbx 1P8zD5nNtS6tfcb085ejy9MAlEYLYu2P41P63v4xf1uOyDimkUOvCdckrPFXKSKqrGDy Olf2u7lXFTj/KK4yA83oDVHhPU/QVFCWxJUGDSm/stSNNASIkAIWYpVmh5xT6SZS2C+0 ez4Q== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=0xjo9zaxvNCLi7I93swS7ghP7W5bgPFcncd8+c+M7hA=; b=ZC2ZuNHtO0DSvy0DfYv4H9LQP+lu3T/sv2e/1MCKFb2Eg5AXEk/Rw4p7s1Ep3ZdVYv jO01hqlrMaVYmVF6c2qFTP2k0Tas6aHA5yUpKiJFEOO5q8KcWl0703L5CsHYr7QgP+jv Yq7zpSWofdoT63M9olwErTxvG+9FATQKwE8eqLEO4gqs8rg1qrhe1UX7X/m/UvuvCE88 MGlKc1jRHeIzGPYLpfZs3u9TeWClffKb5MXJ/I1KS5oSnf94h8ccjLjGFGVDYxMdpFae WOCDd6t3nKDG/sWQvbDFNdf4vKnz6nA+evWdINJL1AB8bazTUSotul34tqF9rV9ymiKJ 8L4g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0003; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=0xjo9zaxvNCLi7I93swS7ghP7W5bgPFcncd8+c+M7hA=; b=/qkt+Q8XLeGv7rstyT6oaYVcy4x8gKEVlmj4K3OIxRiP3fGlUsZMLQDy53eEGtfS7J VvHZ9dht2G2zylkQTQAg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrW7J" Received: from localhost.localdomain by smtp.strato.de (RZmta 49.8.2 DYNA|AUTH) with ESMTPSA id 04cbadz85CoOLbH (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Sep 2023 14:50:24 +0200 (CEST) From: "H. Nikolaus Schaller" To: Tony Lindgren , Andreas Kemnade , =?utf-8?q?Patrik_Dahlstr=C3=B6m?= , peter.ujfalusi@gmail.com Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org, "H. Nikolaus Schaller" Subject: [RFC 2/6] ARM: DTS: omap5-l4-abe: add an aess (audio DSP of OMAP4 and OMAP5) child Date: Tue, 5 Sep 2023 14:50:11 +0200 Message-ID: <1a8d9c1e393ddd1968a0b197b469e45ff7711ab2.1693918214.git.hns@goldelico.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org make the aess module a child of the target-module. Define ranges, register names, interrupts, dmas. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi | 71 +++++++++++++++++---- 1 file changed, 57 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi b/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi index 7d223f938d479..611c92e04fe7a 100644 --- a/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap5-l4-abe.dtsi @@ -41,12 +41,14 @@ segment@0 { /* 0x40100000 */ <0x0003d000 0x0003d000 0x001000>, /* ap 23 */ <0x0003e000 0x0003e000 0x001000>, /* ap 24 */ <0x0003f000 0x0003f000 0x001000>, /* ap 25 */ - <0x00080000 0x00080000 0x010000>, /* ap 26 */ - <0x00080000 0x00080000 0x001000>, /* ap 27 */ - <0x000a0000 0x000a0000 0x010000>, /* ap 28 */ - <0x000a0000 0x000a0000 0x001000>, /* ap 29 */ - <0x000c0000 0x000c0000 0x010000>, /* ap 30 */ - <0x000c0000 0x000c0000 0x001000>, /* ap 31 */ + <0x00080000 0x00080000 0x010000>, /* dmem */ + <0x00090000 0x00090000 0x001000>, /* dmem */ + <0x000a0000 0x000a0000 0x010000>, /* cmem */ + <0x000b0000 0x000b0000 0x001000>, /* cmem */ + <0x000c0000 0x000c0000 0x010000>, /* smem */ + <0x000d0000 0x000d0000 0x001000>, /* smem */ + <0x000e0000 0x000e0000 0x010000>, /* pmem */ + <0x000f0000 0x000f0000 0x001000>, /* pmem */ <0x000f1000 0x000f1000 0x001000>, /* ap 32 */ <0x000f2000 0x000f2000 0x001000>, /* ap 33 */ @@ -77,12 +79,14 @@ segment@0 { /* 0x40100000 */ <0x4903d000 0x4903d000 0x001000>, /* ap 23 */ <0x4903e000 0x4903e000 0x001000>, /* ap 24 */ <0x4903f000 0x4903f000 0x001000>, /* ap 25 */ - <0x49080000 0x49080000 0x010000>, /* ap 26 */ - <0x49080000 0x49080000 0x001000>, /* ap 27 */ - <0x490a0000 0x490a0000 0x010000>, /* ap 28 */ - <0x490a0000 0x490a0000 0x001000>, /* ap 29 */ - <0x490c0000 0x490c0000 0x010000>, /* ap 30 */ - <0x490c0000 0x490c0000 0x001000>, /* ap 31 */ + <0x49080000 0x49080000 0x010000>, /* dmem */ + <0x49090000 0x49090000 0x001000>, /* dmem */ + <0x490a0000 0x490a0000 0x010000>, /* cmem */ + <0x490b0000 0x490b0000 0x001000>, /* cmem */ + <0x490c0000 0x490c0000 0x010000>, /* smem */ + <0x490d0000 0x490d0000 0x001000>, /* smem */ + <0x490e0000 0x490e0000 0x010000>, /* pmem */ + <0x490f0000 0x490f0000 0x001000>, /* pmem */ <0x490f1000 0x490f1000 0x001000>, /* ap 32 */ <0x490f2000 0x490f2000 0x001000>; /* ap 33 */ @@ -421,8 +425,47 @@ target-module@f1000 { /* 0x401f1000, ap 32 20.0 */ clock-names = "fck"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0xf1000 0x1000>, - <0x490f1000 0x490f1000 0x1000>; + + /* CHECKME: OMAP4 and OMAP5 may differ in memory sizes, here we define more than available... */ + ranges = <0 0xf1000 0x1000>, /* MPU private access */ + <0x80000 0x80000 0x10000>, /* DMEM 64KiB - MPU */ + <0xa0000 0xa0000 0x10000>, /* CMEM 6KiB - MPU */ + <0xc0000 0xc0000 0x10000>, /* SMEM 64KiB - MPU */ + <0xe0000 0xe0000 0x10000>, /* PMEM 8KiB - MPU */ + <0x490f1000 0x490f1000 0x10000>, /* L3 Interconnect */ + <0x49080000 0x49080000 0x10000>, /* DMEM 64KiB - L3 */ + <0x490a0000 0x490a0000 0x10000>, /* CMEM 6KiB - L3 */ + <0x490ce000 0x490c0000 0x10000>, /* SMEM 64KiB - L3 */ + <0x490e0000 0x490e0000 0x10000>; /* PMEM 8KiB - L3 */ + + aess: aess { + compatible = "ti,omap4-aess"; + status = "disabled"; + reg = <0 0xfff>, /* MPU private access */ + <0x80000 0xffff>, /* DMEM - MPU */ + <0xa0000 0xffff>, /* CMEM - MPU */ + <0xc0000 0xffff>, /* SMEM - MPU */ + <0xe0000 0xffff>, /* PMEM - MPU */ + <0x490f1000 0xfff>, /* L3 Interconnect */ + <0x49080000 0xffff>, /* DMEM - L3 */ + <0x490a0000 0xffff>, /* CMEM - L3 */ + <0x490ce000 0xffff>, /* SMEM - L3 */ + <0x490e0000 0xffff>; /* PMEM - L3 */ + reg-names = "mpu", "dmem", "cmem", "smem", "pmem", + "dma", "dmem_dma", "cmem_dma", "smem_dma", + "pmem_dma"; + interrupts = ; + dmas = <&sdma 101>, + <&sdma 102>, + <&sdma 103>, + <&sdma 104>, + <&sdma 105>, + <&sdma 106>, + <&sdma 107>, + <&sdma 108>; + dma-names = "fifo0", "fifo1", "fifo2", "fifo3", "fifo4", + "fifo5", "fifo6", "fifo7"; + }; }; }; }; From patchwork Tue Sep 5 12:50:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 13374557 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC08CCA0FFC for ; Tue, 5 Sep 2023 15:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230088AbjIEP6q (ORCPT ); Tue, 5 Sep 2023 11:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354608AbjIEMxc (ORCPT ); Tue, 5 Sep 2023 08:53:32 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73A1E1A8 for ; Tue, 5 Sep 2023 05:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693918224; cv=none; d=strato.com; s=strato-dkim-0002; b=KUiZ4pyLlKlYGOmsIigyoD4Vj4ju5SZNboHlUfLZnoCnF1AI6CUpVgyJBHXzJtB2z3 +fdsdRgPzQ0pDKvEjxp0CyU5RIlXe7R98onfTzkoIFxNsV5TK+tERUCUAgOu+dj80bwK 5V2kh61vsZdrQdaksqYmtu50cCX23Jap0J1tm3BakcygyPDqY/DNLZmgUsuBRe8Iwdtq s3kogu2jn0JDriRr4UVSCQo/60svSdPQGxoNYttyfYQZ428P06X1J6bFCEjM41A091tO CqsOQmLCjWG7gCJPCpOEHR16N8jYOPBWglGw07WQJpTv8eT9VB/LxT8o2cAOs522LHjV Q+XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=l3kjPAZ5P6l1MwudssTJGXLTul4+f0c8rYaBiPGnmVw=; b=LtNaeHYrW6hloKuljLHAFI+HVnkpJ7Pd7B+Zkrv/CIjHaGXTtI5jD35SpXgv9cCGoo 7T4Fporv+6nCIAG/B9f9Py2EcYReqUR5fxeDglH7MTxXmEFEwh7U+dDzFmHnuIPUJer3 8UEbUrt18XCO2GgoJf6+EStabWwsgOwBakXdqnO7kY6bi7P8suVk9A6SafFQ24wxVFAQ C5QnWNZZyvjYE8Ua9Cnk37tpUuXR3ZPDRd7O8GapEBwDpLOl8AijXGDk/kqoKU5H9kch PfTUw3Gfa3t+GgGvOPGpBPRKyKz/L/77Nn9BYnvvtmlrYCPi+8/+1pmrvn4TS4D/g7iA af9A== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=l3kjPAZ5P6l1MwudssTJGXLTul4+f0c8rYaBiPGnmVw=; b=TeAo061lYnbhYd9naNYdiiJMRCErabPC+uW9+cl8UcMVs8/u3kSPjoGgcuG1ST+Bad nUYTdCzdc0wsJ+W0HbZEihXtQGiShzNCkYE11WYTlzTOPjAcHYbl0D2XtVdqXuDCgGjo Kh92y342cenxpS9BuaST0OtXAsGPgJgosGExyMWiA3KhsrLV1NPXB7fdtxpvfxgbnJLx 4bLpvXcv56DYGMiQY3VOFgauPs0z112KKYNqYWVitBULmMNhKUnFpDapfSkl3q9Q4naE DcSJjOPIOlroedjYRRUy2KQysTqCl4Lb3HDls9wP6WKVDvSl/QSjuu/013BGPdiFNDZl wu4A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0003; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=l3kjPAZ5P6l1MwudssTJGXLTul4+f0c8rYaBiPGnmVw=; b=QbyblbcPzeTwqnlgKYawpwdtRpLNrpJgNzWHvXTrlOV417nosF8VrSDs9/5I9l+/EX l8WuVeU0Uu623wCqK7Bg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrW7J" Received: from localhost.localdomain by smtp.strato.de (RZmta 49.8.2 DYNA|AUTH) with ESMTPSA id 04cbadz85CoOLbI (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Sep 2023 14:50:24 +0200 (CEST) From: "H. Nikolaus Schaller" To: Tony Lindgren , Andreas Kemnade , =?utf-8?q?Patrik_Dahlstr=C3=B6m?= , peter.ujfalusi@gmail.com Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org, Marek Belisko Subject: [RFC 3/6] ARM: DTS: omap5-board-common: enable aess, add phandles for aess and mcbsp1/2/3 Date: Tue, 5 Sep 2023 14:50:12 +0200 Message-ID: <66796061c358802835cdebfa3cc33df27b20120d.1693918214.git.hns@goldelico.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Marek Belisko and extend audio-routing. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/ti/omap/omap5-board-common.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/ti/omap/omap5-board-common.dtsi b/arch/arm/boot/dts/ti/omap/omap5-board-common.dtsi index 6f46f1ecf1e57..49ced2f4096fb 100644 --- a/arch/arm/boot/dts/ti/omap/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap5-board-common.dtsi @@ -123,22 +123,37 @@ sound: sound { ti,mclk-freq = <19200000>; ti,mcpdm = <&mcpdm>; + ti,mcbsp1 = <&mcbsp1>; /* bluetooth */ + ti,mcbsp2 = <&mcbsp2>; /* fm radio */ + ti,mcbsp3 = <&mcbsp3>; /* modem */ ti,twl6040 = <&twl6040>; + ti,aess = <&aess>; /* Audio routing */ ti,audio-routing = "Headset Stereophone", "HSOL", "Headset Stereophone", "HSOR", + "Earphone Spk", "EP", "Line Out", "AUXL", "Line Out", "AUXR", + "Vibrator", "VIBRAL", + "Vibrator", "VIBRAR", "HSMIC", "Headset Mic", "Headset Mic", "Headset Mic Bias", + "MAINMIC", "Main Handset Mic", + "Main Handset Mic", "Main Mic Bias", + "SUBMIC", "Sub Handset Mic", + "Sub Handset Mic", "Main Mic Bias", "AFML", "Line In", "AFMR", "Line In"; }; }; +&aess { + status = "okay"; +}; + &gpio8 { /* TI trees use GPIO instead of msecure, see also muxing */ msecure-hog { From patchwork Tue Sep 5 12:50:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 13374558 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57C5FCA0FFB for ; Tue, 5 Sep 2023 15:58:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbjIEP6z (ORCPT ); Tue, 5 Sep 2023 11:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354595AbjIEMug (ORCPT ); Tue, 5 Sep 2023 08:50:36 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 571A6DD for ; Tue, 5 Sep 2023 05:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693918224; cv=none; d=strato.com; s=strato-dkim-0002; b=qKaO0TKMhlmO/kC+VqmxKrwhPXrdbOA4Ovsrasypx5yS1aDGyHW8NhEAMb5bNCEzIy 2LIJUJZTKU+fXLh792BxFKZLZU++w9PP/j6+bDqsc+3rQCN9SUTtl2VeVwz0DG8LOzR0 97WkQNhXIi1Uiyj8cpX0ATAkJ1x1EAGpLpty03nhV20sunflvflUrQ5srUYdhcwU+QxF dJaizBQSYm2Z8rX1GuDJnI4Xa81hCA3l0uPd6XCyUw3Pnf+RO0ZTC1rpy74JBGwtLy7P PCzTxv3/VQ9MRuhMWsFjuneBq12oRwYA8K+cVknG7+oXVWwqFx020mplqyFsIFhMIUVV hdWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=rBlPc9AzTsKnNPqbexirh7STUhddRw6xwzmeuauTMOA=; b=ULRMdnQ1FDaTxFKShX0GPLM5hNKg1R0zVzFReWsfiA0X/BNztvQaq7t/+3h8Rx2hnE r5sooR9ar11skfggGoMPgOpBFxlGpFcdhfoKoTeghXkxgnFnw/WjO1X+KoWqC2zNWPd8 X+pNlUUeHx4JZW8nD2i9r3L+sQ0vQzm8De8cE1/OV4UO/QBgRlzmt/i8AfqGOWiXnuLk xyuKgMnT2HzyLNKVyGQFF8IwgbcfP4+XdWAuqxk570WbrAaazOKxCVMxjv8lB2wPQILx DFQS9k8bi4lQW7THdPDnug/mGzcyj/kCUrmvWkf42fA29pdk+ANcYY0n8mWEOuA+tPID mR3A== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=rBlPc9AzTsKnNPqbexirh7STUhddRw6xwzmeuauTMOA=; b=JtgW+2RPgXCFiKQhycNVeV0rdjbO9cqR/bt13mkail6Wg1TKmiPVJpifF8pRcaiKGk un89hcmbJx9UEObhEVKlNVTpNEedbctt8PFVCeEDVUtNXv4LYf4OCbHMzrWU4PNCaIOM MAxcbNWiZ9PacnH40q4JWa0VrHZOUqgtsHo53IWVjDXZDSsIJ1HlN10jIpJbVGojWahU czqjspir7AhDpXlpL2JXDW7TF6T0/2nUWT5W4o747WjAfO/E6IaUTUz6KtUQdXpWcNJ8 qiet4P3S3MAsAo3fWUMn1fVB4sqSOXlxYfYjm/Y0BW6OPVgnDvRBFrJkTVnyeuIqApRW BPdw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1693918224; s=strato-dkim-0003; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=rBlPc9AzTsKnNPqbexirh7STUhddRw6xwzmeuauTMOA=; b=vGDdj9s2q/I68TP1Vm/DaFmxAV31913DaaXGBPu+cRhFczWFvG1Wgxc3r30sffglZ6 iMwleXXohXtPjr3o91Aw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrW7J" Received: from localhost.localdomain by smtp.strato.de (RZmta 49.8.2 DYNA|AUTH) with ESMTPSA id 04cbadz85CoOLbJ (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Sep 2023 14:50:24 +0200 (CEST) From: "H. Nikolaus Schaller" To: Tony Lindgren , Andreas Kemnade , =?utf-8?q?Patrik_Dahlstr=C3=B6m?= , peter.ujfalusi@gmail.com Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org Subject: [RFC 4/6] ARM: DTS: omap4-l4-abe: Add McASP configuration Date: Tue, 5 Sep 2023 14:50:13 +0200 Message-ID: <6a4f04d5f977344b168d34029da4402cf37d8f68.1693918214.git.hns@goldelico.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Peter Ujfalusi OMAP4 has a single McASP instance with single serializer and locked for DIT mode. To be able to enable the support the following fixes needed: - Add the DAT port ranges to the target module's ranges - SIDLE mode must be disabled as it is not working with McASP most likely module integration issue with McASP We can already fill in the op-mode and serial-dir for McASP as it only supports this configuration, but keep the module disabled as there is no known device available where it is used. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi b/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi index 7ae8b620515c5..a8d66240d17d5 100644 --- a/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi @@ -192,8 +192,7 @@ target-module@28000 { /* 0x40128000, ap 8 08.0 */ <0x28004 0x4>; reg-names = "rev", "sysc"; ti,sysc-sidle = , - , - ; + ; /* Domains (V, P, C): iva, abe_pwrdm, abe_clkdm */ clocks = <&abe_clkctrl OMAP4_MCASP_CLKCTRL 0>; clock-names = "fck"; From patchwork Tue Sep 5 12:50:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 13374560 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38EF4CA0FF3 for ; Tue, 5 Sep 2023 15:58:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231139AbjIEP66 (ORCPT ); Tue, 5 Sep 2023 11:58:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354596AbjIEMuh (ORCPT ); Tue, 5 Sep 2023 08:50:37 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EE3FDF for ; Tue, 5 Sep 2023 05:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693918225; cv=none; d=strato.com; s=strato-dkim-0002; b=gnAtcqaSnLnNewn37hFtNxhUlKvlEqrF0GxeXBrRfU3cc1VG3SuIC8Fq+1mu3YDJyE IyA5e3CfCQh/ioX9UZIg8C5KAhI3CGWil3dhm3CimdAT82sdal2yohcOyOrFt3CUrX0X dyMzfrV8KkH3J0O36IYpjXPeh7Qw5TNBeKvhFDCOQ9M26zspBJ1I2zAsvAIPR6kBPUqv fwF54/gaXvJkQCgE04e2kIiJtCC4ScXizbkoekKCD0G9cQUDKsezv/fhX3UU5wMbyPu4 q7EcKSd8NbquBTx+vMVgd8hBXxS1hdQJzJSPnDdYRyV6YpbeDl6d/YFgQZSziV65U1la PPYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918225; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=97jgT7ubO9fpCR8zFFXRO0momnaATvtViaPFm0jve0w=; b=tVUp4f1jtaHE2lzYIJsW5jKLV5CA+Le5AbTZwZ9e1/uRBmgydlkL1HtGTTxYshdbWP r7znGa/0Z5U3mtI9T3sXJtliKkIA38TF/bDCXl/yFOOz5+v9R6AyRBumYYFzGXd+Z8of +43erfxUAydbQdAsfquFaHRhgMF+WGu4wzanS+a2sJpO5ZWrBTQNMW13JnUUZX160die k4FbFJ36Qbildm7T6hC1MxxlJ6dsTjQ/v2HAGOvuRgNo8BsulQEQOZd+n/FI4njRQYFO ohHlW//hPVGEI7gvBDfdzml6Jezv2Ckx5apRaw2TFBSa1HWP1b82SfB+NmnLQa9Uu87C Ibbw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918225; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=97jgT7ubO9fpCR8zFFXRO0momnaATvtViaPFm0jve0w=; b=Ds1cJMt4ahHcR2AZZ8lNdXWJXIs+gG5xv5EDi/Wvqdaa9R3KmmYd19cwRqfhGNsLbv OcAGfM+3SwrPVPUwGMccMoPLVaViUTpvSKIU4fa9zg+JiG5BUV0QI5x6XMftmrlpnUQ/ ZXSChx+A7CaNu67LdNamx8fG+8LoAbHDNGeHlRjL8cTTptBZJKepmHifrkXiWUHdq+Rb DN/Bp1ZHGSrS/hyk0+yEitv2j3nmYRUD13Fnqdw1XVylmjn8YQtxE3GnhdRZXW5qvn9E DN9LKQYIt5HQD38nvyJgC84LWkzfyPAeSbJdYZW3XXTqdcMuOtT/00dIR1fOqTSmnhl4 56Zg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1693918225; s=strato-dkim-0003; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=97jgT7ubO9fpCR8zFFXRO0momnaATvtViaPFm0jve0w=; b=deZKFfkkyK+dN4fnWvCS1Rd6+bs6kmP+MsT3Zz+578kuDwaCpKVxV05Finue49h+Jk U3izE+XnnN9sVx/mF+Cg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrW7J" Received: from localhost.localdomain by smtp.strato.de (RZmta 49.8.2 DYNA|AUTH) with ESMTPSA id 04cbadz85CoOLbK (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Sep 2023 14:50:24 +0200 (CEST) From: "H. Nikolaus Schaller" To: Tony Lindgren , Andreas Kemnade , =?utf-8?q?Patrik_Dahlstr=C3=B6m?= , peter.ujfalusi@gmail.com Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org, "H. Nikolaus Schaller" Subject: [RFC 5/6] ARM: DTS: omap4-l4-abe: add an aess (audio DSP of OMAP4 and OMAP5) child Date: Tue, 5 Sep 2023 14:50:14 +0200 Message-ID: <535d7f940a97ec12f6551fd2ca8a9343d8ae3674.1693918215.git.hns@goldelico.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org make the aess module a child of the target-module. Define ranges, register names, interrupts, dmas. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi | 75 +++++++++++++++------ 1 file changed, 56 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi b/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi index a8d66240d17d5..7ca7b369b4e59 100644 --- a/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap4-l4-abe.dtsi @@ -41,12 +41,14 @@ segment@0 { /* 0x40100000 */ <0x0003d000 0x0003d000 0x001000>, /* ap 23 */ <0x0003e000 0x0003e000 0x001000>, /* ap 24 */ <0x0003f000 0x0003f000 0x001000>, /* ap 25 */ - <0x00080000 0x00080000 0x010000>, /* ap 26 */ - <0x00080000 0x00080000 0x001000>, /* ap 27 */ - <0x000a0000 0x000a0000 0x010000>, /* ap 28 */ - <0x000a0000 0x000a0000 0x001000>, /* ap 29 */ - <0x000c0000 0x000c0000 0x010000>, /* ap 30 */ - <0x000c0000 0x000c0000 0x001000>, /* ap 31 */ + <0x00080000 0x00080000 0x010000>, /* dmem */ + <0x00090000 0x00090000 0x001000>, /* dmem */ + <0x000a0000 0x000a0000 0x010000>, /* cmem */ + <0x000b0000 0x000b0000 0x001000>, /* cmem */ + <0x000c0000 0x000c0000 0x010000>, /* smem */ + <0x000d0000 0x000d0000 0x001000>, /* smem */ + <0x000e0000 0x000e0000 0x010000>, /* pmem */ + <0x000f0000 0x000f0000 0x001000>, /* pmem */ <0x000f1000 0x000f1000 0x001000>, /* ap 32 */ <0x000f2000 0x000f2000 0x001000>, /* ap 33 */ @@ -77,12 +79,14 @@ segment@0 { /* 0x40100000 */ <0x4903d000 0x4903d000 0x001000>, /* ap 23 */ <0x4903e000 0x4903e000 0x001000>, /* ap 24 */ <0x4903f000 0x4903f000 0x001000>, /* ap 25 */ - <0x49080000 0x49080000 0x010000>, /* ap 26 */ - <0x49080000 0x49080000 0x001000>, /* ap 27 */ - <0x490a0000 0x490a0000 0x010000>, /* ap 28 */ - <0x490a0000 0x490a0000 0x001000>, /* ap 29 */ - <0x490c0000 0x490c0000 0x010000>, /* ap 30 */ - <0x490c0000 0x490c0000 0x001000>, /* ap 31 */ + <0x49080000 0x49080000 0x010000>, /* dmem */ + <0x49090000 0x49090000 0x001000>, /* dmem */ + <0x490a0000 0x490a0000 0x010000>, /* cmem */ + <0x490b0000 0x490b0000 0x001000>, /* cmem */ + <0x490c0000 0x490c0000 0x010000>, /* smem */ + <0x490d0000 0x490d0000 0x001000>, /* smem */ + <0x490e0000 0x490e0000 0x010000>, /* pmem */ + <0x490f0000 0x490f0000 0x001000>, /* pmem */ <0x490f1000 0x490f1000 0x001000>, /* ap 32 */ <0x490f2000 0x490f2000 0x001000>; /* ap 33 */ @@ -482,14 +486,47 @@ target-module@f1000 { /* 0x401f1000, ap 32 20.0 */ clock-names = "fck"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0xf1000 0x1000>, - <0x490f1000 0x490f1000 0x1000>; - /* - * No child device binding or driver in mainline. - * See Android tree and related upstreaming efforts - * for the old driver. - */ + /* CHECKME: OMAP4 and OMAP5 may differ in memory sizes, here we define more than available... */ + ranges = <0 0xf1000 0x1000>, /* MPU private access */ + <0x80000 0x80000 0x10000>, /* DMEM 64KiB - MPU */ + <0xa0000 0xa0000 0x10000>, /* CMEM 6KiB - MPU */ + <0xc0000 0xc0000 0x10000>, /* SMEM 64KiB - MPU */ + <0xe0000 0xe0000 0x10000>, /* PMEM 8KiB - MPU */ + <0x490f1000 0x490f1000 0x10000>, /* L3 Interconnect */ + <0x49080000 0x49080000 0x10000>, /* DMEM 64KiB - L3 */ + <0x490a0000 0x490a0000 0x10000>, /* CMEM 6KiB - L3 */ + <0x490ce000 0x490c0000 0x10000>, /* SMEM 64KiB - L3 */ + <0x490e0000 0x490e0000 0x10000>; /* PMEM 8KiB - L3 */ + + aess: aess { + compatible = "ti,omap4-aess"; + status = "disabled"; + reg = <0 0xfff>, /* MPU private access */ + <0x80000 0xffff>, /* DMEM - MPU */ + <0xa0000 0xffff>, /* CMEM - MPU */ + <0xc0000 0xffff>, /* SMEM - MPU */ + <0xe0000 0xffff>, /* PMEM - MPU */ + <0x490f1000 0xfff>, /* L3 Interconnect */ + <0x49080000 0xffff>, /* DMEM - L3 */ + <0x490a0000 0xffff>, /* CMEM - L3 */ + <0x490ce000 0xffff>, /* SMEM - L3 */ + <0x490e0000 0xffff>; /* PMEM - L3 */ + reg-names = "mpu", "dmem", "cmem", "smem", "pmem", + "dma", "dmem_dma", "cmem_dma", "smem_dma", + "pmem_dma"; + interrupts = ; + dmas = <&sdma 101>, + <&sdma 102>, + <&sdma 103>, + <&sdma 104>, + <&sdma 105>, + <&sdma 106>, + <&sdma 107>, + <&sdma 108>; + dma-names = "fifo0", "fifo1", "fifo2", "fifo3", "fifo4", + "fifo5", "fifo6", "fifo7"; + }; }; }; }; From patchwork Tue Sep 5 12:50:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 13374564 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 324ACCA0FFA for ; Tue, 5 Sep 2023 15:59:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231589AbjIEP7G (ORCPT ); Tue, 5 Sep 2023 11:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354607AbjIEMxb (ORCPT ); Tue, 5 Sep 2023 08:53:31 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 726DB1A6 for ; Tue, 5 Sep 2023 05:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693918225; cv=none; d=strato.com; s=strato-dkim-0002; b=VYtshvKsNszhkW/RTGEGIwbgFCnPIFq7aqnHyYXbKC1xU6ZeysK6DLz/sP813j2J1N +4jANa3Rx3v2ZhuZ6MP69MtaqF7PL2oBx0RoYSkWyvlGRQuomAHKgFpVz7UZuJj5+wF9 qZuVqAaigyngsSjGsD+k6BP1F0OyK9pL7CYG6tqP9VLCTuXuJ+XNOXLhI71Jaeipkn7u 28eQddWpmLPMFTG2YjQdVk42giBRQVwDm8LRIQGv+V/hFYOZJD9Yt7ZJ82dIk6uggdNy pXo411jBIT1pZm1+njh24yS2ntJCad/UesEyKdaeOzRX9JIr5Fa7F2o4nn52bbHbZFHn uoLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918225; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Swn/M0GufsoQQ8tcNjfSJjPTQPXNruvk1DKccYgp+pQ=; b=tHPRkphKqf5xv41w3Qk2yX37oA1NpBWKaRmB62na3QtetZWPcNQYt7C0sa0UAsvLk6 Ogx7ZUa4qgOhfffRis1UphJWWt4qYpChQNpchWpvo0XkHyUSom5W/eDSNjJOfCUF9ySY kMbcY0+dJ5lYg0ypEgWaPNRBoLp0w5H6vaV99ylk7jl5uQ+W+YZt/6txb8zQouENRMym nOLTq7vQz73g/jd+4ISI2XcpUosJHGH0Hp9EcQf0EcCoYppbUmYkShr9SiXbULK5eWZW XbRyLO+mF4oMrfE4SYBOLYCEch/qVwcEqWBcZ8Yt125a1Y0Qd53WuPYtaoIWBIrzwQEt bb3w== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1693918225; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Swn/M0GufsoQQ8tcNjfSJjPTQPXNruvk1DKccYgp+pQ=; b=FN19gDAHTFETjOOVnfHx6Qv3nnak7FBO4tmPzjo95txmTgY9j2aYGU2FtCYS7N+JGG TUwjHwBu0oduapDYJ1zGNBSdYM+MhAhh7KtnD0tjKnQdYBEs5temZ9zUcRB/t+dy2DIZ f+vrub8F5zplXdnTEqa/ohpAIdCRNEwKBnWT6McWB1cLP0Kln+NzcRNWA4kzhsmAY2Zm 9X9PIAOVEtYwYoHl6sZAQOiaPBpKl0WokQrIWKXySZQRwmUpwnePxV3wuGoEXJasCG9/ fZrhSyvHFowzIcBy61lhtLuzCLJYktYVCAwbI/tnxKcFCEDYFK1hMBh5GPQnWo7conHj WQIQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1693918225; s=strato-dkim-0003; d=goldelico.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Swn/M0GufsoQQ8tcNjfSJjPTQPXNruvk1DKccYgp+pQ=; b=xhTUeW8D0dyYF/CVC6KmrqQBabrkToA3MXqKhjhNWanOYk+rliNe9TS+JbDdS5dXG9 MkSksnBenh69kB4233Cw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrW7J" Received: from localhost.localdomain by smtp.strato.de (RZmta 49.8.2 DYNA|AUTH) with ESMTPSA id 04cbadz85CoPLbL (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Sep 2023 14:50:25 +0200 (CEST) From: "H. Nikolaus Schaller" To: Tony Lindgren , Andreas Kemnade , =?utf-8?q?Patrik_Dahlstr=C3=B6m?= , peter.ujfalusi@gmail.com Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org, "H. Nikolaus Schaller" Subject: [RFC 6/6] ARM: DTS: omap4-panda-common: enable aess, add phandles for aess and mcbsp1/2/3 Date: Tue, 5 Sep 2023 14:50:15 +0200 Message-ID: <070fc6758feb53d2b66372d38924d96ad2822b64.1693918215.git.hns@goldelico.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org and extend audio-routing. Signed-off-by: H. Nikolaus Schaller --- .../boot/dts/ti/omap/omap4-panda-common.dtsi | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap4-panda-common.dtsi b/arch/arm/boot/dts/ti/omap/omap4-panda-common.dtsi index f528511c2537b..3409cb693d1d5 100644 --- a/arch/arm/boot/dts/ti/omap/omap4-panda-common.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap4-panda-common.dtsi @@ -82,21 +82,31 @@ sound: sound { ti,model = "PandaBoard"; ti,mclk-freq = <38400000>; + ti,mclk-freq = <38400000>; // CHECKME: 19200000? ti,mcpdm = <&mcpdm>; + ti,mcbsp1 = <&mcbsp1>; /* bluetooth */ + ti,mcbsp2 = <&mcbsp2>; /* fm radio */ + ti,mcbsp3 = <&mcbsp3>; /* modem */ ti,twl6040 = <&twl6040>; + ti,aess = <&aess>; /* Audio routing */ ti,audio-routing = "Headset Stereophone", "HSOL", "Headset Stereophone", "HSOR", - "Ext Spk", "HFL", - "Ext Spk", "HFR", + "Earphone Spk", "EP", "Line Out", "AUXL", "Line Out", "AUXR", + "Vibrator", "VIBRAL", + "Vibrator", "VIBRAR", "HSMIC", "Headset Mic", "Headset Mic", "Headset Mic Bias", + "MAINMIC", "Main Handset Mic", + "Main Handset Mic", "Main Mic Bias", + "SUBMIC", "Sub Handset Mic", + "Sub Handset Mic", "Main Mic Bias", "AFML", "Line In", "AFMR", "Line In"; }; @@ -227,6 +237,10 @@ hdmi_connector_in: endpoint { }; }; +&aess { + status = "okay"; +}; + &omap4_pmx_core { pinctrl-names = "default"; pinctrl-0 = < @@ -517,6 +531,10 @@ &mcbsp1 { status = "okay"; }; +&mcbsp2 { + status = "okay"; +}; + &twl_usb_comparator { usb-supply = <&vusb>; };