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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 78D48CA9EBC for ; Sun, 27 Oct 2019 21:21:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4A78021783 for ; Sun, 27 Oct 2019 21:21:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AdpYfD0+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A78021783 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+infradead-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=bombadil.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=ifqn5mVXfi/2uWPgv7Aa9QvinLo+bN8i1mPqGxTvytc=; b=AdpYfD0+rt/dHK ZYcqNPQrDlAIBXpuIpdd/MuF4+hIEng1d3OAVBYQM5UHPfO7xtcpzChS67W8rt7QJabt555jblHPZ QRcUxsbWkF/GNx29E+UhDwW8ET+CxEbobos3XQXtWSlwnu/YNDIRq7zlvlemFKept1Q41uCOgX56H yrMuxqNnxr/1M3HWWZVl1XN3nT9P2Uw3NwPosA/HaZjyXOSX+9A5zlxDir2BgFaTzw0cFz2VMbhz5 w4fMuFz/iDSc5sXTFBdy4GbNmocvWOSCO6gz/cyXcRU97bgqmYGoOgh+neB9zb3SQyhZwLU27nhba EbyqWKsYYrT7B3BRd/tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iOpyY-0002Ix-R9; Sun, 27 Oct 2019 21:21:26 +0000 Received: from mail-ot1-f66.google.com ([209.85.210.66]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iOpyV-0002I2-HU for linux-arm-kernel@lists.infradead.org; Sun, 27 Oct 2019 21:21:24 +0000 Received: by mail-ot1-f66.google.com with SMTP id i6so233564oto.6 for ; Sun, 27 Oct 2019 14:21:23 -0700 (PDT) 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:user-agent; bh=b/1qX8QqURu4yTR6/F+UUQyKvsmnZpVehqktiXte3R0=; b=uT9X/C5gFp2eZJkhTtFWNco1p+/bS/aWiJcgNaOmoKnD9WCvh0KGL1ZOJzAPF7kBFg 5MX5AQQOZsIG0bgZLNTZZvszlXNhy5KsuKdHzwDpfGcHw0uS9dCAJKk5rVliWvA6FM1c KGxXwJAlkMsV1E0wTzN5w+o4XG85hyjkMMJrjR5WVz5ciMmJa4/xtipTzXPM4b7UHNp4 rqMDGEqLCHJzs+E8HoD2a53o0zbCN9+DNz48XvLYXVEJwycaE3sWDFggRjERBhjkMbk0 S6iMyGvCRsY9dbbc74xjScvl1r+Zer6hyeXvG9r4Rcaz5XHyPP3CSFm2dsqSG3mec9t8 RyZQ== X-Gm-Message-State: APjAAAUspHSoewf/VDKeYLvQo+Q+KpBp8AoLT1cjMIVhDsk2egAhZdjm u+NO5jG5MEwGAplmricAoA== X-Google-Smtp-Source: APXvYqxeon+14sBfRLWGf2262ii9N4LSrDCmUuiwS4ja+XW6LEnxA7FhNfNFumE68Q5l0ZieaUkX9Q== X-Received: by 2002:a9d:6357:: with SMTP id y23mr11151500otk.86.1572211282486; Sun, 27 Oct 2019 14:21:22 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id o23sm3054166ote.67.2019.10.27.14.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 14:21:21 -0700 (PDT) Date: Sun, 27 Oct 2019 16:21:21 -0500 From: Rob Herring To: Steve Longerbeam Subject: Re: [PATCH 2/2] dt-bindings: timer: imx: gpt: Add pin group bindings for input capture Message-ID: <20191027212121.GA3049@bogus> References: <20191016010544.14561-1-slongerbeam@gmail.com> <20191016010544.14561-3-slongerbeam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191016010544.14561-3-slongerbeam@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191027_142123_578203_4742E716 X-CRM114-Status: GOOD ( 16.55 ) 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: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Fabio Estevam , Sascha Hauer , Daniel Lezcano , "open list:CLOCKSOURCE, CLOCKEVENT DRIVERS" , NXP Linux Team , Pengutronix Kernel Team , Thomas Gleixner , Shawn Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 15, 2019 at 06:05:44PM -0700, Steve Longerbeam wrote: > Add pin group bindings to support input capture function of the i.MX > GPT. > > Signed-off-by: Steve Longerbeam > --- > .../devicetree/bindings/timer/fsl,imxgpt.txt | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt > index 5d8fd5b52598..32797b7b0d02 100644 > --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt > +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt > @@ -33,6 +33,13 @@ Required properties: > an entry for each entry in clock-names. > - clock-names : must include "ipg" entry first, then "per" entry. > > +Optional properties: > + > +- pinctrl-0: For the i.MX GPT to support the Input Capture function, > + the input capture channel pin groups must be listed here. > +- pinctrl-names: must be "default". > + > + > Example: > > gpt1: timer@10003000 { > @@ -43,3 +50,24 @@ gpt1: timer@10003000 { > <&clks IMX27_CLK_PER1_GATE>; > clock-names = "ipg", "per"; > }; > + > + > +Example with input capture channel 0 support: > + > +pinctrl_gpt_input_capture0: gptinputcapture0grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_DAT0__GPT_CAPTURE1 0x1b0b0 > + >; > +}; > + > +gpt: gpt@2098000 { timer@... I don't really think this merits another example though. > + compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt"; > + reg = <0x02098000 0x4000>; > + interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&clks IMX6QDL_CLK_GPT_IPG>, > + <&clks IMX6QDL_CLK_GPT_IPG_PER>, > + <&clks IMX6QDL_CLK_GPT_3M>; > + clock-names = "ipg", "per", "osc_per"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_gpt_input_capture0>; > +}; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel