Re: [linux-sunxi] Re: [PATCH 4/6] pwm: sun4i: Add support for H6 PWM

2019-07-30 Thread Uwe Kleine-König
On Tue, Jul 30, 2019 at 07:06:01PM +0200, Maxime Ripard wrote: > On Tue, Jul 30, 2019 at 10:09:00AM +0200, Uwe Kleine-König wrote: > > Hello Rob and Frank, > > > > Maxime and Jernej on one side and me on the other cannot agree about a > > detail in the change to the bindings here. I'm trying to obj

Re: [linux-sunxi] Re: thermal zones on R40

2019-07-30 Thread @lex
Ok, Changing from 42 to 42000 seems to be the correct way. Cpu frequency scales from 480 ~ 1008 Mhz but is always at 1,10v. Board runs stable with a full load. Any idea of how to scale core vdd from 1,0 ~ 1,30v and scale frequency ~ 1200 Mhz? Gpu temp is also missing, ls /sys/devices/virtual/th

[linux-sunxi] DDR3 Layout Constraints for Allwinner R16

2019-07-30 Thread Craig Swanson
I am creating the schematics that are similar to the BPi-M2M board. 1) Bypass Caps - I see values in the schematic that are 22uF, 4.7uF, 1.0uF, and then 104. What value is 104 2) I am using an average dielectric like FR-4. Routing topology for DDR3 has critical length matching for Point-to-

Re: [linux-sunxi] Re: [PATCH v4 6/9] ASoC: sun4i-i2s: Add multi-lane functionality

2019-07-30 Thread Jernej Škrabec
Hi! Dne torek, 04. junij 2019 ob 11:38:44 CEST je Code Kipper napisal(a): > On Tue, 4 Jun 2019 at 11:02, Christopher Obbard wrote: > > On Tue, 4 Jun 2019 at 09:43, Code Kipper wrote: > > > On Tue, 4 Jun 2019 at 09:58, Maxime Ripard wrote: > > > > On Mon, Jun 03, 2019 at 07:47:32PM +0200, codek

[linux-sunxi] Re: [PATCH] ASoC: sun4i-i2s: Incorrect SR and WSS computation

2019-07-30 Thread Maxime Ripard
On Mon, Jul 29, 2019 at 05:21:30PM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > The A64 audio codec uses the original I2S block but the SR and > WSS computation currently assigned is for the newer block. > > Fixes: 619c15f7fac9 (ASoC: sun4i-i2s: Change SR and WSS computation) > Sig

Re: [linux-sunxi] Re: thermal zones on R40

2019-07-30 Thread @lex
I was just thinking about the resolution of the values, shouldn't it be something like 42000 and not only 42 for the thermal throttling to occur? Any thoughts? On Tuesday, July 30, 2019 at 10:13:57 AM UTC-3, @lex wrote: > > Clément, > > You are right. > The formula now gives some sane values. >

Re: [linux-sunxi] Re: thermal zones on R40

2019-07-30 Thread @lex
Clément, You are right. The formula now gives some sane values. static int sun8i_ths_get_temp(void *_data, int *out) { struct sun8i_ths_data *data = _data; int temperature; if (data->temp == 0) return -EBUSY; /* Formula and parameters from the Allwinner 4.4 BSP kernel */ temperat

Re: [linux-sunxi] Re: [PATCH 4/6] pwm: sun4i: Add support for H6 PWM

2019-07-30 Thread Chen-Yu Tsai
On Tue, Jul 30, 2019 at 4:09 PM Uwe Kleine-König wrote: > > Hello Rob and Frank, > > Maxime and Jernej on one side and me on the other cannot agree about a > detail in the change to the bindings here. I'm trying to objectively > summarize the situation for you to help deciding what is the right th

Re: [linux-sunxi] Re: thermal zones on R40

2019-07-30 Thread Clément Péron
Hi Alex, On Tue, 30 Jul 2019 at 01:15, @lex wrote: > > Clément, > > I gave it a try but still something missing. > > cat /sys/class/thermal/thermal_zone0/temp > 22506 > cat /sys/class/thermal/thermal_zone0/temp > 22471 > cat /sys/class/thermal/thermal_zone0/temp > 22471 > cat /sys/class/thermal/t

Re: [linux-sunxi] Re: [PATCH 4/6] pwm: sun4i: Add support for H6 PWM

2019-07-30 Thread Uwe Kleine-König
Hello Rob and Frank, Maxime and Jernej on one side and me on the other cannot agree about a detail in the change to the bindings here. I'm trying to objectively summarize the situation for you to help deciding what is the right thing to do here. TLDR: The sun4i pwm driver is extended to support a

[linux-sunxi] Re: [PATCH v7 0/4] HEVC/H.265 stateless support for V4L2 and Cedrus

2019-07-30 Thread Hans Verkuil
On 7/27/19 11:57 AM, Paul Kocialkowski wrote: > Hi Hans, > > On Fri 26 Jul 19, 10:33, Hans Verkuil wrote: >> On 7/25/19 8:55 PM, Paul Kocialkowski wrote: >>> HEVC/H.265 stateless support for V4L2 and Cedrus >>> >>> This is early support for HEVC/H.265 stateless decoding in V4L2, >>> including both