From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9376C433FE for ; Wed, 9 Dec 2020 17:37:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9ED7322BF3 for ; Wed, 9 Dec 2020 17:37:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732740AbgLIRhM (ORCPT ); Wed, 9 Dec 2020 12:37:12 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:33291 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732511AbgLIRhJ (ORCPT ); Wed, 9 Dec 2020 12:37:09 -0500 Received: by mail-oi1-f196.google.com with SMTP id d27so2582363oic.0; Wed, 09 Dec 2020 09:36:53 -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; bh=bka+gIe2PYYq4ePeK5SsKTLs6SwK5O5OVnbyEVbKVvc=; b=Fi0zad0gvqWQcDbCcoWqlU8bqCFJa7rnby+wvMXC7+L3yQB2gdoQdZjyOaNx61AKWh 3DWG92Sj7V+g+IAyZmLxCrpL9GcLfFF65yY8Os10DpysGZneGvaYiUbQ36WAghvP8aX3 EIeFw1F29q+DmpBpXJ8izsyC4pi/FFMVk0tj1UZnE8nUCfhzkYYE5D3iWrPiBcdnoo3G VjrR/zlrXTi1WhWZl2lMfA6QOxtncJsXYGYJXYguQ+2x2H0i5N+5PYMD1kn1hQiBtPVs ftdHkLiTlbkSGS+nWigMsKScVmCj/Q+VZdR58GrYZYLsKczjYQrkFVoc0v0uzbbuNovc 8yqQ== X-Gm-Message-State: AOAM533iwS8g37L+wb5qi2LNm30ZlO1quG3PO+SaU3/fnRlJp2plLN9N m9UXcd2SgIdYouDTM4Q17Q== X-Google-Smtp-Source: ABdhPJwfX4MV4Pd4gkJYdfqaNpb5JzpyOTvPjdxnCE/rfTZkEEStMybE/u7/b04DDpwcwNS7MNIHRQ== X-Received: by 2002:aca:b686:: with SMTP id g128mr2565481oif.82.1607535388097; Wed, 09 Dec 2020 09:36:28 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 8sm455253oii.45.2020.12.09.09.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 09:36:27 -0800 (PST) Received: (nullmailer pid 654142 invoked by uid 1000); Wed, 09 Dec 2020 17:36:25 -0000 Date: Wed, 9 Dec 2020 11:36:25 -0600 From: Rob Herring To: Baruch Siach Cc: Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , Linus Walleij , Bartosz Golaszewski , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Petazzoni , Chris Packham , Sascha Hauer , Ralph Sennhauser , linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 6/6] dt-bindings: ap806: document gpio pwm-offset property Message-ID: <20201209173625.GA652178@robh.at.kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Wed, Dec 02, 2020 at 09:15:37AM +0200, Baruch Siach wrote: > Update the example as well. Add the '#pwm-cells' and 'clocks' properties > for a complete working example. > > Signed-off-by: Baruch Siach > --- > .../bindings/arm/marvell/ap80x-system-controller.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt b/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt > index e31511255d8e..a754e8992450 100644 > --- a/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt > +++ b/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt > @@ -80,6 +80,11 @@ Required properties: > > - offset: offset address inside the syscon block > > +Optional properties: > + > +- pwm-offset: offset address of PWM duration control registers inside the > + syscon block marvell,pwm-offset > + > Example: > ap_syscon: system-controller@6f4000 { > compatible = "syscon", "simple-mfd"; > @@ -101,6 +106,9 @@ ap_syscon: system-controller@6f4000 { > gpio-controller; > #gpio-cells = <2>; > gpio-ranges = <&ap_pinctrl 0 0 19>; > + pwm-offset = <0x10c0>; > + #pwm-cells = <2>; > + clocks = <&ap_clk 3>; > }; > }; > > -- > 2.29.2 >