<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/board/phytec/common/phytec_som_detection.h, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>board: phytec: phytec_som_detection: Add support for phyFLEX</title>
<updated>2025-12-07T14:07:07+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2025-11-24T08:25:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7bcf0160901970f4417488982199fece129567b4'/>
<id>7bcf0160901970f4417488982199fece129567b4</id>
<content type='text'>
phyFLEX are SoMs based on the FPSC standard.

Add additional "SOM types" for the phyFLEX modules base on the
FPSC Gamma specification. These modules come in four different
variants; prototypes (PT), standard product (SP), KSP (KP) and
KSM (KM).

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
Tested-by: Dominik Haller &lt;d.haller@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
phyFLEX are SoMs based on the FPSC standard.

Add additional "SOM types" for the phyFLEX modules base on the
FPSC Gamma specification. These modules come in four different
variants; prototypes (PT), standard product (SP), KSP (KP) and
KSM (KM).

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
Tested-by: Dominik Haller &lt;d.haller@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: common: Add product information to FTD</title>
<updated>2025-01-31T17:08:04+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2025-01-23T14:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9c46b8c4e075fb093642e0fc692c16833647a912'/>
<id>9c46b8c4e075fb093642e0fc692c16833647a912</id>
<content type='text'>
ft_board_setup inside the board code allows to alter
device-tree during the boot process.

Introduce a new function for the PHYTEC SOM detection
to read the product name and part number from the EEPROM
content and include both into the device-tree as
* phytec,som-part-number
* phytec,som-product-name

This function can be called from the board code when those
values should be exposed to Linux.

This patch also updates the phytec_print_som_info
function and changes the output.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
Tested-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ft_board_setup inside the board code allows to alter
device-tree during the boot process.

Introduce a new function for the PHYTEC SOM detection
to read the product name and part number from the EEPROM
content and include both into the device-tree as
* phytec,som-part-number
* phytec,som-product-name

This function can be called from the board code when those
values should be exposed to Linux.

This patch also updates the phytec_print_som_info
function and changes the output.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
Tested-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: common: Add API v3</title>
<updated>2024-06-07T20:01:53+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2024-05-22T06:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b100c2458a13356e33ddcad0cb14906e41522cea'/>
<id>b100c2458a13356e33ddcad0cb14906e41522cea</id>
<content type='text'>
This API is based on a block structure with a 8 Byte large
API v3 header and various of different blocks following. It extends
our current API v2, which is always 32 Byte large, and is located
directly after v2.

Add the MAC block as first block type. It contains the physical
Ehternet interface number, a MAC address and a CRC checksum over the
MAC payload.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Tested-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This API is based on a block structure with a 8 Byte large
API v3 header and various of different blocks following. It extends
our current API v2, which is always 32 Byte large, and is located
directly after v2.

Add the MAC block as first block type. It contains the physical
Ehternet interface number, a MAC address and a CRC checksum over the
MAC payload.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Tested-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: common: Define PHYTEC_API2_DATA_LEN</title>
<updated>2024-06-07T20:01:53+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2024-05-22T06:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=38b96407f69469702b60a22aa847bf7675a1f9b7'/>
<id>38b96407f69469702b60a22aa847bf7675a1f9b7</id>
<content type='text'>
The EEPROM image length for API v2 is fixed to 32 bytes. No need
to use sizeof while this value won't change. This value is
also be required for API v3 to know where the API v3 header starts.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Tested-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The EEPROM image length for API v2 is fixed to 32 bytes. No need
to use sizeof while this value won't change. This value is
also be required for API v3 to know where the API v3 header starts.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Tested-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: introduce eeprom struct member 'valid'</title>
<updated>2024-04-29T16:55:57+00:00</updated>
<author>
<name>Yannic Moog</name>
<email>y.moog@phytec.de</email>
</author>
<published>2024-04-19T15:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8fe6e9a00fea7faa129a741feb50d5a165c422c1'/>
<id>8fe6e9a00fea7faa129a741feb50d5a165c422c1</id>
<content type='text'>
Add a new nember to the eeprom_data that indicates whether the
associated data is valid or not. Make use of this new member in the
phytec_eeprom_data_init function by setting the valid value
appropriately.
Move the eeprom data to a new struct payload that holds
the payload of the eeprom.

