[PATCH 07/18] arm64: dts: renesas: beacon: Fix LVDS PWM Backlight

2020-12-13 Thread Adam Ford
The backlight didn't really work correctly due to some updates that were made in hardware. It should be safe to apply these, because the older hardware was never shipped to anyone, so it shouldn't break anything. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi

[PATCH 08/18] arm64: dts: renesas: beacon: Enable SCIF4

2020-12-13 Thread Adam Ford
The baseboard supports SCIF4, enable the pins and the node for it. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi| 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts

[PATCH 05/18] arm64: dts: renesas: beacon: Fix audio-1.8V pin enable

2020-12-13 Thread Adam Ford
The fact the audio worked at all was a coindicence because the wrong gpio enable was used. Use the correct GPIO pin to ensure its operation. Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beac

[PATCH 01/18] arm64: dts: renesas: beacon kit: Configure programmable clocks

2020-12-13 Thread Adam Ford
When the board was added, clock drivers were being updated done at the same time to allow the versaclock driver to properly configure the modes. Unforutnately, the updates were not applied to the board files at the time they should have been, so do it now. Signed-off-by: Adam Ford --- .../dts

[PATCH 00/18] arm64: dts: renesas: Cleanup Beacon Kit and support more SoC's

2020-12-13 Thread Adam Ford
This series contains minor fixes and some reorganization to better support the hardware and add two new kits to which reuse the same SOM and baseboard files. Adam Ford (18): arm64: dts: renesas: beacon kit: Configure programmable clocks arm64: dts: renesas: beacon kit: Fix choppy Bluetooth

[PATCH 14/18] arm64: dts: renesas: beacon: Correct I2C bus speeds

2020-12-13 Thread Adam Ford
For greater compatibility with upcoming kits that will reuse the baseboard and SOM-level files, adjust the I2C speeds to make it the most compatible with all devices. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 2 +- arch/arm64/boot/dts/renesas

[PATCH 13/18] arm64: dts: renesas: beacon: Enable SPI

2020-12-13 Thread Adam Ford
The baseboard routes the SPI to a header which can/will be configured at either the kit level or using device tree overlays. Because the baseboard be supporting more than one kit, enable at the baseboard level rather than a bunch of duplicates later. Signed-off-by: Adam Ford --- .../boot/dts

[PATCH 03/18] arm64: dts: renesas: beacon kit: Remove unnecessary nodes

2020-12-13 Thread Adam Ford
VSPI0 and VSPB are already enabled by default. There is no need to add extra nodes to enable them. Remove the redundant nodes. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH 12/18] arm64: dts: renesas: beacon: Better describe keys

2020-12-13 Thread Adam Ford
The keys on the baseboard are laid out in an diamond pattern, up, down, left, right and center. Update the descriptions to make it easier to read. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 20 +-- 1 file changed, 10 insertions(+), 10 deletions

[PATCH 17/18] arm64: dts: renesas: Introduce r8a774b1-beacon-rzg2n-kit

2020-12-13 Thread Adam Ford
for a parallel RGB and an LVDS display. It uses the same baseboard and SOM as the RZ/G2M. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/Makefile | 1 + .../dts/renesas/r8a774b1-beacon-rzg2n-kit.dts | 43 +++ 2 files changed, 44 insertions(+) diff --git a/arch/arm64

[PATCH 18/18] arm64: dts: renesas: Introduce r8a774e1-beacon-rzg2h-kit

2020-12-13 Thread Adam Ford
for a parallel RGB and an LVDS display. It uses the same baseboard and SOM files as the RZ/G2M and RZ/G2N kits. Signed-off-by: Adam Ford --- .../dts/renesas/r8a774e1-beacon-rzg2h-kit.dts | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1-beacon

[PATCH 15/18] arm64: dts: renesas: beacon-rzg2m-kit: Rearange SoC unique functions

2020-12-13 Thread Adam Ford
In preparation for adding new dev kits, move anything specific to the RZ/G2M from the SOM-level and baseboard-levels and move them to the kit-level. This allows the SOM and baseboard to be reused with other SoC's. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi

[PATCH 10/18] arm64: dts: renesas: Don't make vccq_sdhi0 always on

