diff mbox series

[v1,2/6] spi: dt-bindings: samsung: Add a compatible for samsung,exynos8895-spi

Message ID 20241020182121.377969-3-ivo.ivanov.ivanov1@gmail.com
State New
Headers show
Series arm64: dts: exynos8895: Add cmu, mct, serial_0/1 and spi_0/1 | expand

Commit Message

Ivaylo Ivanov Oct. 20, 2024, 6:21 p.m. UTC
According to the vendor kernel, the Exynos8895 SoC has an SPI
configuration that matches with the Exynos850 one.

SPI FIFO depth is 64 bytes for all SPI blocks. All blocks have DIV_4
as the default internal clock divider, and an internal loopback mode
to run a loopback test.

Reuse the samsung,exynos850-spi compatible.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
---
 Documentation/devicetree/bindings/spi/samsung,spi.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Krzysztof Kozlowski Oct. 21, 2024, 9:46 a.m. UTC | #1
On 20/10/2024 20:21, Ivaylo Ivanov wrote:
> According to the vendor kernel, the Exynos8895 SoC has an SPI
> configuration that matches with the Exynos850 one.
> 
> SPI FIFO depth is 64 bytes for all SPI blocks. All blocks have DIV_4
> as the default internal clock divider, and an internal loopback mode
> to run a loopback test.
> 
> Reuse the samsung,exynos850-spi compatible.
> 
> Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>

I assume this will go via SPI:

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Documentation/devicetree/bindings/spi/samsung,spi.yaml
index f681372da..3c206a64d 100644
--- a/Documentation/devicetree/bindings/spi/samsung,spi.yaml
+++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml
@@ -26,6 +26,10 @@  properties:
           - samsung,exynos850-spi
           - samsung,exynosautov9-spi
           - tesla,fsd-spi
+      - items:
+          - enum:
+              - samsung,exynos8895-spi
+          - const: samsung,exynos850-spi
       - const: samsung,exynos7-spi
         deprecated: true