[linux-sunxi] [PATCH v10 31/35] arm64: allwinner: h5: orangepi-pc2: Order nodes in alphabetic

2018-05-28 Thread Jagan Teki
Order sun50i-h5-orangepi-pc2.dts nodes in alphabetic Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 56 - 1 file changed, 28 insertions(+), 28 deletions(-)

[linux-sunxi] [PATCH v10 32/35] arm64: allwinner: h5: orangepi-pc2: Sync usb otg nodes from Linux

2018-05-28 Thread Jagan Teki
orangepi-pc2 has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 13 + 1 file changed, 13 insertions(+) diff

[linux-sunxi] [PATCH v10 23/35] sunxi: Drop legacy usb_phy.c

2018-05-28 Thread Jagan Teki
Allwinner PHY USB code is now part of generic-phy framework, so drop existing legacy handling like arch/arm/mach-sunxi.c and related code areas. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/include/asm/arch-sunxi/usb

[linux-sunxi] [PATCH v10 22/35] usb: sunxi: Switch to use generic-phy

2018-05-28 Thread Jagan Teki
Allwinner USB PHY handling can be done through driver-model generic-phy so add the generic-phy ops to relevant places on host and musb sunxi driver and enable them in respective SOC's. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- a

[linux-sunxi] [PATCH v10 25/35] arm64: allwinner: a64: bananapi-m64: Sync usb_otg node from Linux

2018-05-28 Thread Jagan Teki
Sync bananapi-m64 usb_otg node from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/dts/sun50i-a64-bananapi-m64.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64

[linux-sunxi] [PATCH v10 26/35] configs: bananapi-m64: Enable USB OTG peripheral mode

2018-05-28 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- configs/bananapi_m64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bananapi_m64_defconf

[linux-sunxi] [PATCH v10 21/35] phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect

2018-05-28 Thread Jagan Teki
phy function to allow the sunxi-musb glue to do this. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/phy/allwinner/phy-sun4i-usb.c | 6 ++ drivers/usb/musb-new/musb_core.h | 4 drivers/usb/musb-new/musb_uboo

[linux-sunxi] [PATCH v10 20/35] board: sunxi: Use generic-phy for board_usb_cable_connected

2018-05-28 Thread Jagan Teki
Allwinner PHY USB code is now part of generic-phy framework, so use it in board_usb_cable_connected. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- board/sunxi/board.c | 33 - 1 file changed, 32 inse

[linux-sunxi] [PATCH v10 27/35] ARM: dts: sun8i: a83t: Sync usbphy node from Linux

2018-05-28 Thread Jagan Teki
Sync sun8i-a83t usbphy node details from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/dts/sun8i-a83t.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sun8i-a83t.dtsi b/

[linux-sunxi] [PATCH v10 05/35] sunxi: clock: Fix clock gating for H3/H5/A64

2018-05-28 Thread Jagan Teki
clock gating bits on a64 are different than H3_H5, so fixed only required bits on clock_sun6i.h. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 12 +--- 1 file changed, 9 inse

[linux-sunxi] [PATCH v10 16/35] phy: sun4i-usb: Add A31 PHY config

2018-05-28 Thread Jagan Teki
Allwinner A31 has 3 USB PHY's and rest similar to A10. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/phy/allwinner/phy-su

[linux-sunxi] [PATCH v10 03/35] musb: sunxi: Use simple way to fill musb_hdrc pdata

2018-05-28 Thread Jagan Teki
Filling musb_hdrc pdata using structure will unnecessary add extra ifdefs, so fill them inside probe call for better code understanding and get rid ifdefs using devicetree compatible. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> ---

[linux-sunxi] [PATCH v10 12/35] phy: sun4i-usb: Add H3/H5 PHY config

2018-05-28 Thread Jagan Teki
H3/H5 has 4 USB PHY, rest are similar to A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/phy/allwinner/phy-sun4i-usb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.

[linux-sunxi] [PATCH v10 11/35] phy: sun4i-usb: Add id_detect and vbus_detect ops

