From patchwork Mon Oct 9 13:26:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 115224 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2560195qgn; Mon, 9 Oct 2017 06:28:46 -0700 (PDT) X-Received: by 10.84.252.132 with SMTP id y4mr3713786pll.431.1507555726340; Mon, 09 Oct 2017 06:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507555726; cv=none; d=google.com; s=arc-20160816; b=v3crmAYHBEQM7h3BMp3D0sGr9ydba1nm83fJA4pa70n6xip86FdbbV2XYZiJFcGcMT lDUEffeSbGWMlL/+3BPzZED9p44XCL63n9B0MwX0PQv6+cUsqJfq+/7VBxHjZ4AE9nOh OK4Cxz3qRmzO69+2EQ9o+mSwey3W2jWjx9IsZ9GQeE2LA0ddHSoDyiB5fCihofcyKisB 8g+2ufAT8I1LiUbq49hs8wz0cjnxwkr5atOUdCzqC95sBV/ZRpAh/V32lS7eD+HjnAqS dyFgprU0ldCaLpvueqeqNx1UuLnmcMcfxBCSG7oTgInt/S7MvIF+wKCAsxCMkGtx3BIP +9vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=fO31IOpYgPE0F0/o14oRPa6Zt6ZbhcrDqkb5c5Bfkvk=; b=TXiRmfDuGwbehYySR7Lq5qCK8yP/zIFSuV8BM1ptVOyuXomKUZBORIstAREu8agtzf /ES6NnlIFeryGhveB9tHWhTrHWGa6i3AAc579Gha/kaTTXg27CcB47ZQalfaa33u4BD9 ZCYvnai6mnmjsuKTqnS52btwGzty9kDjTnscX6p8u+6zeX+nhvAuag/Q2n/vqiy7i2+e r5TZ+N1Ky8ZIpXzsR2s5Ynh/P1wzDBopE9NebR8gix8jbeBncCQKidA/+WIwsB/XFvXf QkKtQr7jTCLngy5rWVUVDqIu6WFZUHioI1/3qLYDUepz2csMZ284PWZXL1iHao3XaM9f fPtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECP9v3mE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si4752751pgo.604.2017.10.09.06.28.45; Mon, 09 Oct 2017 06:28:46 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=ECP9v3mE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755232AbdJIN2l (ORCPT + 26 others); Mon, 9 Oct 2017 09:28:41 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:56870 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755183AbdJIN1C (ORCPT ); Mon, 9 Oct 2017 09:27:02 -0400 Received: by mail-wm0-f47.google.com with SMTP id l68so23435495wmd.5 for ; Mon, 09 Oct 2017 06:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fO31IOpYgPE0F0/o14oRPa6Zt6ZbhcrDqkb5c5Bfkvk=; b=ECP9v3mE34kR/F03X0/1E4TnTVhLDsKP6a38Gu2XIosxfIEqsXlc5TpH68T6VFh0wp khI0nbwIv3oeXfu/vqHgiejFL3jKRiEnduuh9rg5LLn7d4renx7nD2tjZEDu2cGXnbz9 XrXGrx6mYyLNXqfEhxmRXj0zxcx9DuH0wNVNE= 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=fO31IOpYgPE0F0/o14oRPa6Zt6ZbhcrDqkb5c5Bfkvk=; b=GpJjtQNU+EohYAxqCS9uKhTKWpyHKE0fLgQT1nztjD7zhe9B1WdBEC2glfKmKy/jN0 YIXkm7cbQlnVHDugX1cWedQZH7wkkz+4QWfyVmb6DCyPD2b8/xcIFLzG/djN92drz43A Sy3D/2eG/3YCMB1b5OaAH2MTjcDRELW36/aDORhFjsN/bCSMpmPENqzLJ24ql/BxO/To R+SYKN+e43+qo4Pff8zF6lg1ZEdoKB+QvMsMdXxNSd2JH7iA1h13hIpW6xa2C/+dqG1Z uKYWRJum/Upu2iT5NGFloOQrcMEDiZNndog94X+DAhg/wSw0UxEOTTGFe2XIVil6+4zd sGHA== X-Gm-Message-State: AMCzsaUOo0GoHXB4DGJYnXWL+97eamVlt06PZ0Xb2+MjtZVZyBh7XUZz pPxPvqW+CZsJv4X5LyRVphlq6ToxxyM= X-Google-Smtp-Source: AOwi7QAn4pRE7OCPfW5XewUhVhraIAXeTFV5FVK3xOd6G0E4pWyV+iS//0GoYw9YHsNXpJ9nAHjxLA== X-Received: by 10.223.147.166 with SMTP id 35mr10925181wrp.90.1507555620939; Mon, 09 Oct 2017 06:27:00 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id 31sm3775340wrm.0.2017.10.09.06.26.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 06:26:59 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, Martin Blumenstingl Subject: [PATCH 11/12] nvmem: meson-efuse: indicate that this driver is only for Meson GX SoCs Date: Mon, 9 Oct 2017 15:26:40 +0200 Message-Id: <20171009132641.27169-12-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171009132641.27169-1-srinivas.kandagatla@linaro.org> References: <20171009132641.27169-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Martin Blumenstingl 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 Signed-off-by: Srinivas Kandagatla --- 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(-) -- 2.11.0 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 2755df8f6e9b..e364c925e10c 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -146,11 +146,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 dbedfcea4e05..a43c68f90937 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 @@ -88,5 +88,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");