arm64: dts: imx8mm-kontron: Improvements and OSM board support
Subsystems (2)
PATCH 4/6 arm64: dts: imx8mm-kontron: Use upper case PMIC regulator names
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Use upper case PMIC regulator names to comply with the bindings.
--- .../freescale/imx8mm-kontron-n801x-som.dtsi | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +11 -11
@@ -85,7 +85,7 @@ pca9450: pmic@25 { regulators { reg_vdd_soc: BUCK1 { - regulator-name = "buck1"; + regulator-name = "BUCK1"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <850000>; regulator-boot-on;
@@ -96,7 +96,7 @@ reg_vdd_soc: BUCK1 { }; reg_vdd_arm: BUCK2 { - regulator-name = "buck2"; + regulator-name = "BUCK2"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <950000>; regulator-boot-on;
@@ -107,7 +107,7 @@ reg_vdd_arm: BUCK2 { }; reg_vdd_dram: BUCK3 { - regulator-name = "buck3"; + regulator-name = "BUCK3"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <950000>; regulator-boot-on;
@@ -115,7 +115,7 @@ reg_vdd_dram: BUCK3 { }; reg_vdd_3v3: BUCK4 { - regulator-name = "buck4"; + regulator-name = "BUCK4"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on;
@@ -123,7 +123,7 @@ reg_vdd_3v3: BUCK4 { }; reg_vdd_1v8: BUCK5 { - regulator-name = "buck5"; + regulator-name = "BUCK5"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on;
@@ -131,7 +131,7 @@ reg_vdd_1v8: BUCK5 { }; reg_nvcc_dram: BUCK6 { - regulator-name = "buck6"; + regulator-name = "BUCK6"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; regulator-boot-on;
@@ -139,7 +139,7 @@ reg_nvcc_dram: BUCK6 { }; reg_nvcc_snvs: LDO1 { - regulator-name = "ldo1"; + regulator-name = "LDO1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on;
@@ -147,7 +147,7 @@ reg_nvcc_snvs: LDO1 { }; reg_vdd_snvs: LDO2 { - regulator-name = "ldo2"; + regulator-name = "LDO2"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <900000>; regulator-boot-on;
@@ -155,7 +155,7 @@ reg_vdd_snvs: LDO2 { }; reg_vdda: LDO3 { - regulator-name = "ldo3"; + regulator-name = "LDO3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on;
@@ -163,7 +163,7 @@ reg_vdda: LDO3 { }; reg_vdd_phy: LDO4 { - regulator-name = "ldo4"; + regulator-name = "LDO4"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <900000>; regulator-boot-on;
@@ -171,7 +171,7 @@ reg_vdd_phy: LDO4 { }; reg_nvcc_sd: LDO5 { - regulator-name = "ldo5"; + regulator-name = "LDO5"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; };
Signature · 7 lines
2.37.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
cover arm64: dts: imx8mm-kontron: Improvements and OSM board support
From: Frieder Schrempf <[email protected]>
This set contains a few small improvements for the imx8mm-kontron devicetrees (patch 1 to 4) and support for a new SoM (patch 5-6, including baseboard) that complies to the Open Standard Module (OSM) 1.0 hardware specification, size S
(https://sget.org/standards/osm).
Frieder Schrempf (6):
arm64: dts: imx8mm-kontron: Adjust board and SoM model strings
arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card
IO voltage
arm64: dts: imx8mm-kontron: Remove low DDRC operating point
arm64: dts: imx8mm-kontron: Use upper case PMIC regulator names
arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S
dt-bindings: arm: fsl: Add Kontron BL i.MX8MM OSM-S board
.../devicetree/bindings/arm/fsl.yaml | 6 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mm-kontron-n801x-s.dts | 5 +- .../freescale/imx8mm-kontron-n801x-som.dtsi | 30 +- .../dts/freescale/imx8mm-kontron-n802x-s.dts | 377 ++++++++++++++++++ .../freescale/imx8mm-kontron-n802x-som.dtsi | 309 ++++++++++++++ 6 files changed, 709 insertions(+), 19 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-som.dtsi
Signature · 6 lines
2.37.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 3/6 arm64: dts: imx8mm-kontron: Remove low DDRC operating point
From: Frieder Schrempf <[email protected]>
For some reason there is a problem with finding a DDR configuration that works on all operating points and all LPDDR4 types used on the SoM. Therefore the bootloader currently doesn't configure the lowest of the three operating points. Let's also skip this in the kernel devicetree to make sure it isn't used.
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +0 -4
@@ -46,10 +46,6 @@ &ddrc { ddrc_opp_table: opp-table { compatible = "operating-points-v2"; - opp-25M { - opp-hz = /bits/ 64 <25000000>; - }; - opp-100M { opp-hz = /bits/ 64 <100000000>; };
Signature · 7 lines
2.37.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/6 arm64: dts: imx8mm-kontron: Adjust board and SoM model strings
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
The official naming includes "SL" (SoM-Line) or "BL" (Board-Line). The legacy identifiers are kept in brackets and are still used in file names and compatible strings.
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +1 -1
@@ -8,7 +8,7 @@ #include "imx8mm-kontron-n801x-som.dtsi" / { - model = "Kontron i.MX8MM N801X S"; + model = "Kontron BL i.MX8MM (N801X)"; compatible = "kontron,imx8mm-n801x-s", "kontron,imx8mm-n801x-som", "fsl,imx8mm"; aliases {
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +1 -1
@@ -6,7 +6,7 @@ #include "imx8mm.dtsi" / { - model = "Kontron i.MX8MM N801X SoM"; + model = "Kontron SL i.MX8MM (N801X)"; compatible = "kontron,imx8mm-n801x-som", "fsl,imx8mm"; memory@40000000 {
Signature · 7 lines
2.37.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/6 arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
It turns out that it is not necessary to declare the VSELECT signal as GPIO and let the PMIC driver set it to a fixed high level. This switches the voltage between 3.3V and 1.8V by setting the PMIC register for LDO5 accordingly.
Instead we can do it like other boards already do and simply mux the VSELECT signal of the USDHC interface to the pin. This makes sure that the correct voltage is selected by setting the PMIC's SD_VSEL input to high or low accordingly.
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 3 +++ arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +3 -0
@@ -321,6 +321,7 @@ MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 >; };
@@ -333,6 +334,7 @@ MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 >; };
@@ -345,6 +347,7 @@ MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 >; }; };
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +0 -2
@@ -86,7 +86,6 @@ pca9450: pmic@25 { pinctrl-0 = <&pinctrl_pmic>; interrupt-parent = <&gpio1>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; regulators { reg_vdd_soc: BUCK1 {
@@ -229,7 +228,6 @@ MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 pinctrl_pmic: pmicgrp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 - MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x141 >; };
Signature · 7 lines
2.37.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 5/6 arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
This adds support for the Kontron Electronics SL i.MX8MM OSM-S SoM and the matching baseboard BL i.MX8MM OSM-S.
The SoM hardware complies to the Open Standard Module (OSM) 1.0 specification, size S (https://sget.org/standards/osm).
--- arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mm-kontron-n802x-s.dts | 377 ++++++++++++++++++ .../freescale/imx8mm-kontron-n802x-som.dtsi | 309 ++++++++++++++ 3 files changed, 687 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-som.dtsi
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -56,6 +56,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n802x-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-mx8menlo.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-nitrogen-r2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-tqma8mqml-mba8mx.dtb
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts new file +377 -0
377 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-som.dtsi new file +309 -0
309 lines not on this page · raw message
Signature · 7 lines
2.37.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 6/6 dt-bindings: arm: fsl: Add Kontron BL i.MX8MM OSM-S board
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Add bindings for the Kontron BL i.MX8MM OSM-S board.
--- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
@@ -847,6 +847,12 @@ properties: - const: kontron,imx8mm-n801x-som - const: fsl,imx8mm + - description: Kontron BL i.MX8MM OSM-S (N802X S) Board + items: + - const: kontron,imx8mm-n802x-s + - const: kontron,imx8mm-n802x-som + - const: fsl,imx8mm + - description: Toradex Boards with Verdin iMX8M Mini Modules items: - enum:
Signature · 1 line
2.37.0
Re: [PATCH 4/6] arm64: dts: imx8mm-kontron: Use upper case PMIC regulator names
In reply to Frieder SchrempfHi Frieder,
Am Mi., 13. Juli 2022 um 09:41 Uhr schrieb Frieder Schrempf <[email protected]>:
Quoted 15 lines
From: Frieder Schrempf <[email protected]>
Use upper case PMIC regulator names to comply with the bindings.
Signed-off-by Frieder Schrempf <[email protected]>--- .../freescale/imx8mm-kontron-n801x-som.dtsi | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-)arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +0
-0
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi pca9450: pmic@25 { · line 88
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +1
-1@@ -85,7 +85,7 @@ pca9450: pmic@25 { regulators { reg_vdd_soc: BUCK1 { - regulator-name = "buck1"; + regulator-name = "BUCK1";
Wouldn't it be better to use the real signal or voltage rail names used in the schematics?
Like it is done here as example:
https://elixir.bootlin.com/linux/v5.19-rc6/source/arch/arm64/boot/dts/freescale/imx8mn-evk.dts#L44
Or use a name that includes both information (signal + PMIC out):
https://elixir.bootlin.com/linux/v5.19-rc6/source/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi#L445
Quoted 96 lines
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +10
-11regulator-min-microvolt = <800000>; regulator-max-microvolt = <850000>; regulator-boot-on;@@ -96,7 +96,7 @@ reg_vdd_soc: BUCK1 { }; reg_vdd_arm: BUCK2 { - regulator-name = "buck2"; + regulator-name = "BUCK2"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <950000>; regulator-boot-on;@@ -107,7 +107,7 @@ reg_vdd_arm: BUCK2 { }; reg_vdd_dram: BUCK3 { - regulator-name = "buck3"; + regulator-name = "BUCK3"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <950000>; regulator-boot-on;@@ -115,7 +115,7 @@ reg_vdd_dram: BUCK3 { }; reg_vdd_3v3: BUCK4 { - regulator-name = "buck4"; + regulator-name = "BUCK4"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on;@@ -123,7 +123,7 @@ reg_vdd_3v3: BUCK4 { }; reg_vdd_1v8: BUCK5 { - regulator-name = "buck5"; + regulator-name = "BUCK5"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on;@@ -131,7 +131,7 @@ reg_vdd_1v8: BUCK5 { }; reg_nvcc_dram: BUCK6 { - regulator-name = "buck6"; + regulator-name = "BUCK6"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; regulator-boot-on;@@ -139,7 +139,7 @@ reg_nvcc_dram: BUCK6 { }; reg_nvcc_snvs: LDO1 { - regulator-name = "ldo1"; + regulator-name = "LDO1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on;@@ -147,7 +147,7 @@ reg_nvcc_snvs: LDO1 { }; reg_vdd_snvs: LDO2 { - regulator-name = "ldo2"; + regulator-name = "LDO2"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <900000>; regulator-boot-on;@@ -155,7 +155,7 @@ reg_vdd_snvs: LDO2 { }; reg_vdda: LDO3 { - regulator-name = "ldo3"; + regulator-name = "LDO3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on;@@ -163,7 +163,7 @@ reg_vdda: LDO3 { }; reg_vdd_phy: LDO4 { - regulator-name = "ldo4"; + regulator-name = "LDO4"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <900000>; regulator-boot-on;@@ -171,7 +171,7 @@ reg_vdd_phy: LDO4 { }; reg_nvcc_sd: LDO5 { - regulator-name = "ldo5"; + regulator-name = "LDO5"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; }; --2.37.0
Re: [PATCH 6/6] dt-bindings: arm: fsl: Add Kontron BL i.MX8MM OSM-S board
In reply to Frieder SchrempfQuoted 5 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
Add bindings for the Kontron BL i.MX8MM OSM-S board.
Signed-off-by Frieder Schrempf <[email protected]>
Best regards,
Krzysztof
Re: [PATCH 4/6] arm64: dts: imx8mm-kontron: Use upper case PMIC regulator names
In reply to Heiko ThieryAm 13.07.22 um 09:52 schrieb Heiko Thiery:
Quoted 19 lines
Hi Frieder,
Am Mi., 13. Juli 2022 um 09:41 Uhr schrieb Frieder Schrempf <[email protected]>:
Quoted 16 lines
From: Frieder Schrempf <[email protected]>
Use upper case PMIC regulator names to comply with the bindings.
Signed-off-by Frieder Schrempf <[email protected]>--- .../freescale/imx8mm-kontron-n801x-som.dtsi | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-)arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +0
-0@@ -85,7 +85,7 @@ pca9450: pmic@25 {
Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi pca9450: pmic@25 { · line 88
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +1
-1regulators { reg_vdd_soc: BUCK1 { - regulator-name = "buck1"; + regulator-name = "BUCK1";Wouldn't it be better to use the real signal or voltage rail names used in the schematics?
Sounds like a good idea, thanks! I will try to include in the next version of this patchset.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 4/6] arm64: dts: imx8mm-kontron: Use upper case PMIC regulator names
Am 13.07.22 um 10:15 schrieb Frieder Schrempf:
Quoted 28 lines
Am 13.07.22 um 09:52 schrieb Heiko Thiery:
Quoted 19 lines
Hi Frieder,
Am Mi., 13. Juli 2022 um 09:41 Uhr schrieb Frieder Schrempf <[email protected]>:
Quoted 16 lines
From: Frieder Schrempf <[email protected]>
Use upper case PMIC regulator names to comply with the bindings.
Signed-off-by Frieder Schrempf <[email protected]>--- .../freescale/imx8mm-kontron-n801x-som.dtsi | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-)arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +0
-0@@ -85,7 +85,7 @@ pca9450: pmic@25 {Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi pca9450: pmic@25 { · line 88
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +1
-1regulators { reg_vdd_soc: BUCK1 { - regulator-name = "buck1"; + regulator-name = "BUCK1";Wouldn't it be better to use the real signal or voltage rail names used in the schematics?
Quoted 2 lines
Sounds like a good idea, thanks! I will try to include in the next version of this patchset.
On the other hand, the bindings stipulate that the regulator-names should be "^BUCK[1-6]$" and "^LDO[1-5]$". But I admit these names are not really useful and maybe the bindings should be changed to allow arbitrary names?
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 5/6] arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S
In reply to Frieder SchrempfHi Frieder,
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts line 17
Quoted 3 lines · Frieder Schrempf
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts new file +3
-0+ aliases { + ethernet1 = &usbnet; + };
Out of curiosity, why do you prefer usbnet instead of the fec?
Regards,
Marco
Re: [PATCH 5/6] arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S
Hi Marco,
Am 13.07.22 um 10:36 schrieb Marco Felsch:
Quoted 10 lines
Hi Frieder,
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts line 17
Quoted 3 lines · Frieder Schrempf
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts new file +3
-0+ aliases { + ethernet1 = &usbnet; + };Out of curiosity, why do you prefer usbnet instead of the fec?
We don't. In imx8mm.dtsi there is:
ethernet0 = &fec1;
We only assign the alias for the second ethernet, which is the USB adapter.
Best regards
Frieder
Re: [PATCH 5/6] arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S
Quoted 14 lines · Frieder Schrempf
Hi Marco,
Am 13.07.22 um 10:36 schrieb Marco Felsch:
Quoted 10 lines
Hi Frieder,
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts line 17
Quoted 3 lines · Frieder Schrempf
arch/arm64/boot/dts/freescale/imx8mm-kontron-n802x-s.dts new file +3
-0+ aliases { + ethernet1 = &usbnet; + };Out of curiosity, why do you prefer usbnet instead of the fec?
Quoted 5 lines
We don't. In
imx8mm.dtsithere is:ethernet0 = &fec1;
We only assign the alias for the second ethernet, which is the USB adapter.
Ah.. I see, thanks :)
Regards,
Marco
Re: [PATCH 2/6] arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage
In reply to Frieder SchrempfHi,
Am Mi., 13. Juli 2022 um 09:41 Uhr schrieb Frieder Schrempf <[email protected]>:
Quoted 8 lines
From: Frieder Schrempf <[email protected]>
It turns out that it is not necessary to declare the VSELECT signal as GPIO and let the PMIC driver set it to a fixed high level. This switches the voltage between 3.3V and 1.8V by setting the PMIC register for LDO5 accordingly.
Quoted 7 lines
Instead we can do it like other boards already do and simply mux the VSELECT signal of the USDHC interface to the pin. This makes sure that the correct voltage is selected by setting the PMIC's
SD_VSELinput to high or low accordingly.Reported-by Heiko Thiery <[email protected]>Signed-off-by Frieder Schrempf <[email protected]>
Quoted 56 lines
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 3 +++ arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-)arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +3
-0@@ -321,6 +321,7 @@ MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 >; };@@ -333,6 +334,7 @@ MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 >; };@@ -345,6 +347,7 @@ MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x019 + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 >; }; };arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +0
-3@@ -86,7 +86,6 @@ pca9450: pmic@25 { pinctrl-0 = <&pinctrl_pmic>; interrupt-parent = <&gpio1>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; regulators { reg_vdd_soc: BUCK1 {@@ -229,7 +228,6 @@ MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 pinctrl_pmic: pmicgrp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 - MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x141 >; }; --2.37.0
Fabio Estevam
reviewerRe: [PATCH 1/6] arm64: dts: imx8mm-kontron: Adjust board and SoM model strings
In reply to Frieder SchrempfHi Frieder,
Quoted 8 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
The official naming includes "SL" (SoM-Line) or "BL" (Board-Line). The legacy identifiers are kept in brackets and are still used in file names and compatible strings.
Signed-off-by Frieder Schrempf <[email protected]>
The series looks good, but I cannot find patch 6/6 in my Inbox, nor in:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
Re: [PATCH 1/6] arm64: dts: imx8mm-kontron: Adjust board and SoM model strings
Am 14.07.22 um 17:53 schrieb Fabio Estevam:
Quoted 6 lines
Hi Frieder,
Quoted 3 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
Quoted 8 lines
Quoted 5 lines
The official naming includes "SL" (SoM-Line) or "BL" (Board-Line). The legacy identifiers are kept in brackets and are still used in file names and compatible strings.
Signed-off-by Frieder Schrempf <[email protected]>The series looks good, but I cannot find patch 6/6 in my Inbox, nor in:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Flinux-arm-kernel%2F20220713074118.14733-1-frieder%40fris.de%2F&data=05%7C01%7Cfrieder.schrempf%40kontron.de%7C709a770b51c5406920bb08da65b0fbe4%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637934108060565672%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=X2I7oQ9P1nDjB9VIGImp6G5%2F92u9b3dkLv1EQfKCjwk%3D&reserved=0
As patch 6 only covers the bindings, get_maintainer.pl didn't add you or the linux-arm-kernel list on CC. You can find the patch on the devicetree list or on the devicetree patchwork:
https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/.
I will add you to the recipients for the next iteration.