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

Ivaylo Ivanov posted 6 patches 1 month ago
There is a newer version of this series
[PATCH v1 2/6] spi: dt-bindings: samsung: Add a compatible for samsung,exynos8895-spi
Posted by Ivaylo Ivanov 1 month ago
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(+)

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
 
-- 
2.43.0
Re: [PATCH v1 2/6] spi: dt-bindings: samsung: Add a compatible for samsung,exynos8895-spi
Posted by Krzysztof Kozlowski 1 month ago
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