Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp516829pxb; Thu, 26 Aug 2021 08:13:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiRS5KPuL+g9axx1594o60ZFZrCV2eTbKRFBACO00glVBsmVeb3C4dkMz7S7KxD0coeyKL X-Received: by 2002:a05:6638:38aa:: with SMTP id b42mr3928272jav.6.1629990805043; Thu, 26 Aug 2021 08:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629990805; cv=none; d=google.com; s=arc-20160816; b=HMjj3T8pQe2hiLLvmcwM3fLOoggGZpAL1zlP41v4nRRN4Ai6LPQPdr5Wmd6hmnIcgF W0vOZWrdRX7V4JlPVXqYjO4E9qbb5InjtKPCvaXVmSK+AGuyO2B92FncFEYfFpmGWk4P F1Uvx8yyeTNqsL9wmsqRYbrHDuNKFfvNjYQNT6nXSuoPvpzatS+XrjjipB47nqbP6l14 lu+4qeXjo+dWZWgkwp2lPQqFy0eT7UvmVHjxeGaBvIgKrLSN8DM3fPnjD0t8bSmv2dc7 7pO7X1wDlrHhE4OfGRpOIhCJYotgxTeuDOhT72RIkbOp34TVlFfzXqY/uhsjg6oMWOeB K4Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date; bh=TIoq0QABbVR+nzuQsCYUEuZumn1UpfO9bhEtf6N2Em8=; b=FpvfDZPouq4X2Yqxmqu9qs1wpWVHMxUjQiSFxOzgKJZph6Iq3p8Z7fhNFRc05Xn5Fz bNoV9K7W7kasOyRJ9z1mn4qAo9TM+4Wlx4mfS9zbpL3MfwIpm2gwzrDM/gFFpdDSgYkW 7+xctNbnFOqNLlW/QG/RVXH/JTc6T14/ZAZkINBIUb8TW5+9y7OcMb5l5c9ZlHDS+iFP XUkFSR+q3eom5rFee2z/PrgLLsk/y2LzwSiNJOfyR/MUH1DghQoAH7PS7zJzgxXd6PhB XjsThc6RCKMfsATkHnV9FBAKlJDURKqXvJHB/QgWO1N6JoJigeq3y42DfdGzfGn+38X4 avPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o16si3090706ils.161.2021.08.26.08.13.12; Thu, 26 Aug 2021 08:13:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242890AbhHZPMb (ORCPT + 99 others); Thu, 26 Aug 2021 11:12:31 -0400 Received: from mx01.ayax.eu ([188.137.98.110]:37300 "EHLO mx01.ayax.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232291AbhHZPMb (ORCPT ); Thu, 26 Aug 2021 11:12:31 -0400 X-Greylist: delayed 1542 seconds by postgrey-1.27 at vger.kernel.org; Thu, 26 Aug 2021 11:12:30 EDT Received: from [192.168.192.146] (port=53042 helo=nx64de-df6d00) by mx01.ayax.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJGdV-0007Jl-4T; Thu, 26 Aug 2021 16:45:45 +0200 Date: Thu, 26 Aug 2021 16:45:43 +0200 From: Grzegorz Szymaszek To: Alexandre Torgue , Maxime Coquelin Cc: Grzegorz Szymaszek , Ahmad Fatoum , Marcin Sloniewski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] ARM: dts: stm32: set the DCMI pins on stm32mp157c-odyssey Message-ID: Mail-Followup-To: Grzegorz Szymaszek , Alexandre Torgue , Maxime Coquelin , Ahmad Fatoum , Marcin Sloniewski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; -- 2.30.2