2018-05-28 Thread Jagan Teki
ID and VBUS detection code require when musb changing between Host and/or Peripheral modes. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/phy/allwinner/phy-sun4i-usb.c | 39 +++ include/phy

[linux-sunxi] [PATCH v10 14/35] phy: sun4i-usb: Add A83T USB PHY config

2018-05-28 Thread Jagan Teki
Unlike, other Allwinner SUN4I Phy supporting SOC, A83T has 2 USB PHY's and second one is HSIC. So phy control need to configure to handle these HSIC and SIDDQ requirement. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/phy/a

[linux-sunxi] [PATCH v10 09/35] musb: sunxi: Add support for H3/H5/A64

2018-05-28 Thread Jagan Teki
Like other Allwinner SoC, the H3/H5/A64 is missing the config register from the musb hardware block. Use a known working value for it like other SoC. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/usb/musb-new/musb_regs.h | 3

[linux-sunxi] [PATCH v10 04/35] musb: sunxi: Add fifo config

2018-05-28 Thread Jagan Teki
Unlike other Allwinner SOC's H3/H5/V3s OTG support 4 endpoints with relevant fifo configs, rest all have 5 endpoints. So add the fifo configs and defer them based on driver_data. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- driv

[linux-sunxi] [PATCH v10 10/35] phy: Add Allwinner A64 USB PHY driver

2018-05-28 Thread Jagan Teki
pinctrl, clock and reset details from DT since the dm code on these will add it future. Driver named as phy-sun4i-usb.c since the same PHY logic work for all Allwinner SOC's start from 4I to A64 except 9I with different phy configurations. Signed-off-by: Jagan Teki <ja...@amarulasolutions.

[linux-sunxi] [PATCH v10 15/35] phy: sun4i-usb: Add A10/A13/A20 PHY config

2018-05-28 Thread Jagan Teki
Add PHY configs for Allwinner A10/A13/A20 which are SUN4I. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/phy/allwinner/phy-sun4i-usb.c | 28 1 file changed, 28 insertions(+) diff --git a

[linux-sunxi] [PATCH v10 02/35] musb: sunxi: Add proper macros instead of numericals

2018-05-28 Thread Jagan Teki
- add proper macros for musb_config members - use bool 'true' for multipoint and dyn_fifo instead of numerical 1 Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/usb/musb-new/sunxi.c | 12 1 file changed, 8 inse

[linux-sunxi] [PATCH v10 07/35] musb: sunxi: Use BIT instead of numerical shift

2018-05-28 Thread Jagan Teki
Use BIT is possible areas instead of numerical shift. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/usb/musb-new/sunxi.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/driv

[linux-sunxi] [PATCH v10 06/35] musb: sunxi: Add OTG device clkgate and reset for H3/H5

2018-05-28 Thread Jagan Teki
Add OTG device clkgate and reset for H3/H5 through driver_data. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/usb/musb-new/sunxi.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/usb/musb-n

[linux-sunxi] [PATCH v10 08/35] sunxi: clock: Fix OHCI clock gating for H3/H5

2018-05-28 Thread Jagan Teki
From: Chen-Yu Tsai <w...@csie.org> Clock gating bits on H43/H5 were wrong, fix them. Signed-off-by: Chen-Yu Tsai <w...@csie.org> Reviewed-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h

[linux-sunxi] [PATCH v10 01/35] usb: sunxi: Simplify ccm reg base code

2018-05-28 Thread Jagan Teki
Move struct sunxi_ccm_reg pointer to private structure so-that accessing ccm reg base become more proper way and avoid local initialization in each function. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Jun Nie <jun@linaro.org> --- drivers/usb/host/ehci-

