From patchwork Wed May 30 08:42:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10437891 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 221CB603D7 for ; Wed, 30 May 2018 08:43:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 126E21FFB2 for ; Wed, 30 May 2018 08:43:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0748B27D0C; Wed, 30 May 2018 08:43:19 +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 9B2241FFFF for ; Wed, 30 May 2018 08:43:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936054AbeE3InR (ORCPT ); Wed, 30 May 2018 04:43:17 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:35812 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937291AbeE3InE (ORCPT ); Wed, 30 May 2018 04:43:04 -0400 Received: by mail-lf0-f67.google.com with SMTP id y72-v6so2997707lfd.2; Wed, 30 May 2018 01:43:03 -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=K1IDnkq/yCsn+2UQSjC8ACghq7G6xBV/8gL0EiaM3G0=; b=BN5EZIOMIWsjLWwekGO/0aeB5lZJDSprTeTGPOPkBr30YjBE8TV22zCVye5VBRTupA EApl/bRswAdTilX0hfP7vO+UGkg726ypFco07yBehcUWqS/7UZ+hvbRrUapTneXtnsCX +lsa8+wIve/+gCC2wAuzxBS1IGhKYDt4xDXHUKkGSXSxOWQCp7o+GNq1M8YmnmeQOaN7 pwjx6ff3psK8qfc68JKsCZ79PnXJkFKgosSvt73PzanHBEyGDBoVEQvOCeJhIkYUyXN3 EIdXZWLimcJoY1pQ6kX4kjt9afO40eAKU4qkC/qRrJyh+F3+jn8QMcMPYWC3SW5ubfUC In5w== X-Gm-Message-State: ALKqPwfyAEAqzzdGu2/d+s0OTJBUCzd89q0EkEK3S+4cCRxGWKw9lizU P6xf2P2rDxjp/GeB/l7UI6s= X-Google-Smtp-Source: ADUXVKIvodQMy23cZRZbQcKq5aKWmjoHV7nn8wgbeZkl8eRpBt9RcD1uh9qHdcO5E5HhOV4QYULgMA== X-Received: by 2002:a19:cb96:: with SMTP id b144-v6mr1109621lfg.72.1527669783079; Wed, 30 May 2018 01:43:03 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id q2-v6sm331540ljg.90.2018.05.30.01.43.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 May 2018 01:43:02 -0700 (PDT) Date: Wed, 30 May 2018 11:42:55 +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 v4 4/6] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <99bae24fdaee0fe101e9ed1f2e55682932b92a74.1527669443.git.matti.vaittinen@fi.rohmeurope.com> 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 | 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"; + }; +};