arm64: dts: rockchip: add Banana Pi BPI-P2 Pro board
Subsystems (5)
cover arm64: dts: rockchip: add Banana Pi BPI-P2 Pro board
This series add support for Banana Pi BPI-P2 Pro based on Rockchip RK3308 (RK3308B-S variant) made by Shenzhen SINOVOIP.
Patch 1 fixes rk3308-codec DTB warning.
Patch 2-3 adds binding and dts for the board.
Dmitry Yashin (3):
ASoC: dt-bindings: rockchip,rk3308-codec: add port property
dt-bindings: arm: rockchip: add Banana Pi BPI-P2 Pro board
arm64: dts: rockchip: add Banana Pi BPI-P2 Pro board
.../devicetree/bindings/arm/rockchip.yaml | 5 + .../bindings/sound/rockchip,rk3308-codec.yaml | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3308-bpi-p2-pro.dts | 362 ++++++++++++++++++ 4 files changed, 372 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts
base-commit: 9220a541da2bc49ac79e0475843048ba29e4d076
Signature · 1 line
2.39.5
PATCH 1/3 ASoC: dt-bindings: rockchip,rk3308-codec: add port property
Fix DTB warnings when rk3308-codec used with audio-graph-card by documenting port property:
codec@ff560000: 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
--- .../devicetree/bindings/sound/rockchip,rk3308-codec.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.yaml +4 -0
@@ -48,6 +48,10 @@ properties: - const: mclk_rx - const: hclk + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + resets: maxItems: 1
Signature · 1 line
2.39.5
PATCH 2/3 dt-bindings: arm: rockchip: add Banana Pi BPI-P2 Pro board
In reply to Dmitry YashinBanana Pi BPI-P2 Pro is the SBC made by Shenzhen SINOVOIP based on Rockchip RK3308.
Banana Pi BPI-P2 Pro features:
- Rockchip RK3308B-S
- DDR3 512 MB
- eMMC 8 GB
- 100M lan + onboard PoE
- 40 pin and 12 pin headers
- AP6256 BT + WIFI
- TF card slot
- 2x USB 2.0 (Type-C OTG and Type-A)
- Headphone jack
Add devicetree binding for Banana Pi BPI-P2 Pro.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -1104,6 +1104,11 @@ properties: - const: rockchip,rk3568-evb1-v10 - const: rockchip,rk3568 + - description: Sinovoip RK3308 Banana Pi BPI-P2 Pro + items: + - const: sinovoip,rk3308-bpi-p2pro + - const: rockchip,rk3308 + - description: Sinovoip RK3568 Banana Pi R2 Pro items: - const: sinovoip,rk3568-bpi-r2pro
Signature · 1 line
2.39.5
PATCH 3/3 arm64: dts: rockchip: add Banana Pi BPI-P2 Pro board
In reply to Dmitry YashinBanana Pi BPI-P2 Pro is the SBC made by Shenzhen SINOVOIP based on Rockchip RK3308.
Banana Pi BPI-P2 Pro features:
- Rockchip RK3308B-S
- DDR3 512 MB
- eMMC 8 GB
- 100M lan + onboard PoE
- 40 pin and 12 pin headers
- AP6256 BT + WIFI
- TF card slot
- 2x USB 2.0 (Type-C OTG and Type-A)
- Headphone jack
Add support for Banana Pi BPI-P2 Pro.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3308-bpi-p2-pro.dts | 362 ++++++++++++++++++ 2 files changed, 363 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-edimm2.2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-firefly-jd4-core-mb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-ringneck-haikou.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-bpi-p2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-rock-pi-s.dtb
arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts new file +362 -0
362 lines not on this page · raw message
Signature · 1 line
2.39.5
Heiko Stuebner
maintainerRe: [PATCH 2/3] dt-bindings: arm: rockchip: add Banana Pi BPI-P2 Pro board
In reply to Dmitry YashinAm Montag, 28. Oktober 2024, 22:33:13 CET schrieb Dmitry Yashin:
Quoted 26 lines
Banana Pi BPI-P2 Pro is the SBC made by Shenzhen SINOVOIP based on Rockchip RK3308.
Banana Pi BPI-P2 Pro features:
- Rockchip RK3308B-S
- DDR3 512 MB
- eMMC 8 GB
- 100M lan + onboard PoE
- 40 pin and 12 pin headers
- AP6256 BT + WIFI
- TF card slot
- 2x USB 2.0 (Type-C OTG and Type-A)
- Headphone jackAdd devicetree binding for Banana Pi BPI-P2 Pro.
Signed-off-by Dmitry Yashin <[email protected]>--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)Documentation/devicetree/bindings/arm/rockchip.yaml +0
-0
Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 1107
Quoted 4 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +1
-0@@ -1104,6 +1104,11 @@ properties: - const: rockchip,rk3568-evb1-v10 - const: rockchip,rk3568 + - description: Sinovoip RK3308 Banana Pi BPI-P2 Pro
isn't BPI the short form of Banana Pi?
So the naming is sort of double and I'd expect it to be
Sinovoip RK3308 BanaPi P2 Pro
similar to how the R2 below does is?
Heiko
Quoted 8 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +4
-0+ items: + - const: sinovoip,rk3308-bpi-p2pro + - const: rockchip,rk3308 + - description: Sinovoip RK3568 Banana Pi R2 Pro items: - const: sinovoip,rk3568-bpi-r2pro
Re: [PATCH 1/3] ASoC: dt-bindings: rockchip,rk3308-codec: add port property
In reply to Dmitry YashinHello Dmitry,
Quoted 15 lines · On Tue, 29 Oct 2024 02:33:12 +0500 Dmitry Yashin <[email protected]> wrote:
Fix DTB warnings when rk3308-codec used with audio-graph-card by documenting port property:
codec@ff560000: 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by Dmitry Yashin <[email protected]>--- .../devicetree/bindings/sound/rockchip,rk3308-codec.yaml | 4 ++++ 1 file changed, 4 insertions(+)Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.yaml +0
-0
Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.yaml properties: · line 53
Quoted 6 lines
Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.yaml +3
-0@@ -48,6 +48,10 @@ properties: - const: mclk_rx - const: hclk + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false
Also, why not adding a 'port' node to the example below? Can be done in v2 in case you send one.
Luca
Signature · 3 lines
Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Mark Brown
maintainerRe: (subset) [PATCH 0/3] arm64: dts: rockchip: add Banana Pi BPI-P2 Pro board
In reply to Dmitry YashinQuoted 6 lines · Dmitry Yashin
This series add support for Banana Pi BPI-P2 Pro based on Rockchip RK3308 (RK3308B-S variant) made by Shenzhen SINOVOIP.
Patch 1 fixes rk3308-codec DTB warning.
Patch 2-3 adds binding and dts for the board.
Quoted 6 lines
Dmitry Yashin (3):
ASoC: dt-bindings: rockchip,rk3308-codec: add port property
dt-bindings: arm: rockchip: add Banana Pi BPI-P2 Pro board
arm64: dts: rockchip: add Banana Pi BPI-P2 Pro board[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/3] ASoC: dt-bindings: rockchip,rk3308-codec: add port property
commit: cc8475a07cf34891bf11a63025659d3537b638ef
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark