Re: [PATCH] ARM: dts: am33xx-l4: Fix epwmssX/ecapX/ehrpwmX ranges and reg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/12/2018 13.00, Vignesh R wrote:
> 
> 
> On 11/12/18 4:24 PM, Peter Ujfalusi wrote:
>> Correct the ranges for epwmsX nodes and the reg for the subnodes.
>>
>> Fixes: 87fc89ced3a78 ("ARM: dts: am335x: Move l4 child devices to probe them with ti-sysc")
>>
>> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
>> ---
>> Hi Tony,
>>
>> with this patch am335x-evmsk LCD is working.
>>
> 
> I guess Tony has already posted a patch: https://patchwork.kernel.org/patch/10722671/

Yep, I just noticed it, this can be ignored.

> 
>> Regards,
>> Peter
>>
>>  arch/arm/boot/dts/am33xx-l4.dtsi | 30 +++++++++++++++---------------
>>  1 file changed, 15 insertions(+), 15 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi
>> index 7c7876ecae14..85366f287a22 100644
>> --- a/arch/arm/boot/dts/am33xx-l4.dtsi
>> +++ b/arch/arm/boot/dts/am33xx-l4.dtsi
>> @@ -1899,15 +1899,15 @@
>>  				#address-cells = <1>;
>>  				#size-cells = <1>;
>>  				status = "disabled";
>> -				ranges = <0x48300100 0x48300100 0x80   /* ECAP */
>> -					  0x48300180 0x48300180 0x80   /* EQEP */
>> -					  0x48300200 0x48300200 0x80>; /* EHRPWM */
>> +				ranges = <0x100 0x100 0x80   /* ECAP */
>> +					  0x180 0x180 0x80   /* EQEP */
>> +					  0x200 0x200 0x80>; /* EHRPWM */
>>  
>>  				ecap0: ecap@48300100 {
>>  					compatible = "ti,am3352-ecap",
>>  						     "ti,am33xx-ecap";
>>  					#pwm-cells = <3>;
>> -					reg = <0x48300100 0x80>;
>> +					reg = <0x100 0x80>;
>>  					clocks = <&l4ls_gclk>;
>>  					clock-names = "fck";
>>  					interrupts = <31>;
>> @@ -1919,7 +1919,7 @@
>>  					compatible = "ti,am3352-ehrpwm",
>>  						     "ti,am33xx-ehrpwm";
>>  					#pwm-cells = <3>;
>> -					reg = <0x48300200 0x80>;
>> +					reg = <0x200 0x80>;
>>  					clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
>>  					clock-names = "tbclk", "fck";
>>  					status = "disabled";
>> @@ -1954,15 +1954,15 @@
>>  				#address-cells = <1>;
>>  				#size-cells = <1>;
>>  				status = "disabled";
>> -				ranges = <0x48302100 0x48302100 0x80   /* ECAP */
>> -					  0x48302180 0x48302180 0x80   /* EQEP */
>> -					  0x48302200 0x48302200 0x80>; /* EHRPWM */
>> +				ranges = <0x100 0x100 0x80   /* ECAP */
>> +					  0x180 0x180 0x80   /* EQEP */
>> +					  0x200 0x200 0x80>; /* EHRPWM */
>>  
>>  				ecap1: ecap@48302100 {
>>  					compatible = "ti,am3352-ecap",
>>  						     "ti,am33xx-ecap";
>>  					#pwm-cells = <3>;
>> -					reg = <0x48302100 0x80>;
>> +					reg = <0x100 0x80>;
>>  					clocks = <&l4ls_gclk>;
>>  					clock-names = "fck";
>>  					interrupts = <47>;
>> @@ -1974,7 +1974,7 @@
>>  					compatible = "ti,am3352-ehrpwm",
>>  						     "ti,am33xx-ehrpwm";
>>  					#pwm-cells = <3>;
>> -					reg = <0x48302200 0x80>;
>> +					reg = <0x200 0x80>;
>>  					clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
>>  					clock-names = "tbclk", "fck";
>>  					status = "disabled";
>> @@ -2009,15 +2009,15 @@
>>  				#address-cells = <1>;
>>  				#size-cells = <1>;
>>  				status = "disabled";
>> -				ranges = <0x48304100 0x48304100 0x80   /* ECAP */
>> -					  0x48304180 0x48304180 0x80   /* EQEP */
>> -					  0x48304200 0x48304200 0x80>; /* EHRPWM */
>> +				ranges = <0x100 0x100 0x80   /* ECAP */
>> +					  0x180 0x180 0x80   /* EQEP */
>> +					  0x200 0x200 0x80>; /* EHRPWM */
>>  
>>  				ecap2: ecap@48304100 {
>>  					compatible = "ti,am3352-ecap",
>>  						     "ti,am33xx-ecap";
>>  					#pwm-cells = <3>;
>> -					reg = <0x48304100 0x80>;
>> +					reg = <0x100 0x80>;
>>  					clocks = <&l4ls_gclk>;
>>  					clock-names = "fck";
>>  					interrupts = <61>;
>> @@ -2029,7 +2029,7 @@
>>  					compatible = "ti,am3352-ehrpwm",
>>  						     "ti,am33xx-ehrpwm";
>>  					#pwm-cells = <3>;
>> -					reg = <0x48304200 0x80>;
>> +					reg = <0x200 0x80>;
>>  					clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
>>  					clock-names = "tbclk", "fck";
>>  					status = "disabled";
>>
> 

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux