From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935215AbcLMUGe (ORCPT ); Tue, 13 Dec 2016 15:06:34 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36508 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932652AbcLMUG3 (ORCPT ); Tue, 13 Dec 2016 15:06:29 -0500 Date: Tue, 13 Dec 2016 14:06:20 -0600 From: Rob Herring To: Ryder Lee Cc: Herbert Xu , "David S. Miller" , Matthias Brugger , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sean Wang , Roy Luo Subject: Re: [PATCH v2 2/2] crypto: mediatek - add DT bindings documentation Message-ID: <20161213200620.kh34dptxpdcbhkhl@rob-hp-laptop> References: <1481592676-2248-1-git-send-email-ryder.lee@mediatek.com> <1481592676-2248-3-git-send-email-ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481592676-2248-3-git-send-email-ryder.lee@mediatek.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 13, 2016 at 09:31:16AM +0800, Ryder Lee wrote: > Add DT bindings documentation for the crypto driver > > Signed-off-by: Ryder Lee > --- > .../devicetree/bindings/crypto/mediatek-crypto.txt | 32 ++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 Documentation/devicetree/bindings/crypto/mediatek-crypto.txt > > diff --git a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt > new file mode 100644 > index 0000000..47a786e > --- /dev/null > +++ b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt > @@ -0,0 +1,32 @@ > +MediaTek cryptographic accelerators > + > +Required properties: > +- compatible: Should be "mediatek,eip97-crypto" > +- reg: Address and length of the register set for the device > +- interrupts: Should contain the five crypto engines interrupts in numeric > + order. These are global system and four descriptor rings. > +- clocks: the clock used by the core > +- clock-names: the names of the clock listed in the clocks property. These are > + "ethif", "cryp" > +- power-domains: Must contain a reference to the PM domain. > + > + > +Optional properties: > +- interrupt-parent: Should be the phandle for the interrupt controller > + that services interrupts for this device This is not optional. It's perhaps inherited from the parent. You can drop it as it's implied by interrupts property. Rob