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=-5.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_MUTT 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 EB9E0C04AAA for ; Mon, 6 May 2019 10:00:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BCAD220C01 for ; Mon, 6 May 2019 10:00:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JWm3C8gH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726481AbfEFKAA (ORCPT ); Mon, 6 May 2019 06:00:00 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41943 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725861AbfEFJ77 (ORCPT ); Mon, 6 May 2019 05:59:59 -0400 Received: by mail-pg1-f194.google.com with SMTP id z3so2505945pgp.8 for ; Mon, 06 May 2019 02:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eMBEkWY+yoHOv35+4+osAhTZrDmIt7AwEsIPJqdF/3o=; b=JWm3C8gHUmsaKnWdHgIGhPMh/OdZYaZQZwQeJOd6DQUH8Gbjik2AaWwJWpbsZ2eTPw XQshzRWWqcz5SFWEFbJaozTWLHBtF7VQYwkSL0l+6EG5Lk90/zvLj/WyTC45NDe21H6c 8JNF2pmDC5CLdVhl+wjvk8oRWyVwSZ2xt31md96O9o6569tOiNNvI5v0w0RQS59ENndp 9K5/4HnuUqIx14sw3XKE7k6JMpo7lk6i6L0l3j7+vIJzJlzzKQEvPEZYJPMmIGxPlrmq HCOdCrd8KniiDBVkCjk7A1gRn7FNDvhO0c7X6Yq5gUOuEYxIq/YrZuZS3ynwenNhvcp8 v+mw== 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=eMBEkWY+yoHOv35+4+osAhTZrDmIt7AwEsIPJqdF/3o=; b=RXTKqw4y0pf25PtRoJHN5FCSjj9+6SV83bkzcX/lmoNidSvLRlIsERQsbnm4k5DK8Q lgmF2IIVeiEFF311NAPZ4f60/70C0Lfttq9DghpIv0dPO9K1eoLGmWa+en8rJSiLZuin IShW2JCrL6WlnsuAI6ZLJiU4KZMlAepMT4OSwcS1eWKmiPuxlGAvNcaeS8asr4fTC2A+ YkamOsBP3M7CA5xrtpCW1e2EO4Xxeu8xDVEgNor2lW/OEG37zvvEIcw4ySZbs9HnuWg3 42Pd2Qj1ABTanB/uIhlR28Dq/XVr2XVDTgOpMNRbq4CPBmWtKRFkwAYKv4c2+BmsKC3+ 9DYg== X-Gm-Message-State: APjAAAVKy7qJbK4+Po2yjKNOCKuJ04eWRdg49mkMBPX2MLCnwEcAh3ql GNM8Ht9bC9VQucSh6/T1tiqn X-Google-Smtp-Source: APXvYqzICVCOo980QxHqvj2nEfRkxI54XQPzFRDJGVrhybfA1++ueDo5q6nHCcSILwUj169XUgJEfw== X-Received: by 2002:a62:3501:: with SMTP id c1mr32740299pfa.184.1557136798385; Mon, 06 May 2019 02:59:58 -0700 (PDT) Received: from Mani-XPS-13-9360 ([2409:4072:611b:55a4:e119:3b84:2d86:5b07]) by smtp.gmail.com with ESMTPSA id u123sm934037pfu.67.2019.05.06.02.59.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 02:59:57 -0700 (PDT) Date: Mon, 6 May 2019 15:29:51 +0530 From: Manivannan Sadhasivam To: Alexandre Torgue Cc: mcoquelin.stm32@gmail.com, robh+dt@kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loic.pallardy@st.com Subject: Re: [PATCH 2/3] ARM: dts: stm32mp157: Add missing pinctrl definitions Message-ID: <20190506095951.GA23734@Mani-XPS-13-9360> References: <20190503053123.6828-1-manivannan.sadhasivam@linaro.org> <20190503053123.6828-3-manivannan.sadhasivam@linaro.org> <369b2593-71b6-0b00-b72c-041967ffba73@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <369b2593-71b6-0b00-b72c-041967ffba73@st.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alex, On Fri, May 03, 2019 at 09:13:27AM +0200, Alexandre Torgue wrote: > Hi Mani > > On 5/3/19 7:31 AM, Manivannan Sadhasivam wrote: > > Add missing pinctrl definitions for STM32MP157 MPU. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 62 +++++++++++++++++++++++ > > 1 file changed, 62 insertions(+) > > > > diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi > > index 85c417d9983b..0b5bcf6a7c97 100644 > > --- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi > > +++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi > > @@ -241,6 +241,23 @@ > > }; > > }; > > + i2c1_pins_b: i2c1-2 { > > + pins { > > + pinmux = , /* I2C1_SCL */ > > + ; /* I2C1_SDA */ > > + bias-disable; > > + drive-open-drain; > > + slew-rate = <0>; > > + }; > > + }; > > + > > + i2c1_pins_sleep_b: i2c1-3 { > > + pins { > > + pinmux = , /* I2C1_SCL */ > > + ; /* I2C1_SDA */ > > + }; > > + }; > > + > > i2c2_pins_a: i2c2-0 { > > pins { > > pinmux = , /* I2C2_SCL */ > > @@ -258,6 +275,23 @@ > > }; > > }; > > + i2c2_pins_b: i2c2-2 { > > + pins { > > + pinmux = , /* I2C2_SCL */ > > + ; /* I2C2_SDA */ > > You can't do that. has to be declared in > pincontroller-z. So in your case, you have to define 2 groups for i2C2 for > your default state (the same for the sleep state). > Ah, yes I failed to note pincontroller z. Will fix it in next revision! Thanks, Mani > regards > Alex > > > > > > + bias-disable; > > + drive-open-drain; > > + slew-rate = <0>; > > + }; > > + }; > > + > > + i2c2_pins_sleep_b: i2c2-3 { > > + pins { > > + pinmux = , /* I2C2_SCL */ > > + ; /* I2C2_SDA */ > > + }; > > + }; > > + > > i2c5_pins_a: i2c5-0 { > > pins { > > pinmux = , /* I2C5_SCL */ > > @@ -599,6 +633,34 @@ > > bias-disable; > > }; > > }; > > + > > + uart4_pins_b: uart4-1 { > > + pins1 { > > + pinmux = ; /* UART4_TX */ > > + bias-disable; > > + drive-push-pull; > > + slew-rate = <0>; > > + }; > > + pins2 { > > + pinmux = ; /* UART4_RX */ > > + bias-disable; > > + }; > > + }; > > + > > + uart7_pins_a: uart7-0 { > > + pins1 { > > + pinmux = ; /* UART4_TX */ > > + bias-disable; > > + drive-push-pull; > > + slew-rate = <0>; > > + }; > > + pins2 { > > + pinmux = , /* UART4_RX */ > > + , /* UART4_CTS */ > > + ; /* UART4_RTS */ > > + bias-disable; > > + }; > > + }; > > }; > > pinctrl_z: pin-controller-z@54004000 { > > 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=-5.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,T_DKIMWL_WL_HIGH,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED, USER_AGENT_MUTT 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 B3431C04A6B for ; Mon, 6 May 2019 10:00:10 +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 81B21206BF for ; Mon, 6 May 2019 10:00:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K+Daydn6"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JWm3C8gH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81B21206BF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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=9DqKI1Ti2eb0eL87MNYUYatGjDHpaOOGpruII0p2y7A=; b=K+Daydn6WZLkdu Jayqa3P0a1IUgHak5i5bX3o5JYZ3zvpiMyLQKbrijfJnxyl4hOz5MQg1kxEyFrTrnX7vdE4TP1wua +fOBevvyB9lCqjLcXaiLoqtVzDMnLKDot27BqqU0ijZLQ6kO3NosBvlt9EgT4glSIh3ScWs52ImAf NkuFGOnehD5CREXX9Z0xrivXqTSnxqUQTMlWSm3C+DBWY0bZ1ykYRjPndKnrO5lT/Ny7RgCo7hRS6 IvhQqdo75ZSzT2oa4UBZBdThdXArEp7pVJ2x67oW1UfNspG13OU3NZP8iFFKLrAptJTgqS98PxAdV JeaTfHSAC9NeVTWmuBbQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hNaPk-0003id-Q4; Mon, 06 May 2019 10:00:04 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hNaPh-0003Ni-95 for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2019 10:00:02 +0000 Received: by mail-pf1-x442.google.com with SMTP id z28so6499104pfk.0 for ; Mon, 06 May 2019 02:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eMBEkWY+yoHOv35+4+osAhTZrDmIt7AwEsIPJqdF/3o=; b=JWm3C8gHUmsaKnWdHgIGhPMh/OdZYaZQZwQeJOd6DQUH8Gbjik2AaWwJWpbsZ2eTPw XQshzRWWqcz5SFWEFbJaozTWLHBtF7VQYwkSL0l+6EG5Lk90/zvLj/WyTC45NDe21H6c 8JNF2pmDC5CLdVhl+wjvk8oRWyVwSZ2xt31md96O9o6569tOiNNvI5v0w0RQS59ENndp 9K5/4HnuUqIx14sw3XKE7k6JMpo7lk6i6L0l3j7+vIJzJlzzKQEvPEZYJPMmIGxPlrmq HCOdCrd8KniiDBVkCjk7A1gRn7FNDvhO0c7X6Yq5gUOuEYxIq/YrZuZS3ynwenNhvcp8 v+mw== 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=eMBEkWY+yoHOv35+4+osAhTZrDmIt7AwEsIPJqdF/3o=; b=qKl4I/qQpip3f6SrH/xhrv84jeEu4FyQPAGmFSZNrt1KAWHE6o3CPDAVSYEsvbxtnN p+iDCDtjiTgWxrYlRztXJaEvMdTllb7PiJOVdt3ze4lpEPCxn6csNjWmpJvsHFGfYPvL iaXpAoe3hJVWl44+RIaLEirWpHYTlN0+5sftQ4LHqiGs60jjrtp5HMy6WvJ0HWQ/ta2/ uM7LfkhO9m8r1TdzTzhNnK1eS60tf29mqUtY3P+g1QocwmbbUNBt7qACJcuYEIlENp+K USPQG4lkQBq+hHLWmcTJKt8zZtOA+yi53qMtYzx+zIUi8MpgxXCtRkL6Ol1K52JQ7hKm PD2A== X-Gm-Message-State: APjAAAWqaxbaOKYdLlkkn/MqGB0xO08uETv7afLUYrLndJ5megPv2oSM wYbTNTpZQ+TJEGkKqVeip5+t X-Google-Smtp-Source: APXvYqzICVCOo980QxHqvj2nEfRkxI54XQPzFRDJGVrhybfA1++ueDo5q6nHCcSILwUj169XUgJEfw== X-Received: by 2002:a62:3501:: with SMTP id c1mr32740299pfa.184.1557136798385; Mon, 06 May 2019 02:59:58 -0700 (PDT) Received: from Mani-XPS-13-9360 ([2409:4072:611b:55a4:e119:3b84:2d86:5b07]) by smtp.gmail.com with ESMTPSA id u123sm934037pfu.67.2019.05.06.02.59.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 02:59:57 -0700 (PDT) Date: Mon, 6 May 2019 15:29:51 +0530 From: Manivannan Sadhasivam To: Alexandre Torgue Subject: Re: [PATCH 2/3] ARM: dts: stm32mp157: Add missing pinctrl definitions Message-ID: <20190506095951.GA23734@Mani-XPS-13-9360> References: <20190503053123.6828-1-manivannan.sadhasivam@linaro.org> <20190503053123.6828-3-manivannan.sadhasivam@linaro.org> <369b2593-71b6-0b00-b72c-041967ffba73@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <369b2593-71b6-0b00-b72c-041967ffba73@st.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190506_030001_328898_4FFC41E6 X-CRM114-Status: GOOD ( 16.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, loic.pallardy@st.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mcoquelin.stm32@gmail.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.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 Hi Alex, On Fri, May 03, 2019 at 09:13:27AM +0200, Alexandre Torgue wrote: > Hi Mani > > On 5/3/19 7:31 AM, Manivannan Sadhasivam wrote: > > Add missing pinctrl definitions for STM32MP157 MPU. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 62 +++++++++++++++++++++++ > > 1 file changed, 62 insertions(+) > > > > diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi > > index 85c417d9983b..0b5bcf6a7c97 100644 > > --- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi > > +++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi > > @@ -241,6 +241,23 @@ > > }; > > }; > > + i2c1_pins_b: i2c1-2 { > > + pins { > > + pinmux = , /* I2C1_SCL */ > > + ; /* I2C1_SDA */ > > + bias-disable; > > + drive-open-drain; > > + slew-rate = <0>; > > + }; > > + }; > > + > > + i2c1_pins_sleep_b: i2c1-3 { > > + pins { > > + pinmux = , /* I2C1_SCL */ > > + ; /* I2C1_SDA */ > > + }; > > + }; > > + > > i2c2_pins_a: i2c2-0 { > > pins { > > pinmux = , /* I2C2_SCL */ > > @@ -258,6 +275,23 @@ > > }; > > }; > > + i2c2_pins_b: i2c2-2 { > > + pins { > > + pinmux = , /* I2C2_SCL */ > > + ; /* I2C2_SDA */ > > You can't do that. has to be declared in > pincontroller-z. So in your case, you have to define 2 groups for i2C2 for > your default state (the same for the sleep state). > Ah, yes I failed to note pincontroller z. Will fix it in next revision! Thanks, Mani > regards > Alex > > > > > > + bias-disable; > > + drive-open-drain; > > + slew-rate = <0>; > > + }; > > + }; > > + > > + i2c2_pins_sleep_b: i2c2-3 { > > + pins { > > + pinmux = , /* I2C2_SCL */ > > + ; /* I2C2_SDA */ > > + }; > > + }; > > + > > i2c5_pins_a: i2c5-0 { > > pins { > > pinmux = , /* I2C5_SCL */ > > @@ -599,6 +633,34 @@ > > bias-disable; > > }; > > }; > > + > > + uart4_pins_b: uart4-1 { > > + pins1 { > > + pinmux = ; /* UART4_TX */ > > + bias-disable; > > + drive-push-pull; > > + slew-rate = <0>; > > + }; > > + pins2 { > > + pinmux = ; /* UART4_RX */ > > + bias-disable; > > + }; > > + }; > > + > > + uart7_pins_a: uart7-0 { > > + pins1 { > > + pinmux = ; /* UART4_TX */ > > + bias-disable; > > + drive-push-pull; > > + slew-rate = <0>; > > + }; > > + pins2 { > > + pinmux = , /* UART4_RX */ > > + , /* UART4_CTS */ > > + ; /* UART4_RTS */ > > + bias-disable; > > + }; > > + }; > > }; > > pinctrl_z: pin-controller-z@54004000 { > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel