Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4952295ybv; Mon, 17 Feb 2020 09:06:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzosT8hDSz4PMp//XICZHwCbneD03uix88cktJn2WJ0wZibU6qL4DODLk5FMnkah528LH0P X-Received: by 2002:a9d:5885:: with SMTP id x5mr12509789otg.132.1581959198101; Mon, 17 Feb 2020 09:06:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581959198; cv=none; d=google.com; s=arc-20160816; b=kpZb2VPtovml+YMbG6FhCcBsdmf1plEFfrdqHNZ3Y+a8BMpX+gcRbdKXSm02sR71g0 wlDBHhB/Ip7L1VcVB8xVKc1vviqdUWcQAuIQH0D5lJHHlP+84W5m2e8d231D15Tlj3zN FuZgBt9T9p4JYlrMZ0DkOnzauk+s+6eJUlIINBbAjM9KUScHaR/JDFJ2UGTxUZ01MT1U VeALH63COaRXO/5B2RrhZKN1iQijhtQ9KnItnCOl4cY4s66KAXljQWbRSVZ0Jc1VJHhv ZqjBwS/CqATcLQ/PwwrXUudEB2tHMo9ikJsgfXNBW8YX6FInhFeAASOxFQi/wwTA7D8p XTlg== 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=gTk8MRIaL+Zoo6AYmT56Y6jd8ZDzvosVYa8gE1FYjOU=; b=wNRzWImv6hN+7MUJP/kaJ9zE1LdTkY/Ha8N+qoFxGys5Rt0N1+hAYHQbsMnLVFX9q7 rAslV24WtE/Z8yS1GYkrStMNtCku4yV+6TZP/a0hCOhx8AfrAfAVbNrjwnJYYeyHEx9q yH7C1M4N8rq2p/dXYMYykW2/23nDYP7auqpNpvDJFsXyleKA/7x/K4AYS/zQ6vPtt4X0 MYC7ERYtF5chIJ3k5xbCaPJjxCdkTTnkyNnXmTQckVR8jpwzFBK1vO5ETq6yvLEUaQ0s k8h2Vu5dmwJDMIXNCV45qURnk9OZT8LU3wfnlhaLKzK1hHNzkoS8YvRjjLQUY7Z748WU vGRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=jxzbvijI; 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 s22si452223otq.100.2020.02.17.09.06.25; Mon, 17 Feb 2020 09:06:38 -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=jxzbvijI; 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 S1729312AbgBQQzk (ORCPT + 99 others); Mon, 17 Feb 2020 11:55:40 -0500 Received: from mo4-p03-ob.smtp.rzone.de ([85.215.255.104]:35428 "EHLO mo4-p03-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728791AbgBQQzk (ORCPT ); Mon, 17 Feb 2020 11:55:40 -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=gTk8MRIaL+Zoo6AYmT56Y6jd8ZDzvosVYa8gE1FYjOU=; b=jxzbvijIQbBRUsIBTju5RoF96hW3gOLEHd2pEUNFIYC90kpiRGznHONXB9dfySZ+bl TgLY/6rHK+mZmL5MtZEdUJviKo/cP4w517ot+YVMGL4hAXQEEcB6oKvFseCOOFqV1xK3 b6nxuspMcW+hbDv09eIL49Q1kU67TzGCGHffQkB/rG/fM5YK+xQLrNMxEl92XsfqhcWI KcMTry/xu4DdmrSyI/kaQu94f2MlGhhBscDWgcKf+lSoXb8QqIYZ9qkyqcTrbdEtt1UD NeyUX81h7aF71ttjl2mKwZbzt9X7AwtAzffEREIm9H4l0kKXOxCTp4IBhGLxrzrHo17y 1aJw== 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 U06217w1HGtXOqs (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 17 Feb 2020 17:55:33 +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 3/6] Documentation: ABI: nvmem: add documentation for JZ4780 efuse ABI Date: Mon, 17 Feb 2020 17:55:27 +0100 Message-Id: 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 --- .../ABI/testing/sysfs-driver-jz4780-efuse | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-jz4780-efuse diff --git a/Documentation/ABI/testing/sysfs-driver-jz4780-efuse b/Documentation/ABI/testing/sysfs-driver-jz4780-efuse new file mode 100644 index 000000000000..bb6f5d6ceea0 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-jz4780-efuse @@ -0,0 +1,16 @@ +What: /sys/devices/*//nvmem +Date: December 2017 +Contact: PrasannaKumar Muralidharan +Description: read-only access to the efuse on the Ingenic JZ4780 SoC + The SoC has a one time programmable 8K efuse that is + split into segments. The driver supports read only. + The segments are + 0x000 64 bit Random Number + 0x008 128 bit Ingenic Chip ID + 0x018 128 bit Customer ID + 0x028 3520 bit Reserved + 0x1E0 8 bit Protect Segment + 0x1E1 2296 bit HDMI Key + 0x300 2048 bit Security boot key +Users: any user space application which wants to read the Chip + and Customer ID -- 2.23.0