All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Nikolaus Schaller" <hns@goldelico.com>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org,
	"Benoît Cousson" <bcousson@baylibre.com>,
	devicetree@vger.kernel.org,
	"Matthijs van Duin" <matthijsvanduin@gmail.com>,
	"Peter Ujfalusi" <peter.ujfalusi@ti.com>,
	"Tero Kristo" <t-kristo@ti.com>
Subject: Re: [PATCH] ARM: dts: Configure omap5 AESS
Date: Tue, 14 Jan 2020 17:37:40 +0100	[thread overview]
Message-ID: <52905C15-A2D1-4372-9781-D602D0B274B6@goldelico.com> (raw)
In-Reply-To: <20200114150937.18304-1-tony@atomide.com>

Hi Tony,

> Am 14.01.2020 um 16:09 schrieb Tony Lindgren <tony@atomide.com>:
> 
> We are missing AESS for omap5. Looks like it's similar to what we have
> for omap4, and this gets ti-sysc interconnect target module driver to
> detect it properly.
> 
> Note that we currently have no child device driver available for it.

What I have is a non-working and no more compiling driver originally written by
Peter Ujfalusi and reworked by Andrej Utkin. We did have it almost running on
v4.14 or so except problems with firmware versions and headers...

There we used classical hwmods and I could revert them now to try your new patches.
Unfortunately, I could only compile-test your two patches but nothing with AESS.

We had tried to follow kernel API changes in the sound subsystem but today it is
not even compiling any more :(

So getting a working device driver is an even bigger task than SGX was.

> 
> Cc: H. Nikolaus Schaller <hns@goldelico.com>
> Cc: Matthijs van Duin <matthijsvanduin@gmail.com>
> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
> Cc: Tero Kristo <t-kristo@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> 
> Note that this depends on "[PATCH] clk: ti: omap5: Add missing AESS clock".
> 
> arch/arm/boot/dts/omap5-l4-abe.dtsi | 16 ++++++++++++++--
> 1 file changed, 14 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap5-l4-abe.dtsi b/arch/arm/boot/dts/omap5-l4-abe.dtsi
> --- a/arch/arm/boot/dts/omap5-l4-abe.dtsi
> +++ b/arch/arm/boot/dts/omap5-l4-abe.dtsi
> @@ -426,8 +426,20 @@ target-module@c0000 {			/* 0x401c0000, ap 30 1e.0 */
> 		};
> 
> 		target-module@f1000 {			/* 0x401f1000, ap 32 20.0 */

Here its may be good to have an "aess" label.

> -			compatible = "ti,sysc";
> -			status = "disabled";
> +			compatible = "ti,sysc-omap4", "ti,sysc";
> +			reg = <0xf1000 0x4>,
> +			      <0xf1010 0x4>;
> +			reg-names = "rev", "sysc";
> +			ti,sysc-midle = <SYSC_IDLE_FORCE>,
> +					<SYSC_IDLE_NO>,
> +					<SYSC_IDLE_SMART>,
> +					<SYSC_IDLE_SMART_WKUP>;
> +			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
> +					<SYSC_IDLE_NO>,
> +					<SYSC_IDLE_SMART>;
> +			/* Domains (V, P, C): iva, abe_pwrdm, abe_clkdm */
> +			clocks = <&abe_clkctrl OMAP5_AESS_CLKCTRL 0>;
> +			clock-names = "fck";
> 			#address-cells = <1>;
> 			#size-cells = <1>;
> 			ranges = <0x0 0xf1000 0x1000>,
> -- 
> 2.24.1

BR and thanks,
Nikolaus

  reply	other threads:[~2020-01-14 16:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14 15:09 [PATCH] ARM: dts: Configure omap5 AESS Tony Lindgren
2020-01-14 16:37 ` H. Nikolaus Schaller [this message]
2020-01-14 16:46   ` Tony Lindgren
2020-01-14 16:46     ` Tony Lindgren
2020-01-14 17:04     ` H. Nikolaus Schaller
2020-01-14 17:16       ` Tony Lindgren
2020-01-14 17:16         ` Tony Lindgren
2020-01-14 18:29         ` H. Nikolaus Schaller
2020-01-14 18:29           ` H. Nikolaus Schaller
2020-01-14 18:39           ` H. Nikolaus Schaller
2020-01-14 18:39             ` H. Nikolaus Schaller
2020-01-14 21:00             ` Tony Lindgren
2020-01-14 21:00               ` Tony Lindgren
2020-01-15 12:49               ` H. Nikolaus Schaller
2020-01-16 18:52                 ` Tony Lindgren
2020-01-16 18:52                   ` Tony Lindgren
2020-01-16 15:53 ` kbuild test robot
2020-01-16 15:53   ` kbuild test robot
2020-01-16 15:53   ` kbuild test robot
2020-01-16 18:52   ` Tony Lindgren
2020-01-16 18:52     ` Tony Lindgren
2020-01-16 18:52     ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52905C15-A2D1-4372-9781-D602D0B274B6@goldelico.com \
    --to=hns@goldelico.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=matthijsvanduin@gmail.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=t-kristo@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.