2020-12-13 Thread Adam Ford
vccq_sdhi0 is referenced from sdhi0, so there is no need to force this regualtor to be always-on. In theory it could help with low power modes in the future. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 16/18] dt-bindings: arm: renesas: Add Beacon RZ/G2N and RZ/G2H boards

2020-12-13 Thread Adam Ford
Add beacon,beacon-rzg2n and beacon,beacon-rzg2h to the bindings list. Signed-off-by: Adam Ford --- Documentation/devicetree/bindings/arm/renesas.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm

[PATCH 02/18] arm64: dts: renesas: beacon kit: Fix choppy Bluetooth Audio

2020-12-13 Thread Adam Ford
: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beac

[PATCH 11/18] arm64: dts: renesas: beacon: Remove redundant audio code

2020-12-13 Thread Adam Ford
The SoC's DTSI file already configures this. There is no need to do it again. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 17 - 1 file changed, 17 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch

[PATCH 04/18] arm64: dts: renesas: beacon kit: Fix Audio Clock sources

2020-12-13 Thread Adam Ford
and enable the clock for audio_clk_a. The choice to use a fixed-factor-clock was due to the fact that it will automatically enable the programmable clock frequency without change any code. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi| 11 +++ 1 file changed

[PATCH 09/18] arm64: dts: renesas: beacon: Fix RGB Display PWM Backlight

2020-12-13 Thread Adam Ford
the backlight to use DPI for consistency. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon

Re: [RFC] ravb: Add support for optional txc_refclk

2020-12-12 Thread Adam Ford
On Sat, Dec 12, 2020 at 11:55 AM Sergei Shtylyov wrote: > > Hello! > > On 12.12.2020 19:56, Adam Ford wrote: > > > The SoC expects the txv_refclk is provided, but if it is provided > > by a programmable clock, there needs to be a way to get and enable > >

[RFC] ravb: Add support for optional txc_refclk

2020-12-12 Thread Adam Ford
The SoC expects the txv_refclk is provided, but if it is provided by a programmable clock, there needs to be a way to get and enable this clock to operate. It needs to be optional since it's only necessary for those with programmable clocks. Signed-off-by: Adam Ford diff --git a/drivers/net

Re: [PATCH] x86/kprobes: Fix optprobe to detect padding int3 correctly

2020-12-11 Thread Adam Zabrocki
r ftrace_enable_sysctl+0x0[OPTIMIZED] root@pi3:~/off-debug/git/lkrg# gef➤ x/2i ftrace_enable_sysctl 0x813050e0 : jmp0xc062807a 0x813050e5 : push r14 Thanks, Adam On Fri, Dec 11, 2020 at 11:39:15AM -0800, Kees Cook wrote: > On Fri, Dec 11, 2020 at

Re: [PATCH] arm64: dts: imx8mn: Fix duplicate node name

2020-12-10 Thread Adam Ford
A needs to start at the same place as the AIPS1, but AIPS1 goes from 3000_ to 303F_, so the spba-bus is a subset of the AIPS1. NXP/Freescale has a variety of SoC's that use the SPBA and in every instance, they do it this way. Having the spba-bus with the same starting address of its pare

Re: KRETPROBES are broken since kernel 5.8

2020-12-10 Thread Adam Zabrocki
n happen when text section is being actively modified. However, this case could be covered by running the optimizer logic under text_mutex. > But if the gcc uses int3 to pad the room between functions, it should be > reconsidered. > Looks like it's a default behavior now. > Thank you, >

Re: KRETPROBES are broken since kernel 5.8

2020-12-09 Thread Adam Zabrocki
Hi, On Thu, Dec 10, 2020 at 10:25:07AM +0900, Masami Hiramatsu wrote: > Hi Adam, > > Thank you for reporting and debugging, actually we had investigated this > issue in Aug. Please read this thread. > > https://lkml.kernel.org/r/8816bdbbc55c4d2397e0b02aad282...@trendmi

KRETPROBES are broken since kernel 5.8

2020-12-09 Thread Adam Zabrocki
PTIMIZER which was turning most of the KPROBES to be FTRACE so essentially if someone registered KRETPROBE, buggy code was not invoked (FTRACE code was executed instead). However, the optimizer was changed and can't optimize as many functions anymore (probably another bug which might be worth to inv

