Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1194416pxb; Fri, 26 Feb 2021 05:07:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0tEM93vF+Y/hINWJ3V+eWD6MPViCbOUo7OvC5+tORx2RyjaEtFVnkDw968+P7VvkNQT+K X-Received: by 2002:aa7:cd75:: with SMTP id ca21mr3306336edb.199.1614344843071; Fri, 26 Feb 2021 05:07:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614344843; cv=none; d=google.com; s=arc-20160816; b=l9j+PhXMJnd9pqerS6bl7dKe8N4GNM/+slfdAfeXeqJXIK5gjqakuiJYu6ktXSagoF NT8SS/iOczEm0TyZArYXsUF/wWwelIIft1WNZNsnLwkqgy5689aNL4D4tSyfkIbk2hgf qLIlK1/uDotAw/x9Q6KwgOPlA+/rAFy6kPI46FkxM5e7hbSBHXvIFAzPrPGBzIlNJlFX GEvHHXck5epI6kkCQpJJ5BFSFAl75kt0I/R69XBFhfKJUoYZvpx1CMd4VsKIetr1ctMu SVLbp/vRABqrm5efeIKZSv3k6r/AX1D9BlKU5IV6spNxQX5RyTKgg5M+S0sjguYs1EKu Da1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iQhadqbei5tbg7tnv06ZfuMZBCO8Ey8ZyKAVHPYmoKw=; b=01HQbUUOAqgrLwKPYgHfxaF7u80OEsNtc6bjzeF5670D/aJBjtCdQVjspeFRNvdI8i 8FpnkDYDLGkLr0tAS506jxjSzSWDZwfetj2yJBvc52Dcdbudb8a3J/rkNGxk8sUj+9Vi Us9+oNHsWuyue6IaSCkUFJtBAmdeaq5xpjS/yCWn1BaFXtCHogVpJX2AInOM4lWhBAHk Rn5Tc9xLPvStq3oB9QxRAwOdLkZ6E8cBjPR3coBFazCaHc2pHmV79TZUbIAB7mrZG7gE r1SVaZTIu5nEqTRSKmhbyNYjOhKqEbqW839QlVYiNzQ+bQvSI7xbmj/irbhck5rj7nHF CZsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=pEhF8ZmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si6127506edk.285.2021.02.26.05.06.59; Fri, 26 Feb 2021 05:07:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=pEhF8ZmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbhBZND1 (ORCPT + 99 others); Fri, 26 Feb 2021 08:03:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbhBZNDB (ORCPT ); Fri, 26 Feb 2021 08:03:01 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 602B1C061574; Fri, 26 Feb 2021 05:02:21 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B496F580; Fri, 26 Feb 2021 14:02:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1614344539; bh=mZ0IYxBSn6iMGXpB0SlinpEe79W+pKlloE1WRBX6Gxw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pEhF8ZmT0ZwoEDSrw4uNlN9be8rkJOLn78EQDQxzgnSxLfUY+itfRXOmy46UEtFzi hN0mSgQWWOUz6KRxbnmfabtTFx+EWHqlfETKxiDEJ4MS/LKyJC3ofWROC0ChVgO6/8 IqhCV3tp8+LpXo/f7oXVKsJgRSb/gJmIEYK774lM= Date: Fri, 26 Feb 2021 15:01:52 +0200 From: Laurent Pinchart To: Fabrizio Castro Cc: Rob Herring , Arnd Bergmann , Geert Uytterhoeven , 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: Re: [PATCH 3/7] dt-bindings: misc: Add binding for R-Car DAB Message-ID: References: <20210225225147.29920-1-fabrizio.castro.jz@renesas.com> <20210225225147.29920-4-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210225225147.29920-4-fabrizio.castro.jz@renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabrizio, Thank you for the patch. On Thu, Feb 25, 2021 at 10:51:43PM +0000, Fabrizio Castro wrote: > 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 I usually try to describe clocks: clocks: items: - description: The module functional clock but as there's a single clock, it may not be worth it. Up to you. > + > + clock-names: > + const: dab With Geert's and Sergei's comments addressed, Reviewed-by: Laurent Pinchart > + > + 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"; > + }; -- Regards, Laurent Pinchart