* [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632
@ 2025-01-22 7:23 Wenhua Lin
2025-01-22 7:53 ` Krzysztof Kozlowski
2025-01-22 11:05 ` Krzysztof Kozlowski
0 siblings, 2 replies; 4+ messages in thread
From: Wenhua Lin @ 2025-01-22 7:23 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Orson Zhai, Baolin Wang, Chunyan Zhang, Cixi Geng, linux-kernel,
linux-serial, devicetree, wenhua lin, Wenhua Lin, Xiongpeng Wu,
Zhaochen Su, Zhirong Qiu
The UART IP version of the ums9632 SoC project has been upgraded.
UART controller registers have added valid bits to support new features.
In order to distinguish different UART IP versions, we use sc9632-uart
to represent upgraded IP and sc9836-uart to represent old IP.
Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
---
V3->V4 changes:
* Modify the indentation format.
V2->V3 changes:
* Lists are ordered by fallback.
* Combine two const items into enum.
* Change commit message.
V1->V2 changes:
* Modify the compatible string of enum.
* Change commit message.
---
Documentation/devicetree/bindings/serial/sprd-uart.yaml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/sprd-uart.yaml b/Documentation/devicetree/bindings/serial/sprd-uart.yaml
index a2a5056eba04..5bf2656afcfd 100644
--- a/Documentation/devicetree/bindings/serial/sprd-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/sprd-uart.yaml
@@ -17,13 +17,18 @@ properties:
oneOf:
- items:
- enum:
- - sprd,sc9632-uart
+ - sprd,ums9632-uart
+ - const: sprd,sc9632-uart
+ - items:
+ - enum:
- sprd,sc9860-uart
- sprd,sc9863a-uart
- sprd,ums512-uart
- sprd,ums9620-uart
- const: sprd,sc9836-uart
- - const: sprd,sc9836-uart
+ - enum:
+ - sprd,sc9632-uart
+ - sprd,sc9836-uart
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632
2025-01-22 7:23 [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632 Wenhua Lin
@ 2025-01-22 7:53 ` Krzysztof Kozlowski
2025-01-22 10:39 ` wenhua lin
2025-01-22 11:05 ` Krzysztof Kozlowski
1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-22 7:53 UTC (permalink / raw)
To: Wenhua Lin, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Orson Zhai, Baolin Wang, Chunyan Zhang, Cixi Geng, linux-kernel,
linux-serial, devicetree, wenhua lin, Xiongpeng Wu, Zhaochen Su,
Zhirong Qiu
On 22/01/2025 08:23, Wenhua Lin wrote:
> The UART IP version of the ums9632 SoC project has been upgraded.
> UART controller registers have added valid bits to support new features.
> In order to distinguish different UART IP versions, we use sc9632-uart
> to represent upgraded IP and sc9836-uart to represent old IP.
>
> Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
> ---
> V3->V4 changes:
> * Modify the indentation format.
Did you test your patch before sending this time?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632
2025-01-22 7:53 ` Krzysztof Kozlowski
@ 2025-01-22 10:39 ` wenhua lin
0 siblings, 0 replies; 4+ messages in thread
From: wenhua lin @ 2025-01-22 10:39 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Wenhua Lin, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Orson Zhai, Baolin Wang,
Chunyan Zhang, Cixi Geng, linux-kernel, linux-serial, devicetree,
Xiongpeng Wu, Zhaochen Su, Zhirong Qiu
On Wed, Jan 22, 2025 at 3:53 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 22/01/2025 08:23, Wenhua Lin wrote:
> > The UART IP version of the ums9632 SoC project has been upgraded.
> > UART controller registers have added valid bits to support new features.
> > In order to distinguish different UART IP versions, we use sc9632-uart
> > to represent upgraded IP and sc9836-uart to represent old IP.
> >
> > Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
> > ---
> > V3->V4 changes:
> > * Modify the indentation format.
>
> Did you test your patch before sending this time?
>
> Best regards,
> Krzysztof
hi Krzysztof:
PATCH V4 dt_binding_check test result:
wenhua.lin@f7fdd53ce35c:~/code/linux_update/linux$ make
DT_CHECKER_FLAGS=-m dt_binding_check W=1
O=/home/wenhua.lin/p/sprdikt/out/dt-out
DT_SCHEMA_FILES=Documentation/devicetree/bindings/serial/sprd-uart.yaml
make[1]: Entering directory '/home/wenhua.lin/p/sprdikt/out/dt-out'
SCHEMA Documentation/devicetree/bindings/processed-schema.json
CHKDT /home2/wenhua.lin/code/linux_update/linux/Documentation/devicetree/bindings
LINT /home2/wenhua.lin/code/linux_update/linux/Documentation/devicetree/bindings
DTEX Documentation/devicetree/bindings/serial/sprd-uart.example.dts
DTC [C] Documentation/devicetree/bindings/serial/sprd-uart.example.dtb
make[1]: Leaving directory '/home/wenhua.lin/p/sprdikt/out/dt-out'
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632
2025-01-22 7:23 [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632 Wenhua Lin
2025-01-22 7:53 ` Krzysztof Kozlowski
@ 2025-01-22 11:05 ` Krzysztof Kozlowski
1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-22 11:05 UTC (permalink / raw)
To: Wenhua Lin, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Orson Zhai, Baolin Wang, Chunyan Zhang, Cixi Geng, linux-kernel,
linux-serial, devicetree, wenhua lin, Xiongpeng Wu, Zhaochen Su,
Zhirong Qiu
On 22/01/2025 08:23, Wenhua Lin wrote:
> The UART IP version of the ums9632 SoC project has been upgraded.
> UART controller registers have added valid bits to support new features.
> In order to distinguish different UART IP versions, we use sc9632-uart
> to represent upgraded IP and sc9836-uart to represent old IP.
>
> Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
> ---
> V3->V4 changes:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-01-22 11:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 7:23 [PATCH V4] dt-bindings: serial: Add a new compatible string for UMS9632 Wenhua Lin
2025-01-22 7:53 ` Krzysztof Kozlowski
2025-01-22 10:39 ` wenhua lin
2025-01-22 11:05 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox