Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: ethernet: sam_gmac: rework pin config #24870

Merged
merged 1 commit into from
May 4, 2020

Conversation

galak
Copy link
Collaborator

@galak galak commented Apr 30, 2020

Reworked sam_gmac driver to get pin ctrl/mux configuration information
from the device tree instead of via Kconfig and defines in soc_pinmap.h

We remove defines from soc_pinmap.h that are no longer needed due to
getting all that information from devicetree.

Signed-off-by: Kumar Gala [email protected]

@galak galak requested a review from stephanosio April 30, 2020 18:28
@galak galak added area: Devicetree area: Ethernet platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) labels Apr 30, 2020
@nandojve nandojve mentioned this pull request May 1, 2020
61 tasks
Copy link
Member

@nandojve nandojve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is OK for SAME70/SAMV7x, tests are OK with SAMV71.
I was wondering if below files will be update here for SAM4E SoC once this will remove soc/arm/atmel_sam/sam4e/soc_pinmap.h file.

dts/arm/atmel/sam4e-pinctrl.dtsi
dts/arm/atmel/sam4e.dtsi

@galak galak force-pushed the dt-sam-gmac-pin branch from b1867fa to be06680 Compare May 1, 2020 19:42
@galak galak requested a review from nandojve May 1, 2020 19:42
@galak galak force-pushed the dt-sam-gmac-pin branch 2 times, most recently from a92eadf to 2ea6e35 Compare May 1, 2020 19:57
Copy link
Member

@nandojve nandojve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is missing gtx3 pin and I need rename GCRSDV to GRXDV to be consistent with pin out.
fix_gmac_sam4e_dtsi.txt

With this we can move forward.

Reworked sam_gmac driver to get pin ctrl/mux configuration information
from the device tree instead of via Kconfig and defines in soc_pinmap.h

We remove defines from soc_pinmap.h that are no longer needed due to
getting all that information from devicetree.

Signed-off-by: Kumar Gala <[email protected]>
@galak galak force-pushed the dt-sam-gmac-pin branch from 2ea6e35 to 68b8713 Compare May 4, 2020 14:20
@galak
Copy link
Collaborator Author

galak commented May 4, 2020

It is missing gtx3 pin and I need rename GCRSDV to GRXDV to be consistent with pin out.
fix_gmac_sam4e_dtsi.txt

With this we can move forward.

Thanks. Fixed.

@galak galak requested a review from nandojve May 4, 2020 14:20
@galak galak merged commit dff8715 into zephyrproject-rtos:master May 4, 2020
@galak galak deleted the dt-sam-gmac-pin branch May 4, 2020 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree area: Ethernet platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants