From patchwork Wed Jul 26 09:34:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 108744 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp582150qge; Wed, 26 Jul 2017 02:35:06 -0700 (PDT) X-Received: by 10.99.49.72 with SMTP id x69mr307706pgx.234.1501061706304; Wed, 26 Jul 2017 02:35:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501061706; cv=none; d=google.com; s=arc-20160816; b=chtJWEMnmISKaACZ7nrFZsXpHahcWynoc8va/N1P2nCaVzYCqqmU+eIOyfq5XhYvOx LV69Ck9J/bqjKjczy5z67AOflxz/dC0YMkSQK80a7WelBGjztObPPT0VDJW7pMYWxMwp TJsMrc17UmjplIpjzJwx7sWfi8ZtEH3C0tcq3BvRyoczf4+QKSvj6+qWHRYVvZkDu+E7 Mu2NISB2mG6H2q1rfeFOU8Vcz/xCJz5zmMVO+Wjj0GPh3635Rje1xrgefO6ux36pJaaK vr3/I//IsRqLqNO96a/Qvz51YoNrvLNhoT+9tXY1SdBMsHs7TnK+3RMS78h0B+1IIzEs Idvg== 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=NA4A9qlGARR8qhslEU964vooNJBddgGOXO6BGdTL3dU=; b=BvekroroeNZfRXoEIa7fezLnzE2VtsvKwYfyFmNufZTpaFEgKx3+3xlcZ0WhNbFOX2 GVjx9//qnVJgxy/jBmljx8spLJvZ9ThqHor+RtPsRwV5UrvwvEZESqEPOPTKDxqUXyX3 ktNMrHrc6osa+I/fyZqFR+Z54dPciRLW3Y1hYDhJoZrGs2TYRWXfEq/yQ6h3rdWVq5F2 Sj4A3VOrWf7ZDpZXdtIBo8CxvtjfRC6S0zvnMhyT7BVa2CjPV9N+vAXV9UkXSo4DLCJM xefhUzhszrmYlPs4s1KtHyl8bUq0vwPFIlB5EjfS7tPmmH3BT+aykJ1SM0GabaMbmYVS lLUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=Gq8nsIaM; 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 t8si6556305pgq.678.2017.07.26.02.35.05; Wed, 26 Jul 2017 02:35:06 -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.b=Gq8nsIaM; 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 S1751551AbdGZJfC (ORCPT + 26 others); Wed, 26 Jul 2017 05:35:02 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:38331 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751421AbdGZJe6 (ORCPT ); Wed, 26 Jul 2017 05:34:58 -0400 Received: by mail-io0-f171.google.com with SMTP id g13so65470577ioj.5 for ; Wed, 26 Jul 2017 02:34:57 -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=NA4A9qlGARR8qhslEU964vooNJBddgGOXO6BGdTL3dU=; b=Gq8nsIaM+FM+47irqTibD+2KUFZ8vvj6ESLxCgXiaHuiJJ/1aathgPTD9cFWNOhdND xuEOuKwqFaxh9+oQFxML7Y/i0pn6kXSrp1HyfpvoghX8nLAr5CQYJqFApBQVTidAYlKk QEuIoMBDAfaEFsR40hRwpy2ElDy4yDcN4KCdY= 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=NA4A9qlGARR8qhslEU964vooNJBddgGOXO6BGdTL3dU=; b=qkm4hrQ0E2BkNTfjBm3kSW1rJvqRTCiuWzUsBXBFhE9XoA0K1Xl6g5iWxM1K2jAbzd hAT6pe14/KZimkPYCqZmqfgshtXDz28AF+3jSx8T91mOejFIEQnkSgNKgIVNoS4egDl9 8khg5OU+rGrYnczbEAxsW3AphCVCeM7jVQk0jjO0TrDE8cAOP5lrBWl7lk1HU4pNSbYA LuAB9neDE8dzRIAeDumpbKv2f6vTDvOhabJqBdTSo1y1Z81HEZJDfksIHCqLgtiw56/X 6k9yOARgA5IJV8P6Clz3j6zioMyA1LHncEB2R0d9JwBEGmX/ziXW2RB2YRJTgPffnwGK rAlg== X-Gm-Message-State: AIVw112SlVnGPJeagbh1RNKnTw7KOHnzX24HhnAVux/E7MfpMYR06mKt DTEfDxvU+DlRoRC+ X-Received: by 10.107.5.72 with SMTP id 69mr270888iof.153.1501061697292; Wed, 26 Jul 2017 02:34:57 -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 c195sm7837169ioe.42.2017.07.26.02.34.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jul 2017 02:34:56 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Frank Wang , Srinivas Kandagatla Subject: [PATCH 3/6] nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse Date: Wed, 26 Jul 2017 11:34:45 +0200 Message-Id: <20170726093448.2564-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170726093448.2564-1-srinivas.kandagatla@linaro.org> References: <20170726093448.2564-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: Frank Wang As the comments from Heiko Stuebner that compatible should not contain any placeholders, this patch fix it for rk3228 SoC. Note that this is a fix for v4.13, due to fixing the current non-standard binding name that should not become part of an official kernel release. Signed-off-by: Frank Wang Fixes: 820de1fb69f1 ("nvmem: rockchip-efuse: add support for rk322x-efuse") Acked-by: Rob Herring Reviewed-by: Heiko Stuebner Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt | 2 +- drivers/nvmem/rockchip-efuse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.9.3 diff --git a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt index 194926f..1ff02afd 100644 --- a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt +++ b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt @@ -4,7 +4,7 @@ Required properties: - compatible: Should be one of the following. - "rockchip,rk3066a-efuse" - for RK3066a SoCs. - "rockchip,rk3188-efuse" - for RK3188 SoCs. - - "rockchip,rk322x-efuse" - for RK322x SoCs. + - "rockchip,rk3228-efuse" - for RK3228 SoCs. - "rockchip,rk3288-efuse" - for RK3288 SoCs. - "rockchip,rk3399-efuse" - for RK3399 SoCs. - reg: Should contain the registers location and exact eFuse size diff --git a/drivers/nvmem/rockchip-efuse.c b/drivers/nvmem/rockchip-efuse.c index a0d4ede..63e3eb5 100644 --- a/drivers/nvmem/rockchip-efuse.c +++ b/drivers/nvmem/rockchip-efuse.c @@ -170,7 +170,7 @@ static const struct of_device_id rockchip_efuse_match[] = { .data = (void *)&rockchip_rk3288_efuse_read, }, { - .compatible = "rockchip,rk322x-efuse", + .compatible = "rockchip,rk3228-efuse", .data = (void *)&rockchip_rk3288_efuse_read, }, {