Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3596870imm; Mon, 4 Jun 2018 06:21:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLTB0kHeh+Th8We/3BkHcB/FIX55QgfnufbfaUMlGlm+CSdDi96tygXZeoeiFc9s7pWLgxX X-Received: by 2002:a17:902:125:: with SMTP id 34-v6mr22362823plb.42.1528118518035; Mon, 04 Jun 2018 06:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528118518; cv=none; d=google.com; s=arc-20160816; b=oa97RL5OtK/Cju50jKgXRymnnEe7V7C2446OPjbAWtLQRYyoMcpZCwf0DkLOU9ZCC/ I303ay1/cHM+SmoLlKVAdjipZhzrXp2WvsC6iKTHcofTW0ZRBhA5rkZgNJUwWOsHPGHf KYE6SF3UMgFhsp29RCfBKVuzofkDTF91qTbJFxs5lRKeG8IRr734LGvVX3ILDeHZ0Ioz +PaeOE177+HdYvSJOCag/j4pQdLRQxME/R/HMoQmkZmtT2hMn47zJVgCERknIl5p8Gsz +5xH/ND6qPg3GAhtBMe2cEz6wUZEUofCBWOaB3EV0GrFfScO8Ms7IxHoxMemhMaV8O5J Idow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=cRuHpNVcITtAVLCakHyd56Or8rD1eC0Fv+Ht4VvriMs=; b=bJmgs2NZq2ajjaGSod33aHIO07+gvE9lMT2vLUaTZQFIs+0Y/tSWjU7pIS4H8DEf9F x03JP276o8/4zpo8QfkbQHfmimpxuYuA4v8eG5Kwa+V3h1Ia9WeUHpcquO+BsVdaZjfg 6apoKjgGmRbEkYCGtxz9tEu2gAlfEa+vL4KvLM/CJ6R4njMKogLJLnU1IKJq5ouzChCd m0yKm+x38iWvCGHgOmr0IJy99Gfhyw18m3qycukyU15l+1z9ebrHPlt8iWxHfK/Y1SL1 2UVog/kfvrudaLClGrxcqjSNZ6vD5q6alPyLPZZCrsWCY+gsUR8ufbGRz/t7NlqrcFMb RrCA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2-v6si46201619plh.387.2018.06.04.06.21.43; Mon, 04 Jun 2018 06:21:58 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753343AbeFDNTE (ORCPT + 99 others); Mon, 4 Jun 2018 09:19:04 -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-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; +}; -- 2.14.3