[0/5] mmc: uniphier-sd: Add UHS mode support

Message ID 20230125010201.28246-1-hayashi.kunihiko@socionext.com
Headers
Series mmc: uniphier-sd: Add UHS mode support |

Message

Kunihiko Hayashi Jan. 25, 2023, 1:01 a.m. UTC
  The uniphier-sd controller needs to control some siginals from the SD
interface logic to transition to UHS mode.

This series adds UHS mode support to the controller driver
to refer to and control the interface logic registers, which include
mode selector and SDR speed selector.

Kunihiko Hayashi (5):
  dt-bindings: mmc: uniphier-sd: Add socionext,syscon-uhs-mode property
  mmc: uniphier-sd: Add control of UHS mode using SD interface logic
  mmc: uniphier-sd: Add control to switch UHS speed
  ARM: dts: uniphier: Add syscon-uhs-mode to SD node
  arm64: dts: uniphier: Add syscon-uhs-mode to SD node

 .../bindings/mmc/socionext,uniphier-sd.yaml   | 10 +++
 arch/arm/boot/dts/uniphier-ld4.dtsi           |  3 +-
 arch/arm/boot/dts/uniphier-pro4.dtsi          |  3 +-
 arch/arm/boot/dts/uniphier-pro5.dtsi          |  3 +-
 arch/arm/boot/dts/uniphier-pxs2.dtsi          |  3 +-
 arch/arm/boot/dts/uniphier-sld8.dtsi          |  3 +-
 .../boot/dts/socionext/uniphier-ld20.dtsi     |  3 +-
 .../boot/dts/socionext/uniphier-pxs3.dtsi     |  3 +-
 drivers/mmc/host/uniphier-sd.c                | 83 +++++++++++++++++--
 9 files changed, 102 insertions(+), 12 deletions(-)
  

Comments

Ulf Hansson Jan. 27, 2023, 10:57 a.m. UTC | #1
On Wed, 25 Jan 2023 at 02:02, Kunihiko Hayashi
<hayashi.kunihiko@socionext.com> wrote:
>
> The uniphier-sd controller needs to control some siginals from the SD
> interface logic to transition to UHS mode.
>
> This series adds UHS mode support to the controller driver
> to refer to and control the interface logic registers, which include
> mode selector and SDR speed selector.
>
> Kunihiko Hayashi (5):
>   dt-bindings: mmc: uniphier-sd: Add socionext,syscon-uhs-mode property
>   mmc: uniphier-sd: Add control of UHS mode using SD interface logic
>   mmc: uniphier-sd: Add control to switch UHS speed
>   ARM: dts: uniphier: Add syscon-uhs-mode to SD node
>   arm64: dts: uniphier: Add syscon-uhs-mode to SD node
>
>  .../bindings/mmc/socionext,uniphier-sd.yaml   | 10 +++
>  arch/arm/boot/dts/uniphier-ld4.dtsi           |  3 +-
>  arch/arm/boot/dts/uniphier-pro4.dtsi          |  3 +-
>  arch/arm/boot/dts/uniphier-pro5.dtsi          |  3 +-
>  arch/arm/boot/dts/uniphier-pxs2.dtsi          |  3 +-
>  arch/arm/boot/dts/uniphier-sld8.dtsi          |  3 +-
>  .../boot/dts/socionext/uniphier-ld20.dtsi     |  3 +-
>  .../boot/dts/socionext/uniphier-pxs3.dtsi     |  3 +-
>  drivers/mmc/host/uniphier-sd.c                | 83 +++++++++++++++++--
>  9 files changed, 102 insertions(+), 12 deletions(-)
>

Patch 1 to 3 applied for next (I fixed up the comments from Krzysztof
when I applied), thanks!

Kind regards
Uffe
  
Kunihiko Hayashi Jan. 30, 2023, 4:48 a.m. UTC | #2
Hi Ulf,

On 2023/01/27 19:57, Ulf Hansson wrote:
> On Wed, 25 Jan 2023 at 02:02, Kunihiko Hayashi
> <hayashi.kunihiko@socionext.com> wrote:
>>
>> The uniphier-sd controller needs to control some siginals from the SD
>> interface logic to transition to UHS mode.
>>
>> This series adds UHS mode support to the controller driver
>> to refer to and control the interface logic registers, which include
>> mode selector and SDR speed selector.
>>
>> Kunihiko Hayashi (5):
>>    dt-bindings: mmc: uniphier-sd: Add socionext,syscon-uhs-mode property
>>    mmc: uniphier-sd: Add control of UHS mode using SD interface logic
>>    mmc: uniphier-sd: Add control to switch UHS speed
>>    ARM: dts: uniphier: Add syscon-uhs-mode to SD node
>>    arm64: dts: uniphier: Add syscon-uhs-mode to SD node
>>
>>   .../bindings/mmc/socionext,uniphier-sd.yaml   | 10 +++
>>   arch/arm/boot/dts/uniphier-ld4.dtsi           |  3 +-
>>   arch/arm/boot/dts/uniphier-pro4.dtsi          |  3 +-
>>   arch/arm/boot/dts/uniphier-pro5.dtsi          |  3 +-
>>   arch/arm/boot/dts/uniphier-pxs2.dtsi          |  3 +-
>>   arch/arm/boot/dts/uniphier-sld8.dtsi          |  3 +-
>>   .../boot/dts/socionext/uniphier-ld20.dtsi     |  3 +-
>>   .../boot/dts/socionext/uniphier-pxs3.dtsi     |  3 +-
>>   drivers/mmc/host/uniphier-sd.c                | 83 +++++++++++++++++--
>>   9 files changed, 102 insertions(+), 12 deletions(-)
>>
> 
> Patch 1 to 3 applied for next (I fixed up the comments from Krzysztof
> when I applied), thanks!

Thank you for fixing up and applying. I'll send patch 4 and 5 (related to
the devicetree sources) as other requests for the SoC.

Thank you,

---
Best Regards
Kunihiko Hayashi