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

boards: arm: Convert to new DT_INST macros #23932

Merged
merged 13 commits into from
Apr 3, 2020

Conversation

galak
Copy link
Collaborator

@galak galak commented Mar 30, 2020

No description provided.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Mar 30, 2020

All checks passed.

checkpatch (informational only, not a failure)

-:11: WARNING:LONG_LINE: line over 80 characters
#11: FILE: boards/arm/efm32gg_stk3701a/board.h:24:
+#define ETH_REF_CLK_GPIO_PIN		DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 2)

-:12: WARNING:LONG_LINE: line over 80 characters
#12: FILE: boards/arm/efm32gg_stk3701a/board.h:25:
+#define ETH_REF_CLK_LOCATION		DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 0)

-:27: WARNING:LONG_LINE: line over 80 characters
#27: FILE: boards/arm/mec1501modular_assy6885/pinmux.c:195:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(0, microchip_xec_i2c), port_sel));

-:33: WARNING:LONG_LINE: line over 80 characters
#33: FILE: boards/arm/mec1501modular_assy6885/pinmux.c:199:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(1, microchip_xec_i2c), port_sel));

-:39: WARNING:LONG_LINE: line over 80 characters
#39: FILE: boards/arm/mec1501modular_assy6885/pinmux.c:203:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(2, microchip_xec_i2c), port_sel));

-:45: WARNING:LONG_LINE: line over 80 characters
#45: FILE: boards/arm/mec1501modular_assy6885/pinmux.c:207:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(3, microchip_xec_i2c), port_sel));

-:51: WARNING:LONG_LINE: line over 80 characters
#51: FILE: boards/arm/mec1501modular_assy6885/pinmux.c:211:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(4, microchip_xec_i2c), port_sel));

-:150: WARNING:LONG_LINE: line over 80 characters
#150: FILE: boards/arm/mec15xxevb_assy6853/pinmux.c:195:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(0, microchip_xec_i2c), port_sel));

-:156: WARNING:LONG_LINE: line over 80 characters
#156: FILE: boards/arm/mec15xxevb_assy6853/pinmux.c:199:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(1, microchip_xec_i2c), port_sel));

-:162: WARNING:LONG_LINE: line over 80 characters
#162: FILE: boards/arm/mec15xxevb_assy6853/pinmux.c:203:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(2, microchip_xec_i2c), port_sel));

-:168: WARNING:LONG_LINE: line over 80 characters
#168: FILE: boards/arm/mec15xxevb_assy6853/pinmux.c:207:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(3, microchip_xec_i2c), port_sel));

-:174: WARNING:LONG_LINE: line over 80 characters
#174: FILE: boards/arm/mec15xxevb_assy6853/pinmux.c:211:
+	i2c_pinmux(&pinmux_ports, DT_PROP(DT_INST(4, microchip_xec_i2c), port_sel));

-:312: WARNING:LONG_LINE: line over 80 characters
#312: FILE: boards/arm/particle_argon/board.h:11:
+#define SKY_UFLn_GPIO_NAME	DT_GPIO_LABEL(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:313: WARNING:LONG_LINE: line over 80 characters
#313: FILE: boards/arm/particle_argon/board.h:12:
+#define SKY_UFLn_GPIO_FLAGS	DT_GPIO_FLAGS(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:314: WARNING:LONG_LINE: line over 80 characters
#314: FILE: boards/arm/particle_argon/board.h:13:
+#define SKY_UFLn_GPIO_PIN	DT_GPIO_PIN(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:315: WARNING:LONG_LINE: line over 80 characters
#315: FILE: boards/arm/particle_argon/board.h:14:
+#define SKY_PCBn_GPIO_NAME	DT_GPIO_LABEL(DT_INST(0, skyworks_sky13351), vctl2_gpios)

-:316: WARNING:LONG_LINE: line over 80 characters
#316: FILE: boards/arm/particle_argon/board.h:15:
+#define SKY_PCBn_GPIO_FLAGS	DT_GPIO_FLAGS(DT_INST(0, skyworks_sky13351), vctl2_gpios)

-:317: WARNING:LONG_LINE: line over 80 characters
#317: FILE: boards/arm/particle_argon/board.h:16:
+#define SKY_PCBn_GPIO_PIN	DT_GPIO_PIN(DT_INST(0, skyworks_sky13351), vctl2_gpios)

-:340: WARNING:LONG_LINE: line over 80 characters
#340: FILE: boards/arm/particle_boron/board.h:20:
+#define ANT_UFLn_GPIO_NAME	DT_GPIO_LABEL(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:341: WARNING:LONG_LINE: line over 80 characters
#341: FILE: boards/arm/particle_boron/board.h:21:
+#define ANT_UFLn_GPIO_FLAGS	DT_GPIO_FLAGS(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:342: WARNING:LONG_LINE: line over 80 characters
#342: FILE: boards/arm/particle_boron/board.h:22:
+#define ANT_UFLn_GPIO_PIN	DT_GPIO_PIN(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:359: WARNING:LONG_LINE: line over 80 characters
#359: FILE: boards/arm/particle_xenon/board.h:11:
+#define SKY_UFLn_GPIO_NAME	DT_GPIO_LABEL(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:360: WARNING:LONG_LINE: line over 80 characters
#360: FILE: boards/arm/particle_xenon/board.h:12:
+#define SKY_UFLn_GPIO_FLAGS	DT_GPIO_FLAGS(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:361: WARNING:LONG_LINE: line over 80 characters
#361: FILE: boards/arm/particle_xenon/board.h:13:
+#define SKY_UFLn_GPIO_PIN	DT_GPIO_PIN(DT_INST(0, skyworks_sky13351), vctl1_gpios)

-:362: WARNING:LONG_LINE: line over 80 characters
#362: FILE: boards/arm/particle_xenon/board.h:14:
+#define SKY_PCBn_GPIO_NAME	DT_GPIO_LABEL(DT_INST(0, skyworks_sky13351), vctl2_gpios)

-:363: WARNING:LONG_LINE: line over 80 characters
#363: FILE: boards/arm/particle_xenon/board.h:15:
+#define SKY_PCBn_GPIO_FLAGS	DT_GPIO_FLAGS(DT_INST(0, skyworks_sky13351), vctl2_gpios)

-:364: WARNING:LONG_LINE: line over 80 characters
#364: FILE: boards/arm/particle_xenon/board.h:16:
+#define SKY_PCBn_GPIO_PIN	DT_GPIO_PIN(DT_INST(0, skyworks_sky13351), vctl2_gpios)

- total: 0 errors, 27 warnings, 382 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Your patch has style problems, please review.

NOTE: Ignored message types: AVOID_EXTERNS BRACES CONFIG_EXPERIMENTAL CONST_STRUCT DATE_TIME FILE_PATH_CHANGES MINMAX NETWORKING_BLOCK_COMMENT_STYLE PRINTK_WITHOUT_KERN_LEVEL SPLIT_STRING VOLATILE

NOTE: If any of the errors are false positives, please report
      them to the maintainers.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

galak added 13 commits March 30, 2020 13:43
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <[email protected]>
@galak galak force-pushed the dt-new-inst-arm-boards branch from 99729a0 to 2aed204 Compare March 30, 2020 18:44
@galak galak merged commit f5f8135 into zephyrproject-rtos:master Apr 3, 2020
@galak galak deleted the dt-new-inst-arm-boards branch April 3, 2020 09:12
@nandojve nandojve mentioned this pull request Apr 4, 2020
61 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants