Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3202408imm; Tue, 29 May 2018 03:03:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqp42hrgkcfF+O6mnVmX2de6KrJlzPjOrtN4sUl8PylVZUVqlErvrZ5Q9PvDrsiDR3O3ak7 X-Received: by 2002:a17:902:8207:: with SMTP id x7-v6mr16992629pln.100.1527588220339; Tue, 29 May 2018 03:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527588220; cv=none; d=google.com; s=arc-20160816; b=DNrsSFxvZY+7IhS8feksA5AiYXzoovWx7ufTKzsCF91BgQJWSA9YiElFF/OdHq6xFN D5bNbHWVXG4ZcilD49lZbydEdcZ8fvX2wKS8fQck255a1Dh0LJT94Lcwd02R0LE+lLuv BbeXWLQcXwcva6oFhT0gX//28zQ9fSKjP0peyue2M63RriQ5cHt6CD/f+Rz/V6j0l7zt dDC4cdUedoAo5bZ95gATNckerPd+m5MUPqcMKADmGrP+KOZRzmONdp8OEuAYRCQ7mG/V XM2mc22ar/QuPegZE9hSPK82LrEZvA5UdxQIFbb0yIPAQuh4AnnjIo44UI2gYvaQMCAN tF0g== 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=K1IDnkq/yCsn+2UQSjC8ACghq7G6xBV/8gL0EiaM3G0=; b=eQtFExNd5J+6zKn+2WhNmEfCReKKYIR27Ke4l5Mng5w8CNWuaalW9VohusSV4hEEHd ehwlyMu97Ya8kwnZGdrTjvHg1QuqYHJxhTCWqHybcZzP62g7axJ2JObIlD6K5XojmLMS roZc6m6MppA5jbHTkR+d+CWkPIb4YMetWys0bJ+/JUghMLRqVisHYhmlJ3Wn3ab15zxZ z2yPQl8hO9oEzi//V+RTK8vs6nQXGqZU5D3BY4+mUB30irN2tKYlkM4LKgk/W5c8qBoz D6D1CtYrI4W/Np+b7CaRlS19ieUW8XalWGX95ELLO9FiHPVoja/KOUw/GOEvm4be04+W aC/w== 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 i1-v6si7641775pgc.100.2018.05.29.03.03.26; Tue, 29 May 2018 03:03:40 -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 S933040AbeE2KBJ (ORCPT + 99 others); Tue, 29 May 2018 06:01:09 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35384 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932737AbeE2KBC (ORCPT ); Tue, 29 May 2018 06:01:02 -0400 Received: by mail-wm0-f68.google.com with SMTP id o78-v6so38974359wmg.0; Tue, 29 May 2018 03:01: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=K1IDnkq/yCsn+2UQSjC8ACghq7G6xBV/8gL0EiaM3G0=; b=ItWJkh62G9cV8Y1NoQYM5lQLfIWI+sRAJUE3PICCyXMnb1yT7GYmvV8o0B5fnthmPi WsjnXpRUITX9SaQk1GFex6PBBSGxZx/WTeg7Ij4NTWhy0BkWHNjXHIeoHsh2rHVya8RK sY9TV2O+BuT3FVPHLkaYfGLKJfUC4xc6zkvT4jSrgI7brKS/lJQ5bTTVdrn5cxL3Z6Vy jYIvZb85QtwKzG3I2KZBRHvf9YafLo99QgPUBpPL7nd9ygxhDhZyNvK1A8oERM/QHsqm Qc8+8Mn4qzXQ8+kYtVSlBwJzomeYPpgVB7aFwg2yplDjvjdhdo+LDoLSMwh0iM+GfQBD xeSw== X-Gm-Message-State: ALKqPwdSODTm+QbWfIMH9m/3YTZsr7TQg85//V2w2KjVNQMLjT/hCrJZ jhVis0etf7LioZxcUI4OmT3n87O6 X-Received: by 2002:a2e:9949:: with SMTP id r9-v6mr10472892ljj.53.1527588060566; Tue, 29 May 2018 03:01:00 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id k12-v6sm442636lje.94.2018.05.29.03.00.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 03:00:59 -0700 (PDT) Date: Tue, 29 May 2018 13:00:51 +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 v3 4/6] 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 | 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"; + }; +}; -- 2.14.3