RE: [PATCH V4 01/10] regulator: Update DA9121 dt-bindings

2020-12-08 Thread Adam Ward
On Mon, Dec 07, 2020 at 17:58PM, Rob Herring wrote: > > +properties: > > + regulator-mode: > > +maxItems: 1 > > +description: Defined in > > include/dt-bindings/regulator/dlg,da9121- > regulator.h > > 'regulator-mode' is defined as a property of a >

RE: [PATCH] regulator: da9121: Potential Oops in da9121_assign_chip_model()

2020-12-08 Thread Adam Ward
Acked-by: Adam Ward > -Original Message- > From: Dan Carpenter > Sent: 07 December 2020 17:56 > To: Support Opensource ; Adam Ward > > Cc: Liam Girdwood ; Mark Brown > ; linux-kernel@vger.kernel.org; kernel- > janit...@vger.kernel.org > Subject: [PATCH] r

[PATCH 1/2] regulator: da9121: Remove uninitialised string variable

2020-12-07 Thread Adam Ward
Erroneously left in when switched to using of_parse_cb() Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regulator.c index db1c2cc..ed68259

[PATCH 2/2] regulator: da9121: Fix index used for DT property

2020-12-07 Thread Adam Ward
Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regulator.c index ed68259..9d5b02f 100644 --- a/drivers/regulator/da9121-regulator.c +++ b

[PATCH 0/2] regulator: da9121: bug fixes

2020-12-07 Thread Adam Ward
This patch fixes a couple of bugs in the DA9121 driver. One in an uninialised string I forgot to remove when changing to of_parse_cb() The other is an index for an optional DT property which overflows Adam Ward (2): regulator: da9121: Remove uninitialised string variable regulator: da9121

Re: [PATCH] clk: imx: Fix reparenting of UARTs not associated with sdout

2020-12-07 Thread Adam Ford
On Sun, Dec 6, 2020 at 11:24 PM Sascha Hauer wrote: > > Hi Adam, > > On Fri, Dec 04, 2020 at 12:31:54PM -0600, Adam Ford wrote: > > The default clock source on i.MX8M Mini and Nano boards use a 24MHz clock, > > but users who need to re-parent the clock source run int

Re: [PATCH] tty: Remove dead termiox code

2020-12-07 Thread Adam Borowski
On Fri, Dec 04, 2020 at 10:10:16AM +0100, Greg Kroah-Hartman wrote: > On Fri, Dec 04, 2020 at 09:51:07AM +0100, Jiri Slaby wrote: > > > > > On Fri, Dec 04, 2020 at 08:22:41AM +0100, Jiri Slaby wrote: > > > > > > On 03. 12. 20, 3:03, Jann Horn wrote: > > > > > > > Delete this dead code; but leave

[PATCH] clk: imx: Fix reparenting of UARTs not associated with sdout

2020-12-04 Thread Adam Ford
after the re-parenting of the clocks. Fixes: 9461f7b33d11c ("clk: fix CLK_SET_RATE_GATE with clock rate protection") Suggested-by: Aisheng Dong Signed-off-by: Adam Ford diff --git a/drivers/clk/imx/clk.c b/drivers/clk/imx/clk.c index 47882c51cb85..6dcc5fbd8f3f 100644 --- a/drivers/clk

RE: [PATCH -next] regulator: da9121: Mark some symbols with static keyword

2020-12-03 Thread Adam Ward
Acked-by: Adam Ward > -Original Message- > From: Zou Wei > Sent: 03 December 2020 11:27 > To: Support Opensource ; > lgirdw...@gmail.com; broo...@kernel.org > Cc: linux-kernel@vger.kernel.org; Zou Wei > Subject: [PATCH -next] regulator: da9121: Mark some symbols

[PATCH] arm64: dts: imx8mm-beacon: Fix WiFi Pinmuxing

2020-12-02 Thread Adam Ford
-Mini development kit") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index 6de86a4f0ec4..90fd15e95798 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +++ b/arch/arm64/boot/dts

[PATCH V2 0/1] regulator: da9121: add IRQ free to release function

2020-12-02 Thread Adam Ward
This patch fixes the DA9121 driver to disable the IRQ before cancelling the work, to be sure the IRQ doesn't restart it before all IRQs are masked V2: - Fix to release IRQ if regmap error fails probe Adam Ward (1): regulator: da9121: Request IRQ directly and free in release function

