dt-bindings: embedded-controller: add binding for Ten64 board controller
Subsystems (2)
v4 cover dt-bindings: embedded-controller: add binding for Ten64 board controller
This series requires the "dt-bindings: mfd: Move embedded controllers to own directory"[1] change which is in mfd-next for the 6.18 cycle.
Changes since v3:
- Move to the embedded-controller directory (which was created following the last submission)
- Remove the extra paragraph in the dt-binding description field
- Const'ify the I2C endpoint address (only one I2C address is implemented in hardware, 0x7e)
- Fix the description line of the fsl-ls1088a-ten64 patch (s/arm/arm64)
v3 series:
https://patchwork.ozlabs.org/project/devicetree-bindings/cover/[email protected]/
More information on the board controller can be found here:
https://ten64doc.traverse.com.au/hardware/microcontroller/
There is no (presently) Linux kernel driver for this device, but it is used by U-Boot for functions such as reading out the MAC and controlling some devices on the board.
[1] https://lore.kernel.org/all/[email protected]/
Mathew McBride (2):
dt-bindings: embedded-controller: add Traverse Ten64 board controller
arm64: dts: ten64: add board controller binding
.../traverse,ten64-controller.yaml | 40 +++++++++++++++++++ .../boot/dts/freescale/fsl-ls1088a-ten64.dts | 4 ++ 2 files changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml
Signature · 1 line
2.45.1
PATCH v4 1/2 dt-bindings: embedded-controller: add Traverse Ten64 board controller
Add device tree binding for the board (micro)controller on Ten64 family boards[1].
The schema is simple and is (presently) only consumed by U-Boot, but it is possible nvmem, watchdog and other features could be described in the future, as well as extension to future Traverse boards.
[1] https://ten64doc.traverse.com.au/hardware/microcontroller/
--- .../traverse,ten64-controller.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml
Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml new file +40 -0
@@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/embedded-controller/traverse,ten64-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Traverse Ten64 board microcontroller + +maintainers: + - Mathew McBride <[email protected]> + +description: | + The board microcontroller on the Ten64 board family is responsible for + management of power sources on the board, as well as signalling the SoC + to power on and reset. + +properties: + compatible: + const: traverse,ten64-controller + + reg: + const: 0x7e + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + board-controller@7e { + compatible = "traverse,ten64-controller"; + reg = <0x7e>; + }; + };
Signature · 1 line
2.45.1
Re: [PATCH v4 1/2] dt-bindings: embedded-controller: add Traverse Ten64 board controller
Quoted 11 lines · Mathew McBride
Add device tree binding for the board (micro)controller on Ten64 family boards[1].
The schema is simple and is (presently) only consumed by U-Boot, but it is possible nvmem, watchdog and other features could be described in the future, as well as extension to future Traverse boards.
[1] https://ten64doc.traverse.com.au/hardware/microcontroller/
Signed-off-by Mathew McBride <[email protected]>---
Where is explanation of reason of dropping tag?
Best regards,
Krzysztof
PATCH v4 2/2 arm64: dts: ten64: add board controller binding
In reply to Mathew McBrideThe board (micro)controller[1] is responsible for functions such as power supply sequencing, SoC reset as well as serial/MAC address storage, bootcount and scratch registers.
There is currently no Linux kernel driver for this controller, however, there is a driver in U-Boot which utilises this binding.
[1] https://ten64doc.traverse.com.au/hardware/microcontroller/
--- arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts +4 -0
@@ -253,6 +253,10 @@ usbhub: usb-hub@2d { reg = <0x2d>; }; + uc: board-controller@7e { + compatible = "traverse,ten64-controller"; + reg = <0x7e>; + }; }; &i2c2 {
Signature · 1 line
2.45.1
Quoted 11 lines · Mathew McBride
This series requires the "dt-bindings: mfd: Move embedded controllers to own directory"[1] change which is in mfd-next for the 6.18 cycle.
Changes since v3:
- Move to the embedded-controller directory (which was created following the last submission)
- Remove the extra paragraph in the dt-binding description field
- Const'ify the I2C endpoint address (only one I2C address is implemented in hardware,0x7e)
- Fix the description line of the fsl-ls1088a-ten64 patch (s/arm/arm64)
Quoted 2 lines
v3 series:
https://patchwork.ozlabs.org/project/devicetree-bindings/cover/[email protected]/
Please use lore links or just start using b4.
https://www.linaro.org/blog/becoming-a-kernel-developer-part1-posting-your-first-patch/
Best regards,
Krzysztof