dt-bindings: arm: fsl: Add an entry for Cloos CBASE board
Subsystems (3)
PATCH v4 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
Changes for v3:
- Add Acked-by
Changes for v4:
- None
--- 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 v4 2/3 dt-bindings: hwmon: Add National/TI LM77 temperature sensor
Add binding description for National/TI LM77 temperature sensor. When compared to LM75 - it has two output pins one for interrupt and another one to signal the critical temperature alarm.
It also has only two I2C address pins (A0 and A1) - possible I2C addresses are: 0x4[89ab].
---
Changes for v3:
- New patch, as this IC description is added to Documentation/hwmon as a separate entry and not to trivial devices
Changes for v4:
- Add Reviewed-by tag
--- .../bindings/hwmon/national,lm77.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/national,lm77.yaml
Documentation/devicetree/bindings/hwmon/national,lm77.yaml new file +66 -0
@@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/national,lm77.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: National Semiconductor / TI LM77 Temperature Sensor + +maintainers: + - Guenter Roeck <[email protected]> + +description: | + The LM77 is a 9-bit plus sign digital temperature sensor and thermal window + comparator with a 2-wire (I2C) interface. + + Unlike the LM75, which has a single alert output, the LM77 features two + separate open-drain outputs: an Interrupt (INT) output and a Critical + Temperature Alarm (T_CRIT_A) output. + +properties: + compatible: + const: national,lm77 + + reg: + maxItems: 1 + description: | + I2C address of the device. Depending on the A0 and A1 pins, this + can be 0x48, 0x49, 0x4a, or 0x4b. + + vs-supply: + description: +VS power supply regulator. + + interrupts: + minItems: 1 + maxItems: 2 + description: | + The LM77 has two open-drain interrupt outputs. + - The first interrupt should be the INT pin (window comparator). + - The second (optional) interrupt is the T_CRIT_A pin (critical + over-temp limit). + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temperature-sensor@49 { + compatible = "national,lm77"; + reg = <0x49>; + vs-supply = <&vcc_3v3_reg>; + interrupt-parent = <&gpio1>; + + /* INT routed to GPIO1_12, T_CRIT_A routed to GPIO1_13 */ + interrupts = <12 IRQ_TYPE_LEVEL_LOW>, + <13 IRQ_TYPE_LEVEL_LOW>; + }; + };
Signature · 1 line
2.39.5
PATCH v4 3/3 arm64: dts: imx8mm: Add Cloos CBASE support
In reply to Lukasz MajewskiAdd 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) Changes for v3:
- None
Changes for v4:
- Use hex values for switch reg property
- Change subject and commit message according to community feedback
--- 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