[PATCH V2 1/1] regulator: da9121: Request IRQ directly and free in release function to avoid masking race

2020-12-02 Thread Adam Ward
Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regulator.c index d9a8a4b..3ead6a1 100644 --- a/drivers/regulator/da9121-regulator.c

[PATCH 1/1] regulator: da9121: Request IRQ directly and free in release function to avoid masking race

2020-12-01 Thread Adam Ward
Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regulator.c index d9a8a4b..3e59f68 100644 --- a/drivers/regulator/da9121-regulator.c +++ b

[PATCH 0/1] regulator: da9121: add IRQ free to release function

2020-12-01 Thread Adam Ward
This patch fixes the DA9121 driver to disable the IRQ before cancelling the work, to be sure the IRQ doesn't restart it before all IRQs are masked Adam Ward (1): regulator: da9121: Request IRQ directly and free in release function to avoid masking race drivers/regulator/da9121-regulator.c

RE: [PATCH V3 00/10] regulator: da9121: extend support to variants, add features

2020-12-01 Thread Adam Thomson
On 01 December 2020 13:58, Mark Brown wrote: > On Mon, 30 Nov 2020 16:59:04 +0000, Adam Ward wrote: > > This series extends the DA9121 driver to add support for related products: > > > > DA9130, 10A, Dual-Phase (Automotive Grade) > > DA9122, 5A + 5A > >

[PATCH V4 10/10] regulator: da9121: add interrupt support

2020-12-01 Thread Adam Ward
Adds interrupt handler for variants, and notifications for events; over temperature/voltage/current. Because the IRQs are triggered by persisting status, they must be masked and the status polled until clear, before the IRQ can be enabled again. Signed-off-by: Adam Ward --- drivers/regulator

[PATCH V4 07/10] regulator: da9121: Update registration to support multiple buck variants

2020-12-01 Thread Adam Ward
Add function which iterates the regulator descriptors for the confirmed variant ID and registers each buck. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 44 +--- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/drivers

[PATCH V4 04/10] regulator: da9121: Add device variant regmaps

2020-12-01 Thread Adam Ward
Add ability to probe device and validate configuration, then apply a regmap configuration for a single or dual buck device accordingly. Signed-off-by: Adam Ward --- drivers/regulator/Kconfig| 14 +- drivers/regulator/da9121-regulator.c | 244

[PATCH V4 08/10] regulator: da9121: add current support

2020-12-01 Thread Adam Ward
This commit adds support for getting/setting current for all supported variants. Limits are adjusted per variant to match HW implementation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 113 +++ 1 file changed, 113 insertions(+) diff --git

[PATCH V4 09/10] regulator: da9121: add mode support

2020-12-01 Thread Adam Ward
Adds get/set for mode, and mapping from REGULATOR_MODE_* to select PFM/PWM/Auto operation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 74 1 file changed, 74 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers

[PATCH V4 03/10] regulator: da9121: Add device variants

2020-12-01 Thread Adam Ward
Add basic support for configuration to reference variants of this device, and track the selected variant within the driver. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git

[PATCH V4 06/10] regulator: da9121: Add support for device variants via devicetree

2020-12-01 Thread Adam Ward
Add devicetree configuration and device variant parameters. Use the latter to enable the check and use of parameters specific to dual buck variants. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 119 +++ include/linux/regulator/da9121.h

[PATCH V4 05/10] regulator: da9121: Add device variant descriptors

2020-12-01 Thread Adam Ward
Descriptors for bucks in all variants, ready for of_regulator_match Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 110 +++ 1 file changed, 110 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121

[PATCH V4 00/10] regulator: da9121: extend support to variants, add features

2020-12-01 Thread Adam Ward
exit Adam Ward (10): regulator: Update DA9121 dt-bindings regulator: da9121: Add header file regulator: da9121: Add device variants regulator: da9121: Add device variant regmaps regulator: da9121: Add device variant descriptors regulator: da9121: Add support for device variants via

[PATCH V4 01/10] regulator: Update DA9121 dt-bindings

