From patchwork Mon Feb 14 11:55:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12745505 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 77DC2C433F5 for ; Mon, 14 Feb 2022 12:38:09 +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=mWz2DkgxbK027UiOCH1PNSzsvBaucvIF2nde7biGovU=; b=aANnyiCGLkQkvl V7WqHj93I16dfg2XPKw3m5Yz4PQKH9sbV4k/JqyLYz05JTeuksYunQXk491FZUokLuC728G9eRCNW EGJ7v3/MToFy/8bJhpQq9ftiZ13BTA8x0Iyoki/zEefJ6GMuON8kr7tMG1xIJfQ1YLkPvJlLCXh6n gqn6GnXoqu3fTalu0/NdyvVeD6oJLJu/9VbP4X5wnzc4Dvp53dfExh9T2RPNAO1wS3Xr4NGMvisPf UgmaGx9BUM7PpZlS6/ZNyp8k5ZHs7Y6tlvQik86xeqz7sonEr0Z5kJFMMILcaqHgCagIooXCiiRIs fo8Q/t7lD73o9OMp/UjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJaav-00FB19-7o; Mon, 14 Feb 2022 12:36:42 +0000 Received: from ssl.serverraum.org ([176.9.125.105]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJZxM-00EyCE-Rp for linux-arm-kernel@lists.infradead.org; Mon, 14 Feb 2022 11:55:51 +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 5A61A2222E; Mon, 14 Feb 2022 12:55:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1644839743; 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=0xBgLHSdc7TRH0/PGfGNoAOvoTOALso+MfXCGbD69gA=; b=ozFM7QoT0l7T2xn+I1qXLR6exg1c2ugev9/CYLVHebTOdzAkEpgVB3q7kr2g3hrozOZoKl ZT5NrTPQL6PcPWDhjYkU9amEC/AtaXVNyiENnKrr+qe1y3V+uK98RaECDRlpcj2MleG/Xo J4YLhDvA0JaOSdMhWPDGCYo/IVRQwAo= From: Michael Walle To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Li Yang Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michael Walle Subject: [PATCH v2 0/3] nvmem: add Layerscape SFP support Date: Mon, 14 Feb 2022 12:55:26 +0100 Message-Id: <20220214115529.662948-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-20220214_035549_623334_F2F1F490 X-CRM114-Status: GOOD ( 11.89 ) 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. changes since v1: - added Rob's Rb - cleaned up the include files - changed the module license to only "GPL" - fix indendation, split lines longer than 80c 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 | 89 +++++++++++++++++++ 5 files changed, 152 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml create mode 100644 drivers/nvmem/layerscape-sfp.c