Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4836225rwd; Tue, 30 May 2023 10:32:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Y8vJq037ZvsFnJpmH56CudTy3+Ju9/2BY2SamSwBw1AjJl8M4sucIE2egXNL2OuQD09fO X-Received: by 2002:aa7:88d6:0:b0:64f:74d9:eb4b with SMTP id k22-20020aa788d6000000b0064f74d9eb4bmr3973407pff.15.1685467961214; Tue, 30 May 2023 10:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685467961; cv=none; d=google.com; s=arc-20160816; b=uwXsmqWKYLDpYBolzkDBin9n1lUcmQnn7IP7shnKhEShDK1wmcrLmbpSH7wKfXBPBw 7AeQ/4bw/+ZjcgYu92HhuYSL37ZpLjtelc4GFynHs12jmq9dZIqUvDTCeSDZ3coMyqIm TSdhRpkBdHgJQncu3Zi7P5vBe6lo7MCQAYWiGUAS5+hgBMsry0adScALbZUUKLKIosUN 5ODW893ZI6qfqnxHAgI60b8gjRtT89dqVZUPW/up/ZeCTyKKTlTjGALRsa8TkuemlGp3 CScRdwF2ukOnin9tv3cOe/uaaall1UG+914cBwbn8ld820tptoZYWcAN5ULVvJQRir4e 8Hww== 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:message-id:subject:cc:to:from:date; bh=Nd8BrTg52MkLmWRLvxfzBDWjo/AddkpwdBdqAlneLrY=; b=NIHqVLuNlg/dT00MLchLe3UjGa6qE3w2WdYxygDznWJpflTGwG+z7bLAdEltKX6HRG 5i6xkD/TwkRVvvqz59+Nog99wvsIU3pBRlKsVvdv/Qa0sSisqfI8/APMMyDVGK9yRNnU 5Dk4RhlM6UjoxejC97qTfbLH9NBu1GmzmxwtDwjaHE1xYG6MGWGUj+rls09xUeZInsp7 itunCw+X2vjnt+NavIpR89X11e7mNNwlr+dKV/PlscACQx80IJnCYXH2Sr/81FfOYocI 9cQ/rce9EhPe2wroTK/KzzV58KPut7lnnuxKv291An3/UWgG9D3AA7f7l+Vul5i8or2p gALA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q30-20020a63751e000000b004fbe5ede659si1960167pgc.317.2023.05.30.10.32.27; Tue, 30 May 2023 10:32:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232065AbjE3RRX (ORCPT + 99 others); Tue, 30 May 2023 13:17:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbjE3RRV (ORCPT ); Tue, 30 May 2023 13:17:21 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB4BD98; Tue, 30 May 2023 10:17:20 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id A3735207A3; Tue, 30 May 2023 19:17:18 +0200 (CEST) Date: Tue, 30 May 2023 19:17:17 +0200 From: Francesco Dolcini To: Nishanth Menon Cc: Francesco Dolcini , Vignesh Raghavendra , Francesco Dolcini , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 3/5] arm64: dts: ti: add verdin am62 Message-ID: References: <20230524143631.42471-1-francesco@dolcini.it> <20230524143631.42471-4-francesco@dolcini.it> <20230530121044.sjhv452b4hs4lyiy@flyer> <20230530165351.rqpu7go3kw6j3upc@storable> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230530165351.rqpu7go3kw6j3upc@storable> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 30, 2023 at 11:53:51AM -0500, Nishanth Menon wrote: > On 18:36-20230530, Francesco Dolcini wrote: > > On Tue, May 30, 2023 at 07:10:44AM -0500, Nishanth Menon wrote: > > > On 16:36-20230524, Francesco Dolcini wrote: > > > > +/* Verdin I2C_2_DSI */ > > > > +&main_i2c2 { > > > > + status = "okay"; > > > > > > Here and few other dtsis: > > > you should set status along with pinmux. > > This is already done in the SoM dtsi, same applies to the other comment > > you have on this pinmux topic. > > > > To rephrase what's hopefully is already written in the commit > > message/series description, or at least it was in my intention. > > > > The system is modular, with multiple SoM variant and multiple carrier > > boards. Standard interfaces are defined at the family level, e.g. > > already in the SoM, in the carrier board DT file peripherals are just > > enabled, the pinmux is already defined in the common som.dtsi [1][2][3] > > files and the carrier board just use those unless there is some kind of > > non-standard deviation. > > > > This prevents duplication and simplify writing device tree file for board > > that use standard Verdin family interfaces. This should be visible > > looking at this series in which 3 different boards (Dev, Yavia and > > Dahlia) are added. > > It helps clarity if the node is marked "okay" when all the necessary > properties required for operation (in this case pinmux) is enabled. I > don't see a big change as a result. Just stops people from hunting for > where pinmux is actually done. I would disagree here, I would prefer to keep this as it is. Of course, doing the change you request here is trivial, just some copy paste. The pinctrl is not all the necessary properties, you still need go hunting on the dtsi includes hierarchy to see that everything is there. And I think this is just fine, we do this just to avoid duplicating common stuff. What you get for sure is information duplication, with all the interfaces that are enabled getting the same pinctrl on multiple files. Just on this series you have 3 carrier boards, we have 1 more we should just send and they all share mostly the same pinmux. ... And the Verdin AM62 is really a very brand new product. From my point of view I would also lose some clarity, since the current structure, at least to some extent, helps understanding when a carrier board is deviating from the family specification. I hope this explanation gives some more context. Francesco