[v2,1/2] spi: dt-bindings: sun6i: Allow Dual SPI and Quad SPI for the H616

Message ID 20261116-spi-sun6i-h616-dual-read-v2-1-e0c66eb71e20@gmail.com (mailing list archive)
State New
Headers
Series spi: sun6i: Add dual read support for the H616 |

Commit Message

Arun Iyengar via B4 Relay Nov. 16, 2026, 5:55 a.m. UTC
From: Arun Iyengar <aiyengar1990@gmail.com>

The H616 SPI controllers support dual and quad transfers (H616 user
manual, SPI_BCC DRM and Quad_EN bits; only SPI0 has the WP/HOLD pins
for quad). Allow them, as commit 743956bb9990 ("spi: dt-bindings:
sun6i: Allow Dual SPI and Quad SPI for newer SoCs") did for the R329
and A523. The H616 keeps the H3 fallback.

Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
---
 Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Krzysztof Kozlowski Nov. 16, 2026, 12:45 p.m. UTC | #1
On Mon, Nov 16, 2026 at 05:55:25AM +0000, Arun Iyengar wrote:
> The H616 SPI controllers support dual and quad transfers (H616 user
> manual, SPI_BCC DRM and Quad_EN bits; only SPI0 has the WP/HOLD pins
> for quad). Allow them, as commit 743956bb9990 ("spi: dt-bindings:
> sun6i: Allow Dual SPI and Quad SPI for newer SoCs") did for the R329

Referencing other commit is here redundant. You document new hardware,
so why does it matter that some other commit did something for other
hardware?

You were already arguing you do not need a compatible. See writing
bindings first.


> and A523. The H616 keeps the H3 fallback.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof
  

Patch

diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
index 14c2f318dd04..116c5868415a 100644
--- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
@@ -106,6 +106,7 @@  allOf:
           compatible:
             contains:
               enum:
+                - allwinner,sun50i-h616-spi
                 - allwinner,sun50i-r329-spi
                 - allwinner,sun55i-a523-spi
     then: