Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4434282ybl; Mon, 9 Dec 2019 10:44:41 -0800 (PST) X-Google-Smtp-Source: APXvYqw2pRgmWienKkkGvrbDQR6iqITaATzCso8wmBwPXzSlOrB+mn0+lb7RjQ1UZXnkU+rOWE+U X-Received: by 2002:aca:2808:: with SMTP id 8mr447543oix.27.1575917081770; Mon, 09 Dec 2019 10:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575917081; cv=none; d=google.com; s=arc-20160816; b=Lc28VzMbkZQ6wHmViSuuBWmYGoMoZGSs6NNg1+aG9p4sTXLdcPzKgnyRni/PsF5SUr nEJz2MoweT91Ch53QS38Rlte71JjDLdcTrxW1ha6Ifcui7sCcHxIsJ2lMLn5xOnaHOTQ 8XwGtk8f8iHHrwW7KItGaVuFSelKksArs/uh9G17L4uhoejZuss17YS2bJtdXWC2K3XX RUB1Jpy9SWI/lQoC1ncbnpUsmlZVGrHv/Kfxc6WXUR9n7U6Au+K74wHncVJtlmjhAlGY Fl/MVc9rA4lTD/eBWGqaLhfmY+tMNU7fxkloqVQPQJjxklZmWkNHnloZJB6hg89AvQKM 1vLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HF5W2K8cEQm4nyPEsT00NwIo4GKbTrXwbuQLQVF+vMQ=; b=gUk7jD4TarMclRCxThtzFuu1PtzExyMtWXYnSYaF3zgfD8driMNnnM92maZqrPAqAb kdrrlNMFyIhW8RS0pwL7igiSk/ufQYe4i3jJaPZgr6nuXLEUa4nD1geCkgRAhqvNFy0g jQTlYT8Vm/6rUi1k0LgwHIIm0LwhCf24aMBJiJfgB6hgqwRXB3DbK+LjZCEYQXbnp9wI 01Ok1nlw29shQ8cbpa6ak5L3L+I10sCWT0bE8llAdxQgo2feSrtIJBDQtaHT4qx1rA8O p7olUuRT1REkBcEenQ8dcHJ1jVm2BUTKI0S1DQ/naQA/hkaQRbi1Qou1y//DAx+ttvc7 aiww== 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 y2si405662oig.123.2019.12.09.10.44.30; Mon, 09 Dec 2019 10:44:41 -0800 (PST) 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 S1726969AbfLISnE (ORCPT + 99 others); Mon, 9 Dec 2019 13:43:04 -0500 Received: from mail.bugwerft.de ([46.23.86.59]:34262 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbfLISnA (ORCPT ); Mon, 9 Dec 2019 13:43:00 -0500 Received: from zenbar.fritz.box (pD95EF75D.dip0.t-ipconnect.de [217.94.247.93]) by mail.bugwerft.de (Postfix) with ESMTPSA id AE0892E5CE4; Mon, 9 Dec 2019 18:29:09 +0000 (UTC) From: Daniel Mack To: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, broonie@kernel.org, lee.jones@linaro.org, lars@metafoo.de, pascal.huerst@gmail.com, Daniel Mack Subject: [PATCH 04/10] dt-bindings: clock: Add documentation for AD242x clock providers Date: Mon, 9 Dec 2019 19:35:05 +0100 Message-Id: <20191209183511.3576038-6-daniel@zonque.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191209183511.3576038-1-daniel@zonque.org> References: <20191209183511.3576038-1-daniel@zonque.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This device must be placed as a sub-device of an AD242x MFD node. Signed-off-by: Daniel Mack --- .../bindings/clock/adi,ad242x-clk.yaml | 32 +++++++++++++++++++ include/dt-bindings/clock/adi,ad242x.h | 9 ++++++ 2 files changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/adi,ad242x-clk.yaml create mode 100644 include/dt-bindings/clock/adi,ad242x.h diff --git a/Documentation/devicetree/bindings/clock/adi,ad242x-clk.yaml b/Documentation/devicetree/bindings/clock/adi,ad242x-clk.yaml new file mode 100644 index 000000000000..f434b3e4928e --- /dev/null +++ b/Documentation/devicetree/bindings/clock/adi,ad242x-clk.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/clock/adi,ad242x-clk.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Analog Devices AD242x clock provider + +maintainers: + - Daniel Mack + +description: | + This module is part of the AD242x MFD device. For more details and an example + refer to Documentation/devicetree/bindings/mfd/ad242x.yaml. + +properties: + compatible: + enum: + - adi,ad2428w-clk + + '#clock-cells': + const: 1 + + clock-output-names: + minItems: 2 + maxItems: 2 + description: | + Array of two strings to use as names for the generated output clocks + +required: + - compatible + - '#clock-cells' \ No newline at end of file diff --git a/include/dt-bindings/clock/adi,ad242x.h b/include/dt-bindings/clock/adi,ad242x.h new file mode 100644 index 000000000000..307a6cd1f5a6 --- /dev/null +++ b/include/dt-bindings/clock/adi,ad242x.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __DT_BINDINGS_AD242X_CLK_H +#define __DT_BINDINGS_AD242X_CLK_H + +#define MAX9485_CLKOUT1 0 +#define MAX9485_CLKOUT2 1 + +#endif /* __DT_BINDINGS_AD242X_CLK_H */ -- 2.23.0