Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4953655ybv; Mon, 17 Feb 2020 09:08:06 -0800 (PST) X-Google-Smtp-Source: APXvYqyh5lKR+d3A1ilYNYE8q5Lp3PkuvyJ0x0dmT4tbe137NbO0zbmzYnD4qRhcnltMquHx6B02 X-Received: by 2002:a05:6830:18f6:: with SMTP id d22mr12553614otf.59.1581959286635; Mon, 17 Feb 2020 09:08:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581959286; cv=none; d=google.com; s=arc-20160816; b=a/xK/r3L5+2KXCdrq0/iweAICzq/n1E46yVTTCZhTDOZudIzFtua3zN+LnoPOlBz/q 4z3nmH+llMu/2OnVsaRiacQObKy1+5E4YlKk3/JTxciL3M0KsvZGX38ASH7fcvPZclVg ZE915bnHGDNsWEsOEC1VjTRGDdp20ravoTqf+y9DLLraOjrtcNxspasykKZlFH1VpDNS R3Iz2eWMMg0s08w76+xzfvriPb5YE9dGPBercXmSJbYjD9f/mjxhooRdHPsnnhjg+esM zPYtPYllfc4ZSDttCTM7l+OSH5/AcJujsgeHEsWOiMWEZfbVoFU4KBYjOwfTin7QOSIz opjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x19Yc0lwgVFAHPYdn2uCmqE96DBTXWvCWwEjKHcs+zU=; b=ueiMxzWjojyL40zzXmfLYEhtQJsRowE230S9h864sL7oG8FM8/N/55hNrH/U6VO8JM ucsvQtYh27NuNp8loJe+hM+t9EkK+xzyU44M1j6ClpaKTVBY+70swu2BFHEhdoQ2qQPh hHiIvGXkmIR9TtdQA0z78I0qK18y//cWZ5vfEMEwln7HT7Je54yv+Pu3q8ZL4WQSSfpB cPQMN0X5d0sotlP7pbCTYXEcxuOTy3AvQHug7fFdQwzpmQ6HGKUSTuSTEHFzfBbtEqXL GAqEewjhjj6cyme5l7DKT6yI9vJSt200qKUgZZO92fyFazsYhV1e+QeaTTyOL2n5oyuJ gQDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=r5D9I7Or; 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 e8si6810860oie.96.2020.02.17.09.07.54; Mon, 17 Feb 2020 09:08:06 -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=r5D9I7Or; 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 S1729676AbgBQQ4B (ORCPT + 99 others); Mon, 17 Feb 2020 11:56:01 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.80]:15422 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728685AbgBQQzj (ORCPT ); Mon, 17 Feb 2020 11:55:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1581958537; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=x19Yc0lwgVFAHPYdn2uCmqE96DBTXWvCWwEjKHcs+zU=; b=r5D9I7OrejNQnWiU6QLV+aIow9I7CZHXQKLtPfsdViKTJL/t/Z7khR/P2SZcCpidKg mgrwnxIvhNfzq9ro2b20hNMoVP0GU2jPIC1G/uOyxTdIaMqJIUVZLTuzDhEb9oe/0HtL v/nDqdamHeq7yUtenbU4UkR8RqiB3YwJWEma/oClN2wgqQz6EPMebYvtCo5v2hczkReZ t2wcSjeoFINroQNemheW35EGKvWV52wDY6fBqgFmindee/lPhCoMw1uVB96Oj4fC0aOX U78r9HLndlam8+m22NTo3WYL04m1vfg6FSeOk4lRLM4qFj9RK2ZW5BoTRfflw6E1whgZ Zd8w== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1mfYzBGHXL8GTnsvhg=" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 46.1.12 DYNA|AUTH) with ESMTPSA id U06217w1HGtWOqr (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 17 Feb 2020 17:55:32 +0100 (CET) From: "H. Nikolaus Schaller" To: PrasannaKumar Muralidharan , Paul Cercueil , Mathieu Malaterre , Srinivas Kandagatla , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Cameron , "H. Nikolaus Schaller" , Krzysztof Kozlowski , Kees Cook , Andi Kleen , Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com Subject: [RFC v4 2/6] Bindings: nvmem: add bindings for JZ4780 efuse Date: Mon, 17 Feb 2020 17:55:26 +0100 Message-Id: <86b78db4d607e0bdda6def018bc7f73207ce82e8.1581958529.git.hns@goldelico.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: PrasannaKumar Muralidharan This patch brings support for the JZ4780 efuse. Currently it only expose a read only access to the entire 8K bits efuse memory. 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 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" + +Example: + +efuse: efuse@134100d0 { + compatible = "ingenic,jz4780-efuse"; + reg = <0x134100d0 0x2c>; + + clocks = <&cgu JZ4780_CLK_AHB2>; + clock-names = "bus_clk"; +}; -- 2.23.0