diff mbox series

[v2,4/4] dt-bindings: qcom: geni-se: Update UART schema reference

Message ID 20220404182938.29492-5-singh.kuldeep87k@gmail.com (mailing list archive)
State Accepted
Headers show
Series [v2,1/4] dt-bindings: I2C: Add Qualcomm Geni based QUP I2C bindings | expand

Commit Message

Kuldeep Singh April 4, 2022, 6:29 p.m. UTC
We now have geni based QUP UART controller individual binding, update
reference in parent schema and remove properties from common wrapper.

With removal of last child node schema, remove common properties of all
the controllers as they have become obsolete now.

Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
v2:
- s/uart/UART
- Reword commit description
- Add Krzysztof's Rb tag
- Merge patch 5/5 of v1 series to this one:
  https://lore.kernel.org/lkml/20220402051206.6115-6-singh.kuldeep87k@gmail.com/
---
 .../bindings/soc/qcom/qcom,geni-se.yaml       | 51 +------------------
 1 file changed, 1 insertion(+), 50 deletions(-)

Comments

Bjorn Andersson April 21, 2022, 2:27 p.m. UTC | #1
On Mon, 4 Apr 2022 23:59:37 +0530, Kuldeep Singh wrote:
> We now have geni based QUP UART controller individual binding, update
> reference in parent schema and remove properties from common wrapper.
> 
> With removal of last child node schema, remove common properties of all
> the controllers as they have become obsolete now.
> 
> 
> [...]

Applied, thanks!

[4/4] dt-bindings: qcom: geni-se: Update UART schema reference
      commit: 6579f39290bf056442850094b8f4b95163c17996

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index e6073923e03a..c8e1a4a87ba8 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -64,39 +64,6 @@  required:
   - ranges
 
 patternProperties:
-  "^.*@[0-9a-f]+$":
-    type: object
-    description: Common properties for GENI Serial Engine based I2C, SPI and
-                 UART controller.
-
-    properties:
-      reg:
-        description: GENI Serial Engine register address and length.
-        maxItems: 1
-
-      clock-names:
-        const: se
-
-      clocks:
-        description: Serial engine core clock needed by the device.
-        maxItems: 1
-
-      interconnects:
-        minItems: 2
-        maxItems: 3
-
-      interconnect-names:
-        minItems: 2
-        items:
-          - const: qup-core
-          - const: qup-config
-          - const: qup-memory
-
-    required:
-      - reg
-      - clock-names
-      - clocks
-
   "spi@[0-9a-f]+$":
     type: object
     description: GENI serial engine based SPI controller. SPI in master mode
@@ -133,23 +100,7 @@  patternProperties:
   "serial@[0-9a-f]+$":
     type: object
     description: GENI Serial Engine based UART Controller.
-    $ref: /schemas/serial.yaml#
-
-    properties:
-      compatible:
-        enum:
-          - qcom,geni-uart
-          - qcom,geni-debug-uart
-
-      interrupts:
-        minItems: 1
-        items:
-          - description: UART core irq
-          - description: Wakeup irq (RX GPIO)
-
-    required:
-      - compatible
-      - interrupts
+    $ref: /schemas/serial/qcom,serial-geni-qcom.yaml#
 
 additionalProperties: false