Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3212438imm; Tue, 29 May 2018 03:15:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo0FYUOMIfYMsR//TMXJiwXCzj4q4GniMlTE/AqoeSFan7AdBF03KxDBpfCDnItCqtoTd9a X-Received: by 2002:a62:1282:: with SMTP id 2-v6mr16823024pfs.243.1527588949388; Tue, 29 May 2018 03:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527588949; cv=none; d=google.com; s=arc-20160816; b=XrzsTG5luGV7apHUUug/rer1cUpGZOhinc12SY/WT6TiL99Hb3OviM5JHhOoII/bsJ Z4mCliBmwoefZco5Qwwy1oN1g/kT3sfYwN0YcbHFz+X837fr+iktFtD7neHyEdxrw8Kc UFnzH/rPyXIALzJ/cvViw8yvaIp0GVswwQuvfIwGdhJ5BCP5WSHjSnbKQk9qZb0O3JDL XqFd0FZ3v9474APcVyXZiYs3aVaWWW+E4O4YBk9AsYrD6LNMj8ZvRgE9wUEhXzEnstwB eIlhyKQdGppIICa5BPfj+iidHvFluBuwPQ1cEX6YqEQzAGjV/RpHI9g5BeXb/ar1Ozub 5PPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=oPGiFoJlm0P35csFt4d8RsD1oL1D7gAPaI4H3co+gPQ=; b=moxdRzMYRhswTxM0hA9bc3CX2PudXOhmSsbqPLfCcVAnBv5HbLyeHuqA616RX0o7d8 h70bF21/Ea3GRhzJw3BcOzDKdMUkulqMzzpovUG3txD89XKsXyhnTR431QLwZhhIgcTV XpJBuOrbRmTIoFVfxKF2XzzY+FAysBRUjfuCUSSYjLtorklSm1zktOjFP5oO1ue9YDLt w7cDoYjYCiVKBMWBWhIFWFN5lSqP6i+6Wz5B15BPkurMwhv15xAOcgCr8NfhQbWcngLM ZuRCLopjHhAgFTSMwuE7ukM+RDYTtnbrtdECe+XmjE3MMuCxe52JI/vFgpxqQGZuCWID 3Jww== 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 r134-v6si25338910pgr.491.2018.05.29.03.15.35; Tue, 29 May 2018 03:15:49 -0700 (PDT) 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 S933044AbeE2KOe (ORCPT + 99 others); Tue, 29 May 2018 06:14:34 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:32946 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932881AbeE2KOH (ORCPT ); Tue, 29 May 2018 06:14:07 -0400 X-Greylist: delayed 645 seconds by postgrey-1.27 at vger.kernel.org; Tue, 29 May 2018 06:14:03 EDT Received: from talu34.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w4TA2Oke031894; Tue, 29 May 2018 13:02:24 +0300 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id 89B995AA0F; Tue, 29 May 2018 13:02:24 +0300 (IDT) From: Tomer Maimon To: robh+dt@kernel.org, mark.rutland@arm.com, jdelvare@suse.com, linux@roeck-us.net, avifishman70@gmail.com, yuenn@google.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v1 1/2] dt-binding: hwmon: Add NPCM7xx PWM documentation Date: Tue, 29 May 2018 13:02:20 +0300 Message-Id: <1527588141-18639-2-git-send-email-tmaimon77@gmail.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1527588141-18639-1-git-send-email-tmaimon77@gmail.com> References: <1527588141-18639-1-git-send-email-tmaimon77@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added device tree binding documentation for Nuvoton BMC NPCM7xx Pulse Width Modulation (PWM) controller. Signed-off-by: Tomer Maimon --- .../devicetree/bindings/hwmon/npcm7xx-pwm.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt diff --git a/Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt b/Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt new file mode 100644 index 000000000000..2d8a7ccdc8cf --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt @@ -0,0 +1,25 @@ +Nuvoton NPCM7xx Pulse-width modulation (PWM) controller device driver + +The NPCM7xx has two identical PWM controller modules, +Each module has four PWM controller outputs. +NPCM7xx PWM controller module 0 outputs PWM0-3 and NPCM7xx PWM controller +module 1 outputs PWM4-7. + +Required properties: +- compatible : "nuvoton,npcm750-pwm" for Poleg NPCM7XX. +- reg : Offset and length of the registers set for the device. +- clocks : phandle of pwm reference clock. +- pinctrl-names : a pinctrl state named "default" must be defined. +- pinctrl-0 : phandle referencing pin configuration of the PWM ports. + +pwm:pwm@f0103000 { + compatible = "nuvoton,npcm750-pwm"; + reg = <0xf0103000 0x50 + 0xf0104000 0x50>; + clocks = <&clk NPCM7XX_CLK_APB3>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm0_pins &pwm1_pins + &pwm2_pins &pwm3_pins + &pwm4_pins &pwm5_pins + &pwm6_pins &pwm7_pins>; +}; -- 2.14.1