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: 10002167 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 2A16660325 for ; Thu, 12 Oct 2017 15:25:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B30128A9B for ; Thu, 12 Oct 2017 15:25:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FF1D28E34; Thu, 12 Oct 2017 15:25:40 +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_SIGNED, DKIM_VALID,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 9B5A128A9B for ; Thu, 12 Oct 2017 15:25:39 +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: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:In-Reply-To: References:List-Owner; bh=q3X5wu/aT/u5QNMPE1Ha2+RG4uuEj6fpCE1JmETg214=; b=dJ7 232kG9rIR2VfvaSDEBAtRGwkxr+zwPnGt6ZtO4u1rP9IEV4kC9xBOH53ofcdndztgRsUNoEf6ELNu ZwdjjaVL/OKCWvZBhVxFNOsavUXbPGqnLXByUS8zeG8kGfPPFkGIRGRqyHo9wZKKnJ3zocofDM4HZ bJBXK49k/YrrIhHsBxIIT5i++W0g23jp8W8F3rdHk4qygafLccfaPAalbGa2Ny8Ifa5N0KgUg7LEt LSP0TwrFwKy4vqFH62eZb5JjhlX+FYur2yVHR3norav9wOvIelg2JjUqt31bYWSCO+AvjjnF3CIwd PAh0fpIM6P7+MnWEikWIdSn49Wmu0Dw==; 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 1e2fMO-0001ZQ-Bf; Thu, 12 Oct 2017 15:25:20 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e2fMI-0008Ra-Ua for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2017 15:25:17 +0000 Received: by mail-wm0-x22f.google.com with SMTP id i124so14096017wmf.3 for ; Thu, 12 Oct 2017 08:24:54 -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=g2Qlu3zGrYA0pYgUT9teRaS+7MKgDR3BW2UnczOvYLK6cKAurOUW4bD2dv3Jf7QFTK URYnsslAgonH4b3oRQqybpiAUqxhF5P5Rq6r7K1gCKyuHlHtYUSWTb6cN/UiGR6Q0kRC rdQEBGPnVu9KtaNB6qnYzlxvu9/RE0Ylx3SN/WVGOS485pwb/P1LxvAPL4wsCcCVXD7V kDgnoKz/vrSMGSeCpWv+I8sMEmlhmwBQMGNYUa2GEFZFsEKUybG37FbRuwbL3/yX0Rm6 z1qQXxTPhz5BvZtdq/rZtOj2oRR0h9dzC7uVHGc7ux+8hRaDy9Zkadh5v8Rk1ECzM+5I kmBQ== X-Gm-Message-State: AMCzsaWdkM+PJrHV7Wu5T7+4cLImHWrqmhPJ6AgPkYsWJ25YtV/X70g5 mYgffPVqZXCF6jy/VLRm/n6MAjX5 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171012_082515_326009_C9A6A90D X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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);