Skip to content

Add Khadas MCU and fan control support for Khadas Edge 2

[email protected] linux-arm-kernel linux-devicetree linux-rockchip lkml llvm oe-kbuild-all 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v25 patches 2 repliesSuperseded
  3. v15 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- Renamed the compatible "khadas,mcu-v2" to "khadas,mcu-edge2" for Khadas Edge 2.
- Renamed KHADAS_MCU_V2 registers prefix to KHADAS_MCU_EDGE2.
- Used of_device_get_match_data instead of of_device_is_compatible to identify the MCU variant.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: mfd: khadas-mcu: add new compatible for Khadas Edge 2Documentation/devicetree/bindings/mfd/khadas,mcu.yaml+3 -21 reply
2/5mfd: khadas-mcu: drop unused nvmem codedrivers/mfd/khadas-mcu.c+0 -110 replies
3/5mfd: add Khadas Edge 2 registers to khadas-mcu.drivers/mfd/khadas-mcu.c include/linux/mfd/khadas-mcu.h+76 -30 replies
4/5thermal: khadas_mcu_fan: add support for Khadas Edge 2drivers/thermal/khadas_mcu_fan.c+16 -40 replies
5/5arm64: dts: rockchip: add Khadas MCU and fan control nodesarch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts+58 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchNeil ArmstrongConor Dooley
1/5A-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] Add Khadas MCU and fan control support for Khadas Edge 2

From: Muhammed Efe Cetin <[email protected]>

This patch series adds support for the Khadas MCU and fan control for Khadas Edge 2 board.

The first patch updates the device tree bindings to add new "khadas,mcu-edge2" compatible for Khadas Edge 2.
The second mfd patch removes unused nvmem code.
The third patch adds the Khadas Edge 2 registers to the mfd driver.
The fourth patch adds support for Khadas Edge 2's new fan control registers to MCU thermal driver and the last one adds the Khadas Edge 2 device tree node for the MCU and fan control. And the final patch adds the Khadas Edge 2 device tree node for the MCU and fan control.

Changes in v3:
- Renamed the compatible "khadas,mcu-v2" to "khadas,mcu-edge2" for Khadas Edge 2.
- Renamed KHADAS_MCU_V2 registers prefix to KHADAS_MCU_EDGE2.
- Used of_device_get_match_data instead of of_device_is_compatible to identify the MCU variant.

Changes in v2:
- Added a new compatible "khadas,mcu-v2" for Khadas Edge 2 instead of cooling-levels property in old variant.
- Added Khadas Edge 2 registers with KHADAS_MCU_EDGE2 prefix.

Muhammed Efe Cetin (5):
dt-bindings: mfd: khadas-mcu: add new compatible for Khadas Edge 2
mfd: khadas-mcu: drop unused nvmem code
mfd: add Khadas Edge 2 registers to khadas-mcu.
thermal: khadas_mcu_fan: add support for Khadas Edge 2
arm64: dts: rockchip: add Khadas MCU and fan control nodes

 .../devicetree/bindings/mfd/khadas,mcu.yaml   |  5 +-
 .../dts/rockchip/rk3588s-khadas-edge2.dts     | 58 +++++++++++++++++++
 drivers/mfd/khadas-mcu.c                      | 58 ++++++++++++++-----
 drivers/thermal/khadas_mcu_fan.c              | 20 +++++--
 include/linux/mfd/khadas-mcu.h                | 32 ++++++++++
 5 files changed, 153 insertions(+), 20 deletions(-)
Signature · 1 line
2.51.1.dirty