From patchwork Thu Jan 27 16:37:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12727071 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34922C43217 for ; Thu, 27 Jan 2022 16:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0GAgFou4DzVGv5+k9To1FijlDA8Z9n3jUSFdKNLJcjc=; b=IAO0d7CvUOk2tB T3trqKDBvNtTQrnsLP9S3ybbPuaCeKpOjlCJv+wwCdJxAoYuwA1zt+5mn9rnA8j8EVm8wQtJtaJoz +ORLjbUEeFsj461afU9GdFbSKj7HOgX42fYQc5cV0eoGUUGngzstMyvEbvsiCJdep8hFePDm5NAPQ 83rGbghuzLI0YZssrQVTq7NP51kMJot24sDwBXnP3rRBfEcqyL36r9tFFe5vQA2Lo99ljceTlPK9q MWQNSrbaqMOy60HntcYgEHilLJq56V6nrUsYsFAqpIdbvZL0+sjINN42ECX28pgsvBjcLQfQ4FuPq rt4cuwLOBRqopZPqGHcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD7mH-00GZ9N-Ls; Thu, 27 Jan 2022 16:37:42 +0000 Received: from ssl.serverraum.org ([2a01:4f8:151:8464::1:2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD7mC-00GZ6w-LR for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 16:37:38 +0000 Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 2680C22239; Thu, 27 Jan 2022 17:37:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1643301454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xNawuObWhyP0ImzFqSgiOualNkD16J48BR142Yz0pXY=; b=LcyvZYwzhqf1IChnWrgxom96FXIrrkDW/QVTb8vPoAZnYrH7pGK5517TpcCQ8xxsNewtAv sHCQrYB66JUfVm0A0nRKDFVzxcUK+qOoziN3hjpA4P1KWujIwFMj3DkXK68DOOaXemOV22 JCbTptAJ6RV7T7UB/W/VfRES87U7EMI= From: Michael Walle To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Srinivas Kandagatla , Rob Herring , Shawn Guo , Li Yang , Michael Walle Subject: [PATCH v1 0/3] nvmem: add Layerscape SFP support Date: Thu, 27 Jan 2022 17:37:25 +0100 Message-Id: <20220127163728.3650648-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_083736_913006_5B1781EF X-CRM114-Status: GOOD ( 10.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the Security Fuse Processor found on Layerscape SoCs. Michael Walle (3): dt-bindings: nvmem: add fsl,layerscape-sfp binding nvmem: add driver for Layerscape SFP (Security Fuse Processor) arm64: dts: ls1028a: add efuse node .../bindings/nvmem/fsl,layerscape-sfp.yaml | 38 ++++++++ .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 11 +++ drivers/nvmem/Kconfig | 12 +++ drivers/nvmem/Makefile | 2 + drivers/nvmem/layerscape-sfp.c | 91 +++++++++++++++++++ 5 files changed, 154 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml create mode 100644 drivers/nvmem/layerscape-sfp.c