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=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 481CDC3404D for ; Wed, 19 Feb 2020 05:49:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21DAD24671 for ; Wed, 19 Feb 2020 05:49:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="gUDoMSdW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbgBSFtI (ORCPT ); Wed, 19 Feb 2020 00:49:08 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.167]:11182 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbgBSFtI (ORCPT ); Wed, 19 Feb 2020 00:49:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1582091344; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=alpNl+QogLXB42TE03qgaGa0z0wDQj+d62gUywp3S5A=; b=gUDoMSdW6YuIkmZ1jMtThaM78Tob0DWmoyyzqlDnevMz5t8SNbCVClfVXfAH11WihO PpDjA4HRPc2U2ua1q4/Q6PTwI0Hdzvpziq6MgEoiNDvJkhFuFfTQ6EOu1ZkYfphIud7w 08eNoGYbNp0O731QDLTK+CBQZO7INRXmfLHajgvrF0z/GrUuBgavlV5ax2OW5pIeAptq U2/AkE/s7/fjhLh+XykUEmVwuByJCcbbSju/BlW7oE1uFOW84ksd4EH73LV0b7FQ8ATp DpJ29TpFG9cRlw+qKhIV1zrJ9bPl9ZncIDdmT4d9X9TR5kEN40JML91XPV9tlHqPdlbY Qglw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Qpw97WFDlSZXA4LLQg=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 46.1.12 DYNA|AUTH) with ESMTPSA id U06217w1J5mvVzS (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 19 Feb 2020 06:48:57 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [RFC v4 2/6] Bindings: nvmem: add bindings for JZ4780 efuse From: "H. Nikolaus Schaller" In-Reply-To: <20200218212609.GA30081@bogus> Date: Wed, 19 Feb 2020 06:48:56 +0100 Cc: Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-mips@vger.kernel.org, Discussions about the Letux Kernel Content-Transfer-Encoding: quoted-printable Message-Id: References: <86b78db4d607e0bdda6def018bc7f73207ce82e8.1581958529.git.hns@goldelico.com> <20200218212609.GA30081@bogus> To: PrasannaKumar Muralidharan , Paul Cercueil , Mathieu Malaterre , Srinivas Kandagatla X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 18.02.2020 um 22:26 schrieb Rob Herring : >=20 > On Mon, Feb 17, 2020 at 05:55:26PM +0100, H. Nikolaus Schaller wrote: >> From: PrasannaKumar Muralidharan >>=20 >> This patch brings support for the JZ4780 efuse. Currently it only = expose >> a read only access to the entire 8K bits efuse memory. >>=20 >> Tested-by: Mathieu Malaterre >> Signed-off-by: PrasannaKumar Muralidharan = >> Signed-off-by: Mathieu Malaterre >> Signed-off-by: H. Nikolaus Schaller >> --- >> .../bindings/nvmem/ingenic,jz4780-efuse.txt | 17 = +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> create mode 100644 = Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.txt >=20 > Please convert to a DT schema. Is there someone of you who can help to do that? DT schemas are still like a Chinese dialect for me (i.e. I can decipher = with help but neither speak nor write). BR and thanks, Nikolaus >=20 >> diff --git = a/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.txt = b/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.txt >> new file mode 100644 >> index 000000000000..339e74daa9a9 >> --- /dev/null >> +++ = b/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.txt >> @@ -0,0 +1,17 @@ >> +Ingenic JZ EFUSE driver bindings >> + >> +Required properties: >> +- "compatible" Must be set to "ingenic,jz4780-efuse" >> +- "reg" Register location and length >> +- "clocks" Handle for the ahb clock for the efuse. >> +- "clock-names" Must be "bus_clk" >=20 > 'clk' is redundant. How about 'ahb'? >=20 >> + >> +Example: >> + >> +efuse: efuse@134100d0 { >> + compatible =3D "ingenic,jz4780-efuse"; >> + reg =3D <0x134100d0 0x2c>; >> + >> + clocks =3D <&cgu JZ4780_CLK_AHB2>; >> + clock-names =3D "bus_clk"; >> +}; >> --=20 >> 2.23.0 >>=20