occam25 commented on code in PR #7359:
URL: https://github.com/apache/incubator-nuttx/pull/7359#discussion_r1000281350


##########
arch/arm/src/stm32h7/hardware/stm32h7x3xx_pwr.h:
##########
@@ -121,16 +121,24 @@
 
 /* Power control register 3 (CR3) */
 
-#define STM32_PWR_CR3_BYPASS        (1 << 0)  /* Bit 0: Power management unit 
bypass */
-#define STM32_PWR_CR3_LDOEN         (1 << 1)  /* Bit 1: Low drop-out regulator 
enable */
-#define STM32_PWR_CR3_LDOESCUEN     (1 << 2)  /* Bit 2: Supply configuration 
update enable */
-                                              /* Bits 3-7: Reserved */
-#define STM32_PWR_CR3_VBE           (1 << 8)  /* Bit 8: VBAT charging enable */
-#define STM32_PWR_CR3_VBRS          (1 << 9)  /* Bit 9: VBAT charging resistor 
selection */
-                                              /* Bits 10-23: Reserved */
-#define STM32_PWR_CR3_USB33DEN      (1 << 24) /* Bit 24: VDD33USB voltage 
level detector enable */
-#define STM32_PWR_CR3_USBREGEN      (1 << 25) /* Bit 25: USB regulator enable 
*/
-#define STM32_PWR_CR3_USB33RDY      (1 << 26) /* Bit 26: USB supply ready */
+#define STM32_PWR_CR3_BYPASS                (1 << 0)  /* Bit 0: Power 
management unit bypass */
+#define STM32_PWR_CR3_LDOEN                 (1 << 1)  /* Bit 1: Low drop-out 
regulator enable */
+#define STM32_PWR_CR3_LDOESCUEN             (1 << 2)  /* Bit 2: Supply 
configuration update enable */
+#define STM32_PWR_CR3_SMPSEXTHP             (1 << 3)  /* Bit 3: SMPS step-down 
converter external power delivery selection */

Review Comment:
   I don't see it necessary. I could create a new config for that 
(CONFIG_H7_HAS_SMPS doesn't seem to exist) but I've seen other implementations 
for other MCUs and that check is not implemented. WDYT?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to