* [PATCH v2 0/2] Fix USB and enable ADC on Khadas VIM @ 2018-07-09 15:34 Loic Devulder 2018-07-09 15:34 ` [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file Loic Devulder 2018-07-09 15:34 ` [PATCH v2 2/2] configs: Update Meson GX configs Loic Devulder 0 siblings, 2 replies; 6+ messages in thread From: Loic Devulder @ 2018-07-09 15:34 UTC (permalink / raw) To: linus-amlogic 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 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 | 8 ++++++++ configs/khadas-vim_defconfig | 5 +++++ 2 files changed, 13 insertions(+) -- 2.13.7 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file 2018-07-09 15:34 [PATCH v2 0/2] Fix USB and enable ADC on Khadas VIM Loic Devulder @ 2018-07-09 15:34 ` Loic Devulder 2018-07-09 18:14 ` Neil Armstrong 2018-07-09 15:34 ` [PATCH v2 2/2] configs: Update Meson GX configs Loic Devulder 1 sibling, 1 reply; 6+ messages in thread From: Loic Devulder @ 2018-07-09 15:34 UTC (permalink / raw) To: linus-amlogic Enable power supply for USB Amlogic Meson GXL P212 based boards. Signed-off-by: Loic Devulder <ldevulder@suse.de> --- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/meson-gxl-s905x-p212.dtsi b/arch/arm/dts/meson-gxl-s905x-p212.dtsi index 0cfd701809..4e61ec8f5b 100644 --- a/arch/arm/dts/meson-gxl-s905x-p212.dtsi +++ b/arch/arm/dts/meson-gxl-s905x-p212.dtsi @@ -189,3 +189,11 @@ &usb0 { status = "okay"; }; + +&usb2_phy0 { + /* + * even though the schematics don't show it: + * HDMI_5V is also used as supply for the USB VBUS. + */ + phy-supply = <&hdmi_5v>; +}; -- 2.13.7 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file 2018-07-09 15:34 ` [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file Loic Devulder @ 2018-07-09 18:14 ` Neil Armstrong 2018-07-09 19:56 ` Loic Devulder 0 siblings, 1 reply; 6+ messages in thread From: Neil Armstrong @ 2018-07-09 18:14 UTC (permalink / raw) To: linus-amlogic Hi Loic, On 09/07/2018 17:34, Loic Devulder wrote: > Enable power supply for USB Amlogic Meson GXL P212 based boards. > > Signed-off-by: Loic Devulder <ldevulder@suse.de> We like to keep the u-boot and linux DTS synced, this changed was backported on Linux v4.17.5, can you instead precise you backported the last fix from the 4.17 stable branch ? Thanks, Neil > --- > arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/dts/meson-gxl-s905x-p212.dtsi b/arch/arm/dts/meson-gxl-s905x-p212.dtsi > index 0cfd701809..4e61ec8f5b 100644 > --- a/arch/arm/dts/meson-gxl-s905x-p212.dtsi > +++ b/arch/arm/dts/meson-gxl-s905x-p212.dtsi > @@ -189,3 +189,11 @@ > &usb0 { > status = "okay"; > }; > + > +&usb2_phy0 { > + /* > + * even though the schematics don't show it: > + * HDMI_5V is also used as supply for the USB VBUS. > + */ > + phy-supply = <&hdmi_5v>; > +}; > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file 2018-07-09 18:14 ` Neil Armstrong @ 2018-07-09 19:56 ` Loic Devulder 0 siblings, 0 replies; 6+ messages in thread From: Loic Devulder @ 2018-07-09 19:56 UTC (permalink / raw) To: linus-amlogic Hi Neil, Sure, I did not see you'd done the change on Linux DTS :) On 07/09/2018 08:14 PM, Neil Armstrong wrote: > Hi Loic, > > On 09/07/2018 17:34, Loic Devulder wrote: >> Enable power supply for USB Amlogic Meson GXL P212 based boards. >> >> Signed-off-by: Loic Devulder <ldevulder@suse.de> > > We like to keep the u-boot and linux DTS synced, this changed was backported on Linux v4.17.5, > can you instead precise you backported the last fix from the 4.17 stable branch ? > > Thanks, > Neil > >> --- >> arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/arch/arm/dts/meson-gxl-s905x-p212.dtsi b/arch/arm/dts/meson-gxl-s905x-p212.dtsi >> index 0cfd701809..4e61ec8f5b 100644 >> --- a/arch/arm/dts/meson-gxl-s905x-p212.dtsi >> +++ b/arch/arm/dts/meson-gxl-s905x-p212.dtsi >> @@ -189,3 +189,11 @@ >> &usb0 { >> status = "okay"; >> }; >> + >> +&usb2_phy0 { >> + /* >> + * even though the schematics don't show it: >> + * HDMI_5V is also used as supply for the USB VBUS. >> + */ >> + phy-supply = <&hdmi_5v>; >> +}; >> > -- Loic Devulder - Senior QA Engineer Container & Storage Solutions Quality Assurance team (qa-css) SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: F. Imend?rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB, 21284 (AG Nuernberg) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 2/2] configs: Update Meson GX configs 2018-07-09 15:34 [PATCH v2 0/2] Fix USB and enable ADC on Khadas VIM Loic Devulder 2018-07-09 15:34 ` [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file Loic Devulder @ 2018-07-09 15:34 ` Loic Devulder 2018-07-09 18:14 ` Neil Armstrong 1 sibling, 1 reply; 6+ messages in thread From: Loic Devulder @ 2018-07-09 15:34 UTC (permalink / raw) To: linus-amlogic Enable ADC support on the Khadas VIM board. Signed-off-by: Loic Devulder <ldevulder@suse.de> --- configs/khadas-vim_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/khadas-vim_defconfig b/configs/khadas-vim_defconfig index 1eb13df4b4..fd1ec8157b 100644 --- a/configs/khadas-vim_defconfig +++ b/configs/khadas-vim_defconfig @@ -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 -- 2.13.7 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 2/2] configs: Update Meson GX configs 2018-07-09 15:34 ` [PATCH v2 2/2] configs: Update Meson GX configs Loic Devulder @ 2018-07-09 18:14 ` Neil Armstrong 0 siblings, 0 replies; 6+ messages in thread From: Neil Armstrong @ 2018-07-09 18:14 UTC (permalink / raw) To: linus-amlogic On 09/07/2018 17:34, Loic Devulder wrote: > Enable ADC support on the Khadas VIM board. > > Signed-off-by: Loic Devulder <ldevulder@suse.de> > --- > configs/khadas-vim_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/khadas-vim_defconfig b/configs/khadas-vim_defconfig > index 1eb13df4b4..fd1ec8157b 100644 > --- a/configs/khadas-vim_defconfig > +++ b/configs/khadas-vim_defconfig > @@ -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 > Acked-by: Neil Armstrong <narmstrong@baylibre.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-07-09 19:56 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-07-09 15:34 [PATCH v2 0/2] Fix USB and enable ADC on Khadas VIM Loic Devulder 2018-07-09 15:34 ` [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file Loic Devulder 2018-07-09 18:14 ` Neil Armstrong 2018-07-09 19:56 ` Loic Devulder 2018-07-09 15:34 ` [PATCH v2 2/2] configs: Update Meson GX configs Loic Devulder 2018-07-09 18:14 ` Neil Armstrong
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox