From patchwork Sun Oct 1 12:56:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9979685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 291F8602A0 for ; Sun, 1 Oct 2017 12:58:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1419828998 for ; Sun, 1 Oct 2017 12:58:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08BE528A9F; Sun, 1 Oct 2017 12:58:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6794F28998 for ; Sun, 1 Oct 2017 12:58:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=vjIUsL1bn4g0e4rMsnaIrz/mcax4lnY61uu6c98qugs=; b=R91ePEMo5gcIQcrwzerfNE/rZQ NaAz+m0+TgqSPBK5bXlehvnH8lDbfTeN+b7n53vSCbyRs8xGDC1RdaDRmyt3mxvKXMO352Fh7v6Qu Wrpxd14RGCF9DEKev89I/cbfA/ziiwwkmzTY6R5YDcFs81MBn1Hs8rgYWSbRBR/KLx5Q9UMpB5jJG /5BtCZxjl2Q/58MZsVqaaNMpPvJC/cryvhDHLfj5L/PSjIv1J4IazvQv9WOI4ZkAYYYiaItRrCajk Htm3kZslKB+/+xZ6DvpTefSgbx4HjcFvU4K3KI7I9JswS0MK6ka/ZMfnPZkEEjsIUuMLvbXYt/USI 0/sl03ug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dydpL-00071p-VM; Sun, 01 Oct 2017 12:58:35 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dydoZ-0006Hr-Ee; Sun, 01 Oct 2017 12:57:49 +0000 Received: by mail-wm0-x243.google.com with SMTP id k4so3938629wmc.1; Sun, 01 Oct 2017 05:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+8qhoUIStyw1NcSNWwHoco1tnK9OsEu3Ix1oud6Uesc=; b=ju/3jVFNSvNAhJHdvuvmLysXwNi50H34iWqlHF8hL+dW7+R2J3zEps4hKCdzmHXuqN M3/V2Dg1w5rCdtZrLEXG6DrcCbdfeHP8wgxerpRCfu0b2dZ1JuKMtdyd7YHcmk5nXxQG BZ/39q64Ntfp7ZgrqN5VjiZBx+JqtPdqXtnax/LtBeFdxHq9SsEL5vEdh2TZ8o2+1auL hxowM8avO7lDtSVRWKEigqmsmezoD0lIXgcD5323W9I4wxlgJPTCY3Gp5baTQ/XzMGlE 6GI8tfXa2va1KCsdTBZvk8xNJQMaWwuHvKpmPaBHYpWYHKrENAnWHZGGqvU+PlOpzYk8 j+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+8qhoUIStyw1NcSNWwHoco1tnK9OsEu3Ix1oud6Uesc=; b=iuwLTi9lw45N77K8dtzafNv0jlU/hX6JtfCEMkZB3dnL7E8mhclxjanSseARPN20U0 fZhVVQPT+9p5FGUvrAdJTNgipKUzjtsWBmSoLZUOs0USLRHNRPU6ILf26UwbB6euh1ge 56zDiXpvv/KLXcxECltqzgwCDiGVxczHPGyWwdDeMTQmnszbtbclM1oUN72iImZlzKnF vZMGukRXCij7OrGsW9coGSnFjHgS8Xi8NR2XYs34+yZqM472FPXmAtUFb4RnJqSA2C1Y gvOK9mNSKx4o1MN0q9SADbDrRhVLyKUQQ1oDJ5yWcaZcBWSMJSYTEG4TQlRGUSVXvajZ qSCA== X-Gm-Message-State: AMCzsaVVYaPgyrqQspfmC8derJ6lDQyminYz7OhuPJfy8nSx6eb61VWX rRzE49Rzx5axeejdNZJZ8YM= X-Google-Smtp-Source: AOwi7QCXCwOCT5YHTl4fpy8ouZbT2onC97/knkqb+fVorbskqfcWZ/n4kk3fIR1P0YXl4zJnxOgF0w== X-Received: by 10.28.227.68 with SMTP id a65mr9215100wmh.88.1506862645346; Sun, 01 Oct 2017 05:57:25 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3F6440490069A26044A7BC0.dip0.t-ipconnect.de. [2003:dc:d3f6:4404:9006:9a26:44a:7bc0]) by smtp.googlemail.com with ESMTPSA id x11sm4278413wrb.26.2017.10.01.05.57.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Oct 2017 05:57:24 -0700 (PDT) From: Martin Blumenstingl To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, carlo@caione.org, khilman@baylibre.com, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH 2/4] nvmem: meson-efuse: indicate that this driver is only for Meson GX SoCs Date: Sun, 1 Oct 2017 14:56:58 +0200 Message-Id: <20171001125700.1520-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171001125700.1520-1-martin.blumenstingl@googlemail.com> References: <20171001125700.1520-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171001_055747_704640_44B106FB X-CRM114-Status: GOOD ( 12.38 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The current Amlogic Meson eFuse driver only supports the 64-bit SoCs (GXBB and newer). Older SoCs cannot be supported by the same driver because they do not use the meson secure monitor firmware to access the hardware. Signed-off-by: Martin Blumenstingl --- Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 2 +- drivers/nvmem/Kconfig | 4 ++-- drivers/nvmem/meson-efuse.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt index fafd85bd67a6..e3298e18de26 100644 --- a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt +++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt @@ -1,4 +1,4 @@ -= Amlogic eFuse device tree bindings = += Amlogic Meson GX eFuse device tree bindings = Required properties: - compatible: should be "amlogic,meson-gxbb-efuse" diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 101ced4c84be..a21a781f587d 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -135,11 +135,11 @@ config NVMEM_VF610_OCOTP be called nvmem-vf610-ocotp. config MESON_EFUSE - tristate "Amlogic eFuse Support" + tristate "Amlogic Meson GX eFuse Support" depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM help This is a driver to retrieve specific values from the eFuse found on - the Amlogic Meson SoCs. + the Amlogic Meson GX SoCs. This driver can also be built as a module. If so, the module will be called nvmem_meson_efuse. diff --git a/drivers/nvmem/meson-efuse.c b/drivers/nvmem/meson-efuse.c index 70bfc9839bb2..1ea3cd24a508 100644 --- a/drivers/nvmem/meson-efuse.c +++ b/drivers/nvmem/meson-efuse.c @@ -1,5 +1,5 @@ /* - * Amlogic eFuse Driver + * Amlogic Meson GX eFuse Driver * * Copyright (c) 2016 Endless Computers, Inc. * Author: Carlo Caione @@ -89,5 +89,5 @@ static struct platform_driver meson_efuse_driver = { module_platform_driver(meson_efuse_driver); MODULE_AUTHOR("Carlo Caione "); -MODULE_DESCRIPTION("Amlogic Meson NVMEM driver"); +MODULE_DESCRIPTION("Amlogic Meson GX NVMEM driver"); MODULE_LICENSE("GPL v2");