Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4873981iog; Wed, 22 Jun 2022 07:27:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1upg61NxE7pcoawtvq+IeJOvjazAgguFXxkHmLFTXmSwXyeg61BDxxRuXnhNEnIRqvvsL37 X-Received: by 2002:a17:90b:17d0:b0:1e3:5324:c465 with SMTP id me16-20020a17090b17d000b001e35324c465mr4102225pjb.34.1655908037012; Wed, 22 Jun 2022 07:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655908037; cv=none; d=google.com; s=arc-20160816; b=gOkdT3Icd8cpzz0PIFNlP3XZFHGOhN2yxEQYzDfxGGkIDwhtJJh1E2iyRCRNDFifAb uIxrUiZKN79q4cgZnPX26K32/f1bJ1y2RzKLluqkAnVMmR9opvySjQJ7k30IWBi0e/Iw TwQ7hYvOaPGXxuBzbw55GYY0MI2nyTfQi5HYQmUklm5/ITLtNzQH2WyzlnUbwKKSAxq0 3JexYlJx3pap5kM9V8VDz7FdmrMDMEh1AVCLjJ3KCNMH0kx0KKQVNf06PiR4o911PqL2 O2ND0GxaIUJ988nHdjfa0qEoEB3AKloWF0GGpiLHBAMbclpeG+fcc9UnhnKscWWy/gl9 4NAg== 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:dkim-signature; bh=5xucXY+usGXqllK0hI4csPtzXoRwv3gnURNBRG7W2CA=; b=m2yrTqdEO/ByY7Bb5qSLYl9u+u9CbuC/v5bHROO+ve90rqMc7sxzZDrgCLB7ivown9 ELgjNZ4HVWKd+JHUHEOjmFVC6mM3+0TyoVQKkIq+O7NjWDoxIzBPOli7xRTD3rsJDlo3 K0440N8msddfTjM18xDK1si7hFN8aRTlRAcV1CxS4ektwefLnNjynxrFMC0ZM+ded4KQ TlRTuapGMxP8HOW3+f6k9rqQlCWPqqjET33vn05NU6L28DU1mZpA8v1U6Hexpx6C9JLE MHTX07S/et7puMbenEZaeL31vtU79xljB4TYOIObIm6ZrHdAuBvaBBKogYDD7ulF4bko SUQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S9T7cnqp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a056a0007d000b005189da5244csi6780750pfu.330.2022.06.22.07.27.04; Wed, 22 Jun 2022 07:27:16 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S9T7cnqp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355050AbiFVNnW (ORCPT + 99 others); Wed, 22 Jun 2022 09:43:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233196AbiFVNnU (ORCPT ); Wed, 22 Jun 2022 09:43:20 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F298E186CE; Wed, 22 Jun 2022 06:43:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 6A977CE1EE3; Wed, 22 Jun 2022 13:43:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3617C3411B; Wed, 22 Jun 2022 13:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655905396; bh=jDB1Cmjv2ziK6j8aryAIRqu1467tjzlSp6wfYt0MFcQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S9T7cnqpV1WcPaC+DcszUY1WiRuvebMnlhf3ztL5usOyhUj45669V+TMotvdRzSlP 7lzi5U4e5KFFtaYxQ/wXQ3AJ69QuY2S/3myFzi+CU+xPVvGtv13duHLyGy8dPsBuhk 481Mh5vDgxWNSFl5HmYnj8a2h6V1Tf8PGzEv0iG2Y0bj4/erXlrPK8aJ2ht6uOnsY2 fum0QCbgh6Dba32vUzJwy7jxesqCeiuzNo13MBYSWwjD6EFTnyuk03jVQER6CPJsmy Flt0CnVqSDjyabtcxKvtLs3t+gFqY9L4RQ+mU+WPZEYzSqXaPUVLbIn5x8+G/C3QmR 8qVnRbymt79AA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o40dV-0006Ww-1e; Wed, 22 Jun 2022 15:43:13 +0200 Date: Wed, 22 Jun 2022 15:43:13 +0200 From: Johan Hovold To: Konrad Dybcio Cc: Bjorn Andersson , Andy Gross , Krzysztof Kozlowski , Rob Herring , Manivannan Sadhasivam , Jassi Brar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: sc8280xp: Add reference device Message-ID: References: <20220622041224.627803-1-bjorn.andersson@linaro.org> <20220622041224.627803-5-bjorn.andersson@linaro.org> <099cc82f-d52f-315f-189d-bcc40c1afd49@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <099cc82f-d52f-315f-189d-bcc40c1afd49@somainline.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Wed, Jun 22, 2022 at 02:33:02PM +0200, Konrad Dybcio wrote: > On 22.06.2022 06:12, Bjorn Andersson wrote: > > +&qup2_i2c5 { > > + clock-frequency = <400000>; > > + > > + pinctrl-names = "default"; > > + pinctrl-0 = <&qup2_i2c5_default>, <&kybd_default>, <&tpad_default>; > > + > > + status = "okay"; > > + > I think all device DTs generally have 'status = "okay"' at the beginning. Should we change that? > No, quite the opposite, status go at the end. (And please break your lines at 72 cols or so). > > + > > +/* PINCTRL - additions to nodes defined in sc8280xp.dtsi */ > This comment seems redundant. Nope, it's a marker that explains why the pinctrl nodes are seemingly out of sort order. We've decided to group them all at the end. But sure "- additions to nodes defined in sc8280xp.dtsi" could be moved since we also have PMIC pinctrl nodes here (as I just did for the x13s dts). > > > + > > +&pmc8280_1_gpios { > > + edp_bl_en: edp-bl-en-state { > > + pins = "gpio8"; > > + function = "normal"; > > + }; > > + > > + edp_bl_reg_en: edp-bl-reg-en-state { > > + pins = "gpio9"; > > + function = "normal"; > > + }; > > + > > + misc_3p3_reg_en: misc-3p3-reg-en-state { > > + pins = "gpio1"; > > + function = "normal"; > > + }; > > +}; > > + tpad_default: tpad-default-state { > > + int-n { > If you aren't gonna add more pins to this touchpad block, I think you could drop this extra level. You'd just lose information (what the pin is used for) with no real gain. > > + pins = "gpio182"; > > + function = "gpio"; > > + bias-disable; > > + }; > > + }; Johan