i2c data lines are bidirectional, so the SION bit should be set. Apply
them to all i2c mux options.
Suggested-by: Ahmad Fatoum
Signed-off-by: Bastian Krause
---
include/mach/imx/iomux-mx8mn.h | 64 +-
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git
O_PATH had the same value as O_RWSIZE_2, while O_CHROOT overlapped with
O_RWSIZE_4. Fix this by moving up the bits used for O_PATH and O_CHROOT.
This resolves the EINVAL reported when running md -w 0.
Signed-off-by: Ahmad Fatoum
---
This fixes a regression in next cause by:
fs: implement O_PAT
i2c data lines are bidirectional, so the SION bit should be set. For
i2c1, this is already the case. Apply the same to the remaining i2c mux
options.
Suggested-by: Ahmad Fatoum
Signed-off-by: Bastian Krause
---
include/mach/imx/iomux-mx8mm.h | 12 ++--
1 file changed, 6 insertions(+), 6
The arasan SDHCI driver doesn't use MMC tuning but SDHCI tuning. Both
are not supported yet in barebox.
Add SDHCI tuning support from linux v6.7.
Signed-off-by: Steffen Trumtrar
Signed-off-by: Ahmad Fatoum
---
drivers/mci/sdhci.c | 244 +++-
drive
HS200 is a timing mode for eMMCs to work 8bit with 200MHz clocks.
To be used, drivers need to set the correct drive strength, clock phases
and then SDHCI can start tuning for HS200.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/Kconfig| 7 ++
drivers/mci/mci-core.c | 256
To support HS200 mode, the arasan needs a differernt sdhci_wait_idle
function. Remove the default CMD_INHIBIT_DATA, otherwise the sdhci hs200
tuning will timeout.
Signed-off-by: Ahmad Fatoum
Signed-off-by: Steffen Trumtrar
---
drivers/mci/arasan-sdhci.c | 2 +-
drivers/mci/sdhci.c| 25
The ZynpMP 8.9a has an Arasan IP core that supports HS200 tuning.
Register the callback with the mci-core.
Arasan uses the SDHCI tuning method.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/arasan-sdhci.c | 62 +++---
1 file changed, 59 insertions(+), 3
| 25 ++
include/mach/zynqmp/firmware-zynqmp.h | 23 ++
include/mci.h | 114 +++-
8 files changed, 1270 insertions(+), 33 deletions(-)
---
base-commit: ed7c14536d521793199abf0597164a46ba68e8e5
change-id: 20240308-v2024-02-0-topic-arasan-hs200-support
Add a function to reset DLL logic for SD devices.
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-zynqmp/firmware-zynqmp.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/mach-zynqmp/firmware-zynqmp.c
b/arch/arm/mach-zynqmp/firmware-zynqmp.c
index a2b61efff4..b
Port the linux v6.7 mmc host caps2 parsing.
While at it, remove the ->no_sd and ->no_sdio. These are bits in the
caps2 field.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/mci-core.c | 34 --
include/mci.h | 32 ++--
2 files
Add a function to set the tap delay for the clk phase of the sd host
controller.
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-zynqmp/firmware-zynqmp.c | 42 ++
include/mach/zynqmp/firmware-zynqmp.h | 23 +++
2 files changed, 65 insertions(+)
Read and register the sampleclk and sdcardclk. They are needed later for
HS200 tuning support.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/arasan-sdhci.c | 305 +
1 file changed, 305 insertions(+)
diff --git a/drivers/mci/arasan-sdhci.c b/drivers/
The timings are used to check if mci_host->timing is equal to one of
this values. Linux uses a different numbering. Adapt that for compatability.
Signed-off-by: Steffen Trumtrar
---
include/mci.h | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/include/mci.
The Arasan on the zynqmp in version 8.9a doesn't meet the timing
requirements at 25MHz. It works at 19MHz instead.
Add the quirk from linux kernel v6.8-rc4.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/arasan-sdhci.c | 28 +++-
1 file changed, 27 insertions(+), 1 dele
Import missing EXT_CSD_CARD_TYPE_ defines from linux v6.7.
EXT_CSD_CARD_TYPE_SDR_1_8V/1_2V is unused in barebox. Replace with the
defines from linux.
Signed-off-by: Steffen Trumtrar
---
include/mci.h | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/include/mc
Depending on the used SDHCI mode the clock phases are different.
Import the helper function to get these values from the DT from linux v6.7.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/arasan-sdhci.c | 121 +
1 file changed, 121 insertions(+)
diff
On Fri, Mar 08, 2024 at 11:14:28AM +0100, Uwe Kleine-König wrote:
> Hello,
>
> On Fri, Mar 08, 2024 at 10:27:21AM +0100, Ahmad Fatoum wrote:
> > On 08.03.24 10:15, Uwe Kleine-König wrote:
> > > From: Uwe Kleine-König
> > >
> > > It was already noticed in commit 9d42c77f126e ("devfs: take into ac
ost->sdhci, data);
+ ret = sdhci_transfer_data_dma(&host->sdhci, data, dma);
error:
if (ret) {
---
base-commit: ed7c14536d521793199abf0597164a46ba68e8e5
change-id: 20240308-v2024-02-0-topic-arasan-dma-support-edd318cce298
Best regards,
--
Steffen Trumtrar
On Tue, Feb 20, 2024 at 02:53:47PM +0100, Alessandro Rubini wrote:
> >> This hasn't
> >> seen development activity in 5 years.
> >
> > Please see https://github.com/virtualsquare/picotcp
>
> But the TCP/IPV4 standard didn't change, either.
>
> >> lwIP on the other hand still sees active developm
Hello,
On Fri, Mar 08, 2024 at 10:27:21AM +0100, Ahmad Fatoum wrote:
> On 08.03.24 10:15, Uwe Kleine-König wrote:
> > From: Uwe Kleine-König
> >
> > It was already noticed in commit 9d42c77f126e ("devfs: take into account
> > for the partitions check that mtd is different") that the partitioning
Am Freitag, dem 08.03.2024 um 08:35 +0100 schrieb Rouven Czerwinski:
> With DMA API debugging Barebox complains that the descriptors are never
> mapped before a sync. Add the map and unmap function calls.
>
> Signed-off-by: Rouven Czerwinski
> ---
> v2:
> - remove dma_map_sync_single_for_device()
Hello Uwe,
On 08.03.24 10:15, Uwe Kleine-König wrote:
> From: Uwe Kleine-König
>
> It was already noticed in commit 9d42c77f126e ("devfs: take into account
> for the partitions check that mtd is different") that the partitioning
> info is stored differently for mtd devices. Instead of only getti
From: Uwe Kleine-König
This is a preparation for the next commit that fixes mtd partition
creation.
Signed-off-by: Uwe Kleine-König
---
drivers/of/partition.c | 81 --
1 file changed, 47 insertions(+), 34 deletions(-)
diff --git a/drivers/of/partition.c
From: Uwe Kleine-König
It was already noticed in commit 9d42c77f126e ("devfs: take into account
for the partitions check that mtd is different") that the partitioning
info is stored differently for mtd devices. Instead of only getting the
partion size from the right spot, use the right data compl
24 matches
Mail list logo