[PATCH V2] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread Adam Ford
. Signed-off-by: Adam Ford --- V2: The orignal patch had the wrong file added. Add the omap36xx.dtsi diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi index 05fe5ed127b0..20844dbc002e 100644 --- a/arch/arm/boot/dts/omap36xx.dtsi +++ b/arch/arm/boot/dts/omap36xx.dtsi

Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread Adam Ford
On Sat, Jan 9, 2021 at 10:58 AM H. Nikolaus Schaller wrote: > > Hi Adam, > > > Am 09.01.2021 um 17:39 schrieb Adam Ford : > > > > Previously, the 1GHz variants were marked as a turbo, > > because that variant has reduced thermal operating range. > > > >

[PATCH] arm64: dts: imx8mm-beacon: add more pinctrl states for usdhc1

2021-01-10 Thread Adam Ford
The WiFi chip is capable of communication at SDR104 speeds. Enable 100Mhz and 200MHz pinmux to support this. 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 d897913537ca..988f8ab679ad 100644

[PATCH] arm64: dts: imx8mn-beacon-som: Configure RTC aliases

2021-01-10 Thread Adam Ford
nt 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 diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi index 67e5e5b9ddea..2120e64

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

2020-12-28 Thread Adam Ford
On Mon, Dec 14, 2020 at 4:05 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Sun, Dec 13, 2020 at 5:18 PM 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 > &

[PATCH 1/4] dt-bindings: net: renesas,etheravb: Add additional clocks

2020-12-28 Thread Adam Ford
to add the additional optional clock, and explicitly name both of them. Signed-off-by: Adam Ford --- .../devicetree/bindings/net/renesas,etheravb.yaml | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml b

[PATCH 2/4] ARM: dts: renesas: Add fck to etheravb-rcar-gen2 clock-names list

2020-12-28 Thread Adam Ford
The bindings have been updated to support two clocks, but the original clock now requires the name fck. Add a clock-names list in the device tree with fck in it. Signed-off-by: Adam Ford --- arch/arm/boot/dts/r8a7742.dtsi | 1 + arch/arm/boot/dts/r8a7743.dtsi | 1 + arch/arm/boot/dts/r8a7744

[PATCH 3/4] arm64: dts: renesas: Add fck to etheravb-rcar-gen3 clock-names list

2020-12-28 Thread Adam Ford
The bindings have been updated to support two clocks, but the original clock now requires the name fck. Add a clock-names list in the device tree with fck in it. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 1 + arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 1 + arch

[PATCH 4/4] net: ethernet: ravb: Name the AVB functional clock fck

2020-12-28 Thread Adam Ford
The bindings have been updated to support two clocks, but the original clock now requires the name fck to distinguish it from the other. Signed-off-by: Adam Ford --- drivers/net/ethernet/renesas/ravb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet

[PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H

2020-12-28 Thread Adam Ford
The datasheet for the RZ/G2 Series show the bit for choosing between a crystal oscillator and an external oscillator is present. Add the bindings for r8a774a1 (RZ/G2M), r8a774b1 (RZ/G2N), and r8a774e1 (RZ/G2H) Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings/clock

[PATCH 2/2] arm64: dts: renesas: Add usb2_clksel to RZ/G2 M/N/H

2020-12-28 Thread Adam Ford
wards compatibility with existing boards. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi index d37ec42a1caa..60e150320ce8 100644 --- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi @@ -

Re: [PATCH 2/4] arm64: dts: imx8mn: add spba bus node

2020-12-29 Thread Adam Ford
> - }; > + bus@3000 { There is already a bus@3000 (aips1), and I think the system doesn't like it when there are multiple busses with the same name. There was some discussion on fixing the 8mn [1], but it doesn't look like

[PATCH 1/2] clk: imx: enable the earlycon uart clocks by parsing from dt

2020-12-29 Thread Adam Ford
an Signed-off-by: Adam Ford --- Based on NXP's code base and adapted for 5.11-rc1. https://source.codeaurora.org/external/imx/linux-imx/commit/drivers/clk/imx/clk.c?h=imx_5.4.47_2.2.0&id=754ae82cc55b7445545fc2f092a70e0f490e9c1b The original signed-off was retained. Added the fixes tag. -

[PATCH 2/2] clk: imx: Cleanup references to imx_register_uart_clocks

2020-12-29 Thread Adam Ford
With the clk driver scanning the device tree the for stdout, it doesn't require a list of clocks to be passed to it. Remove the code that generates these clock lists. Signed-off-by: Adam Ford --- This was build tested for arm, and tested on i.MX8M Nano. --- drivers/clk/imx/clk-imx25.c

Re: [PATCH 1/3] thermal: ti-soc-thermal: Fix stuck sensor with continuous mode for 4430

2020-12-30 Thread Adam Ford
we also need to add udelay to for the EOCZ (end of conversion) > bit polling as otherwise we have it time out too early on 4430. We'll be > changing the loop to use iopoll in the following clean-up patch. > > Cc: Adam Ford I don't have an OMAP4, but if you want, I can test a

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

2020-12-24 Thread Adam Ford
On Tue, Dec 22, 2020 at 2:03 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Tue, Dec 22, 2020 at 2:39 AM Adam Ford wrote: > > On Fri, Dec 18, 2020 at 7:16 AM Geert Uytterhoeven > > wrote: > > > On Thu, Dec 17, 2020 at 12:52 PM Adam Ford wrote: > > &g

[PATCH V2 2/9] arm64: dts: renesas: beacon kit: Fix Audio Clock sources

2020-12-24 Thread Adam Ford
. Signed-off-by: Adam Ford --- V2: Go from fixed-factor-clock to just redefining the rcar-sound node to reference the versaclock instead of the audio_clk_a. diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index

[PATCH V2 1/9] arm64: dts: renesas: beacon kit: Configure programmable clocks

2020-12-24 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. Unfortunately, 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 --- V2

[PATCH V2 4/9] arm64: dts: renesas: beacon: Better describe keys

2020-12-24 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 --- V2: Make keycode match the key name. diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch

[PATCH V2 7/9] arm64: dts: renesas: Introduce r8a774b1-beacon-rzg2n-kit

2020-12-24 Thread Adam Ford
for a parallel RGB and an LVDS display. It uses the same baseboard and SOM as the RZ/G2M. This SOM has only 2GB of DDR, and beacon-renesom-som.dtsi contains the base memory node, so an additional memory node isn't necessary. Signed-off-by: Adam Ford --- V2: Add missing du node entries. di

[PATCH V2 9/9] arm64: dts: renesas: beacon: Increase sdhi speeds

2020-12-24 Thread Adam Ford
The eMMC can run at hs400 and the WiFi chip can run at sdr104. Set the respective flags to push the sdhi faster. Signed-off-by: Adam Ford --- V2: New to series diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index

[PATCH V2 6/9] arm64: dts: renesas: beacon-rzg2m-kit: Rearange SoC unique functions

2020-12-24 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 --- V2: Fix missing entries in dts file. diff --

[PATCH V2 8/9] arm64: dts: renesas: Introduce r8a774e1-beacon-rzg2h-kit

2020-12-24 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 --- V2: Add missing du node entries diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index cf7e2f77e4ea..5c68de184501 1

[PATCH V2 5/9] arm64: dts: renesas: beacon: Cleanup USB References

2020-12-24 Thread Adam Ford
usb_extal reference. Signed-off-by: Adam Ford --- V2: Split this off into its own patch. diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index a54ec36c69e4..3b3efaf749bb 100644 --- a/arch/arm64/boot/dts/renesas

[PATCH V2 3/9] arm64: dts: renesas: beacon: Configure Audio CODEC clocks

2020-12-24 Thread Adam Ford
With the newly added configurable clock options, the audio CODEC can configure the mclk automatically. Add the reference to the versaclock. Since the devices on I2C5 can communicate at 400KHz, let's also increase that too Signed-off-by: Adam Ford --- V2: Remove the un-used clock-

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

2020-12-28 Thread Adam Ford
On Mon, Dec 28, 2020 at 6:33 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Thu, Dec 24, 2020 at 2:53 PM Adam Ford wrote: > > On Tue, Dec 22, 2020 at 2:03 AM Geert Uytterhoeven > > wrote: > > > On Tue, Dec 22, 2020 at 2:39 AM Adam Ford wrote: > > &g

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

2021-03-24 Thread Adam Ford
On Mon, Mar 22, 2021 at 4:42 PM Abel Vesa wrote: > > On 21-03-13 06:28:17, Adam Ford wrote: > > Most if not all i.MX SoC's call a function which enables all UARTS. > > This is a problem for users who need to re-parent the clock source, > > because any attempt to ch

RE: [PATCH v2] usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-

2021-03-19 Thread Adam Thomson
On 18 March 2021 20:40, Badhri Jagan Sridharan wrote: > > Regarding selecting PDOs or PPS APDOs, surely we should only notify of a > change > > when we reach SNK_READY which means a new contract has been established? > Until > > that point it's possible any requested change could be rejected so wh

Re: [PATCH v5 00/14] Add BLK_CTL support for i.MX8MP

2021-03-22 Thread Adam Ford
ock (vis syscon) After successful enabling of power-domain, the LCDIF requests the soft reset and respective clock bits (also via syscon) similar to how [1] and [2] do it for the Hantro VPU. The syscon node could be a common node similar to what was done in [2], and multiple consumers could control when each soft-reset and clock-enable get activated. I know it's probably more of an abuse of the syscon system, but having the individual drivers control the order of operations might be safer than trying to create a one-size-fits-all driver. adam [1] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210318082046.51546-4-benjamin.gaign...@collabora.com/ [2] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210318082046.51546-14-benjamin.gaign...@collabora.com/

Re: [PATCH v3 0/5] Reset driver for IMX8MQ VPU hardware block

2021-03-04 Thread Adam Ford
in controls that are needed, but I wonder if the approach to creating resets and clock enables could be used in a similar way if the IMX8MQ doesn't have the same quirks. In the case of the i.MX8M Mini, I think it has the same VPU. [1] - https://patchwork.kernel.org/project/linux-clk/patch/1599

Re: [PATCH 2/4] arm64: dts: imx8mn: add spba bus node

2021-03-31 Thread Adam Ford
On Tue, Dec 29, 2020 at 8:34 PM Peng Fan wrote: > > > Subject: Re: [PATCH 2/4] arm64: dts: imx8mn: add spba bus node > > > > On Tue, Dec 29, 2020 at 06:26:41AM -0600, Adam Ford wrote: > > > On Tue, Dec 29, 2020 at 6:15 AM wrote: > > > > > > >

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

2021-03-20 Thread Adam Ford
in a later initcall. Abel, Are you OK with this? I also have a V5 posted [1] which does what Ahmad suggested. Either of these will fix reparenting issues, but I need this for Bluetooth to operate correctly, because both beacon imx8mn and imx8mn kits switch the UART parent to an 80MHz clock

Re: unknown NMI on AMD Rome

2021-03-16 Thread Adam Borowski
On Tue, Mar 16, 2021 at 04:45:02PM +0100, Jiri Olsa wrote: > hi, > when running 'perf top' on AMD Rome (/proc/cpuinfo below) > with fedora 33 kernel 5.10.22-200.fc33.x86_64 > > we got unknown NMI messages: > > [ 226.700160] Uhhuh. NMI received for unknown reason 3d on CPU 90. > [ 226.700162] Do

Re: [PATCH V3 4/5] net: ethernet: ravb: Enable optional refclk

2021-03-29 Thread Adam Ford
On Thu, Mar 4, 2021 at 2:08 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Wed, Feb 24, 2021 at 12:52 PM Adam Ford wrote: > > For devices that use a programmable clock for the AVB reference clock, > > the driver may need to enable them. Add code to find the optional

RE: [RFC PATCH 2/2] ASoC: da732x: simplify code

2021-04-15 Thread Adam Thomson
gh this part was EOL some time back, and I find it hard to believe anyone out there has a board with this on. Wondering if it would make sense to remove the driver permanently? For the change at hand though: Reviewed-by: Adam Thomson > sound/soc/codecs/da732x.c | 17 ++---

RE: [RFC PATCH 2/2] ASoC: da732x: simplify code

2021-04-15 Thread Adam Thomson
On 15 April 2021 17:04, Mark Brown wrote: > On Thu, Apr 15, 2021 at 04:00:48PM +0000, Adam Thomson wrote: > > On 26 March 2021 22:16, Pierre-Louis Bossart wrote: > > > Apologies for the delay in getting to this. The change looks fine to me, > > although this part was E

[PATCH V4 2/2] net: ethernet: ravb: Enable optional refclk

2021-04-12 Thread Adam Ford
For devices that use a programmable clock for the AVB reference clock, the driver may need to enable them. Add code to find the optional clock and enable it when available. Signed-off-by: Adam Ford Reviewed-by: Andrew Lunn --- V4: Eliminate the NULL check when disabling refclk, and add a

[PATCH V4 1/2] dt-bindings: net: renesas,etheravb: Add additional clocks

2021-04-12 Thread Adam Ford
add the additional optional clock, and explicitly name both of them. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring Reviewed-by: Sergei Shtylyov --- V4: No Change V3: No Change V2: No Change diff --git a/Documentation/devicetree/bindings/net/renesas

Re: [PATCH V4 2/2] net: ethernet: ravb: Enable optional refclk

2021-04-14 Thread Adam Ford
On Tue, Apr 13, 2021 at 2:33 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Mon, Apr 12, 2021 at 3:27 PM Adam Ford wrote: > > For devices that use a programmable clock for the AVB reference clock, > > the driver may need to enable them. Add code to find the optional

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

2021-04-01 Thread Adam Ford
On Mon, Nov 30, 2020 at 4:02 PM Rob Herring wrote: > > On Wed, 18 Nov 2020 17:04:14 -0600, Adam Ford wrote: > > Add binding doc for fsl,spba-bus. > > > > Signed-off-by: Adam Ford > > --- > > make dt_binding_check -j8 |grep spba > > DTEXDocu

[PATCH] net: ethernet: ravb: Fix release of refclk

2021-04-17 Thread Adam Ford
The call to clk_disable_unprepare() can happen before priv is initialized. This means moving clk_disable_unprepare out of out_release into a new label. Fixes: 8ef7adc6beb2("net: ethernet: ravb: Enable optional refclk") Signed-off-by: Adam Ford diff --git a/drivers/net/ethern

Re: [PATCH V3 5/5] arm64: dts: renesas: beacon kits: Setup AVB refclk

2021-04-17 Thread Adam Ford
On Thu, Mar 4, 2021 at 2:04 AM Geert Uytterhoeven wrote: > > On Wed, Feb 24, 2021 at 12:52 PM Adam Ford wrote: > > The AVB refererence clock assumes an external clock that runs > > reference > > > automatically. Because the Versaclock is wired to provide the > &

RE: [PATCH 3/7] mfd: da9052: Simplify getting of_device_id match data

2021-04-19 Thread Adam Thomson
On 19 April 2021 09:17, Krzysztof Kozlowski wrote: > Use of_device_get_match_data() to make the code slightly smaller. > > Signed-off-by: Krzysztof Kozlowski > --- Acked-by: Adam Thomson > drivers/mfd/da9052-i2c.c | 9 ++--- > 1 file changed, 2 insertions(+), 7 dele

RE: [PATCH 4/7] mfd: da9052: Simplify getting of_device_id match data

2021-04-19 Thread Adam Thomson
On 19 April 2021 09:17, Krzysztof Kozlowski wrote: > Use of_device_get_match_data() to make the code slightly smaller. > > Signed-off-by: Krzysztof Kozlowski > --- Acked-by: Adam Thomson > drivers/mfd/da9062-core.c | 13 - > 1 file changed, 4 insertio

Re: [PATCH] net: ethernet: ravb: Fix release of refclk

2021-04-19 Thread Adam Ford
On Mon, Apr 19, 2021 at 5:45 PM David Miller wrote: > > From: Adam Ford > Date: Sat, 17 Apr 2021 08:23:29 -0500 > > > The call to clk_disable_unprepare() can happen before priv is > > initialized. This means moving clk_disable_unprepare out of > > out_release i

RE: [PATCH v6 1/1] mfd: da9063: Support SMBus and I2C mode

2021-03-17 Thread Adam Thomson
On 16 March 2021 16:23, Mark Jonas wrote: > From: Hubert Streidl > > By default the PMIC DA9063 2-wire interface is SMBus compliant. This > means the PMIC will automatically reset the interface when the clock > signal ceases for more than the SMBus timeout of 35 ms. > > If the I2C driver / devi

Re: [PATCH V3 5/5] arm64: dts: renesas: beacon kits: Setup AVB refclk

2021-03-18 Thread Adam Ford
On Thu, Mar 4, 2021 at 2:04 AM Geert Uytterhoeven wrote: > > On Wed, Feb 24, 2021 at 12:52 PM Adam Ford wrote: > > The AVB refererence clock assumes an external clock that runs > > reference > > > automatically. Because the Versaclock is wired to provide the > &

RE: [PATCH v2] usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-

2021-03-18 Thread Adam Thomson
On 17 March 2021 18:13, Badhri Jagan Sridharan wrote: > tcpm-source-psy- does not invoke power_supply_changed API when > one of the published power supply properties is changed. > power_supply_changed needs to be called to notify > userspace clients(uevents) and kernel clients. > > Fixes: f2a8aa0

Re: [PATCH v1 0/7] imx-gpcv2 improvements

2021-04-09 Thread Adam Ford
On Wed, Apr 7, 2021 at 8:27 PM Peng Fan (OSS) wrote: > > Hi Lucas, > > On 2021/4/8 6:13, Lucas Stach wrote: > > Hi Adrien, > > > > I feel like I already mentioned to you some time ago that there is > > already a much more complete patch series to add this functionality on > > the list [1]. > > > >

Re: [PATCH v1 0/2] Add imx8m power domain driver

2021-04-02 Thread Adam Ford
At this point otg2 node of imx8mm is not working at all (and blocks the > > > whole > > > boot of the kernel) > > > > > > > Have a look at this thread: > > > > https://lkml.org/lkml/2020/4/27/706 > > > Understood, so I will try to update

[PATCH 2/2] arm64: dts: imx8mm: Add spba1 and spba2 buses

2021-04-05 Thread Adam Ford
The i.MX8MM reference manual shows there are two spba busses. SPBA1 handles much of the serial interfaces, and SPBA2 covers much of the audio. Add both of them. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index

[PATCH 1/2] arm64: dts: imx8mn: Add spba1 bus

2021-04-05 Thread Adam Ford
peripherals is called SPBA1. Rename the existing spba bus to spba2 and add spba1. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 4dac4da38f4c..e961acd237a8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi

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

[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 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

KRETPROBES are broken since kernel 5.8

2020-12-09 Thread Adam Zabrocki
This bug was masked by OPTIMIZER 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 b

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...@trendmicro.com

[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 a

[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

[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 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 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 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 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 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

[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 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 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 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 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 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 a

[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 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 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 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 a

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

2020-11-30 Thread Adam Ward
or devices, 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.y

[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 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 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 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 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 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

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. > > > >

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: 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

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

2020-12-04 Thread Adam Ford
tion until 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/d

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

[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-s

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

2020-11-25 Thread Adam Ford
nt 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.dts

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

2020-11-26 Thread Adam Ford
nt 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

[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

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 > --- > ma

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

2020-12-17 Thread Adam Ford
On Thu, Dec 17, 2020 at 2:16 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Wed, Dec 16, 2020 at 6:03 PM Adam Ford wrote: > > On Wed, Dec 16, 2020 at 8:55 AM Geert Uytterhoeven > > wrote: > > > On Sun, Dec 13, 2020 at 7:38 PM Adam Ford wrote: > > >

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

2020-12-17 Thread Adam Ford
On Thu, Dec 17, 2020 at 4:54 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Sun, Dec 13, 2020 at 7:38 PM Adam Ford wrote: > > The SoC was expecting two clock sources with different frequencies. > > One to support 44.1KHz and one to support 48KHz. With the newly added

<    4   5   6   7   8   9   10   11   12   13   >