[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221110150035.2824580-1-adeep@lexina.in>
Date: Thu, 10 Nov 2022 18:00:31 +0300
From: Vyacheslav Bocharov <adeep@...ina.in>
To: linux-mmc@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] arm64: amlogic: mmc: meson-gx: Add core, tx, rx
The mmc driver use the same phase values (core - 180, tx/rx - 0) for all
meson64 platforms. However, some platforms (and even some boards) require
different values (axg for example use 270 degree for core clock). This patch
transfers the values from the code to the variables in the device-tree files.
If not set in dts, use old default values.
Vyacheslav Bocharov (4):
arm64: amlogic: mmc: meson-gx: Add core, tx, rx eMMC/SD/SDIO phase
clock settings from devicetree data
arm64: amlogic: mmc: meson-gx: Add dts binding include for core, tx,
rx eMMC/SD/SDIO phase clock settings from devicetree data
arm64: amlogic: dts: meson: update meson-axg device-tree for new core,
tx, rx phase clock settings.
arm64: dts: docs: Update mmc meson-gx documentation for new config
option amlogic,mmc-phase
.../bindings/mmc/amlogic,meson-gx.txt | 7 ++++
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 3 ++
drivers/mmc/host/meson-gx-mmc.c | 18 +++++++---
include/dt-bindings/mmc/meson-gx-mmc.h | 35 +++++++++++++++++++
4 files changed, 58 insertions(+), 5 deletions(-)
create mode 100644 include/dt-bindings/mmc/meson-gx-mmc.h
--
2.30.2
Powered by blists - more mailing lists