Patchwork [v2,2/3] ASoC: tegra: add ac97 host controller to device tree

login
register
mail settings
Submitter Lucas Stach
Date Jan. 5, 2013, 1:18 a.m.
Message ID <1357348725-32139-3-git-send-email-dev@lynxeye.de>
Download mbox | patch
Permalink /patch/209588/
State Accepted, archived
Headers show

Comments

Lucas Stach - Jan. 5, 2013, 1:18 a.m.
Add default entry for the AC97 host controller.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
v2:
- only add .dtsi parts here
---
 arch/arm/boot/dts/tegra20.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
Stephen Warren - Jan. 8, 2013, 10:11 p.m.
On 01/04/2013 06:18 PM, Lucas Stach wrote:
> Add default entry for the AC97 host controller.

This looks fine. I assume I'll take this through the Tegra tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Mark Brown - Jan. 13, 2013, 11:22 p.m.
On Tue, Jan 08, 2013 at 03:11:45PM -0700, Stephen Warren wrote:
> On 01/04/2013 06:18 PM, Lucas Stach wrote:
> > Add default entry for the AC97 host controller.

> This looks fine. I assume I'll take this through the Tegra tree.

Makes sense to me.
Stephen Warren - Jan. 14, 2013, 5 p.m.
On 01/13/2013 04:22 PM, Mark Brown wrote:
> On Tue, Jan 08, 2013 at 03:11:45PM -0700, Stephen Warren wrote:
>> On 01/04/2013 06:18 PM, Lucas Stach wrote:
>>> Add default entry for the AC97 host controller.
> 
>> This looks fine. I assume I'll take this through the Tegra tree.
> 
> Makes sense to me.

Thanks, applied to Tegra's for-3.9/dt branch.

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Warren - Jan. 14, 2013, 5:22 p.m.
On 01/14/2013 10:00 AM, Stephen Warren wrote:
> On 01/13/2013 04:22 PM, Mark Brown wrote:
>> On Tue, Jan 08, 2013 at 03:11:45PM -0700, Stephen Warren wrote:
>>> On 01/04/2013 06:18 PM, Lucas Stach wrote:
>>>> Add default entry for the AC97 host controller.
>>
>>> This looks fine. I assume I'll take this through the Tegra tree.
>>
>> Makes sense to me.
> 
> Thanks, applied to Tegra's for-3.9/dt branch.

I had to make a small modification to the patch; I commented out the
clocks property for now since the CAR node isn't yet present. It will be
soon once the common clock framework patches are merged, and then I'll
revert the change I made.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index b8effa1..1dc0423 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -177,6 +177,15 @@ 
 		compatible = "nvidia,tegra20-das";
 		reg = <0x70000c00 0x80>;
 	};
+	
+	tegra_ac97: ac97 {
+		compatible = "nvidia,tegra20-ac97";
+		reg = <0x70002000 0x200>;
+		interrupts = <0 81 0x04>;
+		nvidia,dma-request-selector = <&apbdma 12>;
+		clocks = <&tegra_car 3>;
+		status = "disabled";
+	};
 
 	tegra_i2s1: i2s@70002800 {
 		compatible = "nvidia,tegra20-i2s";