This allows to print the DDR3 SPD data with spd_decode command. The code
is ported from the decode-dimms program of i2c-tools. The output of the
command is almost exactly the same as of the original program with a few
minor differences: lacking commas in one place, and manufacturer ID
being output
This extends the spd_decode command to correctly print out the contents
of the DDR3 SPD EEPROMs in addition to the DDR2 ones.
Denis Orlov (2):
ddr_spd: add DDR3 Load Reduced module specific data
ddr_spd: add routine for printing DDR3 SPD contents
common/ddr_spd.c | 556
This will be used by the DDR3 SPD data printing routine and is needed for
completeness, to cover all of the DDR3-related cases from the original
decode-dimms tool.
Signed-off-by: Denis Orlov
---
include/ddr_spd.h | 34 ++
1 file changed, 34 insertions(+)
diff
From: Marc Kleine-Budde
This imports the device tree for the Ka-Ro QSXP, which is a i.MX8M Plus
solder down system on module. The sources have been adapted from the
offical Ka-Ro github[1], commit a49b38ec97854c0cd9cd83a9f4ae3b56e99a58b6.
[1]:
From: Marc Kleine-Budde
This syncs the known Micrel PHY IDs and register definitions with the
Linux kernel, commit f600bb612b06adf70ccdefbd3294c71275b650c2.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
include/linux/micrel_phy.h | 49
From: Marc Kleine-Budde
The Ka-Ro QSXP is a i.MX8M Plus solder down system on module. This
commit adds support for the SOM on the QSBASE4 RDK.
[1]: https://www.karo-electronics.de/qsxp
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
arch/arm/boards/Makefile
-by: Stefan Kerkmann
---
Changes in v2:
- Adressed review comments from Ahmad
- Link to v1:
https://lore.barebox.org/20240311-karo-imx8mp-som-board-upstreaming-v1-0-7c77f9ba0...@pengutronix.de
---
Marc Kleine-Budde (4):
net: phy: micrel: update id table from Linux kernel
net: phy
The Ka-Ro QSXP-QSBASE4[1] is the offical DK from Ka-Ro for their QSXP
i.MX8M Plus solder down system on module. It comes with an additional
Micrel KSZ9131 gigabit ethernet phy. The devicetree was adapted from the
offical Ka-Ro github[2], commit a49b38ec97854c0cd9cd83a9f4ae3b56e99a58b6.
[1]:
From: Marc Kleine-Budde
This imports the micrel KSZ9131 gigabit phy driver from Linux, commit
0316c7e66bbd16cf2d01a4e2f5afa6afb01278f2.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
drivers/net/phy/micrel.c | 188 +++
1 file
From: Sebastian Reichel
Introduce signed 32bit integer of_property_read method.
Signed-off-by: Sebastian Reichel
Signed-off-by: Grant Likely
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
include/of.h | 7 +++
1 file changed, 7 insertions(+)
diff --git
Hello Ahmad,
On 11.03.24 15:33, Ahmad Fatoum wrote:
> Hello Stefan,
>
> On 11.03.24 15:23, Stefan Kerkmann wrote:
>> Hello Ahmad,
>>
>> On 11.03.24 11:02, Ahmad Fatoum wrote:
>>> Hello Stefan,
>>>
>>> On 11.03.24 10:10, Stefan Kerkmann wrote:
From: Marc Kleine-Budde
This imports
Hello Stefan,
On 11.03.24 15:23, Stefan Kerkmann wrote:
> Hello Ahmad,
>
> On 11.03.24 11:02, Ahmad Fatoum wrote:
>> Hello Stefan,
>>
>> On 11.03.24 10:10, Stefan Kerkmann wrote:
>>> From: Marc Kleine-Budde
>>>
>>> This imports the device tree for the Ka-Ro QSXP, which is a i.MX8M Plus
>>>
Hello Ahmad,
On 11.03.24 11:02, Ahmad Fatoum wrote:
> Hello Stefan,
>
> On 11.03.24 10:10, Stefan Kerkmann wrote:
>> From: Marc Kleine-Budde
>>
>> This imports the device tree for the Ka-Ro QSXP, which is a i.MX8M Plus
>> solder down system on module. The sources have been adapted from the
>>
On Mon, Mar 11, 2024 at 03:04:56PM +0100, Roland Hieber wrote:
> From: Johannes Zink
>
> Add basic support for König+Bauer AlphaJet, based on a Congatec QMX8MP
> SoM with an i.MX8MP SoC in the Industrial Temperature Grade 4GB Variant,
> no inline ECC used.
>
> Co-Developed-by: Juergen Borleis
From: Johannes Zink
Add basic support for König+Bauer AlphaJet, based on a Congatec QMX8MP
SoM with an i.MX8MP SoC in the Industrial Temperature Grade 4GB Variant,
no inline ECC used.
Co-Developed-by: Juergen Borleis
Signed-off-by: Juergen Borleis
Signed-off-by: Johannes Zink
Signed-off-by:
Hello Ahmad,
On 11.03.24 14:58, Ahmad Fatoum wrote:
> Hello Stefan,
>
> On 11.03.24 14:32, Stefan Kerkmann wrote:
>> Hello Ahmad,
>>
>> On 11.03.24 11:13, Ahmad Fatoum wrote:
>>> Hello Stefan,
>>>
>>> On 11.03.24 10:10, Stefan Kerkmann wrote:
From: Marc Kleine-Budde
The Ka-Ro
Hello Stefan,
On 11.03.24 14:32, Stefan Kerkmann wrote:
> Hello Ahmad,
>
> On 11.03.24 11:13, Ahmad Fatoum wrote:
>> Hello Stefan,
>>
>> On 11.03.24 10:10, Stefan Kerkmann wrote:
>>> From: Marc Kleine-Budde
>>>
>>> The Ka-Ro QSXP is a i.MX8M Plus solder down system on module. This
>>> commit
Hello Ahmad,
On 11.03.24 11:13, Ahmad Fatoum wrote:
> Hello Stefan,
>
> On 11.03.24 10:10, Stefan Kerkmann wrote:
>> From: Marc Kleine-Budde
>>
>> The Ka-Ro QSXP is a i.MX8M Plus solder down system on module. This
>> commit adds support for the SOM on the QSBASE4 RDK.
>>
>> [1]:
Hello Ahmad,
On 11.03.24 11:05, Ahmad Fatoum wrote:
> On 11.03.24 10:10, Stefan Kerkmann wrote:
>> +/dts-v1/;
>> +
>> +#include "imx8mp-karo-qsxp-ml81.dts"
>> +
>> +&{/} {
>
> While not wrong, this is unnecessary. We know that there is a / already.
>
Ack.
>> +model = "Ka-Ro electronics
Hello Antony,
On 10.03.24 21:33, Antony Pavlov wrote:
> Hi Ahmad!
>
> I have tried to rebuild barebox for BeagleV.
> Alas I was unable to reproduce the steps from Documentation/boards/riscv.rst
> because of changes in opensbi repo.
>
> I have successfully rebuild U-Boot from the
>
On Fri, 08 Mar 2024 15:20:51 +0100, Bastian Krause wrote:
> 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.
>
>
Applied, thanks!
[1/2] ARM: i.MX8MM: set SION bits for i2c2, i2c3, i2c4
On Mon, 11 Mar 2024 09:06:24 +0100, Sascha Hauer wrote:
> On i.MX93 a0 the TRNG seems to be started automatically. On rev a1 it's
> not and OP-TEE panics with "Cannot retrieve random data from ELE". Start
> the TRNG to let OP-TEE startup successfully.
>
>
Applied, thanks!
[1/1] ARM: i.MX93:
On Mon, Mar 11, 2024 at 09:20:07AM +0100, Ahmad Fatoum wrote:
> Hello Sascha,
>
> On 11.03.24 09:06, Sascha Hauer wrote:
> > On i.MX93 a0 the TRNG seems to be started automatically. On rev a1 it's
> > not and OP-TEE panics with "Cannot retrieve random data from ELE". Start
> > the TRNG to let
The ELE request defines are in include/mach/imx/ele.h, move definition
of ELE_READ_SHADOW_REQ there as well.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/ele.c | 2 --
include/mach/imx/ele.h | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/ele.c
i.MX fuse numbers are sometimes referred to as the index of the 32bit
word, sometimes as bit offsets and the device in /dev/imx_ocotp counts
in bytes. To avoid more confusion add some comments to the function
headers of functions reading/writing the fuses that clearly state that
they take the
We'll want to add a device parameter to the imx_ocotp0 device in the
next step, but the device is private to the nvmem core. Add a getter
function for it.
Signed-off-by: Sascha Hauer
---
drivers/nvmem/core.c | 6 ++
include/linux/nvmem-provider.h | 5 +
2 files changed, 11
This implements write support to imx-ocotp-ele. By default only the
shadow values are written which is harmless and nearly useless (as the
ROM doesn't seem use these values). Real write support is enabled by
setting imx_ocotp0.permanent_write_enable to true. A big warning is
printed and the next
The ocotp fuses have shadow values. For some fuses the shadow values
can be read from and written to. While it's not really clear where
the ROM really uses these shadow values, it still helps reading and
writing them to get an idea if we are about to write the correct
fuses before we finally
Hello Stefan,
On 11.03.24 10:10, Stefan Kerkmann wrote:
> From: Marc Kleine-Budde
>
> The Ka-Ro QSXP is a i.MX8M Plus solder down system on module. This
> commit adds support for the SOM on the QSBASE4 RDK.
>
> [1]: https://www.karo-electronics.de/qsxp
>
> Signed-off-by: Marc Kleine-Budde
>
On 11.03.24 10:10, Stefan Kerkmann wrote:
> +/dts-v1/;
> +
> +#include "imx8mp-karo-qsxp-ml81.dts"
> +
> +&{/} {
While not wrong, this is unnecessary. We know that there is a / already.
> + model = "Ka-Ro electronics QSXP-ML81-QSBASE4 (NXP i.MX8MP) Board";
> + compatible =
Hello Stefan,
On 11.03.24 10:10, Stefan Kerkmann wrote:
> From: Marc Kleine-Budde
>
> This imports the device tree for the Ka-Ro QSXP, which is a i.MX8M Plus
> solder down system on module. The sources have been adapted from the
> offical Ka-Ro github[1], commit
From: Marc Kleine-Budde
The Ka-Ro QSXP is a i.MX8M Plus solder down system on module. This
commit adds support for the SOM on the QSBASE4 RDK.
[1]: https://www.karo-electronics.de/qsxp
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
arch/arm/boards/Makefile
From: Marc Kleine-Budde
This imports the device tree for the Ka-Ro QSXP, which is a i.MX8M Plus
solder down system on module. The sources have been adapted from the
offical Ka-Ro github[1], commit a49b38ec97854c0cd9cd83a9f4ae3b56e99a58b6.
[1]:
From: Sebastian Reichel
Introduce signed 32bit integer of_property_read method.
Signed-off-by: Sebastian Reichel
Signed-off-by: Grant Likely
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
include/of.h | 7 +++
1 file changed, 7 insertions(+)
diff --git
From: Marc Kleine-Budde
This syncs the known Micrel PHY IDs and register definitions with the
Linux kernel, commit f600bb612b06adf70ccdefbd3294c71275b650c2.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
include/linux/micrel_phy.h | 49
The Ka-Ro QSXP-QSBASE4[1] is the offical DK from Ka-Ro for their QSXP
i.MX8M Plus solder down system on module. It comes with an additional
Micrel KSZ9131 gigabit ethernet phy. The devicetree was adapted from the
offical Ka-Ro github[2], commit a49b38ec97854c0cd9cd83a9f4ae3b56e99a58b6.
[1]:
: 6883d32102d8a253f4fc2bcfafbf3767a725e3a8
change-id: 20240311-karo-imx8mp-som-board-upstreaming-9eef98b7735e
Best regards,
--
Stefan Kerkmann
From: Marc Kleine-Budde
This imports the micrel KSZ9131 gigabit phy driver from Linux, commit
0316c7e66bbd16cf2d01a4e2f5afa6afb01278f2.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Stefan Kerkmann
---
drivers/net/phy/micrel.c | 188 +++
1 file
On 08.03.24 12:17, Steffen Trumtrar wrote:
> 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
>
On 08.03.24 12:16, Steffen Trumtrar wrote:
> Add a function to reset DLL logic for SD devices.
>
> Signed-off-by: Steffen Trumtrar
Reviewed-by: Ahmad Fatoum
> ---
> arch/arm/mach-zynqmp/firmware-zynqmp.c | 17 +
> 1 file changed, 17 insertions(+)
>
> diff --git
On 08.03.24 12:17, Steffen Trumtrar wrote:
> Add a function to set the tap delay for the clk phase of the sd host
> controller.
>
> Signed-off-by: Steffen Trumtrar
Reviewed-by: Ahmad Fatoum
> ---
> arch/arm/mach-zynqmp/firmware-zynqmp.c | 42
> ++
>
Hello Steffen,
On 08.03.24 12:17, Steffen Trumtrar wrote:
> 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.
AFAICS, this new sdhci_wait_idle2 is what Linux does by default.
Hi Steffen,
On 08.03.24 12:17, Steffen Trumtrar wrote:
> @@ -2322,9 +2322,31 @@ void mci_of_parse_node(struct mci_host *host,
>
> host->broken_cd = of_property_read_bool(np, "broken-cd");
> host->non_removable = of_property_read_bool(np, "non-removable");
> - host->no_sd =
Hello Sascha,
On 11.03.24 09:06, Sascha Hauer wrote:
> On i.MX93 a0 the TRNG seems to be started automatically. On rev a1 it's
> not and OP-TEE panics with "Cannot retrieve random data from ELE". Start
> the TRNG to let OP-TEE startup successfully.
>
> Signed-off-by: Sascha Hauer
> ---
>
On 08.03.24 12:17, Steffen Trumtrar wrote:
> 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
Reviewed-by: Ahmad Fatoum
> ---
> include/mci.h | 15
On 08.03.24 12:17, Steffen Trumtrar wrote:
> 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
Reviewed-by: Ahmad Fatoum
> ---
> drivers/mci/arasan-sdhci.c | 121
On 08.03.24 12:17, Steffen Trumtrar wrote:
> +static unsigned long arasan_zynqmp_sampleclk_recalc_rate(struct clk_hw *hw,
> + unsigned long
> parent_rate)
> +{
> + return 0;
In HS200 mode, Linux reports this as 200MHz. Returning zero here
On 08.03.24 12:17, Steffen Trumtrar wrote:
> 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
Reviewed-by: Ahmad Fatoum
> ---
> include/mci.h | 18
On i.MX93 a0 the TRNG seems to be started automatically. On rev a1 it's
not and OP-TEE panics with "Cannot retrieve random data from ELE". Start
the TRNG to let OP-TEE startup successfully.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/ele.c | 20
1 file changed, 20
49 matches
Mail list logo