Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all
non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id
added with bchan_cnt.
Signed-off-by: MD Danish Anwar
---
drivers/dma/ti/k3-udma.c | 11 +--
1 file changed, 9 insertions(+), 2 deleti
,
gp-rings[304,100] sci-dev-id:187
k3-navss-ringacc ringacc@3c00: dma-ring-reset-quirk: disabled
prueth icssg2-eth: K3 ICSSG: rflow_id_base: 8, chn_name = rx0
link up on port 0, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.
Add firmware interface related headers and macros for ICSSG Ethernet
driver. These macros will be later used by the ICSSG ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_switch_map.h | 209 ++
1 file changed, 209 insertions(+)
create mode
Add firmware interface related headers and macros for ICSSG Ethernet
driver. These macros will be later used by the ICSSG ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_switch_map.h | 209 ++
1 file changed, 209 insertions(+)
create mode
structures.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icss_mii_rt.h | 192 ++
drivers/net/ti/icssg_classifier.c | 376
drivers/net/ti/icssg_config.c | 403 ++
drivers/net/ti/icssg_config.h | 177
structures.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icss_mii_rt.h | 192 ++
drivers/net/ti/icssg_classifier.c | 376
drivers/net/ti/icssg_config.c | 403 ++
drivers/net/ti/icssg_config.h | 177
Add icssg_queue.c file. This file introduces macros and APIs related to
ICSSG queues. These will be used by ICSSG Ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_prueth.h | 5
drivers/net/ti/icssg_queues.c | 51 +++
2 files changed
interface
at a time.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/icssg_prueth.c | 589 ++
3 files changed, 598 insertions(+)
create mode 100644 drivers/net/ti/icssg_prueth.c
diff --git
Add icssg_queue.c file. This file introduces macros and APIs related to
ICSSG queues. These will be used by ICSSG Ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_prueth.h | 5
drivers/net/ti/icssg_queues.c | 51 +++
2 files changed
ICSSG firmware supports FDB commands. Add support to send FDB commands
from driver. Once rx_flow_id is obtained from dma, let firmware know that
we are using this rx_flow_id by sending a FDB command.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_config.c | 66
interface
at a time.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/icssg_prueth.c | 589 ++
3 files changed, 598 insertions(+)
create mode 100644 drivers/net/ti/icssg_prueth.c
diff --git
ICSSG firmware supports FDB commands. Add support to send FDB commands
from driver. Once rx_flow_id is obtained from dma, let firmware know that
we are using this rx_flow_id by sending a FDB command.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_config.c | 66
uxing.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 1 +
drivers/net/ti/icssg_prueth.c | 59 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
index 9fead2c7ce..6935b70e12 100644
--- a/drivers/n
Add additional reg properties for UDMA and RingAcc nodes which are
mostly used by bootloader components before Device Manager firmware
services are available, in order to setup DMA transfers.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 8 ++--
arch/arm/dts/k3-am65
Add additional reg properties for UDMA and RingAcc nodes which are
mostly used by bootloader components before Device Manager firmware
services are available, in order to setup DMA transfers.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 8 ++--
arch/arm/dts/k3-am65
Add register range of ringacc cfg node to k3-am65* dtsi files. This is
normally under Device Management firmware control but some entities like
bootloader have to access directly and thus required to be present in
DT.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 5
uxing.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 1 +
drivers/net/ti/icssg_prueth.c | 59 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
index 9fead2c7ce..6935b70e12 100644
--- a/drivers/n
d the IEP nodes for all the ICSSG instances.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 36 ++
1 file changed, 36 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi
index 7f10520236..da48887559 100644
ICSSG2 provides dual Gigabit Ethernet support.
Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am654-icssg2.dtso | 145 ++
2 files changed, 147 insertions(+), 1
Add register range of ringacc cfg node to k3-am65* dtsi files. This is
normally under Device Management firmware control but some entities like
bootloader have to access directly and thus required to be present in
DT.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 5
d the IEP nodes for all the ICSSG instances.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 36 ++
1 file changed, 36 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi
index 7f10520236..da48887559 100644
ICSSG2 provides dual Gigabit Ethernet support.
Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dts
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am654-icssg2.dtso | 145 ++
2 files changed, 147 insertions(+), 1
Add ICSSG2 overlay and configuration to tispl and u-boot images.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65x-binman.dtsi | 85 +++
1 file changed, 85 insertions(+)
diff --git a/arch/arm/dts/k3-am65x-binman.dtsi
b/arch/arm/dts/k3-am65x-binman.dtsi
index
Add ICSSG2 overlay and configuration to tispl and u-boot images.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65x-binman.dtsi | 85 +++
1 file changed, 85 insertions(+)
diff --git a/arch/arm/dts/k3-am65x-binman.dtsi
b/arch/arm/dts/k3-am65x-binman.dtsi
index
Enable ICSSG driver in am65x_evm_a53_defconfig
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 55289b967b..e79a961317 100644
--- a/configs
We want SPL to apply DTB overlays (e.g. NAND card overlay) so
enable SPL_LOAD_FIT_APPLY_OVERLAY.
Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and
SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs.
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 3 +++
1 file changed, 3
Enable ICSSG driver in am65x_evm_a53_defconfig
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 55289b967b..e79a961317 100644
--- a/configs
We want SPL to apply DTB overlays (e.g. NAND card overlay) so
enable SPL_LOAD_FIT_APPLY_OVERLAY.
Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and
SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs.
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 3 +++
1 file changed, 3
CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY will not be visible and
we will never include the symbol table.
So include
Due to some reason it needs to be included after
[#include "fdt_host.h"] otherwise it causes a build error.
Signed-off-by: MD Danish Anwar
---
tools/fdtgrep.c | 8
1 file changed, 8
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the
icssg2 overlay in board_fit_config_match() API.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/evm.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/board/ti/am65x/evm.c b/board/ti/am65x
CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY will not be visible and
we will never include the symbol table.
So include
Due to some reason it needs to be included after
[#include "fdt_host.h"] otherwise it causes a build error.
Signed-off-by: MD Danish Anwar
---
tools/fdtgrep.c | 8
1 file changed, 8
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the
icssg2 overlay in board_fit_config_match() API.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/evm.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/board/ti/am65x/evm.c b/board/ti/am65x
This reverts commit 9e644284ab812f2db23f6185af77c0e771b0be73.
---
drivers/core/ofnode.c | 2 +-
include/dm/ofnode.h | 8
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index 21a233f90f..cc2029e62d 100644
--- a/drivers/core/of
Hi All,
Please ignore this thread. Some mails seems to have been duplicated.
I will post another thread soon. Pls ignore this.
Sorry for the inconvenience.
On 19/12/23 3:41 pm, MD Danish Anwar wrote:
> Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI
> AM654
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all
non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id
added with bchan_cnt.
Signed-off-by: MD Danish Anwar
---
drivers/dma/ti/k3-udma.c | 11 +--
1 file changed, 9 insertions(+), 2 deleti
,
gp-rings[304,100] sci-dev-id:187
k3-navss-ringacc ringacc@3c00: dma-ring-reset-quirk: disabled
prueth icssg2-eth: K3 ICSSG: rflow_id_base: 8, chn_name = rx0
link up on port 0, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.4.
interface
at a time.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/icssg_prueth.c | 589 ++
3 files changed, 598 insertions(+)
create mode 100644 drivers/net/ti/icssg_prueth.c
diff --git
ICSSG firmware supports FDB commands. Add support to send FDB commands
from driver. Once rx_flow_id is obtained from dma, let firmware know that
we are using this rx_flow_id by sending a FDB command.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_config.c | 66
Add firmware interface related headers and macros for ICSSG Ethernet
driver. These macros will be later used by the ICSSG ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_switch_map.h | 209 ++
1 file changed, 209 insertions(+)
create mode
Add icssg_queue.c file. This file introduces macros and APIs related to
ICSSG queues. These will be used by ICSSG Ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_prueth.h | 5
drivers/net/ti/icssg_queues.c | 51 +++
2 files changed
d the IEP nodes for all the ICSSG instances.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 36 ++
1 file changed, 36 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi
index 7f10520236..da48887559 100644
structures.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icss_mii_rt.h | 192 ++
drivers/net/ti/icssg_classifier.c | 376
drivers/net/ti/icssg_config.c | 403 ++
drivers/net/ti/icssg_config.h | 177
Enable ICSSG driver in am65x_evm_a53_defconfig
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 55289b967b..e79a961317 100644
--- a/configs
uxing.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 1 +
drivers/net/ti/icssg_prueth.c | 59 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
index 9fead2c7ce..6935b70e12 100644
--- a/drivers/n
Add register range of ringacc cfg node to k3-am65* dtsi files. This is
normally under Device Management firmware control but some entities like
bootloader have to access directly and thus required to be present in
DT.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 5
Add additional reg properties for UDMA and RingAcc nodes which are
mostly used by bootloader components before Device Manager firmware
services are available, in order to setup DMA transfers.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65-main.dtsi | 8 ++--
arch/arm/dts/k3-am65
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the
icssg2 overlay in board_fit_config_match() API.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/evm.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/board/ti/am65x/evm.c b/board/ti/am65x
Add ICSSG2 overlay and configuration to tispl and u-boot images.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65x-binman.dtsi | 85 +++
1 file changed, 85 insertions(+)
diff --git a/arch/arm/dts/k3-am65x-binman.dtsi
b/arch/arm/dts/k3-am65x-binman.dtsi
index
We want SPL to apply DTB overlays (e.g. NAND card overlay) so
enable SPL_LOAD_FIT_APPLY_OVERLAY.
Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and
SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs.
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 3 +++
1 file changed, 3
ICSSG2 provides dual Gigabit Ethernet support.
Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am654-icssg2.dtso | 145 ++
2 files changed, 147 insertions(+), 1
CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY will not be visible and
we will never include the symbol table.
So include
Due to some reason it needs to be included after
[#include "fdt_host.h"] otherwise it causes a build error.
Signed-off-by: MD Danish Anwar
---
tools/fdtgrep.c | 8
1 file changed, 8
Hi Tom,
On 19/12/23 11:16 pm, Tom Rini wrote:
> On Tue, Dec 19, 2023 at 04:04:12PM +0530, MD Danish Anwar wrote:
>
>> The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs)
>> to manage/generate Industrial Ethernet functions such as time stamping.
>>
Hi Simon,
Please ignore this thread. This patch is actually not part of the series
and I mistakenly posted it. I have reposted this series. Please review
that. Sorry for the inconvinience.
On 20/12/23 10:16 am, Simon Glass wrote:
> Hi,
>
> On Tue, 19 Dec 2023 at 03:13, MD Danish Anw
Roger,
On 20/12/23 3:32 pm, Roger Quadros wrote:
>
>
> On 19/12/2023 12:34, MD Danish Anwar wrote:
>> We want SPL to apply DTB overlays (e.g. NAND card overlay) so
>> enable SPL_LOAD_FIT_APPLY_OVERLAY.
>> Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and
>> SPL_S
Hi Roger,
On 20/12/23 3:29 pm, Roger Quadros wrote:
> Hi,
>
> On 19/12/2023 12:11, MD Danish Anwar wrote:
>> Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI
>> AM654 SR2.0.
>>
>> The ICSSG PRU Sub-system runs on EMAC firmware. This serie
On 22/12/23 6:13 pm, Roger Quadros wrote:
>
> On 22/12/2023 12:26, MD Danish Anwar wrote:
>> Hi Roger,
>>
>> On 20/12/23 3:29 pm, Roger Quadros wrote:
>>> Hi,
>>>
>>> On 19/12/2023 12:11, MD Danish Anwar wrote:
>>>> Introduc
On 20/12/23 4:10 pm, Roger Quadros wrote:
>
>
> On 19/12/2023 12:34, MD Danish Anwar wrote:
>> Add ICSSG2 overlay and configuration to tispl and u-boot images.
>>
>> Signed-off-by: MD Danish Anwar
>> ---
>> arch/arm/dts/k3-am65x-binman.dtsi | 85 +++
-danishan...@ti.com/
[0] https://lore.kernel.org/all/cb53651f-a823-41b8-81e5-c3939bd33...@ti.com/
Thanks and Regards,
MD Danish Anwar
MD Danish Anwar (2):
configs: am64x_evm_a53: Enable ICSSG Driver
board: ti: am64x: Set storage_interface and fw_dev_part ENVs
board/ti/am64x/am64x.env| 5
Enable ICSSG driver, DP83869 phy driver, REMOTEPROC and PRU_REMOTEPROC
in am64x_evm_a53_defconfig. All these configs are needed for ICSSG
driver.
Signed-off-by: MD Danish Anwar
---
configs/am64x_evm_a53_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs
modify this based on
their needs.
Signed-off-by: MD Danish Anwar
---
board/ti/am64x/am64x.env | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env
index 9a8812d4ee..8ad805a613 100644
--- a/board/ti/am64x/am64x.env
+++ b/board/ti/am64x/am64x.env
_init() will fail.
Fix this by using combination of dev->name and dev->parent->name instead
of using just the dev->name to populate uc_pdata->name.
Signed-off-by: MD Danish Anwar
---
Cc: Andrew Davis
Failure Example:
In k3-am64-main.dtsi, both pru0_0 [1] and pru1_0 [2] will have
On 02/01/24 7:26 pm, Andrew Davis wrote:
> On 12/27/23 12:56 AM, MD Danish Anwar wrote:
>>
>>
>> On 22/12/23 6:13 pm, Roger Quadros wrote:
>>>
>>> On 22/12/2023 12:26, MD Danish Anwar wrote:
>>>> Hi Roger,
>>>>
>>>> On
On 08/01/24 3:00 pm, Roger Quadros wrote:
>
>
> On 05/01/2024 12:15, Anwar, Md Danish wrote:
>>
>>
>> On 1/5/2024 1:49 PM, Roger Quadros wrote:
>>>
>>>
>>> On 03/01/2024 12:27, MD Danish Anwar wrote:
>>>>
>>>>
>&
On 09/01/24 2:56 pm, Roger Quadros wrote:
>
>
> On 08/01/2024 12:25, MD Danish Anwar wrote:
>> On 08/01/24 3:00 pm, Roger Quadros wrote:
>>>
>>>
>>> On 05/01/2024 12:15, Anwar, Md Danish wrote:
>>>>
>>>>
>>>> On 1/
Hi Roger,
On 27/12/23 3:49 pm, MD Danish Anwar wrote:
> On 20/12/23 4:10 pm, Roger Quadros wrote:
>>
>>
>> On 19/12/2023 12:34, MD Danish Anwar wrote:
>>> Add ICSSG2 overlay and configuration to tispl and u-boot images.
>>>
>>> Signed-off-by: MD
On 10/01/24 2:24 pm, Roger Quadros wrote:
> On 10/01/2024 08:50, MD Danish Anwar wrote:
>> Hi Roger,
>>
>> On 27/12/23 3:49 pm, MD Danish Anwar wrote:
>>> On 20/12/23 4:10 pm, Roger Quadros wrote:
>>>>
>>>>
>>>> On 19/
Hi Simon,
On 26/12/23 3:17 pm, Simon Glass wrote:
> Hi,
>
> On Tue, Dec 19, 2023 at 10:34 AM MD Danish Anwar wrote:
>>
>> This is required for overlays to work at SPL.
>>
>> Loading of symbol table depends on DT Overlay support in SPL
>> so make it compile
implementations do not break.
Also update the FS Loader documentation accordingly.
Signed-off-by: MD Danish Anwar
---
doc/develop/driver-model/fs_firmware_loader.rst | 5 -
drivers/misc/fs_loader.c| 5 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc
Add firmware interface related headers and macros for ICSSG Ethernet
driver. These macros will be later used by the ICSSG ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_switch_map.h | 209 ++
1 file changed, 209 insertions(+)
create mode
() will then
load the firmware file to the remote processor and start the remote
processor.
Also include "fs-loader.h" and make remoteproc driver select FS_LOADER in
Kconfig so that we can call request_firmware_into_buf() from remoteproc
driver.
Signed-off-by: MD Danish Anwar
--
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all
non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id
added with bchan_cnt.
Signed-off-by: MD Danish Anwar
---
drivers/dma/ti/k3-udma.c | 11 +--
1 file changed, 9 insertions(+), 2 deleti
anish Anwar
MD Danish Anwar (15):
dma: ti: k3-udma: Use ring_idx to pair k3 nav rings
misc: fs-loader: Use fw_storage_interface instead of storage_interface
remoteproc: uclass: Add methods to load firmware to rproc and boot
rproc
net: ti: icssg: Add Firmware Interface for ICSSG Eth
.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/icssg_prueth.c | 697 ++
drivers/net/ti/icssg_prueth.h | 3 +
4 files changed, 709 insertions(+)
create mode 100644 drivers/net/ti
Add icssg_queue.c file. This file introduces macros and APIs related to
ICSSG queues. These will be used by ICSSG Ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_prueth.h | 5
drivers/net/ti/icssg_queues.c | 51 +++
2 files changed
uxing.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 1 +
drivers/net/ti/icssg_prueth.c | 59 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
index 9fead2c7ce..6935b70e12 100644
--- a/drivers/n
structures.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icss_mii_rt.h | 192 +++
drivers/net/ti/icssg_classifier.c | 376
drivers/net/ti/icssg_config.c | 397 ++
drivers/net/ti/icssg_config.h | 177
ICSSG firmware supports FDB commands. Add support to send FDB commands
from driver. Once rx_flow_id is obtained from dma, let firmware know that
we are using this rx_flow_id by sending a FDB command.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_config.c | 66
Enable ICSSG driver in am65x_evm_a53_defconfig
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 529bda283d..aeea24d773 100644
--- a/configs
We want SPL to apply DTB overlays (e.g. ICSSG2 overlay) so enable
SPL_LOAD_FIT_APPLY_OVERLAY.
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index aeea24d773
ICSSG2 provides dual Gigabit Ethernet support.
Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am654-icssg2.dtso | 145 ++
2 files changed, 147 insertions(+), 1
Add ICSSG2 overlay and configuration to tispl and u-boot images.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65x-binman.dtsi | 65 +--
1 file changed, 61 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/k3-am65x-binman.dtsi
b/arch/arm/dts/k3-am65x
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the
icssg2 overlay in board_fit_config_match() API.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/evm.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/board/ti/am65x/evm.c b/board/ti/am65x
modify this based on
their needs.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/am65x.env | 4
1 file changed, 4 insertions(+)
diff --git a/board/ti/am65x/am65x.env b/board/ti/am65x/am65x.env
index 286b9c300c..5d6b98b87c 100644
--- a/board/ti/am65x/am65x.env
+++ b/board/ti/am65x
implementations do not break.
Also update the FS Loader documentation accordingly.
Signed-off-by: MD Danish Anwar
---
doc/develop/driver-model/fs_firmware_loader.rst | 5 -
drivers/misc/fs_loader.c| 5 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc
g/all/20231219103418.3445886-16-danishan...@ti.com/
NOTE: All the device tree changes introduced in this patch are already
part of upstream linux kernel.
Thanks and Regards,
MD Danish Anwar
MD Danish Anwar (15):
dma: ti: k3-udma: Use ring_idx to pair k3 nav rings
misc: fs-loader: Use fw_storage_inte
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all
non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id
added with bchan_cnt.
Signed-off-by: MD Danish Anwar
---
drivers/dma/ti/k3-udma.c | 11 +--
1 file changed, 9 insertions(+), 2 deleti
() will then
load the firmware file to the remote processor and start the remote
processor.
Also include "fs-loader.h" and make remoteproc driver select FS_LOADER in
Kconfig so that we can call request_firmware_into_buf() from remoteproc
driver.
Signed-off-by: MD Danish Anwar
--
Add firmware interface related headers and macros for ICSSG Ethernet
driver. These macros will be later used by the ICSSG ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_switch_map.h | 209 ++
1 file changed, 209 insertions(+)
create mode
Add icssg_queue.c file. This file introduces macros and APIs related to
ICSSG queues. These will be used by ICSSG Ethernet driver.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_prueth.h | 5
drivers/net/ti/icssg_queues.c | 51 +++
2 files changed
structures.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icss_mii_rt.h | 192 +++
drivers/net/ti/icssg_classifier.c | 376
drivers/net/ti/icssg_config.c | 397 ++
drivers/net/ti/icssg_config.h | 177
.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/icssg_prueth.c | 697 ++
drivers/net/ti/icssg_prueth.h | 3 +
4 files changed, 709 insertions(+)
create mode 100644 drivers/net/ti
ICSSG firmware supports FDB commands. Add support to send FDB commands
from driver. Once rx_flow_id is obtained from dma, let firmware know that
we are using this rx_flow_id by sending a FDB command.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/icssg_config.c | 66
uxing.
Signed-off-by: MD Danish Anwar
---
drivers/net/ti/Kconfig| 1 +
drivers/net/ti/icssg_prueth.c | 59 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
index 9fead2c7ce..6935b70e12 100644
--- a/drivers/n
ICSSG2 provides dual Gigabit Ethernet support.
Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am654-icssg2.dtso | 145 ++
2 files changed, 147 insertions(+), 1
Enable ICSSG driver in am65x_evm_a53_defconfig
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 529bda283d..aeea24d773 100644
--- a/configs
We want SPL to apply DTB overlays (e.g. ICSSG2 overlay) so enable
SPL_LOAD_FIT_APPLY_OVERLAY.
Signed-off-by: MD Danish Anwar
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index aeea24d773
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the
icssg2 overlay in board_fit_config_match() API.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/evm.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/board/ti/am65x/evm.c b/board/ti/am65x
modify this based on
their needs.
Signed-off-by: MD Danish Anwar
---
board/ti/am65x/am65x.env | 4
1 file changed, 4 insertions(+)
diff --git a/board/ti/am65x/am65x.env b/board/ti/am65x/am65x.env
index 286b9c300c..5d6b98b87c 100644
--- a/board/ti/am65x/am65x.env
+++ b/board/ti/am65x
Add ICSSG2 overlay and configuration to tispl and u-boot images.
Signed-off-by: MD Danish Anwar
---
arch/arm/dts/k3-am65x-binman.dtsi | 65 +--
1 file changed, 61 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/k3-am65x-binman.dtsi
b/arch/arm/dts/k3-am65x
On 24/01/24 1:57 pm, Dan Carpenter wrote:
> On Wed, Jan 24, 2024 at 12:19:29PM +0530, MD Danish Anwar wrote:
>> When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the
>> icssg2 overlay in board_fit_config_match() API.
>>
>> Signed-off-by: MD Danish
1 - 100 of 153 matches
Mail list logo