device to probe the same resource with proper device node.
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 62 +++-
1 file changed, 60 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun4i-a10.c
b/drivers/clk/sunxi-ng/ccu-sun4i-a10
-by: Priit Laes
---
.../net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 130 --
1 file changed, 122 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
b/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
index 0e1ca2cba3c7..206398f7a2af 100644
Use syscon-based approach to access gmac clock configuration
register instead of relying on a custom clock driver.
As a bonus, we can now drop the custom clock implementation
and the dummy clocks.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun6i-a31.dtsi | 35
Use syscon-based approach to access gmac clock configuration
register, instead of relying on a custom clock driver.
As a bonus, we can now drop the custom clock implementation
and dummy clocks making sun7i fully CCU-compatible.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20.dtsi
Now that driver supports syscon-based regmap access, document also the
devicetree binding.
Signed-off-by: Priit Laes
---
.../bindings/net/allwinner,sun7i-a20-gmac.yaml| 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git
a/Documentation/devicetree/bindings/net
n dwmac-sunxi driver.
* Make sure we don't mess with the RX/TX delay settings when updating
clock registers.
* Update devicetree bindings
* Add sun6i-A31 support. (not tested due to lack of hardware)
Priit Laes (6):
clk: sunxi-ng: a20: Register regmap for sun7i CCU
clk: sunxi-ng: a31: Register
device to probe the same resource with device node.
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 62 +++-
1 file changed, 60 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun6i-a31.c
b/drivers/clk/sunxi-ng/ccu-sun6i-a31.c
On Wed, Apr 29, 2020 at 11:46:08PM +0300, Priit Laes wrote:
I somehow messed up this patch when preparing the patchset,
so I'll resend the fixed patch with v3.
> On sun6i, the gmac clock is handled by the dwmac-sunxi driver, but
> its configuration register is located in the CCU register
On Wed, Apr 29, 2020 at 04:35:10PM +0200, Maxime Ripard wrote:
> Hi,
>
> On Mon, Apr 20, 2020 at 08:32:28PM +0000, Priit Laes wrote:
> > On Mon, Apr 20, 2020 at 02:49:35PM +0200, Maxime Ripard wrote:
> > > On Sat, Apr 18, 2020 at 01:17:27AM +0300, Priit Laes wrote:
>
device to probe the same resource with device node.
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 60 +++-
1 file changed, 58 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun6i-a31.c
b/drivers/clk/sunxi-ng/ccu-sun6i-a31.c
device to probe the same resource with proper device node.
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 60 +++-
1 file changed, 59 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun4i-a10.c
b/drivers/clk/sunxi-ng/ccu-sun4i-a10
Use syscon-based approach to access gmac clock configuration
register instead of relying on a custom clock driver.
As a bonus, we can now drop the custom clock implementation
and the dummy clocks.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun6i-a31.dtsi | 35
Now that driver supports syscon-based regmap access, document also the
devicetree binding.
Signed-off-by: Priit Laes
---
.../bindings/net/allwinner,sun7i-a20-gmac.yaml| 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git
a/Documentation/devicetree/bindings/net
-by: Priit Laes
---
.../net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 130 --
1 file changed, 122 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
b/drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c
index 0e1ca2cba3c7..206398f7a2af 100644
egacy" in dwmac-sunxi driver.
* Make sure we don't mess with the RX/TX delay settings when updating
clock registers.
* Update devicetree bindings
* Add sun6i-A31 support. (not tested due to lack of hardware)
Priit Laes (6):
clk: sunxi-ng: a20: Register regmap for sun7i CCU
clk: sunxi-ng: a31
Use syscon-based approach to access gmac clock configuration
register, instead of relying on a custom clock driver.
As a bonus, we can now drop the custom clock implementation
and dummy clocks making sun7i fully CCU-compatible.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20.dtsi
Heya!
I have seen following warning message for few times when shutting down the
machine (Olinuxino Lime2-emmc) running the mainline kernel.
[snip]
WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.h:41 i2c_transfer+0xe8/0xf4
No atomic I2C transfer handler for 'i2c-1'
Modules linked in: enc28j60
On Tue, May 28, 2019 at 02:58:57PM +0200, Paul Kocialkowski wrote:
> Hi,
>
> On Tue, 2019-05-28 at 09:35 +0300, Priit Laes wrote:
> > Lime2 has battery connector so enable these supplies.
>
> Out of curiosity, what is reported to userspace when no battery is
> attache
Lime2 has battery connector so enable these supplies.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
Lime2 has battery connector so enable these supplies.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
From: Priit Laes
Even though HDMI connector features hotplug detect pin (HPD), there
are older devices which do not support it. For these devices fall
back to additional check on I2C bus to probe for EDID data.
One known example is HDMI/DVI display with following edid:
$ xxd -p display.edid
From: Priit Laes
Make sure that A20 Olimex Lime2 pin bank regulators are
properly represented.
While pin banks A, B and F are connected to 3.3V static
regulator, pin banks E and G tied with LDO3 and LDO4 regulators
with 2.8V reference.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i
On Mon, Feb 11, 2019 at 04:34:02PM +0100, Maxime Ripard wrote:
> On Mon, Feb 11, 2019 at 02:35:52PM +0000, Priit Laes wrote:
> > On Wed, Feb 06, 2019 at 04:52:27PM +0100, Maxime Ripard wrote:
> > > Hi,
> > >
> > > On Wed, Feb 06, 2019 at 10:03:09AM +000
On Wed, Feb 06, 2019 at 04:52:27PM +0100, Maxime Ripard wrote:
> Hi,
>
> On Wed, Feb 06, 2019 at 10:03:09AM +0000, Priit Laes wrote:
> > > > I'm concerned for other users of the PLL-PERIPH clock. AFAIK
> > > > all of them, except the HRTIMER, expect the cl
On Thu, Feb 07, 2019 at 02:45:33PM +0800, Chen-Yu Tsai wrote:
> From: Quentin Schulz
>
> The AXP813 has a VBUS power input. Now that the axp20x_usb_power driver
> supports this variant, we can add an mfd cell for it to use it.
>
> Signed-off-by: Quentin Schulz
> [w...@csie.org: add commit
On Wed, Feb 06, 2019 at 10:20:00AM +0100, Maxime Ripard wrote:
> On Tue, Feb 05, 2019 at 09:44:02PM +0800, Chen-Yu Tsai wrote:
> > On Tue, Feb 5, 2019 at 5:45 PM Maxime Ripard
> > wrote:
> > >
> > > On Sat, Feb 02, 2019 at 05:52:09PM +0200, Priit Laes wrote:
>
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun4i-a10.c
b/drivers/clk/sunxi-ng/ccu-sun4i-a10.c
index 129ebd2588fd..605e13b4ef90 100644
--- a/drivers/clk/sunxi-ng/ccu-sun4i-a10.c
+++
From: Priit Laes
Even though HDMI connector features hotplug detect pin (HPD), there
are older devices which do not support it. For these devices fall
back to additional check on I2C bus to probe for EDID data.
One known example is HDMI/DVI display with following edid:
$ xxd -p display.edid
From: Priit Laes
Although TMDS clock is required for HDMI to properly function,
nobody called clk_prepare_enable(). This fixes reference counting
issues and makes sure clock is running when it needs to be running.
Due to TDMS clock being parent clock for DDC clock, TDMS clock
was turned on/off
On Mon, Jan 21, 2019 at 08:37:29AM +, Priit Laes wrote:
> On Fri, Jan 18, 2019 at 10:51:10PM +0100, Jernej Škrabec wrote:
> > Dne četrtek, 17. januar 2019 ob 08:24:02 CET je Priit Laes napisal(a):
> > > On Wed, Jan 16, 2019 at 06:00:32PM +0100, Jernej Škrabec wrote:
>
On Fri, Jan 18, 2019 at 10:51:10PM +0100, Jernej Škrabec wrote:
> Dne četrtek, 17. januar 2019 ob 08:24:02 CET je Priit Laes napisal(a):
> > On Wed, Jan 16, 2019 at 06:00:32PM +0100, Jernej Škrabec wrote:
> > > Dne sreda, 16. januar 2019 ob 13:09:58 CET je Priit Laes napisal(
On Wed, Jan 16, 2019 at 06:00:32PM +0100, Jernej Škrabec wrote:
> Dne sreda, 16. januar 2019 ob 13:09:58 CET je Priit Laes napisal(a):
> > On Thu, Jan 10, 2019 at 06:10:59PM +0100, Jernej Škrabec wrote:
> > > Dne četrtek, 10. januar 2019 ob 10:15:48 CET je Priit Laes napisal(
On Thu, Jan 10, 2019 at 06:10:59PM +0100, Jernej Škrabec wrote:
> Dne četrtek, 10. januar 2019 ob 10:15:48 CET je Priit Laes napisal(a):
> > On Sun, Nov 04, 2018 at 07:26:39PM +0100, Jernej Skrabec wrote:
> > > Currently MP clocks don't consider adjusting parent rate even if they
On Sun, Nov 04, 2018 at 07:26:39PM +0100, Jernej Skrabec wrote:
> Currently MP clocks don't consider adjusting parent rate even if they
> are allowed to do so. Such behaviour considerably lowers amount of
> possible rates, which is very inconvenient when such clock is used for
> pixel clock, for
On Fri, Dec 21, 2018 at 09:26:58AM +, Lee Jones wrote:
> On Fri, 21 Dec 2018, Priit Laes wrote:
>
> > On Fri, Dec 21, 2018 at 08:39:27AM +, Lee Jones wrote:
> > > On Tue, 11 Dec 2018, Priit Laes wrote:
> > >
> > > > From: Olliver Schinagl
On Fri, Dec 21, 2018 at 08:39:27AM +, Lee Jones wrote:
> On Tue, 11 Dec 2018, Priit Laes wrote:
>
> > From: Olliver Schinagl
> >
> > The current axp20x names the ramping register 'scal' which probably
> > means scaling. Since the register really has
Initial commit of set_ramp_delay feature was missing an assignment which
should have populated slew_rate table for dcdc2 regulator. Add it.
Fixes: d29f54df8b16 ("regulator: axp20x: add support for set_ramp_delay for
AXP209")
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-r
t 0.7 V,
> the ramp delay property is properly applied. If however, the bootloader
> leaves the power off, no ramp delay is applied when the power is
> enabled by the regulator framework.
>
> Signed-off-by: Olliver Schinagl
> Signed-off-by: Priit Laes
> Si
On Wed, Dec 12, 2018 at 12:14:57AM +1100, Julian Calaby wrote:
> Hi Priit and Olliver,
>
> On Tue, Dec 11, 2018 at 5:42 AM Priit Laes wrote:
> >
> > From: Olliver Schinagl
> >
> > The AXP209 supports ramping up voltages on several regulators such as
> >
This is a second edition of a series that implements voltage
ramping for AXP209 DCDC2 and LDO3 regulators and software
based soft-start for AXP209 LDO3 regulator.
Both features are needed to work around a PMIC shutdown when
toggling LDO3 on certain boards with high capacitance on the
LDO3 output.
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 85 +-
1 file changed, 85 insertions(+)
diff --git a/drivers/regulator/axp20x-regulator.c
b/drivers/regulator/axp20x
From: Olliver Schinagl
Add the bitops.h header as we need it, alphabetize header order.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/axp20x.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/mfd
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/axp20x.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt
b
regulator.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 55c9086..4e1c590
From: Olliver Schinagl
The AXP20X_OFF define is an actual specific bit, define it as such.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/axp20x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/axp20x.c
From: Olliver Schinagl
The current axp20x names the ramping register 'scal' which probably
means scaling. Since the register really has nothing to do with
scaling, but really is the voltage ramp we rename it appropriately.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked
that, we can set the requested voltage as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
come up slowly and staggered, potentially reducing overall inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/mfd
as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
enable voltage slowly and staggered, potentially reducing overall
inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 57 -
1 file
On Mon, Dec 10, 2018 at 08:42:11PM +0200, Priit Laes wrote:
> ramping for AXP209 DCDC2 and LDO3 regulators and software
> based soft-start for AXP209 LDO3 regulator.
Ugh.. managed to botch this series. I'll send a fixed one
today.
>
> Both features are needed to work around a PMIC s
From: Olliver Schinagl
The current axp20x names the ramping register 'scal' which probably
means scaling. Since the register really has nothing to do with
scaling, but really is the voltage ramp we rename it appropriately.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked
that, we can set the requested voltage as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
come up slowly and staggered, potentially reducing overall inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/mfd
as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
enable voltage slowly and staggered, potentially reducing overall
inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 57 -
1 file
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 85 +-
1 file changed, 85 insertions(+)
diff --git a/drivers/regulator/axp20x-regulator.c
b/drivers/regulator/axp20x
From: Olliver Schinagl
Add the bitops.h header as we need it, alphabetize header order.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/axp20x.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/mfd
regulator.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 55c9086..4e1c590
From: Olliver Schinagl
The AXP20X_OFF define is an actual specific bit, define it as such.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/axp20x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/axp20x.c
ramping for AXP209 DCDC2 and LDO3 regulators and software
based soft-start for AXP209 LDO3 regulator.
Both features are needed to work around a PMIC shutdown when
toggling LDO3 on certain boards with high capacitance on the
LDO3 output.
Similar features (or workarounds) have been also
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/axp20x.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt
b
On Wed, Nov 28, 2018 at 10:56:39AM +0100, Maxime Ripard wrote:
> On Tue, Nov 27, 2018 at 10:38:52AM +0100, Maxime Ripard wrote:
> > On Mon, Nov 26, 2018 at 05:27:50PM +0200, Priit Laes wrote:
> > > From: Olliver Schinagl
> > >
> > > With commit b43776d65a33
On Wed, Nov 28, 2018 at 10:56:39AM +0100, Maxime Ripard wrote:
> On Tue, Nov 27, 2018 at 10:38:52AM +0100, Maxime Ripard wrote:
> > On Mon, Nov 26, 2018 at 05:27:50PM +0200, Priit Laes wrote:
> > > From: Olliver Schinagl
> > >
> > > With commit b43776d65a33
On Tue, Nov 27, 2018 at 10:36:19AM +0100, Maxime Ripard wrote:
> On Mon, Nov 26, 2018 at 05:27:47PM +0200, Priit Laes wrote:
> > From: Olliver Schinagl
> >
> > In the past, there have been words on various lists that if LDO3 is
> > disabled in u-boot, but enabled in
On Tue, Nov 27, 2018 at 10:36:19AM +0100, Maxime Ripard wrote:
> On Mon, Nov 26, 2018 at 05:27:47PM +0200, Priit Laes wrote:
> > From: Olliver Schinagl
> >
> > In the past, there have been words on various lists that if LDO3 is
> > disabled in u-boot, but enabled in
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 85 +-
1 file changed, 85 insertions(+)
diff --git a/drivers/regulator/axp20x-regulator.c
b/drivers/regulator/axp20x
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 85 +-
1 file changed, 85 insertions(+)
diff --git a/drivers/regulator/axp20x-regulator.c
b/drivers/regulator/axp20x
From: Olliver Schinagl
The current axp20x names the ramping register 'scal' which probably
means scaling. Since the register really has nothing to do with
scaling, but really is the voltage ramp we rename it appropriately.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
include
ensure all constraints for the regulator are followed.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/core.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index
From: Olliver Schinagl
The current axp20x names the ramping register 'scal' which probably
means scaling. Since the register really has nothing to do with
scaling, but really is the voltage ramp we rename it appropriately.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
include
ensure all constraints for the regulator are followed.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/core.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index
that, we can set the requested voltage as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
come up slowly and staggered, potentially reducing overall inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/mfd
From: Olliver Schinagl
The AXP20X driver currently has several masks defined throughout the
code. Use nice defines to make them clean and more descriptive.
Additionally include bitops.h, which was missing before, and sort
headers.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
that, we can set the requested voltage as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
come up slowly and staggered, potentially reducing overall inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/mfd
From: Olliver Schinagl
The AXP20X driver currently has several masks defined throughout the
code. Use nice defines to make them clean and more descriptive.
Additionally include bitops.h, which was missing before, and sort
headers.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
From: Olliver Schinagl
The AXP20X_OFF define is an actual specific bit, define it as such.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/mfd/axp20x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index
From: Olliver Schinagl
The AXP20X_OFF define is an actual specific bit, define it as such.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/mfd/axp20x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index
From: Olliver Schinagl
The axp20x_usb_power driver uses BIT() operations but lacks the include
for it. Include the bitops.h header file.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/power/supply/axp20x_usb_power.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Olliver Schinagl
The lradc's analog reference voltage is set to 3.0 volt in the
hardware. This is more or less set in copper for at least lradc0. Set the
property in the dts to ensure the lradc is referenced properly.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
arch
regulator.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index b828677..ffafe97
This series implements voltage ramping for AXP209 DCDC2 and LDO3
regulators and software based soft-start for AXP209 LDO3 regulator.
Both features are needed to work around a PMIC shutdown when
toggling LDO3 on certain boards with high capacitance on the
LDO3 output.
Similar features (or
ulator-min-microvolt = <330>;
regulator-max-microvolt = <330>;
};
While doing this the same way results in the same solution currently,
we force the hack into the final devicetree rather then having it wrong
at the board level.
Signed-off-by: Olliver Schinagl
Signed-off-by: Pri
From: Olliver Schinagl
Add the bitops.h header as we need it, alphabetize header order.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/mfd/axp20x.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/mfd/axp20x.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt
b/Documentation/devicetree
From: Olliver Schinagl
The axp20x_usb_power driver uses BIT() operations but lacks the include
for it. Include the bitops.h header file.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/power/supply/axp20x_usb_power.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Olliver Schinagl
The lradc's analog reference voltage is set to 3.0 volt in the
hardware. This is more or less set in copper for at least lradc0. Set the
property in the dts to ensure the lradc is referenced properly.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
arch
regulator.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index b828677..ffafe97
This series implements voltage ramping for AXP209 DCDC2 and LDO3
regulators and software based soft-start for AXP209 LDO3 regulator.
Both features are needed to work around a PMIC shutdown when
toggling LDO3 on certain boards with high capacitance on the
LDO3 output.
Similar features (or
ulator-min-microvolt = <330>;
regulator-max-microvolt = <330>;
};
While doing this the same way results in the same solution currently,
we force the hack into the final devicetree rather then having it wrong
at the board level.
Signed-off-by: Olliver Schinagl
Signed-off-by: Pri
From: Olliver Schinagl
Add the bitops.h header as we need it, alphabetize header order.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/mfd/axp20x.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd
the power is
enabled by the regulator framework.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/mfd/axp20x.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt
b/Documentation/devicetree
as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
enable voltage slowly and staggered, potentially reducing overall
inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 57 -
1 file
as usual.
Combining this setting with the regulator-ramp-delay allows LDO3 to
enable voltage slowly and staggered, potentially reducing overall
inrush current.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/regulator/axp20x-regulator.c | 57 -
1 file
From: Olliver Schinagl
Make use of the recommended BIT() macro for bit defines.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/power/supply/axp288_charger.c | 35 ++--
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/drivers/power
From: Olliver Schinagl
Make use of the recommended BIT() macro for bit defines.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/power/supply/axp288_charger.c | 35 ++--
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/drivers/power
On Sun, Nov 18, 2018 at 01:35:57PM -0600, Larry Finger wrote:
> On 11/18/18 2:23 AM, Priit Laes wrote:
> > On Sat, Nov 17, 2018 at 09:31:35PM -0600, Larry Finger wrote:
> > > On 11/14/18 12:27 PM, Priit Laes wrote:
> > > > Kernel library has a common cordi
On Sun, Nov 18, 2018 at 01:35:57PM -0600, Larry Finger wrote:
> On 11/18/18 2:23 AM, Priit Laes wrote:
> > On Sat, Nov 17, 2018 at 09:31:35PM -0600, Larry Finger wrote:
> > > On 11/14/18 12:27 PM, Priit Laes wrote:
> > > > Kernel library has a common cordi
On Mon, Nov 19, 2018 at 12:43:32PM +0200, Kalle Valo wrote:
> Larry Finger writes:
>
> @@ -1570,10 +1571,10 @@ static u16 b43_nphy_gen_load_samples(struct
> b43_wldev *dev, u32 freq, u16 max,
> angle = 0;
> for (i = 0; i < len; i++) {
> -
On Mon, Nov 19, 2018 at 12:43:32PM +0200, Kalle Valo wrote:
> Larry Finger writes:
>
> @@ -1570,10 +1571,10 @@ static u16 b43_nphy_gen_load_samples(struct
> b43_wldev *dev, u32 freq, u16 max,
> angle = 0;
> for (i = 0; i < len; i++) {
> -
is only compile-tested, as I
do not have access to the hardware.
Changes:
- Merged brcmsmac driver patches into single patch
- Merged b43 driver patches into single patch
Priit Laes (3):
lib: cordic: Move cordic macros and defines to header file
brcmsmac: Use cordic-related macros from common
Current driver includes macro that is available from general cordic
library. Use that and drop unused duplicate and unneeded internal
definitions.
Signed-off-by: Priit Laes
---
v2: Use single patch instead of change/removal patches.
---
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy
Also append CORDIC_ prefix to nonprefixed macros.
Signed-off-by: Priit Laes
---
include/linux/cordic.h | 9 +
lib/cordic.c | 23 +++
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/include/linux/cordic.h b/include/linux/cordic.h
index
is only compile-tested, as I
do not have access to the hardware.
Changes:
- Merged brcmsmac driver patches into single patch
- Merged b43 driver patches into single patch
Priit Laes (3):
lib: cordic: Move cordic macros and defines to header file
brcmsmac: Use cordic-related macros from common
1 - 100 of 496 matches
Mail list logo