Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: Fix GPIO hog names on DHCOM

The GPIO hog node name should match regex '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$',
make it so and fix the following two make dtbs_check warnings:

arch/arm/boot/dts/stm32mp157c-dhcom-picoitx.dt.yaml: hog-usb-port-power: $nodename:0: 'hog-usb-port-power' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: hog-usb-hub: $nodename:0: 'hog-usb-hub' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'

Fixes: ac68793f49de ("ARM: dts: stm32: Add DHCOM based PicoITX board")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Marek Vasut and committed by
Alexandre Torgue
bcbacfb8 08769893

+3 -3
+2 -2
arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi
··· 33 33 * during TX anyway and that it only controls drive enable DE 34 34 * line. Hence, the RX is always enabled here. 35 35 */ 36 - rs485-rx-en { 36 + rs485-rx-en-hog { 37 37 gpio-hog; 38 38 gpios = <8 GPIO_ACTIVE_HIGH>; 39 39 output-low; ··· 61 61 * order to reset the Hub when USB bus is powered down, but 62 62 * so far there is no such functionality. 63 63 */ 64 - usb-hub { 64 + usb-hub-hog { 65 65 gpio-hog; 66 66 gpios = <2 GPIO_ACTIVE_HIGH>; 67 67 output-high;
+1 -1
arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi
··· 43 43 * in order to turn on port power when USB bus is powered up, but so 44 44 * far there is no such functionality. 45 45 */ 46 - usb-port-power { 46 + usb-port-power-hog { 47 47 gpio-hog; 48 48 gpios = <13 GPIO_ACTIVE_LOW>; 49 49 output-low;