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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 66ACEC433FE for ; Wed, 9 Dec 2020 17:37:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A0AD22BF3 for ; Wed, 9 Dec 2020 17:37:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A0AD22BF3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DaGfLJKcxDDsRkfiPUU5dY8t13ooCYyKLvrMv6X5wgQ=; b=hcIZmwEClBZhQR7c0MpQu0qHk dzwRNgFcpVXyCJrvUPQeze2Cj/BY/5UDmUcIWeQhKo+f3EAkYyRouO9b/oIwui0r2/NUrkLvgiTbN /Xg46A/q9FO+sCjKhBhsnErB6E44ENDjfmOZ5vcmEyqvSGY6RZr8u3gIps+cvJ4HwElUmTU0+nhV9 Re0iMkNt0mH8axI3YH99+u+ypVjQxLTxSseGTOIiSFnYnDFph7zSIQs/XDYY6t3Xotd1czAK/sB1o g6ENhK86AwVLKFrk0rkCUpDRCG6YaWQT/u3AP1D6we6aQqL/UZ/cy2dwcNMzB/RigZUV/tzGpHZNq AmwT4D+8w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kn3OF-0000Rp-BJ; Wed, 09 Dec 2020 17:36:35 +0000 Received: from mail-oi1-f195.google.com ([209.85.167.195]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kn3OC-0000RP-5o for linux-arm-kernel@lists.infradead.org; Wed, 09 Dec 2020 17:36:33 +0000 Received: by mail-oi1-f195.google.com with SMTP id o25so2561650oie.5 for ; Wed, 09 Dec 2020 09:36:28 -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=TMYjlkwNSBPzn4pYg4Baatri/Kxi3DJEPZEW0tyjpJn9vhG+HYbQTgHhekBZmDKGXl tVUikwMUkeoAn1SuRHBERWWnPxvjaKXx+V1X9VeROXz8zRGdFxcVKqdRzTxjtkpVN6/v 2ejdBXAIHu+dXRRCsSJzPxE7yk35s+w6AARX5MH2pSU8KpLb1WGMml2GLGJA3AIi+TL8 FvVR8fZ8AdFMQn6DQX3uvGmSNO3RjB4/IJzegUZFB10M7Gw09cSAXZg6tMVAGsSt/U73 DFu8B7JblnvTyDkig9/oTmve/xvcTcTYdTPcE4Lc3MQUA9/F4TVgEyepxVyb8SWrRqCa 6H9Q== X-Gm-Message-State: AOAM5308iKuxtFfYhNG1UHCOpPLacEfH1WRtGHryg+v8/AAnOKXDTgaa OYKJAUKPMaR1Cu5KiCq+jOj8UmvTAA== 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 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201209_123632_231158_F941F66B X-CRM114-Status: GOOD ( 18.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Sascha Hauer , linux-pwm@vger.kernel.org, Linus Walleij , Chris Packham , linux-gpio@vger.kernel.org, Bartosz Golaszewski , devicetree@vger.kernel.org, Thierry Reding , Thomas Petazzoni , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Ralph Sennhauser , Lee Jones , Gregory Clement , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel