Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp263334imu; Thu, 3 Jan 2019 19:15:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN5WbWRdelG/OUw/miBUsvjXxr0HnYCiL3VN77hImszQll8dh8JUUO9LJWZv+UtheFlkyXDq X-Received: by 2002:a63:94:: with SMTP id 142mr46392796pga.74.1546571700430; Thu, 03 Jan 2019 19:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546571700; cv=none; d=google.com; s=arc-20160816; b=oMFNy5UfUEL+tRAkN/ezmlz2Kyosapm848RmPxHBxtSe2Aff/bTf9e+pXtL4H8ng3i UFVeNRZvQ/ToNLxnIpK4MTXHQqg5VvVcOFSrfLqa2dUltDEa/59Dblr4hFwSX9JVeqk/ cZuQ8HVAaAhpnFnwpPt9UneWuQksifPu63fLmDX7jU1Da/XByFLQrKXMssceJ5PH4iyR q1yLBltaqge0+HeLDsvKRzuwkOZAas46YFKFGt54hluVPy5F7m+jKIhBFfkzlSS23RyA RpF7aPaaGf/oI7TAOCQaVy/aNfK+W6asX5vXuuetPH3LSd0mVeieOeuX5ztj+0AT7oMF 7auQ== 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; bh=RFJv2pEtzMnCmHqpwbHFcL8CG7J04WnCqNMgo/+qLPk=; b=HJbh7oxrKIUpbgpwmz8o78nhy9fQWsZGOkqTBdra5p8EfDkmvXDAUSMZtY0paPHkjj SzqzTBXvhcfRgyxSpmX7cHyoVimqrbbXM8GX/mb9fc9eXKtXJrD7M39fDHmMnNtFZ2UJ htY+3ibLcFAbqdf0Y6z2BOB9wn5sMTr9MXYagYyCs3bznzZwCJ8b1jljfO0tib/n8c1I 8SnMTxqMQE1Y2a/v+7VqVz9LZwvXXTWK1EXjPZtOQ4NB1aw/4x++ezsbLda3Tt/QxNB0 aVZRiF+ku+lbN6X81g/6G51ZK/ZXPw/6grH+C0xXklZliFXemVurOwBzdqb6UfJCVoHt lPKQ== 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 d9si9892927plr.127.2019.01.03.19.14.22; Thu, 03 Jan 2019 19:15:00 -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 S1727423AbfACVOv (ORCPT + 99 others); Thu, 3 Jan 2019 16:14:51 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:52709 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726041AbfACVOv (ORCPT ); Thu, 3 Jan 2019 16:14:51 -0500 Received: by mail-it1-f196.google.com with SMTP id g76so47176569itg.2; Thu, 03 Jan 2019 13:14:50 -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:in-reply-to:user-agent; bh=RFJv2pEtzMnCmHqpwbHFcL8CG7J04WnCqNMgo/+qLPk=; b=VqgC8l4Lp2U8eSvCt0nQySWOkOGXowmJhaN89x4xGOpgmHnWTn9QQGYxUsI+cLRum/ zd34mS0a8d8M/5AGFeAzMEqyjYZGgC0NDn0OstqUQN774J7DpEG/sSKlJbQV/4qEcSY7 NXY0dQ0ilfzMSx4GYfRH07tPawNZ3YwK7y8g6E7JvyW2/eyTybPIMMWJeE9Zip5ncOGq Z3u0AguQ4qhCoASUn50YSCzOA0BslcFnCym1wzGABHQAbrh7MnSIbWgprcsarWK97KL7 yXx6pHXu+b9P4YG6FUCXUCCLq6DvlKpsAtSLok8Qrpwi0Hck+97ANtDWixsQG2HKF8OR bBHg== X-Gm-Message-State: AA+aEWZPobu29LhyKacZSkRRgajD7IH828KGvQZ+9USpPBzlrf2lGsMZ PRK43FhKi3/lAojmM/jYYQ== X-Received: by 2002:a02:910a:: with SMTP id a10mr34057589jag.116.1546550089548; Thu, 03 Jan 2019 13:14:49 -0800 (PST) Received: from localhost ([24.51.61.172]) by smtp.gmail.com with ESMTPSA id f13sm25041184iol.82.2019.01.03.13.14.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Jan 2019 13:14:48 -0800 (PST) Date: Thu, 3 Jan 2019 15:14:47 -0600 From: Rob Herring To: Tomer Maimon Cc: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, mark.rutland@arm.com, yuenn@google.com, venture@google.com, brendanhiggins@google.com, avifishman70@gmail.com, joel@jms.id.au, linux-iio@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v1 1/2] dt-binding: iio: add NPCM ADC documentation Message-ID: <20190103211447.GA4618@bogus> References: <20181224164755.286932-1-tmaimon77@gmail.com> <20181224164755.286932-2-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181224164755.286932-2-tmaimon77@gmail.com> 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 24, 2018 at 06:47:54PM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC > NPCM Analog-to-Digital Converter(ADC). > > Signed-off-by: Tomer Maimon > --- > .../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 ++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt > > diff --git a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt > new file mode 100644 > index 000000000000..6f0843d837cc > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt > @@ -0,0 +1,35 @@ > +Nuvoton NPCM Analog to Digital Converter (ADC) > + > +The NPCM ADC is a 10-bit converter for eight channel inputs. > + > +Required properties: > +- compatible : "nuvoton,npcm750-adc" for the NPCM7XX BMC. > +- reg : specifies physical base address and size of the registers. > +- interrupts : Contain the ADC interrupt with flags for falling edge. > + > +Optional properties: > +- clocks : phandle of ADC reference clock, in case the clock is not > + added the ADC will use the default ADC sample rate. > +- vref-supply : The regulator supply ADC reference voltage, in case the > + vref-supply is not added the ADC will use internal voltage > + reference. > + > +Required Node in the NPCM7xx BMC: > +An additional register is present in the NPCM7xx SOC which is > +assumed to be in the same device tree, with and marked as > +compatible with "nuvoton,npcm750-rst". > + > +Example: > + > +adc: adc@f000c000 { > + compatible = "nuvoton,npcm750-adc"; > + reg = <0xf000c000 0x8>; > + interrupts = ; > + clocks = <&clk NPCM7XX_CLK_ADC>; > +}; > + > +rst: rst@f0801000 { Why is this node here? > + compatible = "nuvoton,npcm750-rst", "syscon", > + "simple-mfd"; > + reg = <0xf0801000 0x6C>; > +}; > -- > 2.14.1 >