lkml.org 
[lkml]   [2021]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] mmc: cavium: Fix MMC supply switching for cards
Date
Following series of patches fix code related to switching
voltage regulators used by multiple cards in Octeon/OcteonTX2
systems.

Change is necessary to support cards with different voltages,
which is common case in modern configuration where the mix of SD cards
and MMC memory chips is used as main storage.

Aside custom system, the change is required to support reference designs
for CN96xx and CN98xx systems.

First patch contains mid-size rework of do_switch() routine that
includes:
- separation of vmmc/vqmmc switch logic
- separation of register accesses to functions for better readibility
- forming do_switch() as high-level function that controls the flow of
switch operation.

Second patch adds extended description of device-tree usage to
enable code contained in former patch.

Wojciech Bartczak (2):
mmc: cavium: Fix voltage reg. switching for card slots
dt-bindings: mmc: Add vmmc/vqmmc for Cavium driver

.../devicetree/bindings/mmc/cavium-mmc.txt | 47 ++++-
drivers/mmc/host/cavium.c | 168 ++++++++++++++++--
drivers/mmc/host/cavium.h | 8 +-
3 files changed, 202 insertions(+), 21 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2021-11-17 23:31    [W:0.103 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site