dt-bindings: arm: fsl: Add an entry for Cloos CBASE board
Subsystems (2)
PATCH v2 1/3 dt-bindings: arm: fsl: Add an entry for Cloos CBASE board
Add an entry for the i.MX8MM Cloos CBASE board.
---
Changes for v2:
- Place cbase in the correct order
--- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
@@ -1101,6 +1101,7 @@ properties: one compatible is needed. items: - enum: + - cloos,imx8mm-cbase # i.MX8MM Cloos CBASE Board - cloos,imx8mm-phg # i.MX8MM Cloos PHG Board - tq,imx8mm-tqma8mqml-mba8mx # TQ-Systems GmbH i.MX8MM TQMa8MQML SOM on MBa8Mx - const: tq,imx8mm-tqma8mqml # TQ-Systems GmbH i.MX8MM TQMa8MQML SOM
Signature · 1 line
2.39.5
PATCH v2 2/3 dt-bindings: trivial-devices: Add National lm77 temperature sensor
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
---
Changes for v2:
- Place the compatible name in correct place
--- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
@@ -375,6 +375,8 @@ properties: - national,lm95235 # Temperature sensor - national,lm95245 + # Temperature sensor + - national,lm77 # Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor - national,lm80 # Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor
Signature · 1 line
2.39.5
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
Quoted 2 lines · Lukasz Majewski
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
Are you sure this is a trivial device, not like LM75? No interrupts, no VS supply? Datasheet disagrees.
Best regards,
Krzysztof
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
Hi Krzysztof,
Quoted 6 lines · Lukasz Majewski
Quoted 2 lines
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
Are you sure this is a trivial device, not like LM75? No interrupts, no VS supply? Datasheet disagrees.
In my case the T_CRIT_A and INT are not connected on the schematic. Moreover, the V+ is connected to board's 3V3.
Hence, the conclusion that this sensor works as "simple" I2C based temperature sensor.
Quoted 4 lines
Best regards,
Krzysztof
Signature · 10 lines
Best regards, Lukasz Majewski -- Nabla Software Engineering GmbH HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Managing Director : Stefano Babic
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
Quoted 11 lines · Łukasz Majewski
Hi Krzysztof,
Quoted 6 lines · Lukasz Majewski
Quoted 2 lines
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
Are you sure this is a trivial device, not like LM75? No interrupts, no VS supply? Datasheet disagrees.
In my case the
T_CRIT_Aand INT are not connected on the schematic. Moreover, the V+ is connected to board's 3V3.
But they are there and binding should be complete. What's more, existing lm75 binding does not require these so there is no issue adding to the existing binding file.
Quoted 3 lines
Hence, the conclusion that this sensor works as "simple" I2C based temperature sensor.
Only because you posted incomplete binding...
Best regards,
Krzysztof
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
Hi Krzysztof,
Quoted 10 lines · Łukasz Majewski
Quoted 9 lines
Hi Krzysztof,
Quoted 6 lines · Lukasz Majewski
Quoted 2 lines
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
Are you sure this is a trivial device, not like LM75? No interrupts, no VS supply? Datasheet disagrees.
Quoted 7 lines
Quoted 2 lines
In my case the
T_CRIT_Aand INT are not connected on the schematic. Moreover, the V+ is connected to board's 3V3.But they are there and binding should be complete. What's more,
existing lm75 binding does not require these so there is no issue adding to the existing binding file.
Please be aware that internal operation of lm77 is a different than lm75 and hence it has its own Linux driver.
It seems like I cannot re-use the lm75.yaml and will need to add new national,lm77.yaml as lm77 has two interrupt outputs for hysteresis (lm75 has only one interrupt).
Quoted 8 lines
Quoted 5 lines
Hence, the conclusion that this sensor works as "simple" I2C based temperature sensor.
Only because you posted incomplete binding...
I've posted information which is in sync with what I can test and validate, but I do understand that I shall follow the policy from file:
https://www.kernel.org/doc/Documentation/devicetree/bindings/writing-bindings.txt
Quoted 2 lines
Best regards,
Krzysztof
Signature · 10 lines
Best regards, Lukasz Majewski -- Nabla Software Engineering GmbH HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Managing Director : Stefano Babic
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
Quoted 20 lines · Łukasz Majewski
Hi Krzysztof,
Quoted 10 lines · Łukasz Majewski
Quoted 9 lines
Hi Krzysztof,
Quoted 6 lines · Lukasz Majewski
Quoted 2 lines
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
Are you sure this is a trivial device, not like LM75? No interrupts, no VS supply? Datasheet disagrees.
Quoted 7 lines
Quoted 2 lines
In my case the
T_CRIT_Aand INT are not connected on the schematic. Moreover, the V+ is connected to board's 3V3.But they are there and binding should be complete. What's more,
existing lm75 binding does not require these so there is no issue adding to the existing binding file.
Quoted 6 lines
Please be aware that internal operation of lm77 is a different than lm75 and hence it has its own Linux driver.
It seems like I cannot re-use the
lm75.yamland will need to add new national,lm77.yaml as lm77 has two interrupt outputs for hysteresis (lm75 has only one interrupt).
Can be a new binding file, "national,lm77.yaml". Indeed it looks like it has two lines, unlike 75 variant.
Best regards,
Krzysztof
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
Hi Krzysztof,
Quoted 22 lines · Łukasz Majewski
Quoted 21 lines
Hi Krzysztof,
Quoted 18 lines · Łukasz Majewski
Quoted 4 lines
Hi Krzysztof,
Quoted 2 lines · Lukasz Majewski
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Add "national,lm77" as compatible for the National (now TI) LM77 digital I2C temperature sensor.
Are you sure this is a trivial device, not like LM75? No interrupts, no VS supply? Datasheet disagrees.
In my case the
T_CRIT_Aand INT are not connected on the schematic. Moreover, the V+ is connected to board's 3V3.But they are there and binding should be complete. What's more,
existing lm75 binding does not require these so there is no issue adding to the existing binding file.
Quoted 9 lines
Quoted 6 lines
Please be aware that internal operation of lm77 is a different than lm75 and hence it has its own Linux driver.
It seems like I cannot re-use the
lm75.yamland will need to add new national,lm77.yaml as lm77 has two interrupt outputs for hysteresis (lm75 has only one interrupt).Can be a new binding file, "national,lm77.yaml". Indeed it looks like it has two lines, unlike 75 variant.
+1
Quoted 2 lines
Best regards,
Krzysztof
Signature · 10 lines
Best regards, Lukasz Majewski -- Nabla Software Engineering GmbH HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Managing Director : Stefano Babic
PATCH v2 3/3 arm64: dts: freescale: Add device tree definition for Cloos CBASE with i.MX8MM
In reply to Lukasz MajewskiThis commit adds support for CBASE board, which incorporates the TQMa8MQML module.
---
Changes for v2:
- Fix the DTS according to the sashiko bot review (gemini/gemini-4-argon)
--- arch/arm64/boot/dts/freescale/Makefile | 1 + .../arm64/boot/dts/freescale/imx8mm-cbase.dts | 581 ++++++++++++++++++ 2 files changed, 582 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-cbase.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -121,6 +121,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8dxl-hummingboard-telematics.dtb dtb-$(CONFIG_ARCH_MXC) += imx8dxp-tqma8xdp-mba8xx.dtb dtb-$(CONFIG_ARCH_MXC) += imx8dxp-tqma8xdps-mb-smarc-2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-cbase.dtb imx8mm-data-modul-edm-sbc-overlay-cm4-dtbs := \ imx8mm-data-modul-edm-sbc.dtb \
arch/arm64/boot/dts/freescale/imx8mm-cbase.dts new file +581 -0
581 lines not on this page · raw message
Signature · 1 line
2.39.5
Re: [PATCH v2 3/3] arm64: dts: freescale: Add device tree definition for Cloos CBASE with i.MX8MM
On Thu, Nov 12, 2026 at 05:37:03PM +0100, Lukasz Majewski wrote:
subject:
arm64: dts: imx8mm: Add Cloos CBASE support
Quoted 3 lines
This commit adds support for CBASE board, which incorporates the TQMa8MQML module.
Don't use word "this commit",
just
Add support for CBASE board ...
Quoted 3 lines
Signed-off-by Lukasz Majewski <[email protected]>---
...
arch/arm64/boot/dts/freescale/imx8mm-cbase.dts line 312
Quoted 11 lines
arch/arm64/boot/dts/freescale/imx8mm-cbase.dts new file +11
-0+ + port@9 { + reg = <9>; + label = "lan-sfp1"; + phy-mode = "sgmii"; + sfp = <&sfp_top>; + managed = "in-band-status"; + }; + + port@a { + reg = <10>;
use hex value to match port@a
Frank
Quoted 9 lines · Lukasz Majewski
Add an entry for the i.MX8MM Cloos CBASE board.
Signed-off-by Lukasz Majewski <[email protected]>---
Changes for v2:
- Place cbase in the correct order--- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+)
Best regards,
Krzysztof