Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp52464lfv; Tue, 12 Apr 2022 16:59:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8WVjzhjawCw6DMN7PccamyF7wnHaPnyQuY1zXGF3W+ByhgxyOCCeP4jAG8u+FHFafGO2Y X-Received: by 2002:a17:907:2d08:b0:6e8:8e58:f70e with SMTP id gs8-20020a1709072d0800b006e88e58f70emr12363363ejc.301.1649807960834; Tue, 12 Apr 2022 16:59:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649807960; cv=none; d=google.com; s=arc-20160816; b=rXwyQo56E2q7kKeCHYIkJkHw7VkC1dg+rIsnxJdb6pHWiEiP622uIHK9wE7+b7fwBS 1bnmTdH0inVBEB9NKSvZeIF7CZod93nk8PeKtRu/cShmdBKxHtSan/i1Yp0HTY0DhGi/ nw8Wc/kZLiv+veoUMdVx2IH4MJNgFMwmpXbrt7jCxeVtWaV7rTp8c7dqI8aou4/n2+KW jkb7Ux7L/oeJNAVNUaNrQI0npa8OK8SEqx1h0yvCM6kbXlibyFloacrQgct8JN/RbT/5 O78YZMDa9j85NFj9ElnbJq3boarQqCD4aUaK6AAodek4z13hGhEibaMDUXpPQLYo/Yy4 Qvpw== 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:subject:cc:to:from:date:message-id:dkim-signature; bh=63bKLrS07j9JmiWXjKpYNjAmmDlr+7+wtgKZRYTSf18=; b=hpGLNHY5BcNA211psvXOURQmRwSGoHFt3cUtV1y9xU0qf4U90amM0+CvgRwjB6wYbq yfKiIBhKI+pfcdIfdHlHzZj6f5wAqnccee+MuDmUnsdlDmtKiw2m/xqSp5S/SMe451az UkIFr1w8bcvoSqZInMGfcNRXfN2rci5aAbbUvKZdac9rJJ1KU+wE18kYMbgV18EbR+SP 70tLyZG8lhEhqHDySmy/VNDpL8Mqj/XEHsGZy2wKwzWnfll0NOBNkGvvqFmSiBU2gNcd dpZ2I9Z6lFmnhsGKaJWfE+DZw1VBKaWJJ2oIvAOnLpRg+Yio7JMqQC1UQpi6W9vA54Ll YG9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LJFofX4a; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a19-20020a17090680d300b006e89cb29660si3956511ejx.994.2022.04.12.16.58.56; Tue, 12 Apr 2022 16:59:20 -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=@gmail.com header.s=20210112 header.b=LJFofX4a; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229785AbiDLXYa (ORCPT + 99 others); Tue, 12 Apr 2022 19:24:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229877AbiDLXYG (ORCPT ); Tue, 12 Apr 2022 19:24:06 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E9B7CFBBB; Tue, 12 Apr 2022 15:10:51 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id b24so155590edu.10; Tue, 12 Apr 2022 15:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:from:to:cc:subject:references:mime-version :content-disposition:in-reply-to; bh=63bKLrS07j9JmiWXjKpYNjAmmDlr+7+wtgKZRYTSf18=; b=LJFofX4aSk0OzYymSwiFtyFFhCMrYHM61Qpf8isMleS9oQQDsNM4pIk0iZBsnMcExw czbRo4RjOo+FmkcGUwZZ7sCrFXjF3vakY95vFLx/GT8539xWLiHdd0tkPGdrwPXO6UOp /mjyo9V3LFDzyW753i+pRfHJ531CADKefV3rnWmsVoZ0ZztmJuhkIHZp3RIT/uiWcxwA v3NlhrdminvH0ZUsfbBzyUSlgmkba+nMWxF4T1OMpqKVvjvaXUmT0f8Z/Kt9YIZHEMb6 rqbBNBBLdoD0tKF3ZZWGFMyzgFHi7v4a7XtCp54XXjyK3HiG7IVvVUorXGpUCvIBhzZC vOmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=63bKLrS07j9JmiWXjKpYNjAmmDlr+7+wtgKZRYTSf18=; b=b5k0lm/IIRlE2VVUpPPhbyz16BRrsYiqGTVAZfoSBSMxdNTAUnP3NAemL0hUx0HDak W3m8vlzhE2wh7bZBqcJL0J8V2Jnm7j+Xyz385lfNpjSzn9oK88YumkpVrYukbCTrSmzO yK/BbF4svbQU1bEWmz4rzDwMIbJ2DgFTv8PH6ZEsuBraSTOEAGbVq0y5InUC3xHPjfB/ H2rPypDpBP+EwPYEuLjUMSsD/eD0a2tgpJGEGhgBw4A5gFUediTIsChGjGBvITA4GVKe tXJS7ZMUMzZVoLGlskDLIV+sx2q3GynfBLfAhK85bzoZ9rA1A8DSreAcdvtlo5MKPfY9 dauw== X-Gm-Message-State: AOAM532qa7RfFyW/JlWkMQJIWE4uSW35QcXDFpV4lA2pfHCFdUA9Vdy3 M9B7M0KTT8GRMkUrG8+VMZw= X-Received: by 2002:a05:6402:5106:b0:419:45cd:7ab0 with SMTP id m6-20020a056402510600b0041945cd7ab0mr40793251edd.116.1649801449956; Tue, 12 Apr 2022 15:10:49 -0700 (PDT) Received: from Ansuel-xps. (host-80-182-176-248.pool80182.interbusiness.it. [80.182.176.248]) by smtp.gmail.com with ESMTPSA id p13-20020a50d88d000000b0041cd1a083f7sm328292edj.1.2022.04.12.15.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:10:49 -0700 (PDT) Message-ID: <6255f8e9.1c69fb81.2cc35.1d5b@mx.google.com> X-Google-Original-Message-ID: Date: Tue, 12 Apr 2022 21:43:46 +0200 From: Ansuel Smith To: Bjorn Andersson Cc: Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan McDowell Subject: Re: [PATCH v3 01/18] ARM: dts: qcom: add multiple missing pin definition for ipq8064 References: <20220309190152.7998-1-ansuelsmth@gmail.com> <20220309190152.7998-2-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Tue, Apr 12, 2022 at 02:55:04PM -0500, Bjorn Andersson wrote: > On Wed 09 Mar 13:01 CST 2022, Ansuel Smith wrote: > > > Add missing definition for mdio0 pins used for gpio-bitbang driver,i2c4 > > pins and rgmii2 pins for ipq8064. > > > > I'm probably not looking hard enough, but I don't see where these are > used. Could they be introduced as they are being wired into their client > devices? > > Thanks, > Bjorn > mdio0 pins are used for by the switch connected to the SoC. i2c4 are used by rpm but in theory should never be used. rgmii2 i think were added for as some request for some devices that use them but not present upstream. Is it that bad to declare pin even if they are not used? They are used by any device downstream. > > Signed-off-by: Ansuel Smith > > Tested-by: Jonathan McDowell > > --- > > arch/arm/boot/dts/qcom-ipq8064.dtsi | 34 +++++++++++++++++++++++++++++ > > 1 file changed, 34 insertions(+) > > > > diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi > > index 11481313bdb6..cc6ca9013ab1 100644 > > --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi > > +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi > > @@ -382,6 +382,15 @@ mux { > > }; > > }; > > > > + i2c4_pins: i2c4_pinmux { > > + mux { > > + pins = "gpio12", "gpio13"; > > + function = "gsbi4"; > > + drive-strength = <12>; > > + bias-disable; > > + }; > > + }; > > + > > spi_pins: spi_pins { > > mux { > > pins = "gpio18", "gpio19", "gpio21"; > > @@ -424,6 +433,8 @@ mux { > > > > pullups { > > pins = "gpio39"; > > + function = "nand"; > > + drive-strength = <10>; > > bias-pull-up; > > }; > > > > @@ -431,9 +442,32 @@ hold { > > pins = "gpio40", "gpio41", "gpio42", > > "gpio43", "gpio44", "gpio45", > > "gpio46", "gpio47"; > > + function = "nand"; > > + drive-strength = <10>; > > bias-bus-hold; > > }; > > }; > > + > > + mdio0_pins: mdio0_pins { > > + mux { > > + pins = "gpio0", "gpio1"; > > + function = "mdio"; > > + drive-strength = <8>; > > + bias-disable; > > + }; > > + }; > > + > > + rgmii2_pins: rgmii2_pins { > > + mux { > > + pins = "gpio27", "gpio28", "gpio29", > > + "gpio30", "gpio31", "gpio32", > > + "gpio51", "gpio52", "gpio59", > > + "gpio60", "gpio61", "gpio62"; > > + function = "rgmii2"; > > + drive-strength = <8>; > > + bias-disable; > > + }; > > + }; > > }; > > > > intc: interrupt-controller@2000000 { > > -- > > 2.34.1 > > -- Ansuel