Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp301123ybl; Tue, 7 Jan 2020 19:48:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzrUzUjwTvVOMV1QKn4KkzXwOb35eA4cPlbK3hJoZloohnw/GG1TYJi7ic++GuEH7ijkv7E X-Received: by 2002:a05:6830:1199:: with SMTP id u25mr2503468otq.344.1578455283585; Tue, 07 Jan 2020 19:48:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578455283; cv=none; d=google.com; s=arc-20160816; b=uiLpL3KWWZZP323zPNzJOZW3KGLuvQuAElq3uuaj+yRS3zdDYxYbMOdZmyU/s3zcTi lANF9MW+PYSC7duS0/Upj28oIIkqCc6M9RMpOtavRvg5wiDWqfQXDTb9mXA/ldUF6KuD rtvbqDdIcmzT7oqarBNjF1sunDzSF6kouwiKha5iGZQ1ChIkQ1BjsypRpNupA0ZesYd+ YR5z9ex1fMyvsy99tAf+f8r4wAu4VfaM7Gxn0IG5cLs4cNcZNNQ8RfWPPtw+x90o+wmj azgpY8p7rLltSxDxsZFdJNoCi2H/a4az30pZFcuAOSF0HOx4cU/J92EuliTOMdcxfT32 gKGA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=r+pFes6TBL9qlt9DAArVbPYLSHaTdO8S1tCZhBCIPEc=; b=kshIsStqy03CjZwHC34b69ki4J03mOp+EP/kRJZCrzyjExDiL+r4IWpuXXOPOhp2tB yKp+vZxSi76ArIu9VYJbSuH2fOkB/s16mvXl6k9RbMd2TcUqgE1ryq3Zq4L1TqwjIJ/H B4cYCy8nitxzWuP0ONEwUAkay3TilRKDxeTngRAbAWdXM1UStT7pXgYK89tYiHODqnC7 oJiOOw3C8JY0v2dIIn+3A/c9gjKuY8pUUZNBJUO24DSDNI6OElRgG7RC9XGerkFDvVaV /nH1dPypb5PX5RYEun0n8jnmDBqMXMy+O2blfiwjTzeEb0Rzb5bccqFKLMGS5IW/Yyst RziA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c22si1289649oth.167.2020.01.07.19.47.50; Tue, 07 Jan 2020 19:48:03 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726587AbgAHDqD (ORCPT + 99 others); Tue, 7 Jan 2020 22:46:03 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:43140 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbgAHDqD (ORCPT ); Tue, 7 Jan 2020 22:46:03 -0500 Received: by mail-oi1-f196.google.com with SMTP id p125so1462188oif.10 for ; Tue, 07 Jan 2020 19:46:02 -0800 (PST) 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:content-transfer-encoding :in-reply-to:user-agent; bh=r+pFes6TBL9qlt9DAArVbPYLSHaTdO8S1tCZhBCIPEc=; b=RoxKx1cnEK1O01wGg6KUu8yoVM0JImhi5Ap91GyJUAYZpUF2ef515SejM0LNVv6o88 ZMqVWys7bF0H8okOJCQ083Bo0tHL+VYty6stjkaPMrQ31xw006eyPbNQLrUGGfTJaiAu zhdbPltUPg7OYXI8eCnrkFk5wUNt/FYVZjxY8E9vIVu43bR6VGMS5WPEOBHGOE2vZO/a tPNd7JGn24Zx205E3/32h7NXONajcYZA1WZQNn+b6i7tRxB7O2zF3L51B5VqkCDVxFFT iqOTmp9dWybBCmbleAxPMLuSrzgiH1zmuG7RZ5q8zX4WNQq3U272ndGvlg7TXboAfvoz VWcg== X-Gm-Message-State: APjAAAUuCuZbBHszjPy3MOyr+N0/ffM/ltYS4wwqW9/AnfURUTRxQhgF 2ObuTMcpuJlCQf/8egBomXU2G9s= X-Received: by 2002:aca:53c6:: with SMTP id h189mr1519969oib.11.1578455161536; Tue, 07 Jan 2020 19:46:01 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id p83sm687116oia.51.2020.01.07.19.46.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 19:46:00 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 2219e3 by rob-hp-laptop (DragonFly Mail Agent v0.11); Tue, 07 Jan 2020 21:45:59 -0600 Date: Tue, 7 Jan 2020 21:45:59 -0600 From: Rob Herring To: Daniel Mack Cc: 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, mturquette@baylibre.com, sboyd@kernel.org, broonie@kernel.org, lee.jones@linaro.org, lars@metafoo.de, pascal.huerst@gmail.com Subject: Re: [PATCH 02/10] dt-bindings: i2c: Add documentation for ad242x i2c controllers Message-ID: <20200108034559.GA27808@bogus> References: <20191209183511.3576038-1-daniel@zonque.org> <20191209183511.3576038-3-daniel@zonque.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191209183511.3576038-3-daniel@zonque.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 09, 2019 at 07:35:02PM +0100, Daniel Mack wrote: > 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' Can drop as it already has a type. > + default: 100000 > + enum: [100000, 400000] > + description: Specifies the I?C clock frequency in Hz. > + > +required: > + - compatible > -- > 2.23.0 >