Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp340244pxj; Thu, 3 Jun 2021 08:01:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCCfH+Vy69HpSkxq+jA8m7CDBSeo1nhuMnYl0lIlngKKe83RESi1dBP+QnHpPfzR+ukAfi X-Received: by 2002:a05:6402:5194:: with SMTP id q20mr233268edd.356.1622732486172; Thu, 03 Jun 2021 08:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622732486; cv=none; d=google.com; s=arc-20160816; b=pPVi0zAQ36fpyvgbNtfdMtNrjQ3bTIcJaGgC+ShFRxhmquPlEPuxL2WaH50M2mqp5d CYdNSR1+OCBU37Gr+zYYvobID9NR4oHq5Hxi6yK9lbYn+fP5ofkLmHBb5CxP+RlS3i8T 7/7g/M/XyAmwX8e3eIt8Bf8nFpwanPPlscU+2ArFW9lw0+P0TwlfcjJGMp0ZpwmjA8bw ZuiZsIFPq2xwLmIbySB5WwhjTxyle+3JKNDwd7BbkrLBb/jXHngBRGlA22+U2DHQG4Fx Y5hQURz+PWzOaFy5o8uN8GfKBSAnk49nEjUGgIylN9lnM8uyQv3tp81OV8OdpT1CKLVf yVjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=R4fES7bByk30CBMt54lxnteXwIL2efYMeTRe0tneAOk=; b=VrUw7U/1Adfhn6+nMtBiwr7x293ANw1JD6mdtG8dSjTtB+8oMum796S42mdZkzn196 uwL8tCZo558twdsEOV3Oo1L+CSjnbEbwBh2f2yiWtHvJfi/AH9AOWH8lzMeh/X76xYSt GNakWu8oVbQkOEOW4DzollNdLsqd43je8r/HG7ntviTMQe71HRSH6M1vOmno0j7O2zk3 5jotsSfrMCQ2LFnsYmph8KiUnpVyBvQr7snIZnMX9IiH7S/PezhZRdDRFCIKGcedaKPF eVQ0aJ60E9xiyvrgNIGrWOZDMxee2ikrV9Sk6J7xtJdPyGvBnuVoSk0giibk6tBkXeQg DztQ== 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 f23si2275932edx.185.2021.06.03.08.01.02; Thu, 03 Jun 2021 08:01:26 -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 S231901AbhFCPAp (ORCPT + 99 others); Thu, 3 Jun 2021 11:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbhFCPAp (ORCPT ); Thu, 3 Jun 2021 11:00:45 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42989C06174A for ; Thu, 3 Jun 2021 07:59:00 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1loooE-0002s8-PC; Thu, 03 Jun 2021 16:58:58 +0200 Subject: Re: [PATCH] ARM: dts: stm32: set stm32mp157c-odyssey DCMI pins To: Grzegorz Szymaszek , Alexandre Torgue , Maxime Coquelin , 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: From: Ahmad Fatoum Message-ID: <7af54c28-1cc1-775e-a544-45a0f5f9957e@pengutronix.de> Date: Thu, 3 Jun 2021 16:58:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03.06.21 16:49, Grzegorz Szymaszek wrote: > Hello Ahmad, > > On Thu, Jun 03, 2021 at 04:26:59PM +0200, Ahmad Fatoum wrote: >> On 03.06.21 16:23, Grzegorz Szymaszek wrote: >>> The Seeed Odyssey-STM32MP157C board has a 20-pin DVP camera output. >>> stm32mp15-pinctrl.dtsi contains one pin state definition for the DCMI >>> interface, dcmi-0, AKA phandle dcmi_pins_a. This definition is >>> incompatible with the pins used on the Odyssey board, where: >>> - there are 8 data pins instead of 12, >>> - […] >>> >>> Override the dcmi_pins_a definition (as well as dcmi_sleep_pins_a) in >>> the Odyssey device tree. >> >> Rather define a new pinctrl group (e.g. &dcmi_pins_b) and use that >> instead of overriding an existing one. > > Can I simply use dcmi_pins_b (as the first unused identifier) or is > there some way to match specific pin groups to an identifier (b, c, d, > and so on)? Just take the next available. That's how I did it so far. >> Current convention is also to place all STM32MP1 pinctrl nodes into >> a central file, not in the individual board device trees. > > Sure, I will update the patch. > > Thanks for your comments! Cheers, Ahmad -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |