[linux-sunxi] Re: [PATCH v3 4/4] regulator: axp20x: add the AXP813

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 09:22:41AM +0200, Jean-Francois Moine wrote: > The X-Powers AXP813 PMIC is close to the AXP803. > It is used in some Allwinner boards as the Sinovoip BananaPi M3+. > > Signed-off-by: Jean-Francois Moine > --- >

[linux-sunxi] Re: [PATCH v3 3/4] regulator: axp20x: add the AXP803

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 09:00:42AM +0200, Jean-Francois Moine wrote: > The X-Powers AXP803 PMIC is close to the AXP809 with more outputs. > It is used in some Allwinner boards as the Sinovoip BananaPi M64 > and the Pine A64. > > Signed-off-by: Jean-Francois Moine > --- > not

Re: [linux-sunxi] SPI in Linux 4.8.0-rc6: Weird dip in SCLK right when slave select goes low

2016-09-23 Thread Siarhei Siamashka
On Fri, 23 Sep 2016 10:48:11 +0300 Maxime Ripard wrote: > On Fri, Sep 23, 2016 at 04:03:57AM +0300, Siarhei Siamashka wrote: > > On Thu, 22 Sep 2016 23:52:52 +0200 > > Danny Milosavljevic wrote: > > > > > Hello, > > > > > > when

[linux-sunxi] Re: [PATCH v5 1/3] ASoC: sun4i-codec: Rename sun4i_codec_widgets for consistency

2016-09-23 Thread Maxime Ripard
Hi, On Thu, Sep 22, 2016 at 09:13:11AM +0200, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Rename "sun4i_codec_widgets" to "sun4i_codec_controls" for > consistency with the struct field name. Your commit log still has the flaws your other patches had in the previous version. Maxime --

Re: [linux-sunxi] Get SoC temperature and cpu frequency on SinA33

2016-09-23 Thread Maxime Ripard
Hi Ciprian, On Fri, Sep 23, 2016 at 04:13:27AM -0700, Ciprian Manea wrote: > >I'm trying to determine the thermal throttling on the A33, but in order > to do that I need to read the > cpu frequency and the SoC temperature. > > But I see no entry in the sysfs related to the soc temp

[linux-sunxi] Get SoC temperature and cpu frequency on SinA33

2016-09-23 Thread Ciprian Manea
I'm trying to determine the thermal throttling on the A33, but in order to do that I need to read the cpu frequency and the SoC temperature. But I see no entry in the sysfs related to the soc temp or cpu freq.. Anyone knows if there is any work done in this direction or how to enable

[linux-sunxi] [PATCH v3 3/4] regulator: axp20x: add the AXP803

2016-09-23 Thread Jean-Francois Moine
The X-Powers AXP803 PMIC is close to the AXP809 with more outputs. It is used in some Allwinner boards as the Sinovoip BananaPi M64 and the Pine A64. Signed-off-by: Jean-Francois Moine --- not tested --- Documentation/devicetree/bindings/mfd/axp20x.txt | 32 +++-

[linux-sunxi] [PATCH v3 1/4] regulator: axp20x: move device independant parts to new files

2016-09-23 Thread Jean-Francois Moine
The axp20x driver contains device specific and device independant parts. This patch moves the independant parts to new .c/.h files. Signed-off-by: Jean-Francois Moine --- drivers/regulator/Makefile | 2 +- drivers/regulator/axp-regulator.c| 308

[linux-sunxi] [PATCH v3 2/4] regulator: axp20x: duplicate the MFD axp20x-rsb code

2016-09-23 Thread Jean-Francois Moine
The axp20x rsb driver handles many different devices. Duplicating its code in a generic regulator driver permits to probe/remove individual devices. Signed-off-by: Jean-Francois Moine --- drivers/regulator/axp-regulator.c | 39 +++

[linux-sunxi] [PATCH v3 4/4] regulator: axp20x: add the AXP813

2016-09-23 Thread Jean-Francois Moine
The X-Powers AXP813 PMIC is close to the AXP803. It is used in some Allwinner boards as the Sinovoip BananaPi M3+. Signed-off-by: Jean-Francois Moine --- Documentation/devicetree/bindings/mfd/axp20x.txt | 9 +- drivers/mfd/axp20x.c | 2 +

[linux-sunxi] [PATCH v3 0/4] regulator: axp20x: support AXP803/AXP813 variants

2016-09-23 Thread Jean-Francois Moine
This patch series adds support for the X-Powers AXP803 and AXP813 PMICs. It is based on the previous patch series regulator: axp20x: Simplify various code v3: - put the code of the new devices in new files instead of in the common axp20x file. - fix errors about the regulators and

[linux-sunxi] [PATCH 1/3] regulator: axp20x: simplify poly-phase handling

2016-09-23 Thread Jean-Francois Moine
Building a list (bitmap) of the slaves included in poly-phase groups at probe startup time simplifies the treatment in the regulator creation loop. Signed-off-by: Jean-Francois Moine --- drivers/regulator/axp20x-regulator.c | 45 +--- 1 file

[linux-sunxi] [PATCH 0/3] regulator: axp20x: Simplify various code

2016-09-23 Thread Jean-Francois Moine
This patch series just simplifies a bit the code of the AXP20x driver. It does not contain any fonctional changes. It will be used as a base for adding new AXP devices (patches to come). It applies on linux-next. Jean-Francois Moine (3): regulator: axp20x: simplify poly-phase handling

[linux-sunxi] [PATCH 2/3] regulator: axp20x: simplify the treatment of linked regulators

2016-09-23 Thread Jean-Francois Moine
Using ancillary variables for handling the linked regulators simplifies the loop of regulator creation and makes easier the addition of new regulator types. Signed-off-by: Jean-Francois Moine --- drivers/regulator/axp20x-regulator.c | 24 1 file

[linux-sunxi] [PATCH 3/3] regulator: axp20x: simplify device access

2016-09-23 Thread Jean-Francois Moine
Use the pointer to the main regulator device instead of the pointer to the child platform device. Signed-off-by: Jean-Francois Moine --- drivers/regulator/axp20x-regulator.c | 45 ++-- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git

Re: [linux-sunxi] SPI in Linux 4.8.0-rc6: Weird dip in SCLK right when slave select goes low

2016-09-23 Thread Maxime Ripard
On Fri, Sep 23, 2016 at 04:03:57AM +0300, Siarhei Siamashka wrote: > On Thu, 22 Sep 2016 23:52:52 +0200 > Danny Milosavljevic wrote: > > > Hello, > > > > when using SPI on Allwinner A20 with CPOL=1 and CPHA=1 with Linux 4.8.0-rc6 > > Psychotic Stoned Sheep I see a weird

Re: [linux-sunxi] SPI in Linux 4.8.0-rc6: Weird dip in SCLK right when slave select goes low

2016-09-23 Thread Maxime Ripard
Hi Danny, On Thu, Sep 22, 2016 at 11:52:52PM +0200, Danny Milosavljevic wrote: > Hello, > > when using SPI on Allwinner A20 with CPOL=1 and CPHA=1 with Linux > 4.8.0-rc6 Psychotic Stoned Sheep I see a weird dip in the beginning > (which also confuses the slave) on the SCLK line right when SSEL >