lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231206063045.97234-2-aakarsh.jain@samsung.com>
Date:   Wed,  6 Dec 2023 12:00:35 +0530
From:   Aakarsh Jain <aakarsh.jain@...sung.com>
To:     linux-arm-kernel@...ts.infradead.org, linux-media@...r.kernel.org,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Cc:     m.szyprowski@...sung.com, andrzej.hajda@...el.com,
        mchehab@...nel.org, hverkuil-cisco@...all.nl,
        krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org,
        conor+dt@...nel.org, linux-samsung-soc@...r.kernel.org,
        andi@...zian.org, gost.dev@...sung.com, alim.akhtar@...sung.com,
        aswani.reddy@...sung.com, pankaj.dubey@...sung.com,
        ajaykumar.rs@...sung.com, aakarsh.jain@...sung.com,
        linux-fsd@...la.com
Subject: [Patch v5 01/11] dt-bindings: media: s5p-mfc: Add mfcv12 variant

Add Tesla FSD MFC(MFC v12) compatible.

Cc: linux-fsd@...la.com
Signed-off-by: Aakarsh Jain <aakarsh.jain@...sung.com>
---
changelog:
v4->v5
Added iommu property for mfcv12.

v3->v4
Since mfc dt-schema patch got merged so now only one patch remains which add
mfcv12 compatible.
On top of this change, added mfcv12 hw properties in this patch. Since, this became
relatively new patch so thought of getting it reviewed again. So, removed krzysztof's
reviewed-by tag.

v2->v3:
Fixed warnings and errors reported by Rob bot on dt-schema patch.

v1->v2:
There were two different patches for dt-schema. First patch was for conversion
of mfc txt file to json schema and also contains mfcv12 hw properties and
Second patch was for adding mfcv12 specific compatible string.
So as per review comment, changed mfcv12 compatible string to SoC base and fixed
the warnings reported by Rob bot in dt-schema file.
 .../bindings/media/samsung,s5p-mfc.yaml        | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml b/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml
index 084b44582a43..d66e51547482 100644
--- a/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml
+++ b/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml
@@ -24,6 +24,7 @@ properties:
           - samsung,mfc-v7                # Exynos5420
           - samsung,mfc-v8                # Exynos5800
           - samsung,mfc-v10               # Exynos7880
+          - tesla,fsd-mfc                 # Tesla FSD
       - items:
           - enum:
               - samsung,exynos3250-mfc    # Exynos3250
@@ -165,6 +166,23 @@ allOf:
           minItems: 1
           maxItems: 2
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - tesla,fsd-mfc
+    then:
+      properties:
+        clocks:
+          maxItems: 1
+        clock-names:
+          items:
+            - const: mfc
+        iommus:
+          maxItems: 2
+        iommus-names: false
+
 examples:
   - |
     #include <dt-bindings/clock/exynos4.h>
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