Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1428820ybl; Sun, 19 Jan 2020 03:03:56 -0800 (PST) X-Google-Smtp-Source: APXvYqw/20HLtjO1iz0kUoh5Gd02gCbxZzkfC7C4JSAykuWKcxkctrmseUJ9S7E5zPw9EmI7OpZo X-Received: by 2002:aca:3241:: with SMTP id y62mr9462122oiy.31.1579431835937; Sun, 19 Jan 2020 03:03:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579431835; cv=none; d=google.com; s=arc-20160816; b=FUq8HaptLaGwWNIbenxl3OcO9lC3Jm/+XgGeVm3FaKcAepmZIS+pPmh9ggR/tL7xxG QW5YtIZ7kPkdMSyFix7tnFu/WneUihhZY1vPjwB9y50ixRR9gaHKPa9DXe8IUfGFmgIQ 3CGZ39dLQ/qN+TdNJp/WM3nRKsX5brsV20mK7p/P5n28swoC/JJJwKqHUEQdlWa9Jmwu uJojBuMImZ2y4ODifSxhkrffZUTSpVNNw7oY5Pwxli7lozDvob/GNjuctPGayLvWNHvH ysbxHXAF5nnwSwuBEBAlpaIUcbfR7EhMr29C47jetLRx7vPOcpNXqKQnzFRC4fMyaV5Q HE8g== 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 :message-id:date:subject:cc:to:from; bh=RpZ55KkACkPP+3sG/JcRvFYNxA/Yhm/nxOitq0PfQKs=; b=L8SoUODayG2OOtbZIyroqvVwx5rA8Z0Yq6dovT9RG7njIoB2c+kXqW32xlsHCWB0Gc y1ixWckKf8Av2Qvndu3zps0k1l+UHarICmjBGx73yFSx0YTHD3NaejC5f+iORI8E8gm2 8AR1F6YnO0T3B5PY6hOTt7jSASgwz3CUV6s7YZJkP3JzJr/8FEfzLKBRVl5b/BB+vIL/ x1cVSzuI+vAAfKdg86CSSTYU6pIFYKinwhSn5TyNtJi6IntYG300RjjzONAL9AFqb+G7 8KKc2y5c7Tk3j2Hh1KXD+3A/6Qi7b+d+Ul7vEWdJJ+QA6efEaLvHAf2btGm5DwfRmK8d HsFQ== 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si15608117oih.89.2020.01.19.03.03.32; Sun, 19 Jan 2020 03:03:55 -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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgASLBq (ORCPT + 99 others); Sun, 19 Jan 2020 06:01:46 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:39089 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726775AbgASLBq (ORCPT ); Sun, 19 Jan 2020 06:01:46 -0500 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id 00JB0bem001025; Sun, 19 Jan 2020 13:00:37 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 7546260328; Sun, 19 Jan 2020 13:00:37 +0200 (IST) From: Tomer Maimon To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, avifishman70@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, joel@jms.id.au Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v1 1/2] dt-binding: iio: add NPCM ADC reset support Date: Sun, 19 Jan 2020 13:00:31 +0200 Message-Id: <20200119110032.124745-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 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 Add NPCM ADC reset binding documentation. Signed-off-by: Tomer Maimon --- Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt index eb939fe77836..ef8eeec1a997 100644 --- a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt @@ -6,6 +6,7 @@ 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. +- resets : phandle to the reset control for this device. Optional properties: - clocks: phandle of ADC reference clock, in case the clock is not @@ -21,4 +22,5 @@ adc: adc@f000c000 { reg = <0xf000c000 0x8>; interrupts = ; clocks = <&clk NPCM7XX_CLK_ADC>; + resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>; }; -- 2.22.0