Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp459378imi; Fri, 22 Jul 2022 02:51:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1upAhmLmHmMqsinIOeowiEtrKsTQbGr/PBLfbnA3/+3TeColrso5r8Dq7e5yL1I8tohwx0R X-Received: by 2002:a05:6a00:1d8f:b0:52a:b787:b480 with SMTP id z15-20020a056a001d8f00b0052ab787b480mr2876855pfw.71.1658483501594; Fri, 22 Jul 2022 02:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658483501; cv=none; d=google.com; s=arc-20160816; b=jxFXvY33B6d52JgQCv8LF/S9sQTeyV6JfUZnojxY5oVDSpBM/8GOQggX3e2OrcKw4R N1x0cCJxlNSJ2bogg+hzt8VeDYkw3yDVh3lnsJxipKeu40h233GtbIuIYq/atPkv4Sgq GA7Zpmt7m25K5NzfXBgf/ULYnJgNCD+Ihi0Ywd2C7R8+IEnBVR7g15u3KYVx0hs1skRs /AbimPJaOEOlud8XoDOVHxFvC1BJLapKm9dwRNr6fLpNobN4i6TeFx0rQ/ccH8z8sYW2 iQGqMiBEWOVG2jIBqnihIblOzwhXzaE8pdQt7JdYzZO4XzznekaGu1nN8KIdltxxuCDg v2BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=yUq9M9INcITzJM+siqzDdnf1O7i6dNuc5BY3jsUfhbo=; b=V3pB5Z+D9XUINy09l2kJEk/aBWY6iL3km1QYAdbQ50Q9rdLcQW1Nw2dToRrax1JpqJ Ek72VqH0jtg7kE/6UnTsAw2SHLiVdNWQBnjZQre7tio8wgMo/m0n5brOEqoCk1K/+zit GiUgE61boKd8SQOtsaBv1K7ekKnRZDrcVcU0BtV/lPf8e78cnnFYIl8WzRCH2sjpU040 1yFRYgcHXIzd8a+P7OTSZDZqZWSfUvPgPpjlo8M/pBCcrW/crzRt7fsFpjLRMfZA6PMt 7BmTP9HF7AdHdCUFb9ke+1m7wXfDuFs/Ws5ELYnRQg5C3mfRjYSVc+MVN34etbc7cnih lFPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a655cc5000000b0041996f0fe2fsi5330534pgt.570.2022.07.22.02.51.26; Fri, 22 Jul 2022 02:51:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235014AbiGVIew (ORCPT + 99 others); Fri, 22 Jul 2022 04:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235011AbiGVIev (ORCPT ); Fri, 22 Jul 2022 04:34:51 -0400 Received: from mo-csw.securemx.jp (mo-csw1114.securemx.jp [210.130.202.156]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99DC39EC42; Fri, 22 Jul 2022 01:34:50 -0700 (PDT) Received: by mo-csw.securemx.jp (mx-mo-csw1114) id 26M8YHbO004356; Fri, 22 Jul 2022 17:34:17 +0900 X-Iguazu-Qid: 2wHHCGtN6yCYJPGagK X-Iguazu-QSIG: v=2; s=0; t=1658478857; q=2wHHCGtN6yCYJPGagK; m=nVA3CjmG/8lyNcuw0V5v1MshkB+vWVTzQZb1hzhV+1o= Received: from imx12-a.toshiba.co.jp ([38.106.60.135]) by relay.securemx.jp (mx-mr1112) id 26M8YFCv023985 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 22 Jul 2022 17:34:15 +0900 X-SA-MID: 39258142 From: Yuji Ishikawa To: Rob Herring , Hans Verkuil , Nobuhiro Iwamatsu , Jonathan Corbet , Sumit Semwal , =?UTF-8?q?Christian=20K=C3=B6nig?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, yuji2.ishikawa@toshiba.co.jp Subject: [PATCH v2 1/5] dt-bindings: soc: visconti: Add Toshiba Visconti DNN image processing accelerator bindings Date: Fri, 22 Jul 2022 17:28:54 +0900 X-TSB-HOP2: ON Message-Id: <20220722082858.17880-2-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220722082858.17880-1-yuji2.ishikawa@toshiba.co.jp> References: <20220722082858.17880-1-yuji2.ishikawa@toshiba.co.jp> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds the Device Tree binding documentation that allows to describe the DNN image processing accelerator found in Toshiba Visconti SoCs. Signed-off-by: Yuji Ishikawa Reviewed-by: Nobuhiro Iwamatsu --- .../soc/visconti/toshiba,visconti-dnn.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/visconti/toshiba,visconti-dnn.yaml diff --git a/Documentation/devicetree/bindings/soc/visconti/toshiba,visconti-dnn.yaml b/Documentation/devicetree/bindings/soc/visconti/toshiba,visconti-dnn.yaml new file mode 100644 index 000000000..28576a55e --- /dev/null +++ b/Documentation/devicetree/bindings/soc/visconti/toshiba,visconti-dnn.yaml @@ -0,0 +1,54 @@ +# SPDX-LIcense-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/visconti/toshiba,visconti-dnn.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba Visconti DNN image processing accelerator + +maintainers: + - Nobuhiro Iwamatsu + +description: | + Toshiba Visconti DNN image processing accelerator. + Visconti5 have up to 2 DNN units. + +properties: + compatible: + items: + - const: toshiba,visconti-dnn + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + index: + enum: [0, 1] + +required: + - compatible + - reg + - interrupts + - index + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + dnn0: dnn@14280000 { + compatible = "toshiba,visconti-dnn"; + reg = <0 0x14280000 0 0x8000>; + interrupts = ; + index = <0>; + status = "disabled"; + }; + }; -- 2.17.1