From patchwork Thu Feb 25 22:51:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 12105131 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 5D869C433DB for ; Thu, 25 Feb 2021 22:53:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0697064F28 for ; Thu, 25 Feb 2021 22:53:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbhBYWxf (ORCPT ); Thu, 25 Feb 2021 17:53:35 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:7678 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229966AbhBYWxf (ORCPT ); Thu, 25 Feb 2021 17:53:35 -0500 X-IronPort-AV: E=Sophos;i="5.81,207,1610377200"; d="scan'208";a="73172325" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 26 Feb 2021 07:52:42 +0900 Received: from devel.example.org?044ree.adwin.renesas.com (unknown [10.226.36.120]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 0DCB64002643; Fri, 26 Feb 2021 07:52:38 +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 0/7] Add FFT Support for R-Car Gen3 devices Date: Thu, 25 Feb 2021 22:51:40 +0000 Message-Id: <20210225225147.29920-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The DAB hardware accelerator found on R-Car E3 (a.k.a. r8a77990) and R-Car M3-N (a.k.a. r8a77965) 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. This series adds FFT support only for R-Car E3 and R-Car M3-N, FIC and MSC support will be added later on. Thanks, Fab Fabrizio Castro (7): clk: renesas: r8a77990: Add DAB clock clk: renesas: r8a77965: Add DAB clock dt-bindings: misc: Add binding for R-Car DAB misc: Add driver for DAB IP found on Renesas R-Car devices arm64: dts: renesas: r8a77990: Add DAB support arm64: dts: renesas: r8a77965: Add DAB support arm64: configs: Add R-Car DAB support .../devicetree/bindings/misc/renesas,dab.yaml | 75 ++++++++ MAINTAINERS | 7 + arch/arm64/boot/dts/renesas/r8a77965.dtsi | 12 ++ arch/arm64/boot/dts/renesas/r8a77990.dtsi | 12 ++ arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/r8a77965-cpg-mssr.c | 1 + drivers/clk/renesas/r8a77990-cpg-mssr.c | 1 + drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/rcar_dab/Kconfig | 11 ++ drivers/misc/rcar_dab/Makefile | 8 + drivers/misc/rcar_dab/rcar_dev.c | 176 ++++++++++++++++++ drivers/misc/rcar_dab/rcar_dev.h | 116 ++++++++++++ drivers/misc/rcar_dab/rcar_fft.c | 160 ++++++++++++++++ include/uapi/linux/rcar_dab.h | 35 ++++ 15 files changed, 617 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/renesas,dab.yaml create mode 100644 drivers/misc/rcar_dab/Kconfig create mode 100644 drivers/misc/rcar_dab/Makefile create mode 100644 drivers/misc/rcar_dab/rcar_dev.c create mode 100644 drivers/misc/rcar_dab/rcar_dev.h create mode 100644 drivers/misc/rcar_dab/rcar_fft.c create mode 100644 include/uapi/linux/rcar_dab.h