From patchwork Fri Nov 30 11:53:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 152531 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3562707ljp; Fri, 30 Nov 2018 03:53:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/V5IGhdiehXE9mS/7ATfWOb1gC7wvBSLtC0W1tNYrI/MhLfYiwlnozrVg+TiqvYxYy21MwY X-Received: by 2002:a63:5b48:: with SMTP id l8mr4648050pgm.80.1543578826158; Fri, 30 Nov 2018 03:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543578826; cv=none; d=google.com; s=arc-20160816; b=clHLWRoxJ+C6yUCKSYFf6PuDhy8Lmz63Oj+h+YliGxpIYYYcS6/djt612zrFLdfLdJ 4sM8OSyb8afI1MeM0W8Vj6zQloDX6LJXY59uMzK8yQnTVXTa2RRp1EKF7Ue5s7v5PMnO LXGhLSBum4v6H16bhlHLGKiVVNl8XKOhoBn3JvW7XjC4tErZG1g1D5wY/WMpVR77haUC FF1t1wCNR+f9Oou75Rd+LrTgX/m5A/eqdY0O/0hxQf7R2AC5MilrGmkn06MR0cQeXn51 gbdueEkU2cNgXNf9l0NF561/L7RZ3PJDjwmsp2EBB9sFA+nSzCFRZqbGX+KxQSUBmGCS gNeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H33ktSuQAG7GnDXaINaiGeybXobaVgyReSvlLCj+Svk=; b=d3XmoibD1DFM9o3PSgue4Wn3prw6Nj6Pn1xYnieJF7ow8uKtVJi4j4fGP6Op29XYVn CDEuHd9Q0nYHUub2Ym/nx7J9RcFA9zWXILk6q8frVZuhpekml9WI9NNzLN+ktlmB65S4 20vzkAgq4gBwmMAteM7eh+rOPW/bQXjvdZGcPprfCR3QZ8l3lrZ7WmL+R4h9xdQI8IHS jVVxwFOxA9iuBFEvLmbVb8jh2KhUIHtr5+V8Uj10iS1yrOTRMvPFB8FGQP+fcpCO0hR7 zVWbe2BhzLasAg+Ne7Tsz/dhHvqhGUD+Qd6OAhJLS2cyu2FlD7bEc023p9ZzLQPZz5U6 wxWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MK3iAAUw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69si4001010pgd.290.2018.11.30.03.53.45; Fri, 30 Nov 2018 03:53:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MK3iAAUw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727113AbeK3XCo (ORCPT + 32 others); Fri, 30 Nov 2018 18:02:44 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:40553 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726572AbeK3XCo (ORCPT ); Fri, 30 Nov 2018 18:02:44 -0500 Received: by mail-ed1-f65.google.com with SMTP id d3so4602764edx.7 for ; Fri, 30 Nov 2018 03:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H33ktSuQAG7GnDXaINaiGeybXobaVgyReSvlLCj+Svk=; b=MK3iAAUwCpLs0IyUtgYRFCNiAZfG67KkpPnu5eeRM719lQ6P51rlHBdFMwBOiZTIqj ZkeStjmQwT5v+lEKfxf0tSn4GztCMAUgbodMDFrmJr1T3J+0Ct6TlA+4/Y0w6rm6r8bI IxQl9PyxCko/F3gir0G5khaMBJMd4TheppFR4= 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:mime-version:content-transfer-encoding; bh=H33ktSuQAG7GnDXaINaiGeybXobaVgyReSvlLCj+Svk=; b=f+T3BIldE9G1GYhLrRP6gWwFPlWLoqk6tYOAicZpV7jVouaZFX4Uf2LpLPtx/73t8A MA+8kJAsEdxrdM3JV1SpD72NIzTDCpPzVH4dvQCZmh1jZrSoDDN31F0SB+pJnSHHTZfg klIFuNSUspSxOPAggj3d5wGtSKF12Ol3wbn3xKXMXgLuUjUCmP8oGm9pKvTlyuC8HXEX SyQsAQjqNENgQ3aJ+nuOFlnsNsw15yLFszICVH2EH77MybGxymPqZm5lOo39vLot2gDF n3xR7w3xPcrTuat1+lk5Xh96/hsqwMsPmT1BbQ+GQfGy2EVAPBBR8tOlJTpVVKclN1tg 8C8Q== X-Gm-Message-State: AA+aEWbANQc53f3SPstW1htmjWMZ8k37yR4a88hw/mVMvtRh6e9OnWju Wes+aliOwr4F6C+bw4bT8R1BHw== X-Received: by 2002:a50:d94a:: with SMTP id u10mr4975083edj.214.1543578820710; Fri, 30 Nov 2018 03:53:40 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id t10-v6sm767932ejg.41.2018.11.30.03.53.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Nov 2018 03:53:40 -0800 (PST) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Jerome Brunet , Srinivas Kandagatla Subject: [PATCH 3/6] nvmem: meson-efuse: bindings: add peripheral clock Date: Fri, 30 Nov 2018 11:53:22 +0000 Message-Id: <20181130115325.16539-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181130115325.16539-1-srinivas.kandagatla@linaro.org> References: <20181130115325.16539-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet 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 Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++ 1 file changed, 3 insertions(+) -- 2.19.2 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>;