[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1637186803.git.wbartczak@marvell.com>
Date: Wed, 17 Nov 2021 14:27:59 -0800
From: Wojciech Bartczak <wbartczak@...vell.com>
To: <linux-mmc@...r.kernel.org>
CC: <ulf.hansson@...aro.org>, <beanhuo@...ron.com>,
<tanxiaofei@...wei.com>, <robh+dt@...nel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<wbartczak@...vell.com>
Subject: [PATCH 0/2] mmc: cavium: Fix MMC supply switching for cards
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
Powered by blists - more mailing lists