2020-12-01 Thread Adam Ward
, including the DA9211 family. This breaks compatibility with the original submission by Vincent Whitchurch - but as this is still in for-next, the alignment could be made before upstreaming occurs. Signed-off-by: Adam Ward --- .../devicetree/bindings/regulator/dlg,da9121.yaml | 164

[PATCH V4 02/10] regulator: da9121: Add header file

2020-12-01 Thread Adam Ward
Add header file for Dialog Semiconductor DA9121 regulator and related devices, mostly autogenerated from the chip design databases, and update driver to replace local defines with those from header. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 15 +- drivers/regulator

Re: [PATCH V4 1/3] dt-bindings: arm: fsl: Add beacon,imx8mn-beacon-kit

2020-11-30 Thread Adam Ford
On Mon, Nov 9, 2020 at 9:32 PM Shawn Guo wrote: > > On Sat, Nov 07, 2020 at 08:48:08AM -0600, Adam Ford wrote: > > Add beacon,imx8mn-beacon-kit to list of compatible options. > > > > Signed-off-by: Adam Ford > > Reviewed-by: Krzysztof Kozlowski > > You ne

Re: [PATCH V4 2/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter

2020-11-30 Thread Adam Ford
On Wed, Nov 18, 2020 at 5:13 PM Adam Ford wrote: > > On Sat, Nov 7, 2020 at 5:58 AM Adam Ford wrote: > > > > The driver exists for the Enhanced Asynchronous Sample Rate Converter > > (EASRC) Controller, but there isn't a device tree entry for it. > > >

[PATCH V3 04/10] regulator: da9121: Add device variant regmaps

2020-11-30 Thread Adam Ward
Add ability to probe device and validate configuration, then apply a regmap configuration for a single or dual buck device accordingly. Signed-off-by: Adam Ward --- drivers/regulator/Kconfig| 14 +- drivers/regulator/da9121-regulator.c | 244

[PATCH V3 09/10] regulator: da9121: add mode support

2020-11-30 Thread Adam Ward
Adds get/set for mode, and mapping from REGULATOR_MODE_* to select PFM/PWM/Auto operation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 74 1 file changed, 74 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers

[PATCH V3 05/10] regulator: da9121: Add device variant descriptors

2020-11-30 Thread Adam Ward
Descriptors for bucks in all variants, ready for of_regulator_match Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 110 +++ 1 file changed, 110 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121

[PATCH V3 08/10] regulator: da9121: add current support

2020-11-30 Thread Adam Ward
This commit adds support for getting/setting current for all supported variants. Limits are adjusted per variant to match HW implementation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 113 +++ 1 file changed, 113 insertions(+) diff --git

[PATCH V3 10/10] regulator: da9121: add interrupt support

2020-11-30 Thread Adam Ward
Adds interrupt handler for variants, and notifications for events; over temperature/voltage/current. Because the IRQs are triggered by persisting status, they must be masked and the status polled until clear, before the IRQ can be enabled again. Signed-off-by: Adam Ward --- drivers/regulator

[PATCH V3 07/10] regulator: da9121: Update registration to support multiple buck variants

2020-11-30 Thread Adam Ward
Add function which iterates the regulator descriptors for the confirmed variant ID and registers each buck. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 44 +--- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/drivers

[PATCH V3 06/10] regulator: da9121: Add support for device variants via devicetree

2020-11-30 Thread Adam Ward
Add devicetree configuration and device variant parameters. Use the latter to enable the check and use of parameters specific to dual buck variants. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 119 +++ include/linux/regulator/da9121.h

[PATCH V3 03/10] regulator: da9121: Add device variants

2020-11-30 Thread Adam Ward
Add basic support for configuration to reference variants of this device, and track the selected variant within the driver. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git

[PATCH V3 02/10] regulator: da9121: Add header file

2020-11-30 Thread Adam Ward
Add header file for Dialog Semiconductor DA9121 regulator and related devices, mostly autogenerated from the chip design databases, and update driver to replace local defines with those from header. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 15 +- drivers/regulator

[PATCH V3 01/10] regulator: Update DA9121 dt-bindings

2020-11-30 Thread Adam Ward
, including the DA9211 family. This breaks compatibility with the original submission by Vincent Whitchurch - but as this is still in for-next, the alignment could be made before upstreaming occurs. Signed-off-by: Adam Ward --- .../devicetree/bindings/regulator/dlg,da9121.yaml | 164

[PATCH V3 00/10] regulator: da9121: extend support to variants, add features

2020-11-30 Thread Adam Ward
compatible check - Tidied banner comment - Switched to using of_parse_cb() - Simplified buck checks accordingly - Simplified current/mode register/mask use - Simplified interrupt handling - Synchronise workqueue at driver exit Adam Ward (10): regulator: Update DA9121 dt-bindings regulator: da9121

[PATCH V2 7/9] regulator: da9121: add current support

2020-11-30 Thread Adam Ward
This commit adds support for getting/setting current for all supported variants. Limits are adjusted per variant to match HW implementation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 113 +++ 1 file changed, 113 insertions(+) diff --git

[PATCH V2 8/9] regulator: da9121: add mode support

2020-11-30 Thread Adam Ward
Adds get/set for mode, and mapping from REGULATOR_MODE_* to select PFM/PWM/Auto operation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 74 1 file changed, 74 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers

[PATCH V2 3/9] regulator: da9121: Add device variant regmaps

2020-11-30 Thread Adam Ward
Add ability to probe device and validate configuration, then apply a regmap configuration for a single or dual buck device accordingly. Signed-off-by: Adam Ward --- drivers/regulator/Kconfig| 14 +- drivers/regulator/da9121-regulator.c | 244

[PATCH V2 5/9] regulator: da9121: Add support for device variants via devicetree

2020-11-30 Thread Adam Ward
Add devicetree configuration and device variant parameters. Use the latter to enable the check and use of parameters specific to dual buck variants. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 119 +++ include/linux/regulator/da9121.h

[PATCH V2 4/9] regulator: da9121: Add device variant descriptors

2020-11-30 Thread Adam Ward
Descriptors for bucks in all variants, ready for of_regulator_match Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 110 +++ 1 file changed, 110 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121

[PATCH V2 9/9] regulator: da9121: add interrupt support

2020-11-30 Thread Adam Ward
Adds interrupt handler for variants, and notifications for events; over temperature/voltage/current. Because the IRQs are triggered by persisting status, they must be masked and the status polled until clear, before the IRQ can be enabled again. Signed-off-by: Adam Ward --- drivers/regulator

[PATCH V2 1/9] regulator: da9121: Add header file

2020-11-30 Thread Adam Ward
Add header file for Dialog Semiconductor DA9121 regulator and related devices, mostly autogenerated from the chip design databases, and update driver to replace local defines with those from header. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 15 +- drivers/regulator

[PATCH V2 0/9] regulator: da9121: extend support to variants, add features

2020-11-30 Thread Adam Ward
to using of_parse_cb() - Simplified buck checks accordingly - Simplified current/mode register/mask use - Simplified interrupt handling - Synchronise workqueue at driver exit Adam Ward (9): regulator: da9121: Add header file regulator: da9121: Add device variants regulator: da9121: Add

[PATCH V2 2/9] regulator: da9121: Add device variants

2020-11-30 Thread Adam Ward
Add basic support for configuration to reference variants of this device, and track the selected variant within the driver. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git

[PATCH V2 6/9] regulator: da9121: Update registration to support multiple buck variants

2020-11-30 Thread Adam Ward
Add function which iterates the regulator descriptors for the confirmed variant ID and registers each buck. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 44 +--- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/drivers

RE: [PATCH v2 3/3] mfd: da9055: fix "REGULATOR" spelling in register content macro

2020-11-27 Thread Adam Thomson
On 27 November 2020 12:52, Michael Klein wrote: > "REGUALTOR" -> "REGULATOR" > > Signed-off-by: Michael Klein Reviewed-by: Adam Thomson

RE: [PATCH 1/9] regulator: Update DA9121 dt-bindings

2020-11-27 Thread Adam Ward
> On Fri, Nov 20, 2020 at 02:47:42PM +0100, Vincent Whitchurch wrote: > > On Fri, Nov 20, 2020 at 01:14:50PM +0100, Adam Ward wrote: > Actually, perhaps I'm missing something, but I don't quite see why this > move to a sub-node is needed. There is some flexibility in the > r

Re: [PATCH V5] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-26 Thread Adam Ford
On Wed, Nov 18, 2020 at 5:04 PM Adam Ford wrote: > > Add binding doc for fsl,spba-bus. > > Signed-off-by: Adam Ford Rob, Sorry to be a pest. I have a series for the i.MX8M Nano that's waiting on this. Have you had time to review my latest attempt? adam > --- > make dt

[PATCH V2 2/2] arm64: dts: imx8mm-beacon-som: Assign PMIC clock

2020-11-26 Thread Adam Ford
The PMIC throws an errors because the clock isn't assigned to it. Fix this by assigning the clocks info. Signed-off-by: Adam Ford --- V2: Remove fixes tag diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index

[PATCH V2 1/2] arm64: dts: imx8mm-beacon-som: Configure RTC aliases

2020-11-26 Thread Adam Ford
to the external RTC all the time and rtc1 point to the SVNS in order to correctly hold date/time over a power-cycle. Signed-off-by: Adam Ford --- V2: Remove fixes tag diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index

[PATCH 2/2] arm64: dts: imx8mm-beacon-som: Fix PMIC clock error

2020-11-25 Thread Adam Ford
The PMIC throws an errors because the clock isn't assigned to it. Fix this by assigning the clocks info. Fixes: acb01032e11a ("arm64: defconfig: Enable clock driver for ROHM BD718x7 PMIC") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dt

[PATCH 1/2] arm64: dts: imx8mm-beacon-som: Fix RTC aliases

2020-11-25 Thread Adam Ford
to the external RTC all the time and rtc1 point to the SVNS in order to correctly hold date/time over a power-cycle. Fixes: 593816fa2f35 ("arm64: dts: imx: Add Beacon i.MX8m-Mini development kit") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/

Re: [PATCH v6 4/4] soc: imx8m: change to use platform driver

2020-11-24 Thread Adam Ford
ocotp clk needs to be enabled > before reading ocotp registers, and nvmem API with platform driver > supported can accomplish this. > > Signed-off-by: Alice Guo > --- > The patch reads V6, but the change log only shows V2. Can you elaborate on what has changed between V2 and V6? adam

Re: PROBLEM: Broken pixel format for Elgato Cam Link 4K

2020-11-23 Thread Adam Goode
On Sun, Nov 22, 2020 at 2:34 PM Benjamin Drung wrote: > > Am Freitag, den 20.11.2020, 16:45 -0500 schrieb Adam Goode: > > On Fri, Nov 20, 2020 at 1:52 PM Benjamin Drung > > wrote: > > > > > > Hi, > > > > > > I own an Elgato Cam Link 4K which

Use This Fund For God's Works

2020-11-20 Thread Mrs. Alice Adam
Hello My Beloved I am mrs.Alice Adam,am writing from hospital here in Ivory Coast with the help of someone; I want you to know that I’m dying here in this hospital right now which I don't know if i will see more days to come. My Beloved, i was informed by my doctor that i got poisoned

Re: PROBLEM: Broken pixel format for Elgato Cam Link 4K

2020-11-20 Thread Adam Goode
n rejects. If I flip through the settings in OBS, I do manage to wedge the interface. But most of the programs I've seen that use v4l2 are buggy in this way. A reliable one is the qv4l2 test program. I've also had no problems with Chromium. That reverse engineering is interesting! But I think it hides the real problem, where the pixel format negotiation on the firmware writes into the wrong byte of the packet. Adam

[PATCH 1/9] regulator: Update DA9121 dt-bindings

2020-11-20 Thread Adam Ward
Update bindings for the Dialog Semiconductor DA9121 voltage regulator to add device variants. Signed-off-by: Adam Ward --- .../devicetree/bindings/regulator/dlg,da9121.yaml | 177 +++-- MAINTAINERS| 2 + .../dt-bindings/regulator/dlg

[PATCH 9/9] regulator: da9121: add interrupt support

2020-11-20 Thread Adam Ward
Adds interrupt handler for variants, and notifications for events; over temperature/voltage/current. Also handling of persistent events and respective timing configuration. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 548 +++ 1 file

[PATCH 4/9] regulator: da9121: Add device variant details and respective regmaps

2020-11-20 Thread Adam Ward
Add ability to probe device and validate configuration, then apply a regmap configuration for a single or dual buck device accordingly. Signed-off-by: Adam Ward --- drivers/regulator/Kconfig| 14 +- drivers/regulator/da9121-regulator.c | 382

[PATCH 6/9] regulator: da9121: Update registration to support multiple buck variants

2020-11-20 Thread Adam Ward
Checks DT matches tally with variant maximum and register accordingly. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 81 +++- 1 file changed, 70 insertions(+), 11 deletions(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers

[PATCH 2/9] regulator: da9121: Add header file

2020-11-20 Thread Adam Ward
Add header file for Dialog Semiconductor DA9121 regulator and related devices, mostly autogenerated from the chip design databases, and update driver to replacee local defines with those from header. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 15 +- drivers/regulator

[PATCH 7/9] regulator: da9121: add current support

2020-11-20 Thread Adam Ward
This commit adds support for getting/setting current for all supported variants. Limits are adjusted per variant to match HW implementation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 140 +++ 1 file changed, 140 insertions(+) diff --git

[PATCH 8/9] regulator: da9121: add mode support

2020-11-20 Thread Adam Ward
Adds get/set for mode, and mapping from REGULATOR_MODE_* to select PFM/PWM/Auto operation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 74 1 file changed, 74 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers

[PATCH 0/9] regulator: da9121: extend support to variants, add features

2020-11-20 Thread Adam Ward
fault/files/da9132-a_datasheet_1v0.pdf Adam Ward (9): regulator: Update DA9121 dt-bindings regulator: da9121: Add header file regulator: da9121: Add device variants regulator: da9121: Add device variant details and respective regmaps regulator: da9121: Add support for device variants via devi

[PATCH 3/9] regulator: da9121: Add device variants

2020-11-20 Thread Adam Ward
Add basic support for configuration to reference variants of this device, and track the selected variant within the driver. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git

[PATCH 5/9] regulator: da9121: Add support for device variants via devicetree

2020-11-20 Thread Adam Ward
Add devicetree configuration and device variant parameters. Use the latter to enable the check and use of parameters specific to dual buck variants. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 157 ++- include/linux/regulator/da9121.h

Re: [PATCH V4 2/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter

2020-11-18 Thread Adam Ford
On Sat, Nov 7, 2020 at 5:58 AM Adam Ford wrote: > > The driver exists for the Enhanced Asynchronous Sample Rate Converter > (EASRC) Controller, but there isn't a device tree entry for it. > > On the vendor kernel, they put this on a spba-bus for SDMA support. > > Add the

[PATCH V5] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-18 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- make dt_binding_check -j8 |grep spba DTEXDocumentation/devicetree/bindings/bus/fsl,spba-bus.example.dts DTC Documentation/devicetree/bindings/bus/fsl,spba-bus.example.dt.yaml CHECK Documentation/devicetree/bindings

Re: [PATCH V4] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-18 Thread Adam Ford
On Thu, Nov 12, 2020 at 7:52 AM Rob Herring wrote: > > On Thu, Nov 12, 2020 at 5:44 AM Adam Ford wrote: > > > > On Wed, Nov 11, 2020 at 2:18 PM Rob Herring wrote: > > > > > > On Wed, 11 Nov 2020 09:25:23 -0600, Adam Ford wrote: > > > > Add bind

Re: [PATCH V4] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-12 Thread Adam Ford
On Wed, Nov 11, 2020 at 2:18 PM Rob Herring wrote: > > On Wed, 11 Nov 2020 09:25:23 -0600, Adam Ford wrote: > > Add binding doc for fsl,spba-bus. > > > > Signed-off-by: Adam Ford > > --- > > make dt_binding_check showed no errors if I did this right. > &

Re: [PATCH 2/2] ARM: omap2plus_defconfig: Enable OMAP3_THERMAL

2020-11-12 Thread Adam Ford
On Fri, Oct 16, 2020 at 11:19 AM Adam Ford wrote: > > On Fri, Sep 11, 2020 at 7:32 AM Adam Ford wrote: > > > > With the additional power management options enabled, > > this patch enables OMAP3_THERMAL by default. > > > > Signed-off-by: Adam Ford > >

<    1   2   3   4   5   6   7   8   9   10   >