From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81189C352AA for ; Tue, 1 Oct 2019 10:32:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 559B921906 for ; Tue, 1 Oct 2019 10:32:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gnCF+7PV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730923AbfJAKcW (ORCPT ); Tue, 1 Oct 2019 06:32:22 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35222 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729773AbfJAKcV (ORCPT ); Tue, 1 Oct 2019 06:32:21 -0400 Received: by mail-wm1-f65.google.com with SMTP id y21so2647448wmi.0 for ; Tue, 01 Oct 2019 03:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qa7ARWil+Gf9sud6ZwWxSqOjB3puoeCNU9UJi6QNvHk=; b=gnCF+7PVh8ab0gVFhLAurpYA7CDb19oGezEpAWvuA7WvQitru63Q1+9a8Ntl49D0gX 3+vN8FlWdtx/5icsQzhuyfxSXARkdBYSWxfIf+GtCvoU7Dv0Af/JXS8lSoSjX12KGSQN B7YzbgfRquvVDIg8olpnj/EzUus4vaSrGKfHDVkn11m1jSbjKHpGO0bQiwR7EALgt/Nd 9Vr1ROAZ1NdcNGtpr3Q8jin48dPs+sEXMLCIoAg9TXPQ98Tavl0aFY9rFOxQ/GejGZjz 9xYmVqsjG/QIj6i75j2hDPzFbktOc2GFOBl9UdavMRSOP/FqqdNovYolGZxmuhV3RLSM 5CCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qa7ARWil+Gf9sud6ZwWxSqOjB3puoeCNU9UJi6QNvHk=; b=N+bv9x17kTgPXp8CG+2ISE5NdTHhFs9CMA3xqrt3/PNfU/d2+OpTSGIKXZcmKgeDdS TCFXaD1njikjR1BcqlM/j7QNNwss2kZVsgko4+FgO/05E0L5JXrYErhwhrtCtCFbd9vJ 6NV0CzRcsKTSZ2UoidLYnN8Ku2ExuozIbRvN7WP03tcf8HZDGjPuBuaMM4t1lzuJAmrD aT3njIF/0A0IfmA/2dt7oNxiwWm4BtQZv9NY7SpEx/+y27+wJ5SEzHq868Fe7xZO7SaP g/sRmVnHZidd2gw/TNTWysJYD9IYqsLY+nK2hRm6kNEybs8j4fIeb8+Ynnh41A5Z5NFm wzrw== X-Gm-Message-State: APjAAAUbJ/kn8aC3DZZW91+V+/VyBVyRzMB6dHb/ZJd3j9wyufWT9Kif wngAlGPyAlG+YUmMBxXNKzTLHbP/n1Q= X-Google-Smtp-Source: APXvYqzhgfIIJO6HBAuwZ0yhqRjbelGNUuYo1EivdFb3MbEwst9N1mnI1vyxyVUM3GOPqpF4R0y1dA== X-Received: by 2002:a7b:c451:: with SMTP id l17mr2745570wmi.61.1569925938927; Tue, 01 Oct 2019 03:32:18 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id w125sm5293337wmg.32.2019.10.01.03.32.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 03:32:17 -0700 (PDT) Subject: Re: [PATCH v2 1/2] dt-bindings: nvmem: Add Spreadtrum eFuse controller documentation To: Baolin Wang , robh+dt@kernel.org, mark.rutland@arm.com Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, freeman.liu@unisoc.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20f750aab0e16e45fa2d4e32843cee08395c7350.1568094534.git.baolin.wang@linaro.org> From: Srinivas Kandagatla Message-ID: <9da5f5f9-885f-3131-d700-e1d8e2628884@linaro.org> Date: Tue, 1 Oct 2019 11:32:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20f750aab0e16e45fa2d4e32843cee08395c7350.1568094534.git.baolin.wang@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/09/2019 06:52, Baolin Wang wrote: > From: Freeman Liu > > This patch adds the binding documentation for Spreadtrum eFuse controller. > > Signed-off-by: Freeman Liu > Signed-off-by: Baolin Wang > Reviewed-by: Rob Herring > --- Applied both, Thanks, srini > Changes from v1: > - Add reviewed tag from Rob. > --- > .../devicetree/bindings/nvmem/sprd-efuse.txt | 39 ++++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/sprd-efuse.txt > > diff --git a/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt b/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt > new file mode 100644 > index 0000000..96b6fee > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt > @@ -0,0 +1,39 @@ > += Spreadtrum eFuse device tree bindings = > + > +Required properties: > +- compatible: Should be "sprd,ums312-efuse". > +- reg: Specify the address offset of efuse controller. > +- clock-names: Should be "enable". > +- clocks: The phandle and specifier referencing the controller's clock. > +- hwlocks: Reference to a phandle of a hwlock provider node. > + > += Data cells = > +Are child nodes of eFuse, bindings of which as described in > +bindings/nvmem/nvmem.txt > + > +Example: > + > + ap_efuse: efuse@32240000 { > + compatible = "sprd,ums312-efuse"; > + reg = <0 0x32240000 0 0x10000>; > + clock-names = "enable"; > + hwlocks = <&hwlock 8>; > + clocks = <&aonapb_gate CLK_EFUSE_EB>; > + > + /* Data cells */ > + thermal_calib: calib@10 { > + reg = <0x10 0x2>; > + }; > + }; > + > += Data consumers = > +Are device nodes which consume nvmem data cells. > + > +Example: > + > + thermal { > + ... > + > + nvmem-cells = <&thermal_calib>; > + nvmem-cell-names = "calibration"; > + }; >