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=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, 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 A17ADC433EF for ; Mon, 20 Sep 2021 07:43:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87D0460F48 for ; Mon, 20 Sep 2021 07:43:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235139AbhITHpU (ORCPT ); Mon, 20 Sep 2021 03:45:20 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:36798 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235158AbhITHpP (ORCPT ); Mon, 20 Sep 2021 03:45:15 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18K098xl022500; Mon, 20 Sep 2021 09:43:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=oH4D/HPpaxuvzZMHzMZBaGtDooA6Q+t7sSJkEid2Q98=; b=nYJy/MWmrk2/0hZdrqkhcXqWUw4Go8I084uP5DybUyZxoMp8DpKHNr0sEjmO7Sib9tow PID399KTk0tKbfyr3GAWJtaZojcaup8EYUdyeKoao+rUFoDhsuMpNs7/rAxZu/bCilxP Xmir32mFK2WqizgICJaAhehcMI3tWCwE4klb0mTr9KkG+6xZcYwkTs3MfWwNgDXjrWzu UxxJRwCKCZ1csUcn9LvZNtBGMzf6PuoHq26esV7FGk6qx8jsKiMV0RLQ2h2PB2O389eB A8FM7xHzAsCIYBgGvDYE4ychRUA6HCYYP+6qVCXBAaW4kJhTjHCMugbQ10sPIllVxwyu Fg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3b6fgqhhv9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Sep 2021 09:43:27 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 942FF10002A; Mon, 20 Sep 2021 09:43:26 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8AD822128D5; Mon, 20 Sep 2021 09:43:26 +0200 (CEST) Received: from lmecxl0912.lme.st.com (10.75.127.44) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 20 Sep 2021 09:43:26 +0200 Subject: Re: [PATCH] ARM: dts: stm32: set the DCMI pins on stm32mp157c-odyssey To: Grzegorz Szymaszek , Maxime Coquelin , Ahmad Fatoum , Marcin Sloniewski , Rob Herring , , , , References: From: Alexandre TORGUE Message-ID: <0ac8725b-b3b9-7c9b-bb88-70e586092c09@foss.st.com> Date: Mon, 20 Sep 2021 09:43:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-20_03,2021-09-17_02,2020-04-07_01 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 8/26/21 4:45 PM, Grzegorz Szymaszek wrote: > The Seeed Odyssey-STM32MP157C board has a 20-pin DVP camera output. The > DCMI pins used on this output are defined in the pin state definition > &pinctrl/dcmi-1, AKA &dcmi_pins_b (added in mainline commit > 02814a41529a55dbfb9fbb2a3728e78e70646ea6). Set these pins as the default > pinctrl of the DCMI peripheral in the board device tree. > > The pins are not used for any other purpose, so it seems safe to assume > most users will not need to override (delete) what this patch provides. > status defaults to "disabled", so the peripheral will not be > unnecessarily started. And the users who actually intend to make use of > a camera on the DVP port will have this little part of the configuration > ready. > > Signed-off-by: Grzegorz Szymaszek > --- > arch/arm/boot/dts/stm32mp157c-odyssey.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts > index be1dd5e9e744..554f5d3bcdc3 100644 > --- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts > +++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts > @@ -22,6 +22,12 @@ chosen { > }; > }; > > +&dcmi { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&dcmi_pins_b>; > + pinctrl-1 = <&dcmi_sleep_pins_b>; > +}; > + > ðernet0 { > status = "okay"; > pinctrl-0 = <ðernet0_rgmii_pins_a>; > Applied on stm32-next. Thanks Alex 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=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, 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 2D119C433F5 for ; Mon, 20 Sep 2021 07:45:38 +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 E8F0F60F26 for ; Mon, 20 Sep 2021 07:45:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E8F0F60F26 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+BCz10/d2KCY3Nh95j32iLOBNiMHNHmue32JCZRG5lY=; b=itysPJdejxYbOM4RjRAdgQVbFN y/stAm+uRRfzqm4OSnbzhvpDOiLYZVmlf2PySzBStWD9D970bOPuTarzmbL23ho+t9EibjIypr+cC xKe/VWVya/W/3UOL350KE/NjwkEeqBUyvG27twr+mpY8Sfky9yo4247e5QJHFGWNJRUsVtC79ti2X AD7CqK5YmWpPdROGvoX0w32MH+0NuusJfDiJS+1ttceGv3z+WiswgwAoRS5IDcD6FP7SFYlOToJ8G L6R380eKz6VHVA43YT08CPg6chRhPdd8HOAQO0wNKuyw9reMqCYqavlwR89J2nHYsTmN8kH92dy2M yGi+zetQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSDxk-000oHE-Ju; Mon, 20 Sep 2021 07:43:40 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSDxh-000oG5-7K for linux-arm-kernel@lists.infradead.org; Mon, 20 Sep 2021 07:43:38 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18K098xl022500; Mon, 20 Sep 2021 09:43:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=oH4D/HPpaxuvzZMHzMZBaGtDooA6Q+t7sSJkEid2Q98=; b=nYJy/MWmrk2/0hZdrqkhcXqWUw4Go8I084uP5DybUyZxoMp8DpKHNr0sEjmO7Sib9tow PID399KTk0tKbfyr3GAWJtaZojcaup8EYUdyeKoao+rUFoDhsuMpNs7/rAxZu/bCilxP Xmir32mFK2WqizgICJaAhehcMI3tWCwE4klb0mTr9KkG+6xZcYwkTs3MfWwNgDXjrWzu UxxJRwCKCZ1csUcn9LvZNtBGMzf6PuoHq26esV7FGk6qx8jsKiMV0RLQ2h2PB2O389eB A8FM7xHzAsCIYBgGvDYE4ychRUA6HCYYP+6qVCXBAaW4kJhTjHCMugbQ10sPIllVxwyu Fg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3b6fgqhhv9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Sep 2021 09:43:27 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 942FF10002A; Mon, 20 Sep 2021 09:43:26 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8AD822128D5; Mon, 20 Sep 2021 09:43:26 +0200 (CEST) Received: from lmecxl0912.lme.st.com (10.75.127.44) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 20 Sep 2021 09:43:26 +0200 Subject: Re: [PATCH] ARM: dts: stm32: set the DCMI pins on stm32mp157c-odyssey To: Grzegorz Szymaszek , Maxime Coquelin , Ahmad Fatoum , Marcin Sloniewski , Rob Herring , , , , References: From: Alexandre TORGUE Message-ID: <0ac8725b-b3b9-7c9b-bb88-70e586092c09@foss.st.com> Date: Mon, 20 Sep 2021 09:43:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-20_03,2021-09-17_02,2020-04-07_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210920_004337_602548_99A1CCCF X-CRM114-Status: GOOD ( 26.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi On 8/26/21 4:45 PM, Grzegorz Szymaszek wrote: > The Seeed Odyssey-STM32MP157C board has a 20-pin DVP camera output. The > DCMI pins used on this output are defined in the pin state definition > &pinctrl/dcmi-1, AKA &dcmi_pins_b (added in mainline commit > 02814a41529a55dbfb9fbb2a3728e78e70646ea6). Set these pins as the default > pinctrl of the DCMI peripheral in the board device tree. > > The pins are not used for any other purpose, so it seems safe to assume > most users will not need to override (delete) what this patch provides. > status defaults to "disabled", so the peripheral will not be > unnecessarily started. And the users who actually intend to make use of > a camera on the DVP port will have this little part of the configuration > ready. > > Signed-off-by: Grzegorz Szymaszek > --- > arch/arm/boot/dts/stm32mp157c-odyssey.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts > index be1dd5e9e744..554f5d3bcdc3 100644 > --- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts > +++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts > @@ -22,6 +22,12 @@ chosen { > }; > }; > > +&dcmi { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&dcmi_pins_b>; > + pinctrl-1 = <&dcmi_sleep_pins_b>; > +}; > + > ðernet0 { > status = "okay"; > pinctrl-0 = <ðernet0_rgmii_pins_a>; > Applied on stm32-next. Thanks Alex _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel