From patchwork Thu May 24 05:58:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10422747 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 ED03D6019D for ; Thu, 24 May 2018 05:58:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDDA028FFE for ; Thu, 24 May 2018 05:58:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1A83290DD; Thu, 24 May 2018 05:58: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 94E5928EA4 for ; Thu, 24 May 2018 05:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755230AbeEXF6o (ORCPT ); Thu, 24 May 2018 01:58:44 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43524 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755033AbeEXF6n (ORCPT ); Thu, 24 May 2018 01:58:43 -0400 Received: by mail-wr0-f196.google.com with SMTP id r13-v6so724343wrj.10; Wed, 23 May 2018 22:58:42 -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=jjwiGFjRSSAqdnsDGUKjaxmCqGxhji/KYfbJb6/JhT2Mb9fOIFDHgZjV8bZtT8XAFY B+JFMrTelGprmKOqXi9Nw8ZcfGKTrmecEemRRxqgdB9t/VYE5Nny/RnP1k2Aws4FaOAE r+pHJG/heWi4ZoEQKaKiiD9YAkf2A48+EHTtR+KEnYrUZJXriQEvLTvDJuQNoQ2ad58x VMO22gE6XgSOvy8YP2p3+I90ZE18HLhNuXo5I6g/FJIYjOo+eP3UxbAuYiVD9z9LKzfv Cy9TB+3jDrFckk5dWwix6yl9lvBSXZHCVhQombhpVvZ0qE6dOz+oJIpdGDMD1nZfzeHd xBcw== X-Gm-Message-State: ALKqPwdR58GXuYLdBriBOlC4iAOmAOl+zsPB3lYM+7YrkoGbrnKAMiFq baBzviL7yp1RB8xMLnUSJ8c= X-Google-Smtp-Source: AB8JxZo+sog5SrYAlpynlGl1SWkh3qA9YFSJ4vjpxg54gtxIPZwORvu88od/IP2LBMEamVyujHyJJg== X-Received: by 2002:a19:9c4b:: with SMTP id f72-v6mr2061965lfe.119.1527141521776; Wed, 23 May 2018 22:58:41 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id z78-v6sm3750199lje.11.2018.05.23.22.58.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 22:58:41 -0700 (PDT) Date: Thu, 24 May 2018 08:58:39 +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 5/9] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <20180524055838.GF4249@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"; + }; +};