Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4434761ybl; Mon, 9 Dec 2019 10:45:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyyzqRaJjsU4lLSJqgRJUSnM1rMBCZTeZDrtN4K/JaAYa8cCaCEHeo/xL+EgFQVZnXZhQrq X-Received: by 2002:a54:4e8d:: with SMTP id c13mr436587oiy.27.1575917110058; Mon, 09 Dec 2019 10:45:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575917110; cv=none; d=google.com; s=arc-20160816; b=A2Ob+fhRBogauvybPtRDBjdb6Im0Z/CSbnu9oL61/hc4Mu0qZ9xs/49aLtF3gEYEhU pa7rYA5iPL2aauBIydVOFUENYU18e9TNPDul84TtQZgDfdWL/darZ9/LWOJRuIAWQ3V7 7yv2S0oa662SUUp+OnmTq0FkKcPs1kxwOvBBg1e6sXuhAHTTgq+QbO0liwJ7u0arHjL3 xvmeIGXOeA1ZSZaFXx88OKUprRGDXfGaKskVTmvz2EZL2qhvGZHt+teWk8Ja/5dzI9Nm JrqeRGeCe5ASpJy8gdtRlUEw4U5VcWby0zmwBSDMyplJPFH794RVUi0zferROJWLlgAt MfNg== 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=cB+GN8KwGbeWn7AIJs3kA5xl4++ri4zcLMchWPKfeoA=; b=XRWQm+BvUtXl1pZpE9aP37BPZFGFRk7IGPMK+Em1RaNR0YuM0wCDcvQT2noxL/f0Ys mlsckr6bBtohGyr3fVCrrZ7DYc7tu/4QIjiQdyb5PPtAu/1JgNIvVw80f7bTRpMDDGr4 gM1JzBJjg7kzKtd58jAH8NXyQY8/W+YFV3Nt0whrw0n14olY5j4IdFJSjqe2RRDPu8FP mYSHfz4gAIIclscRFNatCmlCREYlh651ZvYPMe/axW1Heip8jNghSDq2RJj2DVgGlicq SYuowl+eoiwhzbVfyxyoh8MjjKOwGXNv088n2lky51NSI9DpOru254xy4WHddsC+UFZy cAyw== 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 x2si308441otb.280.2019.12.09.10.44.58; Mon, 09 Dec 2019 10:45:10 -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 S1726691AbfLISmw (ORCPT + 99 others); Mon, 9 Dec 2019 13:42:52 -0500 Received: from mail.bugwerft.de ([46.23.86.59]:34218 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbfLISmw (ORCPT ); Mon, 9 Dec 2019 13:42:52 -0500 X-Greylist: delayed 451 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Dec 2019 13:42:50 EST Received: from zenbar.fritz.box (pD95EF75D.dip0.t-ipconnect.de [217.94.247.93]) by mail.bugwerft.de (Postfix) with ESMTPSA id 710322E5CDD; Mon, 9 Dec 2019 18:29:04 +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 02/10] dt-bindings: i2c: Add documentation for ad242x i2c controllers Date: Mon, 9 Dec 2019 19:35:02 +0100 Message-Id: <20191209183511.3576038-3-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-Type: text/plain; charset=UTF-8 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/i2c/adi,ad242x-i2c.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/adi,ad242x-i2c.yaml diff --git a/Documentation/devicetree/bindings/i2c/adi,ad242x-i2c.yaml b/Documentation/devicetree/bindings/i2c/adi,ad242x-i2c.yaml new file mode 100644 index 000000000000..ded92f8a791b --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/adi,ad242x-i2c.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/i2c/adi,ad242x-i2c.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Analog Devices AD242x I2C controller + +maintainers: + - Daniel Mack + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +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-i2c + + clock-frequency: + $ref: '/schemas/types.yaml#/definitions/uint32' + default: 100000 + enum: [100000, 400000] + description: Specifies the I²C clock frequency in Hz. + +required: + - compatible -- 2.23.0