Skip to content

Add support for Sonoff iHost RV1126 Smart Home Gateway

Tim Lunn linux-arm-kernel linux-devicetree linux-i2c linux-rockchip 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 9 repliesApplied
  2. v29 patches 23 repliesSuperseded
  3. v18 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- i2c: add code comment and clarify commit message further
- i2c: Collect ack by Heiko
- Move ethernet alias from rv1126.dtsi to board dtsi

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8ARM: dts: rockchip: rv1126: Add alternate UART pinsarch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi+16 -00 replies
2/8ARM: dts: rockchip: rv1126: Serial aliasesarch/arm/boot/dts/rockchip/rv1126.dtsi+6 -00 replies
3/8i2c: rk3x: Adjust mask/value offset for i2c2 on rv1126drivers/i2c/busses/i2c-rk3x.c+6 -28 replies
4/8ARM: dts: rockchip: rv1126: Add i2c2 nodesarch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi arch/arm/boot/dts/rockchip/rv1126.dtsi+25 -00 replies
5/8ARM: dts: rockchip: rv1126: Split up rgmii1 pinctrlarch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi+34 -140 replies
6/8ARM: dts: rockchip: Add rv1109 SoCarch/arm/boot/dts/rockchip/rv1109.dtsi+23 -00 replies
7/8ARM: dts: Add Sonoff iHost Smart Home Hubarch/arm/boot/dts/rockchip/Makefile arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dts arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dts +1 more+436 -00 replies
8/8dt-bindings: arm: rockchip: Add Sonoff iHostDocumentation/devicetree/bindings/arm/rockchip.yaml+7 -00 replies

Reviews trailers per patch

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

PatchHeiko StuebnerRob HerringAndi Shyti
1/8
2/8
3/8A-b R-b
4/8
5/8
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/8] Add support for Sonoff iHost RV1126 Smart Home Gateway

Sonoff iHost is gateway device designed to provide a Smart Home Hub, most notably it includes builtin radios for Wifi, BT and Zigbee, which make it suitable SBC for use with many of the open home automation platforms. It is availabe in two versions, first is based on Rockchip RV1126 and 4GB DDR4 RAM. There is a second version based off the RV1109 dual core SoC and 2GB RAM.

Features:
- Rockchip RV1126 (or RV1109)
- 4GB DDR4
- 8GB eMMC
- microSD slot
- RMII Ethernet PHY
- 1x USB 2.0 Host
- 1x USB 2.0 OTG
- Realtek RTL8723DS WiFi/BT
- EFR32MG21 Silabs Zigbee radio
- Speaker/Microphone

This patch series adds the various device tree nodes required to support this device. It also adds the initial dts for this device, This work was largely based off the device trees for mainline Edgeble Neu2 and downstream Rockchip rv1126-evb-v13 configs. It has been adapted with relevant peripherals and GPIO pins for the iHost.

Implemented in this series are most of the core periperhals including Ethernet, Wifi, BT, Zigbee and RTC. Sound and USB will be added in a later series.

Changes in v3:
- i2c: add code comment and clarify commit message further
- i2c: Collect ack by Heiko
- Move ethernet alias from rv1126.dtsi to board dtsi

Changes in v2:
- i2c: clarify commit message
- Address review comments from Heiko
- Split out rv1109.dtsi to new patch
- Collect Robh Ack for dt-bindings patch

Tim Lunn (8):
ARM: dts: rockchip: rv1126: Add alternate UART pins
ARM: dts: rockchip: rv1126: Serial aliases
i2c: rk3x: Adjust mask/value offset for i2c2 on rv1126
ARM: dts: rockchip: rv1126: Add i2c2 nodes
ARM: dts: rockchip: rv1126: Split up rgmii1 pinctrl
ARM: dts: rockchip: Add rv1109 SoC
ARM: dts: Add Sonoff iHost Smart Home Hub
dt-bindings: arm: rockchip: Add Sonoff iHost

 .../devicetree/bindings/arm/rockchip.yaml     |   7 +
 arch/arm/boot/dts/rockchip/Makefile           |   2 +
 .../boot/dts/rockchip/rv1109-sonoff-ihost.dts |  13 +
 arch/arm/boot/dts/rockchip/rv1109.dtsi        |  23 +
 .../dts/rockchip/rv1126-edgeble-neu2-io.dts   |   2 +-
 .../arm/boot/dts/rockchip/rv1126-pinctrl.dtsi |  72 +++-
 .../boot/dts/rockchip/rv1126-sonoff-ihost.dts |  13 +
 .../dts/rockchip/rv1126-sonoff-ihost.dtsi     | 408 ++++++++++++++++++
 arch/arm/boot/dts/rockchip/rv1126.dtsi        |  21 +
 drivers/i2c/busses/i2c-rk3x.c                 |   8 +-
 10 files changed, 553 insertions(+), 16 deletions(-)
 create mode 100644 arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dts
 create mode 100644 arch/arm/boot/dts/rockchip/rv1109.dtsi
 create mode 100644 arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dts
 create mode 100644 arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
Signature · 1 line
2.40.1