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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,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 2C6C9C33C8C for ; Mon, 6 Jan 2020 22:12:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F1EB1207FD for ; Mon, 6 Jan 2020 22:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578348774; bh=LZfMVj2YhUxgU1ZOH8tV7oa54JqPatxvcoKoH0h3Glc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=PiUOGIXCIh91eh3hItUQ+rnej2Fa8KuRLduFZDZ8VL4LUEEZUoZz64BypvUcKJHUY gGDMtCRNqr8ma8mqsiHD0hsnJCeTKLdtOQGn3Tfq0+rvuBWt+pryf16+fPuCJQnPRc vmQtITL1VcxHzs+/JCWbklI0x3nLs1lxBQnwUHc0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726713AbgAFWMx (ORCPT ); Mon, 6 Jan 2020 17:12:53 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:39253 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbgAFWMx (ORCPT ); Mon, 6 Jan 2020 17:12:53 -0500 Received: by mail-oi1-f196.google.com with SMTP id a67so16986816oib.6 for ; Mon, 06 Jan 2020 14:12:52 -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:user-agent; bh=CLp8AWOq/ppcpPg4zoNMmXmjnqf4+B8gtYz+J6bqL0A=; b=mlZwpUJucSxcNUf7rcgx0wAj2Akory1to4X4fXT3CYHttWYGB9T6U4O4mLlowEIhXc FF6NDhSBzhlAMDNNYUQCpbnTg2ZRBbu5kvc6BCw7NSoX272wqZLh9Swo95zxalF+zs+E dsO3HEqdgjeK9/b9PQCFxQS/o90Crv+QkcWJymkjVA5oakNxlk4VBSSqKy0/0TxKF0KK urnWvOi/RkWWOotlpMwX+/gMTDrJQv4auHuSYFe9g6VlFLh96YaT5/XspXwxzdTsyDNo lDZSaFj/DBD0A1X8SZn7jf+/9t8B0o5ea7wa9t5NwDwq4FevVsMlq6yJbdHScqbURuqE vMrA== X-Gm-Message-State: APjAAAXKbVcGVrq/COBejgpUrVzcwkrXPfanSdLNYl24jSIfsN4h385k JRKNFbCzH1E/BV1n2bKXcdWX0/0= X-Google-Smtp-Source: APXvYqzGpyekbkhCK33Y65qGjBZHE5wANGyTKjLmgZpFuVrEicsm/jAdfD38bY/BN3kSsxxqHvQScA== X-Received: by 2002:aca:503:: with SMTP id 3mr6700878oif.106.1578348772013; Mon, 06 Jan 2020 14:12:52 -0800 (PST) Received: from rob-hp-laptop (ip-70-5-121-225.ftwttx.spcsdns.net. [70.5.121.225]) by smtp.gmail.com with ESMTPSA id q13sm3290428otc.5.2020.01.06.14.12.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 14:12:50 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 22043f by rob-hp-laptop (DragonFly Mail Agent v0.11); Mon, 06 Jan 2020 16:12:46 -0600 Date: Mon, 6 Jan 2020 16:12:46 -0600 From: Rob Herring To: Anson Huang Cc: aisheng.dong@nxp.com, festevam@gmail.com, shawnguo@kernel.org, stefan@agner.ch, kernel@pengutronix.de, linus.walleij@linaro.org, mark.rutland@arm.com, s.hauer@pengutronix.de, catalin.marinas@arm.com, will@kernel.org, abel.vesa@nxp.com, bjorn.andersson@linaro.org, olof@lixom.net, maxime@cerno.tech, leonard.crestez@nxp.com, dinguyen@kernel.org, marcin.juszkiewicz@linaro.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V3 1/3] dt-bindings: imx: Add pinctrl binding doc for i.MX8MP Message-ID: <20200106221246.GA17055@bogus> References: <1578302992-5723-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1578302992-5723-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Mon, Jan 06, 2020 at 05:29:50PM +0800, Anson Huang wrote: > Add binding doc for i.MX8MP pinctrl driver. > > Signed-off-by: Anson Huang > Reviewed-by: Abel Vesa > --- > Changes since V2: > - use DT schema instead of txt for binding doc. > --- > .../bindings/pinctrl/fsl,imx8mp-pinctrl.yaml | 65 ++ > arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h | 931 +++++++++++++++++++++ > 2 files changed, 996 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h > > diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml > new file mode 100644 > index 0000000..cdb6c21 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pinctrl/fsl,imx8mp-pinctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale IMX8MP IOMUX Controller > + > +maintainers: > + - Anson Huang > + > +description: > + Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory > + for common binding part and usage. > + > +properties: > + compatible: > + const: fsl,imx8mp-iomuxc > + > +# Client device subnode's properties > +patternProperties: > + '-grp$': > + type: object > + description: > + Pinctrl node's client devices use subnodes for desired pin configuration. > + Client device subnodes use below standard properties. > + > + properties: > + fsl,pins: > + $ref: /schemas/types.yaml#/definitions/string string or... > + description: > + each entry consists of 6 integers and represents the mux and config integers? > + setting for one pin. The first 5 integers + mux_val input_val> are specified using a PIN_FUNC_ID macro, which can > + be found in . The last > + integer CONFIG is the pad setting value like pull-up on this pin. Please > + refer to i.MX8M Plus Reference Manual for detailed CONFIG settings. > + > + required: > + - fsl,pins > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + # Pinmux controller node > + - | > + iomuxc: pinctrl@30330000 { > + compatible = "fsl,imx8mp-iomuxc"; > + reg = <0x30330000 0x10000>; > + > + pinctrl_uart2: uart2grp { > + fsl,pins = < > + MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49 > + MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49 Run 'make dt_binding_check'. Doesn't build: Error: Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.example.dts:23.21-22 syntax error FATAL ERROR: Unable to parse input tree > + >; > + }; > + }; > + > +... 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,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 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 B0F50C33C8C for ; Mon, 6 Jan 2020 22:13:04 +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 843BA207FD for ; Mon, 6 Jan 2020 22:13:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="g5LHXCXN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 843BA207FD 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=JZ0AWJ2iaoIQHgy6XYVoGMGqjsaSJ1i8OlVuZNgak08=; b=g5LHXCXNz2jtpy azYX90rsHwrHFhAyB3DtdP1SHHVm3AH88Lj/V7G21nCV3sTOKWY0BZfJUy3imwgDqA6GoyoJeydJ6 pIKD5n26kH4kDFk2Zky4TmOf0R4ij8T1cKblkPoNBFpa+WjUpgQgNrJlJl6VTmahzENzn6Ccj84NQ Z6AQlNpf71d7NICq6zI9kTdW68+vXikquflvBnJAty4uR6wVeCBof8Wl2vQzsMbpm9xJ9RIDBTk2g wqGVkVOTe5NQsOuHMRx7pFejn2iqHWCIhMh44VYatV1Az8O72SddhuXLGo0/vwCjptCDgwlwimZzV M0Ep1uW5bdGghYUHBtIQ==; 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 1ioacJ-0004fB-W9; Mon, 06 Jan 2020 22:12:56 +0000 Received: from mail-ot1-f67.google.com ([209.85.210.67]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ioacG-0004er-Ej for linux-arm-kernel@lists.infradead.org; Mon, 06 Jan 2020 22:12:54 +0000 Received: by mail-ot1-f67.google.com with SMTP id 59so73604879otp.12 for ; Mon, 06 Jan 2020 14:12:52 -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:user-agent; bh=CLp8AWOq/ppcpPg4zoNMmXmjnqf4+B8gtYz+J6bqL0A=; b=mnxrhjgJrMo8t+jzD0j2nTwOZFI+gcMPdBYQQaVJd2UsT6Re5ANMdVc4KuoxAQX6uR 7hkvZYH30x1LVW18T4bBXnrZtnJJyXJpiNOfWxIr+mvLnaZd79fninL/X9sU0ZgZ0t2b VPwfWS7+kMAH7JrZeVt97JCy/rXakRvsEoUFbkEzMLNU7TBSWNPZNrhE6YE6csk8Rrwl 7RF7YSvvTA+WF7EBpuMpJV1yMx1ylJiPDW3Zg7z9m9siV778oQDjdGZo6PjPr2AQMAxs acfemmJ02g+l2gQ6AkBIk4oRdACzKWuwpXvIxtdR8cW6CgmI/pQK19r63c3Ma9iBkiy3 bNPQ== X-Gm-Message-State: APjAAAU/PWRuKjptytNmCnbHtYDZ8RwJzGOODk1Khz6mY4FnDvL0DZ+v k2BviqlwlM5JPsq18PbBoFGhhIA= X-Google-Smtp-Source: APXvYqxPM9XTf0jRoTQxGTzx9aBemHH61hL62yxJz+ehBYm5WKCNCTrRNrONeevzfcMmgtkhPDI/AA== X-Received: by 2002:a9d:478:: with SMTP id 111mr115947243otc.359.1578348771359; Mon, 06 Jan 2020 14:12:51 -0800 (PST) Received: from rob-hp-laptop (ip-70-5-121-225.ftwttx.spcsdns.net. [70.5.121.225]) by smtp.gmail.com with ESMTPSA id j10sm19552417otr.64.2020.01.06.14.12.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 14:12:50 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 22043f by rob-hp-laptop (DragonFly Mail Agent v0.11); Mon, 06 Jan 2020 16:12:46 -0600 Date: Mon, 6 Jan 2020 16:12:46 -0600 From: Rob Herring To: Anson Huang Subject: Re: [PATCH V3 1/3] dt-bindings: imx: Add pinctrl binding doc for i.MX8MP Message-ID: <20200106221246.GA17055@bogus> References: <1578302992-5723-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1578302992-5723-1-git-send-email-Anson.Huang@nxp.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-20200106_141252_490274_17CE9EA8 X-CRM114-Status: GOOD ( 16.74 ) 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@arm.com, catalin.marinas@arm.com, linus.walleij@linaro.org, stefan@agner.ch, bjorn.andersson@linaro.org, leonard.crestez@nxp.com, will@kernel.org, abel.vesa@nxp.com, festevam@gmail.com, marcin.juszkiewicz@linaro.org, Linux-imx@nxp.com, devicetree@vger.kernel.org, s.hauer@pengutronix.de, linux-gpio@vger.kernel.org, maxime@cerno.tech, linux-arm-kernel@lists.infradead.org, aisheng.dong@nxp.com, linux-kernel@vger.kernel.org, dinguyen@kernel.org, kernel@pengutronix.de, olof@lixom.net, shawnguo@kernel.org 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 Mon, Jan 06, 2020 at 05:29:50PM +0800, Anson Huang wrote: > Add binding doc for i.MX8MP pinctrl driver. > > Signed-off-by: Anson Huang > Reviewed-by: Abel Vesa > --- > Changes since V2: > - use DT schema instead of txt for binding doc. > --- > .../bindings/pinctrl/fsl,imx8mp-pinctrl.yaml | 65 ++ > arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h | 931 +++++++++++++++++++++ > 2 files changed, 996 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h > > diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml > new file mode 100644 > index 0000000..cdb6c21 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pinctrl/fsl,imx8mp-pinctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale IMX8MP IOMUX Controller > + > +maintainers: > + - Anson Huang > + > +description: > + Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory > + for common binding part and usage. > + > +properties: > + compatible: > + const: fsl,imx8mp-iomuxc > + > +# Client device subnode's properties > +patternProperties: > + '-grp$': > + type: object > + description: > + Pinctrl node's client devices use subnodes for desired pin configuration. > + Client device subnodes use below standard properties. > + > + properties: > + fsl,pins: > + $ref: /schemas/types.yaml#/definitions/string string or... > + description: > + each entry consists of 6 integers and represents the mux and config integers? > + setting for one pin. The first 5 integers + mux_val input_val> are specified using a PIN_FUNC_ID macro, which can > + be found in . The last > + integer CONFIG is the pad setting value like pull-up on this pin. Please > + refer to i.MX8M Plus Reference Manual for detailed CONFIG settings. > + > + required: > + - fsl,pins > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + # Pinmux controller node > + - | > + iomuxc: pinctrl@30330000 { > + compatible = "fsl,imx8mp-iomuxc"; > + reg = <0x30330000 0x10000>; > + > + pinctrl_uart2: uart2grp { > + fsl,pins = < > + MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49 > + MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49 Run 'make dt_binding_check'. Doesn't build: Error: Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.example.dts:23.21-22 syntax error FATAL ERROR: Unable to parse input tree > + >; > + }; > + }; > + > +... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel