From patchwork Tue Oct 30 10:22:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10661297 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F45B13B5 for ; Tue, 30 Oct 2018 16:34:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86C842944C for ; Tue, 30 Oct 2018 16:34:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B4CC2A38C; Tue, 30 Oct 2018 16:34:06 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 D55132944C for ; Tue, 30 Oct 2018 16:34:05 +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=GiFXCj+BfoQizSgUHHB4j4wPtXC/qJAqTNHkAJEvUU0=; b=jlFRIpHTKQ1IWIZ3nnOUOkH5cY jLKQGW9c4rOq/ga6nJhG0epp4NmrgXQJNcuG5FsjkB9yJEwPDJonZKv7TlRYtIMrC+s/SPNSwP5AT A4ZIR94knFUxXZNNH8HA7X55k8k0DFVrW2XQShol854AKTNUygIIX+E9aQpYibOPAI3wjcpf1EQEK pLrxxSM89NgNg86VvowTnXaKZueTV5iaEkM1J5SmDeZ2AUNJBvoUu5ghGGKan+sqdzWIe/sa3n2xl 8+xjDE7QZtYpDEmODo2Q6SHAHOVFXGiBLKg0+VEFNujUce7j/qF2YG7W42h1OpM/wKIh7RqrGFZm9 AOvcHIdA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWxw-0003of-Ro; Tue, 30 Oct 2018 16:34:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWxu-0003Lr-En for linux-amlogic@bombadil.infradead.org; Tue, 30 Oct 2018 16:34:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LLrFK+YRmk7r6/C5e+K5O5DNC2H0ChSiQcyKfu/3Cr4=; b=BJjjf/Q36vOgWKv5FX5PNsm1z qudUIIQlbHZkhzXa8cWMMSdY9ab/LAh515EtQXvVOpmhZesaepLnmUXTJGK2CFiGIPjXI800EGLmr 1KNWmeJW/QsNVNUl9VuJDsQnyEgc8ok7pr7gfcu7LN40H2ErDa+BzYuxeXNHGCj0RA/DNnndGmxAt 2jh22SfpUEESMf9tDkN35fXqiwWA0IKRWdqg4H/vp4gJMk9jOD+e7ZlOsg+7tXG0Yfh0KYVpLvhW1 c3/araq+pFkxRMau+8OvQjLg0qaL9pzHpzzFo4mTxkALd4ZprXq2XEQ71tP4pxphz9G5Ioqy15ez6 9kRexIpFA==; Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWeC-0004pn-2C for linux-amlogic@lists.infradead.org; Tue, 30 Oct 2018 16:13:41 +0000 Received: by mail-wm1-x343.google.com with SMTP id q12-v6so9185351wmq.0 for ; Tue, 30 Oct 2018 09:13:29 -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:in-reply-to:references; bh=LLrFK+YRmk7r6/C5e+K5O5DNC2H0ChSiQcyKfu/3Cr4=; b=krN9fpahlQsQxq5OeXZh6U5/htbiWFQ1JX/bIW0XLXhiAqbOJLgiPwIyt/xquXBQ2M xfQICSgFwaaGK8BMyqlyodcv0EhrLXXu5PTp76IniQ3rze4+nBY0PdPPUjNN4w+upK+/ WSk8whdEbYriDWt1h5Q/4wNKKJxtTM7U7e0VgcdKjLlrU0jNvLX1MfKuywhET+oJAPV7 ylQOsoDp8g2DH2cYuDIFgEJGAkRE3QA9OxvIQ7pOh18WluUCQ16ktm6xnJ35wsxWJlE8 8wG5XTmL1Ao0avStZJro/5CENjKJzbM7aE0ke1WJxJRwKgPFP3oio5Iyc/ri2YHQOTQc enhw== 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=LLrFK+YRmk7r6/C5e+K5O5DNC2H0ChSiQcyKfu/3Cr4=; b=EhnXSMHZlnpewO79d4X8uLKqLrBcAo2qICrY0HkuDucQPEOddtPODwcxh9ReMN6V5U unN5EUyddDZSMaytocLMi0qp05wDlsb8cFqKa96DVX0w1iRXYBwFRv8Zqfjf4tlRhcKI UD4NXi2eiFIW5PASZcpTgyP/oPPJPgLaaiD+NUKRl3GOHrKBxKXVdIYYBjrhAoShXxXI j8h+qEHwjgCW82B2cQwrDcwWBxt/lMeDn/H/8y/BL6B2RwfbOagZva5ZAiKCM5Qmw8l1 GwxNMLC1i5yqCURL6+k74xPr135WA/RdAA10APXUWCReoCI2nMj5Al6TyIhDBBnP4ZuS T6Iw== X-Gm-Message-State: AGRZ1gLPXqmL6Pw6hT4L8IV9xmXKagOJWpJIsJjRy8Z6TJqS/nPWGkyp UrNcfBkNSDe1K4DBzZo0/IFudompSaE= X-Google-Smtp-Source: AJdET5ff+5LmypP42LGKTaQnSm4G0BfTECA7OdU1dR87xJX2Sw2iiWzL5GNoCvnW49UhtW2EV+LkrQ== X-Received: by 2002:a1c:6:: with SMTP id 6-v6mr1193057wma.126.1540894960691; Tue, 30 Oct 2018 03:22:40 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id i204-v6sm26638614wmd.28.2018.10.30.03.22.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Oct 2018 03:22:40 -0700 (PDT) From: Jerome Brunet To: Srinivas Kandagatla , Kevin Hilman , Carlo Caione Subject: [PATCH 2/4] nvmem: meson-efuse: bindings: add peripheral clock Date: Tue, 30 Oct 2018 11:22:29 +0100 Message-Id: <20181030102231.4851-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030102231.4851-1-jbrunet@baylibre.com> References: <20181030102231.4851-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_161340_164475_10821F05 X-CRM114-Status: GOOD ( 12.48 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The efuse found in gx SoC requires a peripheral clock to properly operate. We have been able to work without it until now because the clock was on by default, and left on by the CCF. Soon, it will not be the case anymore, so the device needs to claim the clock it needs Signed-off-by: Jerome Brunet Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt index e3298e18de26..2e0723ab3384 100644 --- a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt +++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt @@ -2,6 +2,8 @@ Required properties: - compatible: should be "amlogic,meson-gxbb-efuse" +- clocks: phandle to the efuse peripheral clock provided by the + clock controller. = Data cells = Are child nodes of eFuse, bindings of which as described in @@ -11,6 +13,7 @@ Example: efuse: efuse { compatible = "amlogic,meson-gxbb-efuse"; + clocks = <&clkc CLKID_EFUSE>; #address-cells = <1>; #size-cells = <1>;