From patchwork Mon Jun 4 13:18:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10446593 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 4003460284 for ; Mon, 4 Jun 2018 13:19:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27EEF28FCF for ; Mon, 4 Jun 2018 13:19:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A58428FD2; Mon, 4 Jun 2018 13:19:23 +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 B0C5328FCF for ; Mon, 4 Jun 2018 13:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753319AbeFDNTD (ORCPT ); Mon, 4 Jun 2018 09:19:03 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:43595 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753279AbeFDNTC (ORCPT ); Mon, 4 Jun 2018 09:19:02 -0400 Received: by mail-lf0-f67.google.com with SMTP id n15-v6so7875894lfn.10; Mon, 04 Jun 2018 06:19:01 -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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cRuHpNVcITtAVLCakHyd56Or8rD1eC0Fv+Ht4VvriMs=; b=Pd4sMLcAVx4oTwHdbxgIV88SyHX+Bp3CsYh+oAEQt/OdeMB6oJ1QBQ5i8DQ1NIlDJo dKKDbY9xzC7+g3Pv08eISqXu+AjWMtSC+42KD+iQEzzmcCCnWO3KbS5kbPwRYhr4NjmY cJi/u3+wZTwx/Iwo1Kt+aOhOnfn6fvJJUcKRfIPNbv2TSXFM353opfszF5+OvkisGUWV Xuzz8w0b70vrtp+ZeW2xJq4R+Hdsi4qs9A3NW6wyY3vX+O6mImoK2N11UwtxyTIYnaQo 5xQk6wJ3A1US9loDofNnkrj+YvnPPpobD7xg10+7omUkPvqVhvFV/i+bUxQ0RtPCjq62 Vxyw== X-Gm-Message-State: ALKqPwd5RZ5YPI0Cg5yo6wHKvZEYv54CrbtbeTIZhHCGShScOEYFZ1ey wnnCZVONtCvojHnMKlpAuDGyEsfq X-Google-Smtp-Source: ADUXVKIY7+a5uT8i0Bz0LSwWpwYUMtKnC9ZbRGaNXze18108OQ2q56sDHcgR28CHzgP0I4m9LCjbvQ== X-Received: by 2002:a19:9358:: with SMTP id v85-v6mr12563582lfd.83.1528118340521; Mon, 04 Jun 2018 06:19:00 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id a11-v6sm4585305lji.73.2018.06.04.06.18.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 06:18:59 -0700 (PDT) Date: Mon, 4 Jun 2018 16:18:53 +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 v5 3/4] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 | 38 ++++++++++++++++++++++ 1 file changed, 38 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..771acfe34114 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/rohm,bd71837-clock.txt @@ -0,0 +1,38 @@ +ROHM BD71837 Power Management Integrated Circuit clock bindings + +This is a part of device tree bindings of ROHM BD71837 multi-function +device. See generic BD71837 MFD bindings at: + Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt + +BD71837 contains one 32,768 KHz clock output which can be enabled and +disabled via i2c. + +Following properties should be present in main device node of the MFD chip. + +Required properties: +- clock-frequency : Should be 32768 +- #clock-cells : Should be 0 + +Optional properties: +- clock-output-names : Should contain name for output clock. + +Example: + +/* MFD node */ + +pmic: pmic@4b { + compatible = "rohm,bd71837"; + /* ... */ + #clock-cells = <0>; + clock-frequency = <32768>; + /* ... */ +}; + +/* Clock consumer node */ + +foo@0 { + compatible = "bar,foo"; + /* ... */ + clock-names = "my-clock"; + clocks = <&pmic>; +};