From patchwork Thu Oct 12 15:24:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 115639 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2065200qgn; Thu, 12 Oct 2017 08:24:58 -0700 (PDT) X-Received: by 10.98.220.29 with SMTP id t29mr2514629pfg.25.1507821898497; Thu, 12 Oct 2017 08:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507821898; cv=none; d=google.com; s=arc-20160816; b=FJr6ovpBGT5/1Qyi/B5tUwGKoXp0TS5qWG3iQ3PAQSj4TokmKTGRMS18FAuBtFTcs7 8Q92k4YWToBrfQ+e32GlqV1XEMpEzvKhAg6gmy/s61tow1rY2Gm7KTaq1G0dI8bH8rGq 6E+ZTR1TRjT4FcyIT5FmOiOV0ehn483u45zoPQkl6vFG7iL2a+7rxt/LT6DBQQK+hWzI 3ZDFhoECdNA7eO1rXFBhw/BjLw/TGQEnHDOMC9PoPnDYW3eonlVbN606bknYp4W8gs33 8gF09XCO+7ZXa31l92Cokpo4hoMa/UriF2QbMgXGNAK+27l3yIwRnwHoDkaxfM/R+I2j PRiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=5TqHJTPvq1R8q9mpPjKQqUgMceSw4JDIb11oYJQWtaM=; b=SdfcGNbSmQaprb7j+0EAcuJUYNTGJfFnVMZlajgPnAwqym0GtV3d1qoxK5T96tLKvc ycjztyoITJ5T32gNQBFZ5WLwEAtAVVulXifzGl2xQKxeBNy7oVMV/utNjq9d0a2hazdl /69Fzfg1IfHZHqnLtXh52dVTjAvFCGmljhJ7wOEF6ZjUuQgv9p5Ons4/JbW1Sdupw7BR 83gIAR0S08/WNoiCkeBxkJ8l5hzC9cBTPZbk94ZwguEogQXnkQS7hEJuJVhvMs6m7ivb mAaFM77dW26Tr5mSTBB7HzRYagnAiRL5CZQ/p9e83Bg7u/ROB0/qPJJzo45OtP8ry03Y tWBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MX1qbkYS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b5si12444512ple.493.2017.10.12.08.24.58; Thu, 12 Oct 2017 08:24:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MX1qbkYS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751479AbdJLPY4 (ORCPT + 6 others); Thu, 12 Oct 2017 11:24:56 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:45455 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751040AbdJLPYy (ORCPT ); Thu, 12 Oct 2017 11:24:54 -0400 Received: by mail-wm0-f54.google.com with SMTP id q124so14224352wmb.0 for ; Thu, 12 Oct 2017 08:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=mwq11YR7NHW7RdR2aweQ/dVnAlX5VNo891lgF/QW9yM=; b=MX1qbkYS+1TtZRtqFYtNrgd0SngadYyat7LaKbazUrOEO1N1lcPB2ZSp7nDwaSWkJS Yd2lFynmYLTBPf181v2cTACqfkTUC3dSie8yLB2f7Dwj27dFv7oTBRGd3iWpUX+d8rtM wBb7bKBhZ11FlElNrnrVxrfUkUol+MoLVdqO+/DmDIddzBYa/gnRTyZqRDw/JGCGTN3F xO31sqeBZsPjjiN5obmsOKoAI4gbRCvkqEDFyYrsZl0cwltTz+ToKVG7bXeIWZuphlMk AjVckACUaS8thkqTq5xxG2mqHA5HE2Gt5f4v7K0R6k7E5w/iMeDjG1APve3UzK/E/yxi zAmQ== 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; bh=mwq11YR7NHW7RdR2aweQ/dVnAlX5VNo891lgF/QW9yM=; b=IPdfVZdldUh6ep7pVEZRKDFZu2+gMpbJ4Yjxh+q6GNZu4kItCl9Vi5FBweA4Ga0Hx1 eiKTbYNIAptmzizCvg/u8GD0C026L6oKtUaL6U8Z2ozfMJgyugaDl3gVsZAb6DdwzxwJ zBytq7lCcphoGp4slVSvdirSrZGd8FB95+tTSYgsrO8s6DaNArOtLNrOC0l7JtYWc/y1 eb7nX22Uw085aV1obvzr98OS3fASXGYUrNpGiZ/wU2vLfSt5qCWWiTbvc5mG4fpwvmLA JApYV9q+s9O5NDe48eqFrj+MnxAvg5lzwEPmnaqLQec1GaXqp5ly4c94jawlRG+T5iDF avwg== X-Gm-Message-State: AMCzsaWQjKGP1vAso2DAzPmNHf2500unR12BCWyMKDUOwcLKfQABwytB LxqxOBIzvEyTQSRb5jZueOg5DA== X-Google-Smtp-Source: AOwi7QC1kw6OhnpMliV903K1n1VxeiusZjMGhbRfcI5i+R4XfUJ6ttdC0PeE4r6NE50Q2BtKhW4xeQ== X-Received: by 10.223.171.69 with SMTP id r5mr2400514wrc.112.1507821893074; Thu, 12 Oct 2017 08:24:53 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 9sm506378wml.24.2017.10.12.08.24.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 08:24:52 -0700 (PDT) From: Jerome Brunet To: Srinivas Kandagatla , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] nvmem: meson: use generic compatible Date: Thu, 12 Oct 2017 17:24:50 +0200 Message-Id: <20171012152450.12454-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The meson efuse driver seems to be compatible with more SoCs than initially thought. Let's use the most generic compatible he have in DT instead of the gxbb specific one Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 4 ++-- drivers/nvmem/meson-efuse.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt index fafd85bd67a6..0260524292fe 100644 --- a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt +++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt @@ -1,7 +1,7 @@ = Amlogic eFuse device tree bindings = Required properties: -- compatible: should be "amlogic,meson-gxbb-efuse" +- compatible: should be "amlogic,meson-gx-efuse" = Data cells = Are child nodes of eFuse, bindings of which as described in @@ -10,7 +10,7 @@ bindings/nvmem/nvmem.txt Example: efuse: efuse { - compatible = "amlogic,meson-gxbb-efuse"; + compatible = "amlogic,meson-gx-efuse"; #address-cells = <1>; #size-cells = <1>; diff --git a/drivers/nvmem/meson-efuse.c b/drivers/nvmem/meson-efuse.c index 70bfc9839bb2..e90c6d68a263 100644 --- a/drivers/nvmem/meson-efuse.c +++ b/drivers/nvmem/meson-efuse.c @@ -44,7 +44,7 @@ static struct nvmem_config econfig = { }; static const struct of_device_id meson_efuse_match[] = { - { .compatible = "amlogic,meson-gxbb-efuse", }, + { .compatible = "amlogic,meson-gx-efuse", }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, meson_efuse_match);