[linux-sunxi] 48KHz audio playback issue while streaming audio over Ethernet in Allwinner A20 chip

2016-06-28 Thread Dipen Parmar
Hi All, I am working on one of our product in which All winner A20 chip and Android Platform 4.4 with Linux Kernel 3.4 are used. We are streaming video over Ethernet with 100 Mbps speed on A20 as client and server running on some other device. I am getting appropriate video stream without any

[linux-sunxi] Re: [PATCH 1/3] clk: sunxi: Add a driver for the CCU

2016-06-28 Thread Michael Turquette
Quoting Maxime Ripard (2016-06-28 13:45:02) > What's the point of this, if we're not using (or exposing for that > matter) any of it? > > I'm sorry, but the whole point of the initial serie was to rework and > simplify things, precisely because dealing with the clk_factors code > was just too diff

[linux-sunxi] Re: [PATCH v2 03/14] dt-bindings: document sun8i_ths - H3 thermal sensor driver

2016-06-28 Thread Rob Herring
On Sat, Jun 25, 2016 at 05:45:00AM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > This patch adds the binding documentation for the > sun8i_ths driver. This is a driver for thermal sensor > found in Allwinner H3 SoC. > > Signed-off-by: Ondřej Jirman > --- > .../devicetree/bindings/t

[linux-sunxi] Re: [PATCH 1/3] clk: sunxi: Add a driver for the CCU

2016-06-28 Thread Maxime Ripard
On Tue, Jun 28, 2016 at 05:37:35PM +0200, Jean-Francois Moine wrote: > +/* --- prepare / enable --- */ > +int ccu_prepare(struct clk_hw *hw) > +{ > + struct ccu *ccu = hw2ccu(hw); > + > + if (!ccu->reset_reg && !ccu->bus_reg) > + return 0; > + > +#if CCU_DEBUG > + pr_info("*

Re: [linux-sunxi] [PATCH 1/3] clk: sunxi: Add a driver for the CCU

2016-06-28 Thread Ondřej Jirman
On 28.6.2016 17:37, Jean-Francois Moine wrote: > Most of the clocks in the Allwinner's SoCs are configured in the CCU > (Clock Configuration Unit). > > The PLL clocks are driven from the main clock. Their rates are controlled > by a set of multiply and divide factors, named from the Allwinner's >

[linux-sunxi] [PATCH 3/3] dt: sun8i: Define the clocks of the A83T

2016-06-28 Thread Jean-Francois Moine
Change the clock definition using the CCU. Signed-off-by: Jean-Francois Moine --- Documentation/devicetree/bindings/clock/sunxi.txt | 7 --- arch/arm/boot/dts/sun8i-a83t.dtsi | 16 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Documentation

[linux-sunxi] [PATCH 1/3] clk: sunxi: Add a driver for the CCU

2016-06-28 Thread Jean-Francois Moine
Most of the clocks in the Allwinner's SoCs are configured in the CCU (Clock Configuration Unit). The PLL clocks are driven from the main clock. Their rates are controlled by a set of multiply and divide factors, named from the Allwinner's documentation: - multipliers: 'n' and 'k' - dividers: 'd1',

[linux-sunxi] [PATCH 2/3] clk: sunxi: Add the A83T clocks

2016-06-28 Thread Jean-Francois Moine
Define the CCU clocks of the Allwinner's A83T Soc. Signed-off-by: Jean-Francois Moine --- drivers/clk/sunxi/Makefile | 1 + drivers/clk/sunxi/ccu-sun8i-a83t.c | 858 + include/dt-bindings/clock/sun8i-a83t.h | 97 include/dt-bindings/reset/s

[linux-sunxi] [PATCH 0/3] clk: sunxi: Simpler driver for Allwinner's clocks

2016-06-28 Thread Jean-Francois Moine
The 'sunxi-ng' proposal from Maxime Ripard did a great advance in handling the clocks of Allwinner's SoCs, but it appeared that it was not easy to extend its functions and handle some other SoCs as the A83T. This patch series proposes a more flexible and simpler structure. The basic idea is to hav

[linux-sunxi] USB OTG on Orange Pi PC

2016-06-28 Thread Ondřej Jirman
Hi, if anyone wants to play with the OTG port support on Orange Pi PC, you can try these patches: https://files.megous.com/orange-pi-dvfs/linux-4.7-OrangePI/usb-otg/ I don't have much time to test it extensively, but it seems to work. I'm not yet submitting them "formally". This is just a heads

[linux-sunxi] Re: [PATCH v2 04/14] regulator: SY8106A regulator driver

2016-06-28 Thread Ondřej Jirman
On 27.6.2016 16:54, Mark Brown wrote: > On Sun, Jun 26, 2016 at 05:07:16PM +0200, Ondřej Jirman wrote: >> On 26.6.2016 13:26, Mark Brown wrote: > >>> I'm missing almost all of this series, I've just got this and another >>> patch which look like a standalone driver so it's hard to see any >>> depe

[linux-sunxi] Re: [PATCH v2 01/14] ARM: clk: sunxi: Add driver for the H3 THS clock

2016-06-28 Thread Maxime Ripard
Hi, On Sat, Jun 25, 2016 at 05:23:12PM +0200, Ondřej Jirman wrote: > Hi Maxime, > > I try to base everything on the torvalds's kernel. > > I did notice the patches. Is there some main git tree/branch where this > work is tracked in? I'd gladly use it. I just pushed it, branch sunxi/pen/clk-rewo

[linux-sunxi] Re: [PATCH v2 02/14] thermal: sun8i_ths: Add support for the thermal sensor on Allwinner H3

2016-06-28 Thread Maxime Ripard
On Sat, Jun 25, 2016 at 05:12:41PM +0200, Ondřej Jirman wrote: > >> + data->calreg = devm_ioremap_resource(&pdev->dev, res); > >> + if (IS_ERR(data->calreg)) { > >> + ret = PTR_ERR(data->calreg); > >> + dev_err(&pdev->dev, "failed to ioremap THS registers: %d\n", > >> ret); > >