diff mbox series

[1/2] dt-bindings: crypto: Add Mediatek EIP-93 crypto engine

Message ID 20211025094725.2282336-2-vschagen@icloud.com (mailing list archive)
State Superseded
Delegated to: Herbert Xu
Headers show
Series Enable the Mediatek EIP-93 crypto engine | expand

Commit Message

Richard van Schagen Oct. 25, 2021, 9:47 a.m. UTC
Add bindings for the Mediatek EIP-93 crypto engine.

Signed-off-by: Richard van Schagen <vschagen@icloud.com>
---
 .../bindings/crypto/mediatek, mtk-eip93.yaml  | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml

Comments

kernel test robot Oct. 26, 2021, 10:03 p.m. UTC | #1
Hi Richard,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on herbert-cryptodev-2.6/master]
[also build test ERROR on herbert-crypto-2.6/master v5.15-rc7 next-20211026]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Richard-van-Schagen/Enable-the-Mediatek-EIP-93-crypto-engine/20211025-175520
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce: make ARCH=arm dtbs_check

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> make[2]: *** No rule to make target 'Documentation/devicetree/bindings/crypto/mediatek,', needed by 'Documentation/devicetree/bindings/processed-schema-examples.json'.
>> make[2]: *** No rule to make target 'mtk-eip93.yaml', needed by 'Documentation/devicetree/bindings/processed-schema-examples.json'.
   make[2]: Target '__build' not remade because of errors.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml b/Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml
new file mode 100644
index 0000000000..6116599404
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml	
@@ -0,0 +1,41 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/crypto/mediatek,mtk-eip93.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mediatek EIP93 crypto engine
+
+maintainers:
+  - Richard van Schagen <vschagen@icloud.com>
+
+properties:
+  compatible:
+    enum:
+      - mediatek, mtk-eip93
+
+  reg:
+    maxItems: 1
+
+  interrupts-parent:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupt-parent
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    crypto: crypto@1e004000 {
+         compatible = "mediatek,mtk-eip93";
+         reg = <0x1e004000 0x1000>;
+         interrupt-parent = <&gic>;
+         interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;
+    };