Skip to contentSkip to conversation

dt-bindings: arm: fsl: Add beacon,imx8mn-beacon-kit

PATCH Superseded Adam Ford 3 participants 7 messages Nov 7, 2020 – Nov 12, 2020

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH v3 1/3 dt-bindings: arm: fsl: Add beacon,imx8mn-beacon-kit

Add beacon,imx8mn-beacon-kit to list of compatible options.

---

V3:  Correct Typo and move to Nano section
V2:  New to series
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
index 85fb24da4a02..5a2608e6bc30 100644
@@ -680,6 +680,7 @@ properties:
       - description: i.MX8MN based Boards
         items:
           - enum:
+              - beacon,imx8mn-beacon-kit  # i.MX8MN Beacon Development Kit
               - fsl,imx8mn-ddr4-evk       # i.MX8MN DDR4 EVK Board
               - fsl,imx8mn-evk            # i.MX8MN LPDDR4 EVK Board
           - const: fsl,imx8mn
Signature · 1 line
2.25.1
author
#1 lore raw

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

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, a PDM microphone, and a single USB OTG.

The baseboard is capable of two 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.

---

V3:  Correct name
V2:  Correct Typo
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 876bf484bbe6..589290bbbbd6 100644
@@ -34,6 +34,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dts
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mn-beacon-kit.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-ddr4-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-var-som-symphony.dtb
arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi new file +307 -0

307 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts new file +19 -0
new file mode 100644
index 000000000000..faa55d888065
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright 2020 Compass Electronics Group, LLC
+ */
+
+/dts-v1/;
+
+#include "imx8mn.dtsi"
+#include "imx8mn-beacon-som.dtsi"
+#include "imx8mn-beacon-baseboard.dtsi"
+
+/ {
+	model = "Beacon EmbeddedWorks i.MX8M Mini Development Kit";
+	compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn";
+
+	chosen {
+		stdout-path = &uart2;
+	};
+};
arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi new file +433 -0

433 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw

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

Quoted 10 lines · 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, a PDM microphone, and a single USB OTG.

The baseboard is capable of two 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.

Quoted 4 lines

---
V3: Correct name

I don't think you corrected the name. It's still there.

Best regards,
Krzysztof

author
#3 lore raw

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

Quoted 12 lines · Krzysztof Kozlowski
Quoted 10 lines · 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, a PDM microphone, and a single USB OTG.

The baseboard is capable of two 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.

Quoted 6 lines
Quoted 4 lines

---
V3: Correct name

I don't think you corrected the name. It's still there.

Ugh. One more time. :-(
Sorry for the noise.

adam

Quoted 3 lines

Best regards,
Krzysztof

#4 lore raw

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

In reply to Adam Ford
Thank you for the patch! Yet something to improve:

Hi Adam,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on shawnguo/for-next]
[also build test ERROR on soc/for-next v5.10-rc3 next-20201111]
[cannot apply to robh/for-next arm64/for-next/core arm/for-next keystone/next rockchip/for-next xlnx/master] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Adam-Ford/dt-bindings-arm-fsl-Add-beacon-imx8mn-beacon-kit/20201109-092654
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
config: arm64-randconfig-r033-20201111 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a719eef73ec447b2c5fc8b70f69564a2e0f78e1e)

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/b961996c7e2004e2eabdd50d8b74354aeaf231cf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Adam-Ford/dt-bindings-arm-fsl-Add-beacon-imx8mn-beacon-kit/20201109-092654 git checkout b961996c7e2004e2eabdd50d8b74354aeaf231cf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64

If you fix the issue, kindly add following tag as appropriate

All errors (new ones prefixed by >>):

>> Error: arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi:149.1-7 Label or path easrc not found
>> Error: arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi:154.1-6 Label or path sai3 not found

FATAL ERROR: Syntax error parsing input tree

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

author
#5 lore raw

PATCH v3 3/3 arm64: defconfig: Enable WM8962

In reply to 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.

---

V3:  No Change
V2:  New to series
arch/arm64/configs/defconfig +2 -0
index 821b21a56ad7..00357f5c6fa5 100644
@@ -701,6 +701,7 @@ CONFIG_SND_SOC_FSL_EASRC=m
 CONFIG_SND_IMX_SOC=m
 CONFIG_SND_SOC_IMX_SPDIF=m
 CONFIG_SND_SOC_IMX_AUDMIX=m
+CONFIG_SND_SOC_FSL_ASOC_CARD=m
 CONFIG_SND_MESON_AXG_SOUND_CARD=m
 CONFIG_SND_MESON_GX_SOUND_CARD=m
 CONFIG_SND_SOC_QCOM=m
@@ -728,6 +729,7 @@ CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m
 CONFIG_SND_SOC_TAS571X=m
 CONFIG_SND_SOC_WCD934X=m
 CONFIG_SND_SOC_WM8904=m
+CONFIG_SND_SOC_WM8962=m
 CONFIG_SND_SOC_WSA881X=m
 CONFIG_SND_SIMPLE_CARD=m
 CONFIG_SND_AUDIO_GRAPH_CARD=m
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel