diff mbox

[v2,03/10] ARM: dt: tegra30: Add clock information

Message ID 50F6E32F.80602@wwwdotorg.org (mailing list archive)
State New, archived
Headers show

Commit Message

Stephen Warren Jan. 16, 2013, 5:28 p.m. UTC
On 01/16/2013 01:01 AM, Terje Bergström wrote:
> On 11.01.2013 10:01, Prashant Gaikwad wrote:
>> diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
>> index 6765646..c3e129a 100644
>> --- a/arch/arm/boot/dts/tegra30.dtsi
>> +++ b/arch/arm/boot/dts/tegra30.dtsi
>>  		gr3d {
>>  			compatible = "nvidia,tegra30-gr3d";
>>  			reg = <0x54180000 0x00040000>;
>> +			clocks = <&tegra_car 24>;
>>  		};
> 
> In Tegra3, 3D has two clocks. I believe you'd need to add <&tegra_car
> 98> here.

Thanks. I've squashed the following into the patch. Do those clock names
make sense to you?

Comments

Terje Bergstrom Jan. 17, 2013, 6:33 a.m. UTC | #1
On 16.01.2013 19:28, Stephen Warren wrote:
> On 01/16/2013 01:01 AM, Terje Bergström wrote:
>> In Tegra3, 3D has two clocks. I believe you'd need to add <&tegra_car
>> 98> here.
> 
> Thanks. I've squashed the following into the patch. Do those clock names
> make sense to you?
> 
> diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
> index b9709ae..c26d75b 100644
> --- a/arch/arm/boot/dts/tegra30.dtsi
> +++ b/arch/arm/boot/dts/tegra30.dtsi
> @@ -54,7 +54,8 @@
>                 gr3d {
>                         compatible = "nvidia,tegra30-gr3d";
>                         reg = <0x54180000 0x00040000>;
> -                       clocks = <&tegra_car 24>;
> +                       clocks = <&tegra_car 24 &tegra_car 98>;
> +                       clock-names = "3d", "3d2";
>                 };
> 
>                 dc@54200000 {

Yep, this looks right.

Terje
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
index b9709ae..c26d75b 100644
--- a/arch/arm/boot/dts/tegra30.dtsi
+++ b/arch/arm/boot/dts/tegra30.dtsi
@@ -54,7 +54,8 @@ 
                gr3d {
                        compatible = "nvidia,tegra30-gr3d";
                        reg = <0x54180000 0x00040000>;
-                       clocks = <&tegra_car 24>;
+                       clocks = <&tegra_car 24 &tegra_car 98>;
+                       clock-names = "3d", "3d2";
                };

                dc@54200000 {