Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp885744iob; Thu, 28 Apr 2022 13:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN0CX9xexLKMXkdvELyh/Sh6i9Xd/xdUlbFtOKnhmfZ6g6lre2uYaNGLxS02U+ZF3eeqn6 X-Received: by 2002:a19:500c:0:b0:472:3d7:769a with SMTP id e12-20020a19500c000000b0047203d7769amr15700070lfb.218.1651176091762; Thu, 28 Apr 2022 13:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651176091; cv=none; d=google.com; s=arc-20160816; b=SaDHct+3nuGnUitgOokjieJ5xhUA7mJrAjRFEfknaOjRRGIk56xG93iZ1376OQ1yUF ug5MPGXqrlBWxZBsFfJFdjBl/9hLisokL+40DKee76el+nOOD26q5irFS4LWnE8pzPAj MZzROCgB0d/p9cD7N+5IySliZ7nP5A/q5WYPBXiUEpKR3dWQKBBBd2ZbFTcdDG1ARf33 oPavlvKLL0v+v0+0Png5DmaO6+/2KZYZiSGlCCXLzkrTbEEaSPLmauKCav+/mNQoZXVr VaL0z3yK+8kx4udOUjK7fB+kjd8CxMcUPCosMwZvnssF46dWjO9azE65tkZ0/Av6xhBa lNkg== 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=ona6GXZob0DIav1GlUfdFkJjB+eQsT5F9su8msfCKmzIFw7wz9F8tgVv5EwQ06oVIH qYgE1HyUqXgr+n8ozjPl2jG2cWDLljwY4EqaaiqvibDxm/EwMZYJAKbQIkYtng+BZ5Rd Ll/B3gCeyXe5SUIJ9FeGwK3L/KnZ6zEVWHShbQndUQAMZjOAxbDd5udKdNNxsqZ3MTb9 RdW9QRANhW2dDRv0k6FqJN8e+lsWTMQK5XK6Ove9ikmztXJncrkna6d4OLsrnm5BWi7h RztnSEMbhnw8z/8N4p26g5R4Eigwkvq7twNn2hJtyCcu9R+t6DBR2ICfp/V78LGx3NaJ dQSQ== 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 z7-20020ac25de7000000b0045dcabe4643si4801387lfq.319.2022.04.28.13.01.04; Thu, 28 Apr 2022 13:01:31 -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 S1346946AbiD1NUT (ORCPT + 99 others); Thu, 28 Apr 2022 09:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346917AbiD1NUO (ORCPT ); Thu, 28 Apr 2022 09:20:14 -0400 Received: from mo-csw.securemx.jp (mo-csw1115.securemx.jp [210.130.202.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C86D05A0BC; Thu, 28 Apr 2022 06:16:58 -0700 (PDT) Received: by mo-csw.securemx.jp (mx-mo-csw1115) id 23SDGYqj005923; Thu, 28 Apr 2022 22:16:34 +0900 X-Iguazu-Qid: 2wGqsJ4YeyRgLo03tY X-Iguazu-QSIG: v=2; s=0; t=1651151794; q=2wGqsJ4YeyRgLo03tY; m=SYvkMgjPSSPEN+Bzc42nEfYVR1JFYB06GyV1TrVNbLA= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1111) id 23SDGXxC011000 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 28 Apr 2022 22:16:33 +0900 X-SA-MID: 3363559 From: Yuji Ishikawa To: Rob Herring , Nobuhiro Iwamatsu , 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 1/4] dt-bindings: soc: visconti: Add Toshiba Visconti DNN image processing accelerator bindings Date: Thu, 28 Apr 2022 22:11:25 +0900 X-TSB-HOP2: ON Message-Id: <20220428131128.5053-2-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220428131128.5053-1-yuji2.ishikawa@toshiba.co.jp> References: <20220428131128.5053-1-yuji2.ishikawa@toshiba.co.jp> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, 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