From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 979C3C433E9 for ; Thu, 25 Feb 2021 22:54:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6031C64F28 for ; Thu, 25 Feb 2021 22:54:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232607AbhBYWy0 (ORCPT ); Thu, 25 Feb 2021 17:54:26 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:26370 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229491AbhBYWyG (ORCPT ); Thu, 25 Feb 2021 17:54:06 -0500 X-IronPort-AV: E=Sophos;i="5.81,207,1610377200"; d="scan'208";a="73172359" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 26 Feb 2021 07:53:07 +0900 Received: from devel.example.org?044ree.adwin.renesas.com (unknown [10.226.36.120]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 3F666400C73A; Fri, 26 Feb 2021 07:53:04 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Arnd Bergmann , Laurent Pinchart , Geert Uytterhoeven Cc: Fabrizio Castro , Greg Kroah-Hartman , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Chris Paterson , Prabhakar Mahadev Lad , Phil Edworthy , Dirk Behme , Peter Erben Subject: [PATCH 3/7] dt-bindings: misc: Add binding for R-Car DAB Date: Thu, 25 Feb 2021 22:51:43 +0000 Message-Id: <20210225225147.29920-4-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210225225147.29920-1-fabrizio.castro.jz@renesas.com> References: <20210225225147.29920-1-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document bindings for R-Car DAB hardware accelerator, currently found on the r8a77990 SoC (a.k.a. R-Car E3) and on the r8a77965 SoC (a.k.a. R-Car M3-N). Signed-off-by: Fabrizio Castro --- .../devicetree/bindings/misc/renesas,dab.yaml | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/renesas,dab.yaml diff --git a/Documentation/devicetree/bindings/misc/renesas,dab.yaml b/Documentation/devicetree/bindings/misc/renesas,dab.yaml new file mode 100644 index 000000000000..e9494add13d7 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/renesas,dab.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2021 Renesas Electronics Corporation +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/renesas,dab.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car DAB Hardware Accelerator + +maintainers: + - Fabrizio Castro + +description: + The DAB hardware accelerator found on some R-Car devices is a hardware + accelerator for software DAB demodulators. + It consists of one FFT (Fast Fourier Transform) module and one decoder module, + compatible with DAB specification (ETSI EN 300 401 and ETSI TS 102 563). + The decoder module can perform FIC decoding and MSC decoding processing from + de-puncture to final decoded result. + +properties: + compatible: + items: + - enum: + - renesas,dab-r8a77965 # R-Car M3-N + - renesas,dab-r8a77990 # R-Car E3 + - const: renesas,rcar-gen3-dab # Generic fallback for R-Car Gen3 devices + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: dab + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - power-domains + - resets + +additionalProperties: false + +examples: + # R8A77990 (R-Car E3) + - | + #include + #include + #include + + dab: dab@e6730000 { + compatible = "renesas,dab-r8a77990", + "renesas,rcar-gen3-dab"; + reg = <0xe6730000 0x120>; + interrupts = ; + clocks = <&cpg CPG_MOD 1016>; + clock-names = "dab"; + power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; + resets = <&cpg 1016>; + status = "disabled"; + }; -- 2.25.1