From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186AbcFFNgg (ORCPT ); Mon, 6 Jun 2016 09:36:36 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36286 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbcFFNgd (ORCPT ); Mon, 6 Jun 2016 09:36:33 -0400 Date: Mon, 6 Jun 2016 08:36:31 -0500 From: Rob Herring To: Brian Norris Cc: Lee Jones , Thierry Reding , Olof Johansson , linux-kernel@vger.kernel.org, Doug Anderson , Brian Norris , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, Boris Brezillon , Stephen Barber , Javier Martinez Canillas , Benson Leung , Enric Balletbo , Randall Spangler , Shawn Nematbakhsh , Dmitry Torokhov , Todd Broch , Gwendal Grignou , Tomeu Vizoso Subject: Re: [PATCH v2 3/4] doc: dt: pwm: add binding for ChromeOS EC PWM Message-ID: <20160606133631.GA20034@rob-hp-laptop> References: <1464916904-37554-1-git-send-email-briannorris@chromium.org> <1464916904-37554-4-git-send-email-briannorris@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464916904-37554-4-git-send-email-briannorris@chromium.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 02, 2016 at 06:21:43PM -0700, Brian Norris wrote: > The ChromeOS Embedded Controller can support controlling its attached > PWMs via its host-command interface. The number of supported PWMs varies > on a per-board basis, but we can autodetect this by checking the error > codes, so we don't need an extra property for this. And because the EC > only allows specifying the duty cycle and not the period, we don't > specify the period via pwm-cells, and instead have only support 1 cell > -- to specify the index. > > Signed-off-by: Brian Norris > --- > v2: dropped the "google,max-pwms" property > > .../devicetree/bindings/pwm/google,cros-ec-pwm.txt | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.txt Acked-by: Rob Herring