Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp226230ybv; Tue, 18 Feb 2020 21:49:35 -0800 (PST) X-Google-Smtp-Source: APXvYqz+XHgBqO0kXOefh8dy/BtQBo3HxCuCoYgvf/XrllN50IXx0pdlpYfDw8NYhct9RzjyQOpk X-Received: by 2002:a05:6830:1296:: with SMTP id z22mr17797103otp.354.1582091375434; Tue, 18 Feb 2020 21:49:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582091375; cv=none; d=google.com; s=arc-20160816; b=aypTKpwg1nLOSAqaPfJJziCrP2tKxcGNDtIzIS0tWxFS3mAOG66gxcXDaSzNSVlvTF 2+eDnxKMFcDs6n5o3PpUFkAHDtBnlVcnpM+C7kMjHR+xKJyH7GTEtIrEnwImj+gbkipe XavfQ1JmSF/LHg2z9kzmlidpaWd6crckCizg3ai7M9ylwi1ZthXd0TIQ3GowVLxxP1VN ag9AZc7ocDhEupq4RhAa7Vo6tnSdd/PT33caJUiRYHH1LOhLoHDXPuVELCNRczVxMmyh 4rZk7YtBEHawbRc5HBtc7QeRhWsckuEO5d9LUeEZF5yZ8QNOOr7fEQLacBi1QLtEi7kg SLjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=alpNl+QogLXB42TE03qgaGa0z0wDQj+d62gUywp3S5A=; b=mxFWjWJUcKAbaRpKbqfgfpJ3jHfKz1oIDIohT7uQogOojy0nZKz/2AO6n8dEi1U3NE g8UQ/Xo7jcs6+9vqPqOOn9pOuDK1v/fEgDgYZPSav4Ja82vISAh7W+WNx7IJIb2PCxsu /FLKhSklcJQNR/CrCuqTm/czlOqTFqKxsZ6xuZJbNGbiIy4oqCbrQhrdXIz35+eNHlSg MF8woOgk97nZsWNH3Ir9C+M8Fv2M8tlVLa76lGzzGUVsX60N99wc18pkFCIxNo9VLQ6/ b/541lphtdrtSRo5GM6WjzU9g+scx/6WbX5x0pctFefXpFu/rmQl1aKwhJdda0kUw0x+ VcEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=gUDoMSdW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5si611713otp.108.2020.02.18.21.49.17; Tue, 18 Feb 2020 21:49:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=gUDoMSdW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726213AbgBSFtI (ORCPT + 99 others); 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