Hi,
The warning about power supply is because your Type-C power supply is not compliant to the USB PD standard regarding it's signalling on CC1/CC2 lines. Usually it is because using a Type-A -> Type-C cable.
You could refer to section 5 of TA0357 for an overview of CC lines we use to detect power adapter characteristics per USB standard.
See also https://community.st.com/s/question/0D50X0000Bftr1ySQA/power-supply-for-stm32mp157cdk2 for a list of tested supplies ((far to be exhaustive !. Meanwhile we added ASKSTORM models from a well know Swedish furniture retailer).
If your supply is rated 3A on the output you are using, it is just that SW cannot know it. You could continue like that, it is just a warning.
On DK2, we use ADC to measure the voltage on cc lines, you can skip this test by commenting the following line in uBoot Device Tree:
/* st,adc_usb_pd = <&adc1 18>, <&adc1 19>; */
For the second question, it is simply some dmesg log which come after login (last two lines are because Linux is disabling unused supplies, here because ADC which was used in uBoot is no more requested as not enabled on kernel Device Tree)
Regards
In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent