Fix USB and enable ADC on Khadas VIM
Subsystems (2)
v4 cover Fix USB and enable ADC on Khadas VIM
This patch series add power supply entry for P212 like meson-gx boards. It also enable ADC support for Khadas VIM board.
Based on the Neil Armstrong's patches.
Note: it's my first (small!) patch for U-Boot, I tried to add all needed and useful informations :-)
Changes since v3:
- fix in Subject... sorry!
Changes since v2:
- change commit message for DTS backport
Changes since v1:
- remove duplicated lines in configs/khadas-vim_defconfig
Loic Devulder (2):
ARM64: meson: Add 'usb2_phy0' in P212 DT file
configs: Update Meson GX configs
arch/arm/dts/meson-gxl-s905x-p212.dtsi | 7 ++++++++ configs/khadas-vim_defconfig | 3 +++ 2 files changed, 10 insertions(+)
Signature · 1 line
2.13.7
PATCH v4 1/2 ARM64: meson: Sync DT with Linux 4.17.5
Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.5 (Linux commit 54fb3c180d05e9dfda892a93413514e99f0cbb19).
This will enable HDMI_5V for USB Amlogic Meson GXL P212 based boards.
--- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/dts/meson-gxl-s905x-p212.dtsi +7 -0
@@ -189,3 +189,10 @@ &usb0 { status = "okay"; }; + +&usb2_phy0 { + /* + * HDMI_5V is also used as supply for the USB VBUS. + */ + phy-supply = <&hdmi_5v>; +};
Signature · 1 line
2.13.7
PATCH v4 1/2 ARM64: meson: Sync DT with Linux 4.17.5
Quoted 6 lines · Loic Devulder
Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.5 (Linux commit
54fb3c180d05e9dfda892a93413514e99f0cbb19).This will enable
HDMI_5Vfor USB Amlogic Meson GXL P212 based boards.Signed-off-by Loic Devulder <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20180720/be1a4587/attachment.sig>
PATCH v4 2/2 configs: Update Meson GX configs
In reply to Loic DevulderEnable ADC support on the Khadas VIM board.
--- configs/khadas-vim_defconfig | 3 +++ 1 file changed, 3 insertions(+)
configs/khadas-vim_defconfig +3 -0
@@ -13,12 +13,15 @@ CONFIG_OF_BOARD_SETUP=y # CONFIG_DISPLAY_BOARDINFO is not set # CONFIG_CMD_BDI is not set # CONFIG_CMD_IMI is not set +CONFIG_CMD_ADC=y CONFIG_CMD_GPIO=y # CONFIG_CMD_LOADS is not set CONFIG_CMD_MMC=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_REGULATOR=y +CONFIG_ADC=y +CONFIG_SARADC_MESON=y CONFIG_OF_CONTROL=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM_GPIO=y
Signature · 1 line
2.13.7
PATCH v4 2/2 configs: Update Meson GX configs
Quoted 4 lines · Loic Devulder
Enable ADC support on the Khadas VIM board.
Signed-off-by Loic Devulder <[email protected]>Acked-by Neil Armstrong <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20180720/51eabef8/attachment.sig>