From patchwork Sun Oct 1 12:56:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9979681 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 0B455602A0 for ; Sun, 1 Oct 2017 12:58:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6A2F28998 for ; Sun, 1 Oct 2017 12:58:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6C6C28A9F; Sun, 1 Oct 2017 12:58:00 +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=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 3B31728998 for ; Sun, 1 Oct 2017 12:57:59 +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=bB+TuBx/C/RVhmw2DgspPziFxDSXEZN4+46iqgJuy2A=; b=HPFxDq+lsomUmpDJHlVUC4jPuG qlHitH+LauM6D1VLSke9L3gwiTP/2m4GCI/KRR/JdUBdiuUqS+J/06ALkWo6VSx4vJppH5gZ6J8Tj pnDzl1Cll7LjMjjiJK0hfR7V3bwNoQVbbRrO+D/FIe4rpbEO/7OHWYz71fsmyG/JUHvtp4xiy/4S0 l5gbfS0wG+wDes6LKi1uNVUuvADWzNJ+DtxVGXsd428J/m4uMh0NOoII7ugNO1bWUxMKlDSMkTTfu WzKWzsHV/ElK8YqIpUiuxqkbGpOdEiwFEQfvSCAKgki6ui52aOx66CvePZbmyshsNjdi3LJYiixRr KnQYaMbw==; 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 1dydoc-0006MW-1B; Sun, 01 Oct 2017 12:57:50 +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 1dydoX-0006He-AA; Sun, 01 Oct 2017 12:57:47 +0000 Received: by mail-wm0-x244.google.com with SMTP id t69so6150531wmt.2; Sun, 01 Oct 2017 05:57:25 -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=ebth9Q89sRjzKvTT2Q2eAcSMSUviLGHkbGU3Z/hJYBE=; b=PmK+jz5TdjBk4FmTa/Vj68J/E+nDAkbmyaApnx8v9e2SPkTatndWRDMxofFImnLJ0p EptJl6aiC8rN9WEtJIHrILBBjwxrwRXWuCbKB2YFYunh6foTmg55gtWVZlh9clt/fRFa WZiQbYYrRGcbYrSTyCi5u3MQZyvcw4z3TN2Kqm7ZnyYniN3NZp7N8hxZbzV2UXPWgs2N Nn14QvCedg0HLiCwHmTZ7CtE+aX3Gb4/gzx+KS13RGZIuKa/q3DsoLGsqYClw3E67pfF 3G2+DKKHxG/1LGyF9y7xlvWV0lRrNBQmj7N31ShWucYs84sfLraXDDVfwYWTPFUuZUl6 KXrA== 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=ebth9Q89sRjzKvTT2Q2eAcSMSUviLGHkbGU3Z/hJYBE=; b=DRg/ILAoxhh3UIttOj5xZUPUnfHCNuLVbk85EO2Xz//4Bw92B8HCnXYOguf0MVCuIV 0N2pSv5SR/KFeFHDPDz3yyoAOtkNvIx0WdGo11OfCtPauJw837dRO7YtgJA836dRPfjz T5l8mfuUOvWzF7BvrmaSphkUNt2z5LC8HF6UP6hcF9XKDvUBAHKNQhOVpYsZVgqPXXLs pKRoyz8wEUKgTrQK98dsDhc3NGVWYhEKnhuVM+qLRP8Wv4WO3ZXrNpPPrLwPMAt/3ObJ M7dQ87XWqkh2FZa5pIyP24NqLR16Qn5GKQBn3Lwh2PxEysLjgRl79W4x3yAvh5TqvyJ5 IPFw== X-Gm-Message-State: AMCzsaVPJNlUXd2TN30gZ8yUgztyW7Y63n09hoAp2ICob0vYb0uzJi5L r5XZDYaS0aSjDrDZnmEaBLU= X-Google-Smtp-Source: AOwi7QCVnkce53JUES/k1HUa6O746yBSz3Sv/hg19iUhhHbOZokc9q3kg5ugo85fAkvV3pOMmJWbJw== X-Received: by 10.28.138.202 with SMTP id m193mr13155wmd.63.1506862644150; Sun, 01 Oct 2017 05:57:24 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3F6440490069A26044A7BC0.dip0.t-ipconnect.de. [2003:dc:d3f6:4404:9006:9a26:44a:7bc0]) by smtp.googlemail.com with ESMTPSA id x11sm4278413wrb.26.2017.10.01.05.57.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Oct 2017 05:57:23 -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 1/4] dt-bindings: nvmem: Describe the Amlogic Meson6/Meson8/Meson8b efuse Date: Sun, 1 Oct 2017 14:56:57 +0200 Message-Id: <20171001125700.1520-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171001125700.1520-1-martin.blumenstingl@googlemail.com> References: <20171001125700.1520-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171001_055745_529641_85284661 X-CRM114-Status: GOOD ( 11.37 ) 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: Martin Blumenstingl , linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org 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 Amlogic Meson6, Meson8 and Meson8b SoCs have an efuse which contains calibration data from the factory (for the internal temperature sensor and some CVBS connector settings). Some manufacturers also store the MAC address or serial number in the efuse. This documents the devicetree bindings for the efuse on these SoCs. Signed-off-by: Martin Blumenstingl --- .../bindings/nvmem/amlogic-meson-mx-efuse.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/amlogic-meson-mx-efuse.txt diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-meson-mx-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-meson-mx-efuse.txt new file mode 100644 index 000000000000..a3c63954a1a4 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/amlogic-meson-mx-efuse.txt @@ -0,0 +1,22 @@ +Amlogic Meson6/Meson8/Meson8b efuse + +Required Properties: +- compatible: depending on the SoC this should be one of: + - "amlogic,meson6-efuse" + - "amlogic,meson8-efuse" + - "amlogic,meson8b-efuse" +- reg: base address and size of the efuse registers +- clocks: a reference to the efuse core gate clock +- clock-names: must be "core" + +All properties and sub-nodes as well as the consumer bindings +defined in nvmem.txt in this directory are also supported. + + +Example: + efuse: nvmem@0 { + compatible = "amlogic,meson8-efuse"; + reg = <0x0 0x2000>; + clocks = <&clkc CLKID_EFUSE>; + clock-names = "core"; + };