From patchwork Mon May 28 09:01:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10430113 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 71124602CC for ; Mon, 28 May 2018 09:01:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 612C028AD9 for ; Mon, 28 May 2018 09:01:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5574128BE2; Mon, 28 May 2018 09:01:48 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0279C28AD9 for ; Mon, 28 May 2018 09:01:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754056AbeE1JBV (ORCPT ); Mon, 28 May 2018 05:01:21 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38389 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754139AbeE1JBT (ORCPT ); Mon, 28 May 2018 05:01:19 -0400 Received: by mail-wm0-f66.google.com with SMTP id m129-v6so30021648wmb.3; Mon, 28 May 2018 02:01:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=K1IDnkq/yCsn+2UQSjC8ACghq7G6xBV/8gL0EiaM3G0=; b=Zj13rLqAzKguQTYyCjIC4YoopA9GOxJLhNp6IVObnvdYUGXAKqeb1KQgc6LccxPC18 Eae0Wlk0kMSDthuszdxTH5z4F6Ajgycq2uspowNeNFSnXuxv3+ORlUkD26l9poMhP5Ma TZSBnYuiw01uId0kabMaZ7wsBXB4AAaEC3zjLYU4oUTZukLXBFYnwAVhdOvcxCgzM4rQ EKlOmrquBcazlMjZ0a8H0685M84l5Zna5xU2HGEPfn1RRhEYRFG33UdP6h6j5M/4aTD7 MXgO8koAvBzAgSGufj4gB8ZB9KjbxayIzwle4ZNDh3dUhmZd/BeFM28AciVx8gIP5OQI eL/w== X-Gm-Message-State: ALKqPwdFQ9nM18meDOEOhEgdhyHNUnZ8er6McEitWasrzZQY4nBPrOIn flvpSOM8JbvqxQKnW3CwDR4= X-Google-Smtp-Source: ADUXVKKOjg8LTLewiYzYIjCAu5n8RBpfkbRezsxb9e6p2gNGilB+YZzwQazLatoriRJdo142juFuyQ== X-Received: by 2002:a2e:4302:: with SMTP id q2-v6mr3576124lja.55.1527498077552; Mon, 28 May 2018 02:01:17 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id v1-v6sm5793508ljg.58.2018.05.28.02.01.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 02:01:17 -0700 (PDT) Date: Mon, 28 May 2018 12:01:14 +0300 From: Matti Vaittinen To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, mazziesaccount@gmail.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: [PATCH v2 4/6] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <20180528090114.GE8778@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rohm,bd71837-clock.txt diff --git a/Documentation/devicetree/bindings/clock/rohm,bd71837-clock.txt b/Documentation/devicetree/bindings/clock/rohm,bd71837-clock.txt new file mode 100644 index 000000000000..9759fd145781 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/rohm,bd71837-clock.txt @@ -0,0 +1,37 @@ +ROHM BD71837 Power Management Integrated Circuit clock bindings + +BD71837 clock node should be sub node of the BD71837 MFD node. +See BD71837 MFD bindings at +Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt + +Required properties: +- compatible : Should be "rohm,bd71837-clk" +- clock-frequency : Should be 32768 +- #clock-cells : Should be 0 + +Optional properties: +- clock-output-names : Should contain name for output clock. + Name "bd71837-32k-out" is used if this is not given. + + +Example: + +pmic: bd71837@4b { + compatible = "rohm,bd71837"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4b>; + interrupt-parent = <&gpio1>; + interrupts = <29 GPIO_ACTIVE_LOW>; + interrupt-names = "irq"; + #interrupt-cells = <1>; + interrupt-controller; + + /* Clock node */ + clk: bd71837-32k-out { + compatible = "rohm,bd71837-clk"; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "bd71837-32k-out"; + }; +};