From patchwork Mon Oct 2 23:28:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9981349 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 DD52A60375 for ; Mon, 2 Oct 2017 23:44:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFCF9289F8 for ; Mon, 2 Oct 2017 23:44:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4604289FE; Mon, 2 Oct 2017 23:44:35 +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=unavailable 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 7264F289F8 for ; Mon, 2 Oct 2017 23:44:35 +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=uOceV2TBnSXS4YyY/Kg9jl8p1U v1XOxc+VKENGqhw4LqWz2zajtpcmCb9hSLIhXOe65+n4Zq4NU0YXhg95d5Xw23nh0w1Jeo9GOjeif xXRuwJhyUnsF4KstW+2NNaeCOQ0TKJ9i+xe/fexxKUo4uz/bwiQjyIgYoc1KlrdU+X6XRghvSaFJs L4tiCOq1//fotB74NDedEyArZtX4tphFfLzjOVpZkEhw6+1jh/9yQyJWTGqb4e9w5kcP/7j4wHE21 NrUsWMEgRemD17ePYaBnLfhr/iN186D4LgvVZN18mBacesirw2DRnREd6M0Ptnf4t8gwgdN2mu/nL k1JDCX1w==; 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 1dzANs-0007nM-Dj; Mon, 02 Oct 2017 23:44:24 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzA8r-0007fL-55; Mon, 02 Oct 2017 23:28:56 +0000 Received: by mail-wm0-x244.google.com with SMTP id t69so13385407wmt.2; Mon, 02 Oct 2017 16:28:32 -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=de6Cy6CoQ6Hp385z3GZBLcBT4GLvCLaxSS/7kF1P3dZUCie4JqcqthzXHgvSAtHt+t TsOnYSsGwVK7lPho//8giRy+9TXWU8tw1porKIfoGh0YbU3RFMOWB5mmWOTNT0UGSAfw H+L+ZwpZnEyKUnz6Aewt+ER/QYW9Hp2rjo9yFG8f2MQwwzknPIZdd8IXuX5RgPpK2D6Z tBwcNL0LwzVNGw8kIcAxweGUq/ufJG8Ivdz5jK0ak1ActRtCAni+W6MOjm5Mt/pDiH2Q XUTvDwDtksAy6f0vyTgm7ZKxQmvSQtAPKblNJcAAnGDa24f1eSMjWF5nDziVabmPU6dn ak5A== 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=tGYRHm9gVeImw2EQHBvaO8Tfxl//eRUVHy1Z5dppvjDyc27YPkcImCoIvsl8/PbeNw xcZzyEBnwn3MArHzfOaAydoGJOwbzWVZKljF0dJ5JtD9uLfDCwdfAyOHXpt4e4vdYeYG tao8G1uQ45e2OeMNVwXlJVaBF+afosHAEUrMOVrolL6ZmlAAvmG8tu0EUuvXqSb2qeKY vPkpsdmM929CYMbfF4RCi4kYeMGxWvjwZkGlPiLjGkMFHVQC8VqTgQJzvtGRsLpfp+nk 96hUxpX+Eqr+4ld55omNSagZDwhQZp6mycrg/9VnPA+RSR4jy9j02DbKqYW+rPcUIs2o wkvg== X-Gm-Message-State: AMCzsaWHiYS5ffNzHuj3aTW8+afGoAPJVXAn+6Xj7WWqwjBtAMH64R8H 6KIujAvSR5xdrbCxxqUzSAI= X-Google-Smtp-Source: AOwi7QCVPYrag2PnAuKq+nzuoC2gih/Yd9OgZ5Ut6Kxl2pvF/aZZG9+J2yBlLvGOQ5TNw5Iz+rAycA== X-Received: by 10.28.203.136 with SMTP id b130mr3970012wmg.105.1506986911401; Mon, 02 Oct 2017 16:28:31 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3D31604C9CF4E7982D353EE.dip0.t-ipconnect.de. [2003:dc:d3d3:1604:c9cf:4e79:82d3:53ee]) by smtp.googlemail.com with ESMTPSA id b190sm11211179wma.41.2017.10.02.16.28.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 16:28:30 -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 v2 2/4] nvmem: meson-efuse: indicate that this driver is only for Meson GX SoCs Date: Tue, 3 Oct 2017 01:28:02 +0200 Message-Id: <20171002232804.20042-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171002232804.20042-1-martin.blumenstingl@googlemail.com> References: <20171002232804.20042-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171002_162853_371114_C8ADA7DA X-CRM114-Status: GOOD ( 12.97 ) 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 Acked-by: Rob Herring --- 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");