Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp367496pxj; Thu, 3 Jun 2021 08:37:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrOsuvPekMW5heDrNHTNd46MM/r0PgNyysf6M8pJc0svYI9vB7fYGRlIuajXNEosr3MuM/ X-Received: by 2002:a17:906:4789:: with SMTP id cw9mr171604ejc.325.1622734620196; Thu, 03 Jun 2021 08:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622734620; cv=none; d=google.com; s=arc-20160816; b=nfdOZvdguLBSuCHsi8j0hb+fBbN2rmzVK4+dqE7t6n18Ma5b0UbFioVHm94ZBHAuwK ny8gAx59PMQDRL7Cfa+oyXW8s/GqDtwvUnJbd++IphHxikL7GnhLVdcJp1jJebxXQ41y S/9wxWq0+BCmI0F89HrxIxC+KoXs5pV4bEjH0IvCEBruRttDdUD65GofsE9E8xnXh0Nt oyRvUxL8dj74nB9fDyAHim9OZND8yHFGMFUpl04AOZfimmW0sy57FacI+jd6oR9vfRGO 7lONhmicl07Jjdo/+4OIVb6F1SmmJnyOlyFE34LSPaQR6vvJvYdhTE/4IbzkACL7aUmf nT3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=cOk28KcEz2NOBdhtfHuQ4sLl3CRRqr1jhLw7Yq7/n6w=; b=GGr8Y8nkLYW84WgrunX63WosDlfiKdoXWGeeeWey9hgf80C+wSMiH5gP4GMs4CI1Jt AATtbhnUEV8P9N08FH8RecipwC1TGHJVgzzMKzLCP0RaWpyvyMmaOfUowONyzcI7egTk p9xIGP+W5eZu1kkzrD6N333230t6t+FyXhKPY1XnLqkRTmAAphFNPZuq3sL5qBGcqQcX AAJGhcNmlHByRjrPTnipFbNbVdyEu8UTGkOxH4O1u9zUt6bAC0EL42DBQK1uN2F2CqZf KIKapyVIoR7rUuA/+H0PKBCMi8i8qktaWXU8P4+SNgC/6oAf8bFiFKF6aXGkk7DglBa8 qyNQ== 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 j6si338098ejo.403.2021.06.03.08.36.36; Thu, 03 Jun 2021 08:37:00 -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 S229878AbhFCPgY (ORCPT + 99 others); Thu, 3 Jun 2021 11:36:24 -0400 Received: from mx01.ayax.eu ([188.137.98.110]:41572 "EHLO mx01.ayax.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbhFCPgY (ORCPT ); Thu, 3 Jun 2021 11:36:24 -0400 Received: from [192.168.192.146] (port=48286 helo=nx64de-df6d00) by mx01.ayax.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lopMR-0005wd-L7; Thu, 03 Jun 2021 17:34:19 +0200 Date: Thu, 3 Jun 2021 17:34:18 +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 v2] ARM: dts: stm32: add a new DCMI pins group 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 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Seeed Odyssey-STM32MP157C board has a 20-pin DVP camera output. stm32mp15-pinctrl.dtsi contained one pin state definition for the DCMI interface, dcmi-0, AKA phandle dcmi_pins_a. This definition was incompatible with the pins used on the Odyssey board, where: - there are 8 data pins instead of 12, - DCMI_HSYNC is available at PA4 instead of PH8, - DCMI_D0 is at PC6 instead of PH9, - DCMI_D3 is at PE1 instead of PH12, - DCMI_D4 is at PE11 instead of PH14, - DCMI_D5 is at PD3 instead of PI4, - DCMI_D6 is at PE13 instead of PB8, - DCMI_D7 is at PB9 instead of PE6. Add the DCMI pins used on the Odyssey board as a new DCMI pin state definition, dcmi-1, AKA phandle dcmi_pins_b. Signed-off-by: Grzegorz Szymaszek --- V1 -> V2: Removed the pinctrl override from the Odyssey device tree, added a new pinctrl in stm32mp15-pinctrl.dtsi instead arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 060baa8b7e9d..5b60ecbd718f 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -118,6 +118,39 @@ pins { }; }; + dcmi_pins_b: dcmi-1 { + pins { + pinmux = ,/* DCMI_HSYNC */ + ,/* DCMI_VSYNC */ + ,/* DCMI_PIXCLK */ + ,/* DCMI_D0 */ + ,/* DCMI_D1 */ + ,/* DCMI_D2 */ + ,/* DCMI_D3 */ + ,/* DCMI_D4 */ + ,/* DCMI_D5 */ + ,/* DCMI_D6 */ + ;/* DCMI_D7 */ + bias-disable; + }; + }; + + dcmi_sleep_pins_b: dcmi-sleep-1 { + pins { + pinmux = ,/* DCMI_HSYNC */ + ,/* DCMI_VSYNC */ + ,/* DCMI_PIXCLK */ + ,/* DCMI_D0 */ + ,/* DCMI_D1 */ + ,/* DCMI_D2 */ + ,/* DCMI_D3 */ + ,/* DCMI_D4 */ + ,/* DCMI_D5 */ + ,/* DCMI_D6 */ + ;/* DCMI_D7 */ + }; + }; + ethernet0_rgmii_pins_a: rgmii-0 { pins1 { pinmux = , /* ETH_RGMII_CLK125 */ -- 2.30.2