Re: [PATCH] ARM: dts: qcom: apq8084-ifc6540: fix overriding SDHCI

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

 



On 04/12/2022 12:11, Dmitry Baryshkov wrote:
> On Sun, 4 Dec 2022 at 10:46, Krzysztof Kozlowski
> <krzysztof.kozlowski@xxxxxxxxxx> wrote:
>>
>> While changing node names of APQ8084 SDHCI, the ones in IFC6540 board
>> were not updated leading to disabled and misconfigured SDHCI.
>>
>> Cc: <stable@xxxxxxxxxxxxxxx>
>> Fixes: 2477d81901a2 ("ARM: dts: qcom: Fix sdhci node names - use 'mmc@'")
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> 
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> 
> Minor nit below.
> 
>> ---
>>  arch/arm/boot/dts/qcom-apq8084-ifc6540.dts | 20 ++++++++++----------
>>  arch/arm/boot/dts/qcom-apq8084.dtsi        |  4 ++--
>>  2 files changed, 12 insertions(+), 12 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts b/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts
>> index 44cd72f1b1be..116e59a3b76d 100644
>> --- a/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts
>> @@ -19,16 +19,16 @@ soc {
>>                 serial@f995e000 {
>>                         status = "okay";
>>                 };
>> +       };
>> +};
>>
>> -               sdhci@f9824900 {
>> -                       bus-width = <8>;
>> -                       non-removable;
>> -                       status = "okay";
>> -               };
>> +&sdhc_1 {
>> +       bus-width = <8>;
>> +       non-removable;
>> +       status = "okay";
>> +};
>>
>> -               sdhci@f98a4900 {
>> -                       cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>;
>> -                       bus-width = <4>;
>> -               };
>> -       };
>> +&sdhc_2 {
>> +       cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>;
>> +       bus-width = <4>;
> 
> Technically this will still be disabled, as there is no 'status = "okay";' here.
> 

Yes, but I think this is separate issue, not related to node renaming.
The initial patch which added these said:
"required for enabling the serial port and eMMC."
so I assume SD card controller was meant to stay disabled.

Best regards,
Krzysztof




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux