Skip to content

Commit

Permalink
drivers: mdio: shell: support adin2111
Browse files Browse the repository at this point in the history
Adds supprot of ADIN2111 MDIO.

The shell allows to access Clause 22 registers.

Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
  • Loading branch information
GeorgeCGV committed May 15, 2023
1 parent 063f446 commit dc2112f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mdio/mdio_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ LOG_MODULE_REGISTER(mdio_shell, CONFIG_LOG_DEFAULT_LEVEL);
#define DT_DRV_COMPAT espressif_esp32_mdio
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_s32_netc_emdio)
#define DT_DRV_COMPAT nxp_s32_netc_emdio
#elif DT_HAS_COMPAT_STATUS_OKAY(adi_adin2111_mdio)
#define DT_DRV_COMPAT adi_adin2111_mdio
#else
#error "No known devicetree compatible match for MDIO shell"
#endif
Expand Down

0 comments on commit dc2112f

Please sign in to comment.