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

2020-11-11 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- make dt_binding_check showed no errors if I did this right. V4: Remove an accidental makefile change Move type:object under additional properties V3: Rebase sample from aips-bus example Split off from series adding

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

2020-11-11 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- make dt_binding_check showed no errors if I did this right. V3: Rebase sample from aips-bus example Split off from series adding i.MX8M Nano functions to reduce noise V2: Attempted to update yaml from feedback diff --git a

[PATCH V4 3/3] arm64: defconfig: Enable WM8962

2020-11-07 Thread Adam Ford
The Beacon EmbeddedWorks development kits supporting i.MX8M Mini and Nano have an WM8962 audio CODEC installed. Add modules for both CONFIG_SND_SOC_WM8962 and CONFIG_SND_SOC_FSL_ASOC_CARD to enable them. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: New to series arch/arm64

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

2020-11-07 Thread Adam Ford
Add beacon,imx8mn-beacon-kit to list of compatible options. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski --- V4: Add RB note V3: Correct Typo and move to Nano section V2: New to series --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion

[PATCH V4 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Adam Ford
different, mutually exclusive video outputs, so the common items are in the baseboard file. When the video becomes available, LVDS output will be added to this kit file, and a second kit file will be added to support HDMI. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski --- V4

[PATCH V2 4/5] arm64: dts: imx8mn: Add power-domain reference in USB controller

2020-11-07 Thread Adam Ford
The USB OTG controller cannot be used until the power-domain is enabled unless it was started in the bootloader. Adding the power-domain reference to the OTG node allows the OTG controller to operate. Signed-off-by: Adam Ford --- V2: No change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1

[PATCH V2 5/5] arm64: dts: imx8mn: Add GPU node

2020-11-07 Thread Adam Ford
GPU needs to run at 400MHz. For boards where the operating voltage is higher, this can be increased. Signed-off-by: Adam Ford --- V2: Move into this series Update clocking description arch/arm64/boot/dts/freescale/imx8mn.dtsi | 25 +++ 1 file changed, 25 insertions

[PATCH V2 2/5] soc: imx: gpcv2: add support for i.MX8MN power domains

2020-11-07 Thread Adam Ford
This adds support for the power domains founds on i.MX8MN. The Nano has fewer domains than the Mini, and the access to some of these domains is different than that of the Mini, the Mini power domains cannot be reused. Signed-off-by: Adam Ford Acked-by: Krzysztof Kozlowski --- V2: No change

[PATCH V2 1/5] dt-bindings: add defines for i.MX8MN power domains

2020-11-07 Thread Adam Ford
The i.MX8M Nano has a similar power domain controller to that of the mini, but it isn't fully compatible, so it needs a separate binding and power domain tables. Add the bindings and tables. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- V2: No c

[PATCH V2 3/5] arm64: dts: imx8mn: add GPC node and power domains

2020-11-07 Thread Adam Ford
This adds the DT nodes to describe the power domains available on the i.MX8MN. There are more power domains, but the displaymix and mipi power domains need a separate clock block controller which not yet available, so this limits it to the HSIO, OTG and GPU domains. Signed-off-by: Adam Ford

Re: [PATCH V3 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Adam Ford
On Sat, Nov 7, 2020 at 7:12 AM Krzysztof Kozlowski wrote: > > On Sat, Nov 07, 2020 at 06:33:32AM -0600, Adam Ford wrote: > > Beacon Embeddedworks is launching a development kit based on the > > i.MX8M Nano SoC. The kit consists of a System on Module (SOM) > > + baseboa

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

2020-11-07 Thread Adam Ford
Add beacon,imx8mn-beacon-kit to list of compatible options. Signed-off-by: Adam Ford --- V3: Correct Typo and move to Nano section V2: New to series diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 85fb24da4a02..5a2608e6bc30

[PATCH V3 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Adam Ford
different, mutually exclusive video outputs, so the common items are in the baseboard file. When the video becomes available, LVDS output will be added to this kit file, and a second kit file will be added to support HDMI. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski --- V3: Correct

[PATCH V3 3/3] arm64: defconfig: Enable WM8962

2020-11-07 Thread Adam Ford
The Beacon EmbeddedWorks development kits supporting i.MX8M Mini and Nano have an WM8962 audio CODEC installed. Add modules for both CONFIG_SND_SOC_WM8962 and CONFIG_SND_SOC_FSL_ASOC_CARD to enable them. Signed-off-by: Adam Ford --- V3: No Change V2: New to series diff --git a/arch/arm64

[PATCH V4 5/5] arm64: dts: imx8mn: Add node for SPDIF

2020-11-07 Thread Adam Ford
The i.MX8M Nano can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 24 +++ 1 file changed, 24 insertions(+) diff --git a

[PATCH V4 4/5] arm64: dts: imx8mn: Add support for micfil

2020-11-07 Thread Adam Ford
The i.MX8M Nano has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. Add the micfil node. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: Change micfil@300800

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

2020-11-07 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- V4: Correct errors in YAML V3: New to series .../devicetree/bindings/bus/fsl,spba-bus.yaml | 66 +++ 1 file changed, 66 insertions(+) diff --git a/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml b

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

2020-11-07 Thread Adam Ford
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 node for the spba-bus with the easrc node inside. Signed-off-by: Adam Ford -

[PATCH V4 3/5] arm64: dts: imx8mn: Add SAI nodes

2020-11-07 Thread Adam Ford
The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale

Re: [PATCH V3 1/5] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-06 Thread Adam Ford
On Fri, Nov 6, 2020 at 10:19 AM Rob Herring wrote: > > On Fri, Nov 06, 2020 at 05:15:39AM -0600, Adam Ford wrote: > > Add binding doc for fsl,spba-bus. > > > > Signed-off-by: Adam Ford > > --- > > V3: New to series > > Please implement my review comme

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

2020-11-06 Thread Adam Ford
Add beacon,imx8mn-beacon-kit to list of compatible options. Signed-off-by: Adam Ford --- V2: New to series Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm

[PATCH V2 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-06 Thread Adam Ford
different, mutually exclusive video outputs, so the common items are in the baseboard file. When the video becomes available, LVDS output will be added to this kit file, and a second kit file will be added to support HDMI. Signed-off-by: Adam Ford --- Based on: https://patchwork.kernel.org

[PATCH V2 3/3] arm64: defconfig: Enable WM8962

2020-11-06 Thread Adam Ford
The Beacon EmbeddedWorks development kits supporting i.MX8M Mini and Nano have an WM8962 audio CODEC installed. Add modules for both CONFIG_SND_SOC_WM8962 and CONFIG_SND_SOC_FSL_ASOC_CARD to enable them. Signed-off-by: Adam Ford --- V2: New to series arch/arm64/configs/defconfig | 2 ++ 1

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

2020-11-06 Thread Adam Ford
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 node for the spba-bus with the easrc node inside. Signed-off-by: Adam Ford -

[PATCH V3 4/5] arm64: dts: imx8mn: Add support for micfil

2020-11-06 Thread Adam Ford
The i.MX8M Nano has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. Add the micfil node. Signed-off-by: Adam Ford --- V3: No Change V2: Change micfil@3008 to audio-contr

[PATCH V3 3/5] arm64: dts: imx8mn: Add SAI nodes

2020-11-06 Thread Adam Ford
The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- V3: No Change V2: No Change diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 61560c083300..6ea0d43a78a3 100644 --- a/arch/arm64/boot/dts

[PATCH V3 5/5] arm64: dts: imx8mn: Add node for SPDIF

2020-11-06 Thread Adam Ford
The i.MX8M Nano can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford --- V3: No Change V2: No Change diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index aa3f1eb391bd..ee1790230490

[PATCH V3 1/5] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-06 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- V3: New to series diff --git a/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml b/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml new file mode 100644 index ..0a2add841145 --- /dev/null +++ b

Re: [PATCH] Input: ili210x: Enable suspend/resume functions

2020-11-04 Thread Adam Ford
On Fri, Sep 18, 2020 at 9:34 AM Adam Ford wrote: > > Some people may wish to wake their system from sleep, so this > patch enables a suspend and resume function which enables > and disables IRQ wake functions. > > Signed-off-by: Adam Ford Gentle ping. Any feedback on this?

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

2020-11-01 Thread Adam Ford
On Sat, Oct 31, 2020 at 9:03 PM Shawn Guo wrote: > > On Mon, Oct 19, 2020 at 12:45:24PM -0500, 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] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-01 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml b/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml new file mode 100644 index ..acb3944168ed --- /dev/null +++ b/Documentation/devicetree/bindings

[PATCH V2 5/5] arm64: dts: imx8mn: Add node for SPDIF

2020-10-31 Thread Adam Ford
The i.MX8M Nano can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 24 +++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b

[PATCH V2 3/5] arm64: dts: imx8mn: Add SAI nodes

2020-10-31 Thread Adam Ford
The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale

[PATCH V2 4/5] arm64: dts: imx8mn: Add support for micfil

2020-10-31 Thread Adam Ford
The i.MX8M Nano has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. Add the micfil node. Signed-off-by: Adam Ford --- V2: Rebase and use generic term audio-controller inste

[PATCH V2 1/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter

2020-10-31 Thread Adam Ford
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 the node for the spba-bus with the easrc node inside. Signed-off-by: Adam

[PATCH V2 0/5] Enable Audio functions on i.MX8M Nano

2020-10-31 Thread Adam Ford
The i.MX8M Nano uses similar blocks of audio IP as the iMX8M Mini This series adds those functions. V2: Mostly corrects some minor typos and rebased on Shawn Guo's branch imx/dt64. The added cover letter with stats was per request to show what's changed at a high level. Adam Ford (5

[PATCH V2 2/5] arm64: defconfig: Enable ASRC and EASRC

2020-10-31 Thread Adam Ford
The i.MX8M Nano supports the EASRC driver, and it requires ASRC. Enable both of them as modules. Signed-off-by: Adam Ford --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 844d8817e6f4

[PATCH V2] arm64: dts: imx8mm-beacon-som: Fix whitespace issue

2020-10-31 Thread Adam Ford
The pinmux subnodes are indented too much. This patch does nothing more than remove an extra tab. There are no functional changes. Signed-off-by: Adam Ford --- V2: Rebase on Shawn's branch diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/free

Re: [PATCH v4 11/14] clk: imx: Add blk-ctl driver for i.MX8MP

2020-10-30 Thread Adam Ford
IMX8MP_HDMI_BLK_CTL_HDMI_HDCP_RESET, 0x20, 13), > + IMX_BLK_CTL_RESET_MASK(IMX8MP_HDMI_BLK_CTL_LCDIF_RESET, 0x20, 4, 0x3), > +}; > + > +static struct imx_blk_ctl_hw imx8mp_media_blk_ctl_hws[] = { > + /* clocks */ > + IMX_BLK_CTL_CLK_GATE("

Re: [PATCH 2/6] arm64: dts: imx8mm-beacon-som: fix missing PMIC's interrupt line pull-up

2020-10-30 Thread Adam Ford
On Wed, Oct 7, 2020 at 7:51 AM Adam Ford wrote: > > On Sun, Sep 27, 2020 at 12:00 PM Krzysztof Kozlowski wrote: > > > > The PMIC's interrupt is level low and should be pulled up. The PMIC's > > device node had pinctrl-0 property but it lacked pinctrl-names whic

Re: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-29 Thread Adam Ford
On Thu, Oct 29, 2020 at 6:55 AM Lucas Stach wrote: > > Am Montag, den 26.10.2020, 11:23 -0500 schrieb Adam Ford: > > On Mon, Oct 26, 2020 at 10:44 AM Lucas Stach wrote: > > > Am Montag, den 26.10.2020, 10:12 -0500 schrieb Adam Ford: > > > > On Mon, Oct 26,

Re: [PATCH] arm64: dts: imx8mm: Add support for micfil

2020-10-28 Thread Adam Ford
On Tue, May 19, 2020 at 8:03 PM Shawn Guo wrote: > > On Sat, May 02, 2020 at 07:59:48AM -0500, Adam Ford wrote: > > The i.MX8M Mini has supports the MICFIL digital interface. > > It's a 16-bit audio signal from a PDM microphone bitstream. > > The driver is already i

Re: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-26 Thread Adam Ford
On Mon, Oct 26, 2020 at 10:44 AM Lucas Stach wrote: > > Am Montag, den 26.10.2020, 10:12 -0500 schrieb Adam Ford: > > On Mon, Oct 26, 2020 at 9:55 AM Abel Vesa wrote: > > > On 20-10-25 11:05:32, Adam Ford wrote: > > > > On Sun, Oct 25, 2020 at 7:19 AM Marek Vasu

Re: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-26 Thread Adam Ford
On Mon, Oct 26, 2020 at 9:55 AM Abel Vesa wrote: > > On 20-10-25 11:05:32, Adam Ford wrote: > > On Sun, Oct 25, 2020 at 7:19 AM Marek Vasut wrote: > > > > > > On 10/25/20 1:05 PM, Abel Vesa wrote: > > > > > > [...] > > > > > >

Re: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-25 Thread Adam Ford
0 5 I am not 100% certain the clock parents in the clk block driver for the 8MN are correct, and I am not seeing the mipi_dsi_pclk Once the dust settles on the GPC decision for Mini and Nano, I think we'll need a more generic way to pass the bits we need to set in clock block to the GPC. adam > > You can also apply the one for 8MM: > https://lore.kernel.org/linux-arm-kernel/20201003224555.163780-5-ma...@denx.de/

Re: [RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-24 Thread Adam Ford
On Sat, Oct 24, 2020 at 3:23 PM Abel Vesa wrote: > > On 20-10-24 11:20:12, Adam Ford wrote: > > There are some less-documented registers which control clocks and > > resets for the multimedia block which controls the LCDIF, ISI, MIPI > > CSI, and MIPI DSI. > > >

[RFC 1/3] dt-bindings: clock: imx8mn: Add media blk_ctl clock IDs

2020-10-24 Thread Adam Ford
These will be used by the imx8mn for blk_ctl driver. Signed-off-by: Adam Ford --- include/dt-bindings/clock/imx8mn-clock.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/dt-bindings/clock/imx8mn-clock.h b/include/dt-bindings/clock/imx8mn-clock.h index 621ea0e87c67

[RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-24 Thread Adam Ford
and I was hoping for some constructive feedback in order to get the imx8m Nano to a similar point of the Mini and Plus. Adam Ford (3): dt-bindings: clock: imx8mn: Add media blk_ctl clock IDs dt-bindings: reset: imx8mn: Add media blk_ctl reset IDs clk: imx: Add blk-ctl driver for i.MX8MN driver

[RFC 3/3] clk: imx: Add blk-ctl driver for i.MX8MN

2020-10-24 Thread Adam Ford
This driver is intended to work with the multimedia block which contains display and camera subsystems: LCDIF ISI MIPI CSI MIPI DSI Signed-off-by: Adam Ford --- drivers/clk/imx/clk-blk-ctl-imx8mn.c | 80 1 file changed, 80 insertions(+) diff --git a/drivers

[RFC 2/3] dt-bindings: reset: imx8mn: Add media blk_ctl reset IDs

2020-10-24 Thread Adam Ford
These will be used by the imx8mn for blk_ctl driver. Signed-off-by: Adam Ford --- include/dt-bindings/reset/imx8mn-reset.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/include/dt-bindings/reset/imx8mn-reset.h b/include/dt-bindings/reset/imx8mn-reset.h new file

Re: [PATCH] arm64: dts: imx8mm: Add GPU node

2020-10-23 Thread Adam Ford
On Fri, Oct 23, 2020 at 3:25 AM Lucas Stach wrote: > > On Do, 2020-10-22 at 13:31 -0500, Adam Ford wrote: > > On Thu, Oct 22, 2020 at 1:17 PM Marek Vasut wrote: > > > On 10/22/20 7:16 PM, Adam Ford wrote: > > > > According to the documentation from NXP, the

Re: [PATCH 4/4] arm64: dts: imx8mn: Add power-domain reference in USB controller

2020-10-23 Thread Adam Ford
On Fri, Oct 23, 2020 at 4:55 AM Krzysztof Kozlowski wrote: > > On Thu, Oct 22, 2020 at 10:08:07AM -0500, Adam Ford wrote: > > The USB OTG controller cannot be used until the power-domain is enabled > > unless it was started in the bootloader. > > > > Adding the pow

Re: [PATCH 3/4] arm64: dts: imx8mn: add GPC node and power domains

2020-10-23 Thread Adam Ford
On Fri, Oct 23, 2020 at 4:52 AM Krzysztof Kozlowski wrote: > > On Thu, Oct 22, 2020 at 10:08:06AM -0500, Adam Ford wrote: > > This adds the DT nodes to describe the power domains available on the > > i.MX8MN. There are four power domains, but the displaymix and mipi > &

Re: [PATCH] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-10-23 Thread Adam Ford
On Fri, Oct 23, 2020 at 4:44 AM Krzysztof Kozlowski wrote: > > On Thu, Oct 22, 2020 at 11:57:50AM -0500, Adam Ford wrote: > > Beacon Embeddedworks is launching a development kit based on the > > i.MX8M Nano SoC. The kit consists of a System on Module (SOM) > > + baseboa

Re: [PATCH] arm64: dts: imx8mm: Add GPU node

2020-10-22 Thread Adam Ford
On Thu, Oct 22, 2020 at 1:17 PM Marek Vasut wrote: > > On 10/22/20 7:16 PM, Adam Ford wrote: > > According to the documentation from NXP, the i.MX8M Nano has a > > Vivante GC7000 Ultra Lite as its GPU core. > > > > With this patch, the Etnaviv driver presents

[PATCH] arm64: dts: imx8mm: Add GPU node

2020-10-22 Thread Adam Ford
. Signed-off-by: Adam Ford --- This patch depends on a series located: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=368903 and diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 605e6dbd2c6f..62c8cd3dea7c 100644 --- a/arch

[PATCH] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-10-22 Thread Adam Ford
Beacon Embeddedworks is launching a development kit based on the i.MX8M Nano SoC. The kit consists of a System on Module (SOM) + baseboard. The SOM has the SoC, eMMC, and Ethernet. The baseboard has an wm8962 audio CODEC, and a single USB OTG. Signed-off-by: Adam Ford --- Based on top of

[PATCH 2/4] soc: imx: gpcv2: add support for i.MX8MN power domains

2020-10-22 Thread Adam Ford
This adds support for the power domains founds on i.MX8MN. The Nano has fewer domains than the Mini, and the access to some of these domains is different than that of the Mini, the Mini power domains cannot be reused. Signed-off-by: Adam Ford diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc

[PATCH 1/4] dt-bindings: add defines for i.MX8MN power domains

2020-10-22 Thread Adam Ford
The i.MX8M Nano has a similar power domain controller to that of the mini, but it isn't fully compatible, so it needs a separate binding and power domain tables. Add the bindings and tables. Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.ya

[PATCH 3/4] arm64: dts: imx8mn: add GPC node and power domains

2020-10-22 Thread Adam Ford
, but the registers for Nano differ. For now, the dispmix and mipi are placeholders. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 9b4baf7bdfb1..27733fbe87e9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi

[PATCH 4/4] arm64: dts: imx8mn: Add power-domain reference in USB controller

2020-10-22 Thread Adam Ford
The USB OTG controller cannot be used until the power-domain is enabled unless it was started in the bootloader. Adding the power-domain reference to the OTG node allows the OTG controller to operate. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64

[PATCH 0/4] Add i.MX8MN power domain and fix USB

2020-10-22 Thread Adam Ford
] - https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=357903 [2] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20201008183300.726756-1-aford...@gmail.com/ Adam Ford (4): dt-bindings: add defines for i.MX8MN power domains soc: imx: gpcv2: add support for i.MX8MN

[PATCH 5/5] arm64: dts: imx8mn: Add node for SPDIF

2020-10-19 Thread Adam Ford
The i.MX8M Nano can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 3ab9486736ca..4b32c5aa355d 100644 --- a/arch/arm64/boot/dts

[PATCH 3/5] arm64: dts: imx8mn: Add SAI nodes

2020-10-19 Thread Adam Ford
The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 7d34281332e1..9e2c0b6a7e32 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch

[PATCH 2/5] arm64: defconfig: Enable ASRC and EASRC

2020-10-19 Thread Adam Ford
The i.MX8M Nano supports the EASRC driver, and it requires ASRC. Enable both of them as modules. Signed-off-by: Adam Ford diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 20362359b212..804ec4dae674 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs

[PATCH 4/5] arm64: dts: imx8mn: Add support for micfil

2020-10-19 Thread Adam Ford
The i.MX8M Nano has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. Add the micfil node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b

[PATCH 1/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter

2020-10-19 Thread Adam Ford
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 the node for the spba-bus with the easrc node inside. Signed-off-by: Adam Ford

[PATCH V2 3/3] arm64: defconfig: Enable additional sound drivers on i.MX8M Mini

2020-10-19 Thread Adam Ford
The i.MX8M Mini has micfil and SPDIF support but the drivers are not being loaded. This patch updates the defconfig to add support for these drivers. Signed-off-by: Adam Ford --- V2: No Change diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e0f33826819f

[PATCH V2 1/3] arm64: dts: imx8mm: Add support for micfil

2020-10-19 Thread Adam Ford
The i.MX8M Mini has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. This patch adds the micfil node. Signed-off-by: Adam Ford --- V2: No change diff --git a/arch/arm64/boo

[PATCH V2 2/3] arm64: dts: imx8mm: Add node for SPDIF

2020-10-19 Thread Adam Ford
The i.MX8M Mini can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford --- V2: Fix some typos diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index fad1f9cdb241..7cc2899db12e 100644 --- a

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

2020-10-16 Thread Adam Ford
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 > --- > V3: No change > V2: No change Tony, Can you apply [2/2] to the OMAP branch

[PATCH 2/3] arm64: dts: imx8mm: Add node for SPDIF

2020-10-08 Thread Adam Ford
The i.MX8M Mini can support SPIDF which is very similar to the IP used on the i.MX35. This patch adds the SPIF node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index fad1f9cdb241..44a59f59f65a 100644 --- a/arch

[PATCH 1/3] arm64: dts: imx8mm: Add support for micfil

2020-10-08 Thread Adam Ford
The i.MX8M Mini has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. This patch adds the micfil node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm

[PATCH 3/3] arm64: defconfig: Enable additional sound drivers on i.MX8M Mini

2020-10-08 Thread Adam Ford
The i.MX8M Mini has micfil and SPDIF support but the drivers are not being loaded. This patch updates the defconfig to add support for these drivers. Signed-off-by: Adam Ford diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e0f33826819f..20362359b212 100644 --- a

Re: [PATCH 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-10-08 Thread Adam Ford
On Fri, Sep 11, 2020 at 7:32 AM Adam Ford wrote: > > The bandgap sensor can be idled when the processor is too, but it > isn't currently being done, so the power consumption of OMAP3 > boards can elevated if the bangap sensor is enabled. > > This patch attempts to us

[PATCH V2] arm64: dts imx8mn: Remove non-existent USB OTG2

2020-10-08 Thread Adam Ford
According to the i.MX8MN TRM, there is only one OTG port. The address for OTG2 is reserved on Nano. This patch removes the non-existent OTG2, usbphynop2, and the usbmisc2 nodes. Fixes: 6c3debcbae47 ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Adam Ford --- V

[PATCH] arm64: dts imx8mn: Remove non-existent USB OTG2

2020-10-08 Thread Adam Ford
According to the i.MX8MN TRM, there is only one OTG port. The address for OTG2 is reserved on Nano. This patch removes the non-existent OTG2. Fixes: 6c3debcbae47 ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts

[PATCH] arm64: dts: imx8mm-beacon-som: Add QSPI NOR flash support

2020-10-07 Thread Adam Ford
imx8mm-beacon-som has a Quad-SPI NOR flash connected to the FlexSPI bus. This patch enables the FlexSPI bus and configures it to work with the flash part. 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

[PATCH] arm64: dts: imx8mm-beacon-som: Configure supplies on secondary cpus

2020-10-07 Thread Adam Ford
Each cpu core should have a corresponding supply, but only cpu0 does. This patch adds a supply for each of the secondary cpus. 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 b88c3c99b007

[PATCH] arm64: dts: imx8mm-beacon-som: Fix Choppy BT audio

2020-10-07 Thread Adam Ford
stream audio over the Bluetooth. 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/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index 55b36bddd513..b88c3c99b

Re: [PATCH 2/6] arm64: dts: imx8mm-beacon-som: fix missing PMIC's interrupt line pull-up

2020-10-07 Thread Adam Ford
s for the fixes! > Fixes: 5f67317bd967 ("arm64: dts: imx8mm: correct interrupt flags") > Fixes: 593816fa2f35 ("arm64: dts: imx: Add Beacon i.MX8m-Mini development > kit") > Signed-off-by: Krzysztof Kozlowski Tested-by: Adam Ford > --- > arch/arm64/boot/dts/freesc

Re: [PATCH 2/2] printk: Make the console flush configurable in hotplug path

2020-09-25 Thread Adam Borowski
On Fri, Sep 25, 2020 at 11:27:54AM +0200, Greg KH wrote: > On Thu, Sep 24, 2020 at 08:21:07PM +0200, Thomas Gleixner wrote: > > On Thu, Sep 24 2020 at 08:33, Greg KH wrote: > > > On Wed, Sep 23, 2020 at 05:08:32PM -0700, Prasad Sodagudi wrote: > > >> +config CONSOLE_FLUSH_ON_HOTPLUG > > >> +

RE: [PATCH 1/8] mfd: da: Constify static struct resource

2020-09-24 Thread Adam Thomson
the help of Coccinelle. > > Signed-off-by: Rikard Falkeborn Acked-by: Adam Thomson

RE: [PATCH 09/42] mfd: da9150: use PLATFORM_DEVID_NONE

2020-09-22 Thread Adam Thomson
On 21 September 2020 21:50, Krzysztof Kozlowski wrote: > Use PLATFORM_DEVID_NONE define instead of "-1" value because: > - it brings some meaning, > - it might point attention why auto device ID was not used. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Adam Thomson

RE: [PATCH 08/42] mfd: da9055: use PLATFORM_DEVID_NONE

2020-09-22 Thread Adam Thomson
On 21 September 2020 21:50, Krzysztof Kozlowski wrote: > Use PLATFORM_DEVID_NONE define instead of "-1" value because: > - it brings some meaning, > - it might point attention why auto device ID was not used. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Adam Thomson

[PATCH] Input: ili210x: Enable suspend/resume functions

2020-09-18 Thread Adam Ford
Some people may wish to wake their system from sleep, so this patch enables a suspend and resume function which enables and disables IRQ wake functions. Signed-off-by: Adam Ford diff --git a/drivers/input/touchscreen/ili210x.c b/drivers/input/touchscreen/ili210x.c index 199cf3daec10

Re: fbcon: remove soft scrollback code (missing Doc. patch)

2020-09-18 Thread Adam Borowski
On Wed, Sep 16, 2020 at 10:54:34PM +0200, Pavel Machek wrote: > On Mon 2020-09-14 18:28:34, Linus Torvalds wrote: > > Note that scrollback hasn't actually gone away entirely - the original > > scrollback supported by _hardware_ still exists. > > > > Of course, that's really just the old-fashioned

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

2020-09-11 Thread Adam Ford
With the additional power management options enabled, this patch enables OMAP3_THERMAL by default. Signed-off-by: Adam Ford --- V3: No change V2: No change diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index fe383f5a92fb..efcc46305a47 100644 --- a

[PATCH 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-09-11 Thread Adam Ford
eeded. Signed-off-by: Adam Ford Reported-by: kernel test robot Tested-by: Andreas Kemnade # GTA04 --- V3: bandgap_omap_cpu_notifier is only defined when CONFIG_PM_SLEEP is enabled, so make all references to it also depend on CONFIG_PM_SLEEP as well V2: Fix issue where variable stating the su

Re: [PATCH v3] media: uvcvideo: Convey full colorspace information to V4L2

2020-09-08 Thread Adam Goode
On Thu, Sep 3, 2020 at 11:04 PM Laurent Pinchart wrote: > > Hi Adam, > > Thank you for the patch. > > On Wed, Sep 02, 2020 at 04:06:17PM -0400, Adam Goode wrote: > > The Color Matching Descriptor has been present in USB cameras since > > the original version of UV

[PATCH v3] media: uvcvideo: Convey full colorspace information to V4L2

2020-09-02 Thread Adam Goode
have values for all the possible UVC color settings, so it is mapped as closely as possible. Signed-off-by: Adam Goode --- Changes in v3: - Remove quantization changes completely. drivers/media/usb/uvc/uvc_driver.c | 64 -- drivers/media/usb/uvc/uvc_v4l2.c

Re: [PATCH v2] media: uvcvideo: Convey full colorspace information to V4L2

2020-09-01 Thread Adam Goode
On Thu, Aug 27, 2020 at 11:28 PM Adam Goode wrote: > > The Color Matching Descriptor has been present in USB cameras since > the original version of UVC, but it has never been fully exposed > in Linux. > > This change informs V4L2 of all of the UVC colorspace parameters:

Re: [PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-09-01 Thread Adam Goode
On Mon, Aug 31, 2020 at 9:17 PM Laurent Pinchart wrote: > > Hi Adam, > > On Mon, Aug 24, 2020 at 01:31:54PM -0400, Adam Goode wrote: > > On Mon, Aug 24, 2020 at 10:38 AM Hans Verkuil wrote: > > > On 24/08/2020 15:56, Adam Goode wrote: > > > > On Mon, Aug

Re: [PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-08-28 Thread Adam Goode
Hi, I sent a v2 patch last night, thanks for all the comments here! Adam

[PATCH v2] media: uvcvideo: Convey full colorspace information to V4L2

2020-08-27 Thread Adam Goode
change. Since there are many YUV and non-YUV formats supported by UVC cameras (but not mentioned in the official specifications), and the quantization is also not specified for these formats, I am not changing that behavior: all formats besides MJPEG will stay at V4L2_QUANTIZATION_DEFAULT as before.

Re: [PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-08-24 Thread Adam Goode
On Mon, Aug 24, 2020 at 10:38 AM Hans Verkuil wrote: > > On 24/08/2020 15:56, Adam Goode wrote: > > On Mon, Aug 24, 2020 at 4:48 AM Hans Verkuil > > wrote: > >> > >> On 23/08/2020 17:08, Laurent Pinchart wrote: > >>> Hi Adam, > >>> >

Re: [PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-08-24 Thread Adam Goode
On Mon, Aug 24, 2020 at 4:48 AM Hans Verkuil wrote: > > On 23/08/2020 17:08, Laurent Pinchart wrote: > > Hi Adam, > > > > (CC'ing Hans Verkuil) > > > > On Sun, Aug 23, 2020 at 05:54:24PM +0300, Laurent Pinchart wrote: > >> Hi Adam, > >> &

[PATCH 1/2] media: uvcvideo: Ensure all probed info is returned to v4l2

2020-08-22 Thread Adam Goode
probe and read uncorrupted images from this camera. With this change, both qv4l2 and chromium can now read uncorrupted video from the Elgato HD60 S+. Signed-off-by: Adam Goode --- drivers/media/usb/uvc/uvc_v4l2.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a

[PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-08-22 Thread Adam Goode
rpret MJPEG as FULL range. Web browsers such as Chrome and Firefox already ignore V4L2's quantization for USB devices and use the correct LIMITED value, but other programs such as qv4l2 will incorrectly interpret the output of MJPEG from USB cameras without this change. Signed-off-by: Ada

build failure: aicasm: renamed yaccage

2020-08-22 Thread Adam Borowski
Hi! My randconfig builds notoriously fail on this: [~/linux/drivers/scsi/aic7xxx/aicasm](vanilla)$ make -j1 bison -d -b aicasm_gram aicasm_gram.y mv aicasm_gram.tab.c .//aicasm_gram.c mv aicasm_gram.tab.h .//aicasm_gram.h bison -d -b aicasm_macro_gram -p mm aicasm_macro_gram.y mv aicasm_macro_gram

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