[linux-sunxi] [PATCH v10 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-28 Thread Jagan Teki
- Drop legacy arch/arm/mach-sunxi/usb_phy.c and related code Chen-Yu Tsai (1): sunxi: clock: Fix OHCI clock gating for H3/H5 Jagan Teki (33): usb: sunxi: Simplify ccm reg base code musb: sunxi: Add proper macros instead of numericals musb: sunxi: Use simple way to fill musb_hdrc pdata musb

[linux-sunxi] [PATCH v3] board: sun50i: Add Amarula A64-Relic initial support

2018-05-28 Thread Jagan Teki
Amarula A64-Relic is A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes

[linux-sunxi] [PATCH] rtc: sun6i: Fix bit_idx value for clk_register_gate

2018-05-28 Thread Jagan Teki
clock is not enabling. This patch fixed by passing bit index and the original change introduced from below commit. "rtc: sun6i: Add support for the external oscillator gate" (sha1: 17ecd246414b3a0fe0cb248c86977a8bda465b7b) Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> Sig

[linux-sunxi] [PATCH v4] arm64: allwinner: a64: Add Amarula A64-Relic initial support

2018-05-24 Thread Jagan Teki
Amarula A64-Relic is Allwinner A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.

[linux-sunxi] Re: [PATCH v3] arm64: allwinner: a64: Add Amarula A64-Relic initial support

2018-05-23 Thread Jagan Teki
On Wed, May 23, 2018 at 1:48 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Wed, May 23, 2018 at 11:44:56AM +0530, Jagan Teki wrote: >> On Tue, May 22, 2018 at 8:00 PM, Maxime Ripard >> <maxime.rip...@bootlin.com> wrote: >> > On Tue, May 22, 2018 a

[linux-sunxi] Re: [PATCH v3] arm64: allwinner: a64: Add Amarula A64-Relic initial support

2018-05-23 Thread Jagan Teki
On Tue, May 22, 2018 at 8:00 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Tue, May 22, 2018 at 06:52:28PM +0530, Jagan Teki wrote: >> Amarula A64-Relic is Allwinner A64 based IoT device, which support >> - Allwinner A64 Cortex-A53 >> - Mali-400MP2 GPU >

[linux-sunxi] [PATCH v3] arm64: allwinner: a64: Add Amarula A64-Relic initial support

2018-05-22 Thread Jagan Teki
Amarula A64-Relic is Allwinner A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.

Re: [linux-sunxi] Re: [U-Boot] [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-22 Thread Jagan Teki
On Tue, May 15, 2018 at 6:19 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote: > Hi Marek, > > On Tue, May 15, 2018 at 2:16 PM, Jun Nie <jun@linaro.org> wrote: >> 2018-05-07 15:33 GMT+08:00 Jagan Teki <ja...@amarulasolutions.com>: >>> This series r

[linux-sunxi] [PATCH v2 26/26] arm64: dts: allwinner: a64: sopine: Enable HDMI output

2018-05-18 Thread Jagan Teki
Enable HDMI output on sopine board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../dts/allwinner/sun50i-a64-sopine-baseboard.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-

[linux-sunxi] [PATCH v2 24/26] arm64: dts: allwinner: a64: a64-olinuxino: Enable HDMI output

2018-05-18 Thread Jagan Teki
Enable HDMI output on a64-olinuxino board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-olinuxino.dts| 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun5

[linux-sunxi] [PATCH v2 21/26] arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output

2018-05-18 Thread Jagan Teki
Enable HDMI output on Bananpi-m64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun5

[linux-sunxi] [PATCH v2 18/26] drm/sun4i: Enable DesignWare HDMI for SUN8I and SUN50I

2018-05-18 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DesignWare HDMI so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm

[linux-sunxi] [PATCH v2 13/26] drm/sun4i: Add support for A64 HDMI PHY

2018-05-18 Thread Jagan Teki
From: Jernej Skrabec <jernej.skra...@siol.net> PHY is the same as in H3, except it can select between two clock parent. Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - new patch dri

[linux-sunxi] [PATCH v2 12/26] drm/sun4i: Add support for multiple DW HDMI PHY clock parents

2018-05-18 Thread Jagan Teki
From: Jernej Skrabec <jernej.skra...@siol.net> Some SoCs with DW HDMI have multiple possible clock parents, like A64 and R40. Expand HDMI PHY clock driver to support second clock parent. Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> Signed-off-by: Ja

[linux-sunxi] [PATCH v2 15/26] dt-bindings: display: Add compatible for A64 HDMI PHY

2018-05-18 Thread Jagan Teki
HDMI PHY on Allwinner A64 has similar like H3/H5 but with two clock parents, so add separate compatible for A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add separate compatible for A64 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt |

[linux-sunxi] [PATCH v2 14/26] dt-bindings: display: Add compatible for A64 HDMI

2018-05-18 Thread Jagan Teki
HDMI on Allwinner A64 has similar like H3/H5/A83T. Add compatible a64 and update A83T compatible as fallback. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add fallback compatible Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file c

[linux-sunxi] [PATCH v2 11/26] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-05-18 Thread Jagan Teki
Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/def

[linux-sunxi] [PATCH v2 05/26] drm/sun4i: DE2 mixer: Add index quirk

2018-05-18 Thread Jagan Teki
From: Jernej Skrabec <jernej.skra...@siol.net> When TCON set up TCON TOP, it needs to know mixer index. Here we do that by setting engine ID to number provided in mixer index quirk. Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> Signed-off-by: Jagan Teki <ja...@amaru

[linux-sunxi] [PATCH v2 09/26] arm64: dts: allwinner: a64: Add DE2 tcon1 pipeline

2018-05-18 Thread Jagan Teki
The DE2 on the A64 is mainly composed of the mixers and tcons, plus various encoders. This patch add second mixer and tcon which eventually useful for testing HDMI. the other part of DE2 will add in future. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: -

[linux-sunxi] [PATCH v2 08/26] drm/sun4i: Add support for A64 display engine

2018-05-18 Thread Jagan Teki
Display Engine(DE2) in Allwinner A64 has two mixers and tcons. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. The routing for mixer1 is through tcon1 and connected to HDMI. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2:

[linux-sunxi] [PATCH v2 10/26] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I

2018-05-18 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g

[linux-sunxi] [PATCH v2 04/26] clk: sunxi-ng: a64: Add minimal rate for video PLLs

2018-05-18 Thread Jagan Teki
According to documentation and experience with other similar SoCs, video PLLs don't work stable if their output frequency is set below 192 MHz. Because of that, set minimal rate to both A64 video PLLs to 192 MHz. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2:

[linux-sunxi] [PATCH v2 07/26] dt-bindings: display: Add compatible for A64 DE2 tcon1 blocks

2018-05-18 Thread Jagan Teki
. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add fallback compatible for tcon1 - Add separate compatible for mixer1 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devi

[linux-sunxi] [PATCH v2 06/26] drm/sun4i: Add support for A64 mixer1

2018-05-18 Thread Jagan Teki
Mixers in Allwinner have similar capabilities as others SoCs with DE2. Mixer1 has 1 VI and 1 UI planes and supports HW scaling on all planes. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - New patch drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 +

[linux-sunxi] [PATCH v2 03/26] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

2018-05-18 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Enable for MACH_SUN8I drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/d

[linux-sunxi] [PATCH v2 02/26] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-18 Thread Jagan Teki
DE2 CCU in Allwinner A64 has same like H5, so use the similar dts details for A64 with fallback compatible. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add h5 compatible first since A64 came first. arch/arm64/boot/dts/allwinner/sun50i-a64.dts

[linux-sunxi] [PATCH v2 01/26] dt-bindings: clock: Add compatible for A64 DE2 CCU

2018-05-18 Thread Jagan Teki
Allwinner A64 has DE2 CCU is similar to H3/H5 SoC. So add compatible for A64 which is fallback compatible for H5, so update fallback binding. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Reviewed-by: Rob Herring <r...@kernel.org> --- Changes for v2: - Add fallbac

[linux-sunxi] [PATCH v2 00/26] arm64: allwinner: Add A64 DE2 HDMI support

2018-05-18 Thread Jagan Teki
/lkml/2018/4/30/288 [1] https://lkml.org/lkml/2018/4/24/547 Icenowy Zheng (1): drm: sun4i: add support for HVCC regulator for DWC HDMI glue Jagan Teki (22): dt-bindings: clock: Add compatible for A64 DE2 CCU arm64: dts: allwinner: a64: Add DE2 CCU clk: sunxi-ng: Enable DE2_CCU for SUN8

[linux-sunxi] Re: [U-Boot] [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-15 Thread Jagan Teki
Hi Marek, On Tue, May 15, 2018 at 2:16 PM, Jun Nie <jun@linaro.org> wrote: > 2018-05-07 15:33 GMT+08:00 Jagan Teki <ja...@amarulasolutions.com>: >> This series rework of previous version where it removes legacy >> usb phy handling and added phy driver on generic-p

[linux-sunxi] Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-14 Thread Jagan Teki
On Mon, May 14, 2018 at 2:10 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Mon, May 14, 2018 at 02:03:36PM +0530, Jagan Teki wrote: >> On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard <maxime.rip...@bootlin.com> >> wrote: >> > Hi, >> > >>

[linux-sunxi] Re: Allwinner A64: Issue on external rtc clock to wifi chip

2018-05-14 Thread Jagan Teki
On Mon, May 14, 2018 at 2:36 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Mon, May 14, 2018 at 02:34:22PM +0530, Jagan Teki wrote: >> On Mon, May 14, 2018 at 1:57 PM, Maxime Ripard >> <maxime.rip...@bootlin.com> wrote: >> > On Mon, May 14, 2018 a

[linux-sunxi] Re: Allwinner A64: Issue on external rtc clock to wifi chip

2018-05-14 Thread Jagan Teki
On Mon, May 14, 2018 at 1:57 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Mon, May 14, 2018 at 01:34:56PM +0530, Jagan Teki wrote: >> On Mon, May 14, 2018 at 1:27 PM, Maxime Ripard >> <maxime.rip...@bootlin.com> wrote: >> > Hi, >> > >>

[linux-sunxi] Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-14 Thread Jagan Teki
On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > Hi, > > On Mon, Apr 30, 2018 at 05:10:46PM +0530, Jagan Teki wrote: >> + hdmi_phy: hdmi-phy@1ef { >> + compatible = &qu

[linux-sunxi] Re: [PATCH 03/21] clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs

2018-05-14 Thread Jagan Teki
On Tue, May 1, 2018 at 9:53 PM, Chen-Yu Tsai <w...@csie.org> wrote: > On Mon, Apr 30, 2018 at 7:40 PM, Jagan Teki <ja...@amarulasolutions.com> > wrote: >> Allwinner 64-bit SoC like H5/A64 has DE2 CCU so enable them >> as default. >> >> Signed-off-

[linux-sunxi] Re: Allwinner A64: Issue on external rtc clock to wifi chip

2018-05-14 Thread Jagan Teki
On Mon, May 14, 2018 at 1:27 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > Hi, > > On Mon, May 14, 2018 at 12:37:49PM +0530, Jagan Teki wrote: >> Hi Maxime and All, >> >> We are trying to bring-up AP6330 Wifi chip for A64 board. We noticed >> to hav

[linux-sunxi] Allwinner A64: Issue on external rtc clock to wifi chip

2018-05-14 Thread Jagan Teki
L_LOW>; /* WL-WAKE-AP: PL3 */ interrupt-names = "host-wake"; }; }; And observed rtc-osc32k-out clock is never enabled[1] and the value of LOSC_OUT_GATING is 0x0 which eventually not enabling LOSC_OUT_GATING_EN Pls. let us know if we miss anything here? [1] https:

[linux-sunxi] Re: [PATCH v2] arm64: allwinner: a64: Add Amarula A64 Relic initial support

2018-05-11 Thread Jagan Teki
On Fri, May 11, 2018 at 11:20 AM, Chen-Yu Tsai <w...@csie.org> wrote: > On Thu, May 10, 2018 at 10:43 PM, Jagan Teki <ja...@amarulasolutions.com> > wrote: >> Amarula A64 Relic is Allwinner A64 based IoT device, which support >> - Allwinner A64 Cortex-A53 >>

[linux-sunxi] [PATCH v2] board: sun50i: Add Amarula A64 Relic initial support

2018-05-10 Thread Jagan Teki
Amarula A64 Relic is A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes

[linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add Amarula A64 Relic initial support

2018-05-10 Thread Jagan Teki
Amarula A64 Relic is Allwinner A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.

Re: [linux-sunxi] A64: mmc1: SDIO req failed for CMD5 Timeout(-110)

2018-05-09 Thread Jagan Teki
On 04/04/2018 06:31 PM, Jagan Teki wrote: On 04/04/2018 05:24 PM, Chen-Yu Tsai wrote: On Wed, Apr 4, 2018 at 7:09 PM, Jagan Teki <ja...@openedev.com> wrote: On 04/04/2018 04:31 PM, Jagan Teki wrote: On 04/03/2018 04:09 PM, Chen-Yu Tsai wrote: On Tue, Apr 3, 2018 at 6:31 PM, Jagan Te

[linux-sunxi] [PATCH v9 06/35] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-05-09 Thread Jagan Teki
Sync sun4i-usb-phy bindings from Linux, since the drivers/phy/allwinner/phy-sun4i-usb.c follow similar. Sync changes from Linux with below commit: "phy: sun4i-usb: add support for R40 USB PHY" (sha1: f3d96f8d23d8e6d0b7642ee946b9b2ac3418fb4d) Signed-off-by: Jagan Teki <ja...@amarula

[linux-sunxi] [PATCH] board: sun50i: Add Amarula A64-Relic initial support

2018-05-08 Thread Jagan Teki
Amarula A64-Relic is A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Note:

[linux-sunxi] [PATCH] arm64: allwinner: a64: Add Amarula A64-Relic initial support

2018-05-08 Thread Jagan Teki
Amarula A64-Relic is Allwinner A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki <ja...@amarulasolutions.

Re: [linux-sunxi] Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-05-08 Thread Jagan Teki
On Sun, Apr 1, 2018 at 8:11 AM, Chen-Yu Tsai wrote: > On Sun, Apr 1, 2018 at 9:28 AM, André Przywara wrote: >> On 30/03/18 05:25, Chen-Yu Tsai wrote: >> >> OK. So meanwhile I have something almost(TM) working: - drivers/clk/sunxi/clk-a64.c,

[linux-sunxi] Re: [U-Boot] [RFC PATCH 0/4] Allwinner H6 support for U-Boot

2018-05-08 Thread Jagan Teki
On Sat, Dec 30, 2017 at 9:10 PM, Icenowy Zheng wrote: > Allwinner H6 is a new SoC, which have peripherals with highest speed > among current Allwinner products (USB3.0 and PCI Express); it's memory > map has also totally changed. > > This patchset try to add initial support for

[linux-sunxi] Re: [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-08 Thread Jagan Teki
Hi Jun, On Mon, May 7, 2018 at 1:03 PM, Jagan Teki <ja...@amarulasolutions.com> wrote: > This series rework of previous version where it removes legacy > usb phy handling and added phy driver on generic-phy framework. > > Current implementation phy driver is unable to

[linux-sunxi] Re: [PATCH v7 06/35] musb: sunxi: Add OTG device clkgate and reset for H3/H5

2018-05-08 Thread Jagan Teki
Hi Marek, On Mon, May 7, 2018 at 5:17 PM, Marek Vasut <ma...@denx.de> wrote: > On 05/07/2018 09:33 AM, Jagan Teki wrote: >> Add OTG device clkgate and reset for H3/H5 through driver_data. >> >> Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> > >

[linux-sunxi] [PATCH v8 06/35] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-05-08 Thread Jagan Teki
branch 'akpm/master' Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v8: - %s/follw/follow - Added merge commit from Linux doc/device-tree-bindings/phy/sun4i-usb-phy.txt | 65 ++ 1 file changed, 65 insertions(+) create mode 100644 doc/device-tree-

[linux-sunxi] [PATCH v7 32/35] arm64: allwinner: h5: orangepi-pc2: Sync usb otg nodes from Linux

2018-05-07 Thread Jagan Teki
orangepi-pc2 has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/sun50i-h5-orangepi-pc2.

[linux-sunxi] [PATCH v7 35/35] configs: orangepi-prime: Enable USB OTG peripheral mode

2018-05-07 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- configs/orangepi_prime_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/orangepi_prime_defconfig b/configs/orangepi_prime_defconfig index df39

[linux-sunxi] [PATCH v7 34/35] arm64: allwinner: h5: orangepi-prime: Sync usb otg nodes from Linux

2018-05-07 Thread Jagan Teki
orangepi-prime has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/dts/sun50i-h5-orangepi-prime.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/sun50i-h5-or

[linux-sunxi] [PATCH v7 30/35] configs: bananapi-m2-plus: Enable USB OTG peripheral mode

2018-05-07 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- configs/Sinovoip_BPI_M2_Plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Sinovoip_BPI_M2_Plus_defconfig b/configs/Sinovoip_BPI_M2_Plus_defconfig

[linux-sunxi] [PATCH v7 31/35] arm64: allwinner: h5: orangepi-pc2: Order nodes in alphabetic

2018-05-07 Thread Jagan Teki
Order sun50i-h5-orangepi-pc2.dts nodes in alphabetic Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 56 - 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm/dts/sun50i-h5-orangepi-p

[linux-sunxi] [PATCH v7 33/35] configs: orangepi-pc2: Enable USB OTG peripheral mode

2018-05-07 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- configs/orangepi_pc2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig index dd5f2c78ab..ca1e

[linux-sunxi] [PATCH v7 15/35] phy: sun4i-usb: Add A10/A13/A20 PHY config

2018-05-07 Thread Jagan Teki
Add PHY configs for Allwinner A10/A13/A20 which are SUN4I. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drive

[linux-sunxi] [PATCH v7 19/35] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-05-07 Thread Jagan Teki
Sync sun4i-usb-phy bindings from Linux, since the drivers/phy/allwinner/phy-sun4i-usb.c follw similar. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- doc/device-tree-bindings/phy/sun4i-usb-phy.txt | 65 ++ 1 file changed, 65 insertions(+) create mode

[linux-sunxi] [PATCH v7 29/35] ARM: dts: sun8i-h3: bananapi-m2-plus: Sync usb otg nodes from Linux

2018-05-07 Thread Jagan Teki
Bananapi-m2-plus has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/sun8i-h3-banan

[linux-sunxi] [PATCH v7 24/35] sunxi: h3: Sync OTG and HCI nodes from Linux DT

2018-05-07 Thread Jagan Teki
From: Jun Nie <jun@linaro.org> Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI or MUSB controller. Signed-off-by: Jun Nie <jun@linaro.org> Reviewed-by: Jagan Teki <ja...@openedev.com> --- arch/arm/dts/sun8i-h3.dtsi | 32 ++

[linux-sunxi] [PATCH v7 17/35] phy: sun4i-usb: Add A33 USB PHY config

2018-05-07 Thread Jagan Teki
Allwinner A33 has 2 USB PHY's and 0x10 has phy ctrl offset. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy

[linux-sunxi] [PATCH v7 22/35] usb: sunxi: Switch to use generic-phy

2018-05-07 Thread Jagan Teki
Allwinner USB PHY handling can be done through driver-model generic-phy so add the generic-phy ops to relevant places on host and musb sunxi driver and enable them in respective SOC's. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/mach-sunxi/Kconfig

[linux-sunxi] [PATCH v7 18/35] phy: sun4i-usb: Add A23 USB PHY config

2018-05-07 Thread Jagan Teki
Allwinner A23 has 2 USB PHY's and 0x04 has phy ctrl offset. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i

[linux-sunxi] [PATCH v7 13/35] phy: sun4i-usb: Add V3S PHY config

2018-05-07 Thread Jagan Teki
V3S has 1 USB PHY, rest are similar to A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c

[linux-sunxi] [PATCH v7 21/35] phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect

2018-05-07 Thread Jagan Teki
phy function to allow the sunxi-musb glue to do this. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 6 ++ drivers/usb/musb-new/musb_core.h | 4 drivers/usb/musb-new/musb_uboot.c | 19 --- drivers/usb/mu

[linux-sunxi] [PATCH v7 25/35] arm64: allwinner: a64: bananapi-m64: Sync usb_otg node from Linux

2018-05-07 Thread Jagan Teki
Sync bananapi-m64 usb_otg node from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/dts/sun50i-a64-bananapi-m64.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts b/arch/arm/dts/sun50i-a64-bananapi-m

[linux-sunxi] [PATCH v7 16/35] phy: sun4i-usb: Add A31 PHY config

2018-05-07 Thread Jagan Teki
Allwinner A31 has 3 USB PHY's and rest similar to A10. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i

[linux-sunxi] [PATCH v7 14/35] phy: sun4i-usb: Add A83T USB PHY config

2018-05-07 Thread Jagan Teki
Unlike, other Allwinner SUN4I Phy supporting SOC, A83T has 2 USB PHY's and second one is HSIC. So phy control need to configure to handle these HSIC and SIDDQ requirement. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.

[linux-sunxi] [PATCH v7 27/35] ARM: dts: sun8i: a83t: Sync usbphy node from Linux

2018-05-07 Thread Jagan Teki
Sync sun8i-a83t usbphy node details from Linux. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm/dts/sun8i-a83t.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sun8i-a83t.dtsi b/arch/arm/dts/sun8i-a83t.dtsi index bab6

[linux-sunxi] [PATCH v7 12/35] phy: sun4i-usb: Add H3/H5 PHY config

2018-05-07 Thread Jagan Teki
H3/H5 has 4 USB PHY, rest are similar to A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c

[linux-sunxi] [PATCH v7 26/35] configs: bananapi-m64: Enable USB OTG peripheral mode

2018-05-07 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- configs/bananapi_m64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig index 47f31c6d9d..40c1

[linux-sunxi] [PATCH v7 11/35] phy: sun4i-usb: Add id_detect and vbus_detect ops

2018-05-07 Thread Jagan Teki
ID and VBUS detection code require when musb changing between Host and/or Peripheral modes. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/phy/allwinner/phy-sun4i-usb.c | 39 +++ include/phy-sun4i-usb.h

[linux-sunxi] [PATCH v7 01/35] usb: sunxi: Simplify ccm reg base code

2018-05-07 Thread Jagan Teki
Move struct sunxi_ccm_reg pointer to private structure so-that accessing ccm reg base become more proper way and avoid local initialization in each function. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/usb/host/ehci-sunxi.c | 15 +-- drivers/usb/hos

[linux-sunxi] [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-07 Thread Jagan Teki
supported - tested on bpi-m2-plus, orangepi_pc2/prime, bananapi-m64 Changes for v4: - Rework of previous series - Add Allwinner sun4i USB PHY driver - Drop legacy arch/arm/mach-sunxi/usb_phy.c and related code Chen-Yu Tsai (1): sunxi: clock: Fix OHCI clock gating for H3/H5 Jagan Teki (33): usb

[linux-sunxi] [PATCH v7 09/35] musb: sunxi: Add support for H3/H5A64

2018-05-07 Thread Jagan Teki
Like other Allwinner SoC, the H3/H5/A64 is missing the config register from the musb hardware block. Use a known working value for it like other SoC. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Note: - About previous version comment, at this point the core can't

[linux-sunxi] [PATCH v7 04/35] musb: sunxi: Add fifo config

2018-05-07 Thread Jagan Teki
Unlike other Allwinner SOC's H3/H5/V3s OTG support 4 endpoints with relevant fifo configs, rest all have 5 endpoints. So add the fifo configs and defer them based on driver_data. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/usb/musb-new/sunxi.

[linux-sunxi] [PATCH v7 10/35] phy: Add Allwinner A64 USB PHY driver

2018-05-07 Thread Jagan Teki
pinctrl, clock and reset details from DT since the dm code on these will add it future. Driver named as phy-sun4i-usb.c since the same PHY logic work for all Allwinner SOC's start from 4I to A64 except 9I with different phy configurations. Signed-off-by: Jagan Teki <ja...@amarulasolutions.

[linux-sunxi] [PATCH v7 06/35] musb: sunxi: Add OTG device clkgate and reset for H3/H5

2018-05-07 Thread Jagan Teki
Add OTG device clkgate and reset for H3/H5 through driver_data. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/usb/musb-new/sunxi.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c

<    5   6   7   8   9   10   11   12   13   >