linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Updates for Radxa ROCK Pi 4
@ 2021-06-18 18:12 Alex Bee
  2021-06-18 18:12 ` [PATCH v2 1/5] dt-bindings: Add doc for ROCK Pi 4 A+ and B+ Alex Bee
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Alex Bee @ 2021-06-18 18:12 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring
  Cc: Johan Jonker, linux-rockchip, devicetree, linux-arm-kernel,
	linux-kernel, Alex Bee

Hi list,

This series adds support for 2 new revisions of Radxa's ROCK Pi 4,
namely ROCK Pi 4A+ and ROCK Pi 4B+. While most things are in common
with the previous 4A and 4B revisions, they have OP1 revision of
the SoC and eMMC soldered on board.
Patch 4 and 5 add SPDIF and anlog Codec to the common device tree,
since they are in place in previous revisions as well.
It superseeds
https://lore.kernel.org/linux-rockchip/d4e4e06e-6ddd-4707-232d-b829c1d646e6@gmail.com/

There is no example (which I could find) for Rockchip on how to
deal with "+" revisions - so I looked up other SoCs and the rule
seems to be to use the "+" for the model name (which is the "offical"
name), but use "-plus" for compatible name and device tree files names
(see "Raspberry Pi Model A+", for instance).

A short node for testing ES8316 codec:
The driver disables the headphone jack by default - for testing
one would have to enable it via amixer with:
amixer [card index] 'Right Headphone Mixer Right DAC' on
amixer [card index] 'Left Headphone Mixer Left DAC' on

Alex

Changes in v2:
- added additional compatibles for the new revisions (Heiko)
- renamed ES8316 audio card name to "Analog" (Johan)
- added patch for SPDIF
- aligned spelling of board name(s)

Alex Bee (5):
  dt-bindings: Add doc for ROCK Pi 4 A+ and B+
  arm64: dts: rockchip: Add RK3399 ROCK Pi 4A+ board
  arm64: dts: rockchip: Add RK3399 ROCK Pi 4B+ board
  arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
  arm64: dts: rockchip: add SPDIF node for ROCK Pi 4

 .../devicetree/bindings/arm/rockchip.yaml     |  4 +-
 arch/arm64/boot/dts/rockchip/Makefile         |  2 +
 .../boot/dts/rockchip/rk3399-rock-pi-4.dtsi   | 54 +++++++++++++++++++
 .../dts/rockchip/rk3399-rock-pi-4a-plus.dts   | 14 +++++
 .../dts/rockchip/rk3399-rock-pi-4b-plus.dts   | 47 ++++++++++++++++
 5 files changed, 120 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts


base-commit: 009c9aa5be652675a06d5211e1640e02bbb1c33d
-- 
2.27.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-17 21:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 18:12 [PATCH v2 0/5] Updates for Radxa ROCK Pi 4 Alex Bee
2021-06-18 18:12 ` [PATCH v2 1/5] dt-bindings: Add doc for ROCK Pi 4 A+ and B+ Alex Bee
2021-07-12 20:07   ` Rob Herring
2021-06-18 18:12 ` [PATCH v2 2/5] arm64: dts: rockchip: Add RK3399 ROCK Pi 4A+ board Alex Bee
2021-06-18 18:12 ` [PATCH v2 3/5] arm64: dts: rockchip: Add RK3399 ROCK Pi 4B+ board Alex Bee
2021-06-18 18:12 ` [PATCH v2 4/5] arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4 Alex Bee
2021-06-18 18:12 ` [PATCH v2 5/5] arm64: dts: rockchip: add SPDIF node " Alex Bee
2021-07-17 21:52 ` [PATCH v2 0/5] Updates for Radxa " Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).