[PATCH] dt-bindings: serial: samsung: Add compatible for ARTPEC-9 SoC

Ravi Patel posted 1 patch 2 weeks, 1 day ago
There is a newer version of this series
Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dt-bindings: serial: samsung: Add compatible for ARTPEC-9 SoC
Posted by Ravi Patel 2 weeks, 1 day ago
Add Axis ARTPEC-9 uart compatible to the bindings documentation.
It is similar to the older samsung,exynos8895-uart design.

Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
 Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
index 1a1f991d5364..3895049c954c 100644
--- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
+++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
@@ -48,6 +48,7 @@ properties:
           - const: samsung,exynos850-uart
       - items:
           - enum:
+              - axis,artpec9-uart
               - samsung,exynos7870-uart
           - const: samsung,exynos8895-uart

@@ -168,6 +169,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - axis,artpec9-uart
               - google,gs101-uart
               - samsung,exynos8895-uart
     then:
--
2.17.1
Re: [PATCH] dt-bindings: serial: samsung: Add compatible for ARTPEC-9 SoC
Posted by Conor Dooley 2 weeks ago
On Wed, Sep 17, 2025 at 12:43:42PM +0530, Ravi Patel wrote:
> Add Axis ARTPEC-9 uart compatible to the bindings documentation.
> It is similar to the older samsung,exynos8895-uart design.
> 
> Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
> ---
>  Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> index 1a1f991d5364..3895049c954c 100644
> --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> @@ -48,6 +48,7 @@ properties:
>            - const: samsung,exynos850-uart
>        - items:
>            - enum:
> +              - axis,artpec9-uart
>                - samsung,exynos7870-uart
>            - const: samsung,exynos8895-uart

> @@ -168,6 +169,7 @@ allOf:
>          compatible:
>            contains:
>              enum:
> +              - axis,artpec9-uart

This hunk is not needed, any compatible property that contains artpec9 must
contain exynos8895.

>                - google,gs101-uart
>                - samsung,exynos8895-uart
>      then:
> --
> 2.17.1
> 
RE: [PATCH] dt-bindings: serial: samsung: Add compatible for ARTPEC-9 SoC
Posted by Ravi Patel 2 weeks ago

> -----Original Message-----
> From: Conor Dooley <conor@kernel.org>
> Sent: 18 September 2025 00:59
> To: Ravi Patel <ravi.patel@samsung.com>
> Cc: gregkh@linuxfoundation.org; jirislaby@kernel.org; robh@kernel.org; krzk+dt@kernel.org; conor+dt@kernel.org; krzk@kernel.org;
> linux-kernel@vger.kernel.org; linux-serial@vger.kernel.org; devicetree@vger.kernel.org; ksk4725@coasia.com; pjsin865@coasia.com;
> gwk1013@coasia.com; bread@coasia.com; jspark@coasia.com; limjh0823@coasia.com; lightwise@coasia.com; hgkim05@coasia.com;
> mingyoungbo@coasia.com; smn1196@coasia.com; shradha.t@samsung.com; swathi.ks@samsung.com; kenkim@coasia.com
> Subject: Re: [PATCH] dt-bindings: serial: samsung: Add compatible for ARTPEC-9 SoC
> 
> On Wed, Sep 17, 2025 at 12:43:42PM +0530, Ravi Patel wrote:
> > Add Axis ARTPEC-9 uart compatible to the bindings documentation.
> > It is similar to the older samsung,exynos8895-uart design.
> >
> > Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
> > ---
> >  Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> > index 1a1f991d5364..3895049c954c 100644
> > --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> > +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> > @@ -48,6 +48,7 @@ properties:
> >            - const: samsung,exynos850-uart
> >        - items:
> >            - enum:
> > +              - axis,artpec9-uart
> >                - samsung,exynos7870-uart
> >            - const: samsung,exynos8895-uart
> 
> > @@ -168,6 +169,7 @@ allOf:
> >          compatible:
> >            contains:
> >              enum:
> > +              - axis,artpec9-uart
> 
> This hunk is not needed, any compatible property that contains artpec9 must
> contain exynos8895.

Thanks for review, I have updated in v2 patch.

Thanks,
Ravi

> 
> >                - google,gs101-uart
> >                - samsung,exynos8895-uart
> >      then:
> > --
> > 2.17.1
> >