Signed-off-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new nember to the eeprom_data that indicates whether the
associated data is valid or not. Make use of this new member in the
phytec_eeprom_data_init function by setting the valid value
appropriately.
Move the eeprom data to a new struct payload that holds
the payload of the eeprom.

Signed-off-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: common: Generic "add extension" function</title>
<updated>2024-04-29T16:55:57+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2024-04-19T15:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f1c6f5797f53cddd8f87e208062c76697b2d65bc'/>
<id>f1c6f5797f53cddd8f87e208062c76697b2d65bc</id>
<content type='text'>
Add a generic function to apply overlays in our board code to not
implement the same logic in different PHYTEC products.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a generic function to apply overlays in our board code to not
implement the same logic in different PHYTEC products.

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Reviewed-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: common: phytec_som_detection: Add phytec_get_som_type</title>
<updated>2024-03-11T11:42:44+00:00</updated>
<author>
<name>Benjamin Hahn</name>
<email>B.Hahn@phytec.de</email>
</author>
<published>2024-03-06T16:18:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=110d321a56c3ea1824104ea6148efe040adf995d'/>
<id>110d321a56c3ea1824104ea6148efe040adf995d</id>
<content type='text'>
Add a function that gets the som_type from the EEPROM.
Add an enum for the som_type.

Signed-off-by: Benjamin Hahn &lt;B.Hahn@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a function that gets the som_type from the EEPROM.
Add an enum for the som_type.

Signed-off-by: Benjamin Hahn &lt;B.Hahn@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: som_detection: move definitions to source file</title>
<updated>2023-12-20T18:04:46+00:00</updated>
<author>
<name>Yannic Moog</name>
<email>y.moog@phytec.de</email>
</author>
<published>2023-12-20T08:45:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa7858fe5e2ef3d74129175c4044c9bb59174b4a'/>
<id>aa7858fe5e2ef3d74129175c4044c9bb59174b4a</id>
<content type='text'>
Move all function definitions in {phytec|imx8m}_som_detection from the
header to the source file to prevent potential linker error regarding
multiple definitions. Also move the #if blocks with the definitions.

Signed-off-by: Yannic Moog &lt;y.moog@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move all function definitions in {phytec|imx8m}_som_detection from the
header to the source file to prevent potential linker error regarding
multiple definitions. Also move the #if blocks with the definitions.

Signed-off-by: Yannic Moog &lt;y.moog@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: common: phytec_som_detection: Add helper for PCB revision</title>
<updated>2023-10-16T09:27:58+00:00</updated>
<author>
<name>Teresa Remmet</name>
<email>t.remmet@phytec.de</email>
</author>
<published>2023-08-17T08:57:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=44c82e7c90be700719a4b105ec97ff328a40d675'/>
<id>44c82e7c90be700719a4b105ec97ff328a40d675</id>
<content type='text'>
Add helper function to read out the PCB revision of a PHYTEC SoM.

Signed-off-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
Reviewed-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Tested-by: Yannic Moog &lt;y.moog@phytec.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add helper function to read out the PCB revision of a PHYTEC SoM.

Signed-off-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
Reviewed-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Tested-by: Yannic Moog &lt;y.moog@phytec.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>board: phytec: Add common PHYTEC SoM detection</title>
<updated>2023-10-16T09:27:58+00:00</updated>
<author>
<name>Teresa Remmet</name>
<email>t.remmet@phytec.de</email>
</author>
<published>2023-08-17T08:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc22188cdc843d212cda1423a924a0a90ca83784'/>
<id>dc22188cdc843d212cda1423a924a0a90ca83784</id>
<content type='text'>
Recent shipped PHYTEC SoMs come with an i2c  EEPROM containing
information about the hardware such as board revision and variant.
This can be used for RAM detection and loading device tree overlays
during kernel start.

Signed-off-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
Reviewed-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Tested-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recent shipped PHYTEC SoMs come with an i2c  EEPROM containing
information about the hardware such as board revision and variant.
This can be used for RAM detection and loading device tree overlays
during kernel start.

Signed-off-by: Teresa Remmet &lt;t.remmet@phytec.de&gt;
Reviewed-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Tested-by: Yannic Moog &lt;y.moog@phytec.de&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
