Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp987668rdd; Wed, 10 Jan 2024 05:37:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEgwCJAf1tfdeflX0LZYfhHLTDOALxwzO9KgNUHHSfFVPEtLnYofhvNwIJiTYWMeTrPetq X-Received: by 2002:a05:6830:1d50:b0:6dd:dd86:ad81 with SMTP id p16-20020a0568301d5000b006dddd86ad81mr903726oth.14.1704893860887; Wed, 10 Jan 2024 05:37:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704893860; cv=none; d=google.com; s=arc-20160816; b=TvEhyxMAqmukRLoEHDedgO110ro0Ex/3qhi4aP2u7I8wtHfFSFktI6NqUSLIdVaDyP uRshRWRIdF1DToqQSsADacSJRGm/ou8EcRvOh0BLEE+azPO/kfctIcsnFfNqD2GajvTt Z+OUHhu+kEdWyBzF5Hy2ePU9fEW9yPIarXKp3CKUX8X0/8kLNmAhq3K3uv3cYTXcot2a tOsWAnJE4kjhjHaXGgiTSkketl05iMwRenCHHWvOavM1aIIahc2x6dOSkbLGKRk0HUMR iTi9Hg25VQysUgLDrX/5zTrcKIe5bUUocCXPkEzEGdcAkZOaWD4CWxfbf9mO/14mCSgT E/IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CGipzwmsk8GGrGy6RS4n9wqxF3gERAs+e7hl4xmVs50=; fh=Zz7Wj5ia5WR1gqpQzSVhgJCB3WWfcPNI1rItjKo59Wc=; b=X5Z4fmQezjrn7Y8CvEUIamirj+tCk/gLz22UCt5lJApNM/5WJl7gQ2Jvf0XL1bEnWc N2gUOeUdvbbjp7rtIebJLYkCMn1gMbTn0ZnHxMURMcy9m7foA+OS2zHAMq+iAnAr41Nw QBEeAbTkUCkrko/QGp6AOiunbSZtuK4ws3Pd7SP46tS0AMQ3KYV2ferpKJoBgpKheH3N r2Om06sLk17cQMyMTnwb08lWsmX4jAAu89A1k6dZCzJvy+1iEOBVwmDm/GC1l/HViioK 103sYV+kGhtarrNgFATYud115vvBeT0as1hDT7biwYWml/631r6kG1HbaNS+UDeOqd0K 9KSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cjhvpNdh; spf=pass (google.com: domain of linux-kernel+bounces-22253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a12-20020a65654c000000b005be00724141si3557537pgw.533.2024.01.10.05.37.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 05:37:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cjhvpNdh; spf=pass (google.com: domain of linux-kernel+bounces-22253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 86341284A9C for ; Wed, 10 Jan 2024 13:37:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A743495CB; Wed, 10 Jan 2024 13:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="cjhvpNdh" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDC6E482FC; Wed, 10 Jan 2024 13:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=CGipzwmsk8GGrGy6RS4n9wqxF3gERAs+e7hl4xmVs50=; b=cjhvpNdh1Pg3VHmHc52LlJgJA8 T41y0J16B/PhSp3H41AjkCnUID81U4Y2z5zCoumWo0viiddBIRx/n7EbLVzpAByFgyBuEfNORpZBw lchEVuRgWavLTvX3Hrj7+OZx8uqSai+wvZFwK3JgW8dgboCuABfuMAeLoegLbw2qPDUk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rNYje-004vZF-Vd; Wed, 10 Jan 2024 14:35:10 +0100 Date: Wed, 10 Jan 2024 14:35:10 +0100 From: Andrew Lunn To: Luo Jie Cc: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, quic_kkumarcs@quicinc.com, quic_suruchia@quicinc.com, quic_soni@quicinc.com, quic_pavir@quicinc.com, quic_souravp@quicinc.com, quic_linchen@quicinc.com, quic_leiwei@quicinc.com Subject: Re: [PATCH 3/6] arm64: dts: qcom: ipq5332: Add MDIO device tree Message-ID: <4bc0aff5-8a1c-44a6-89d8-460961a61310@lunn.ch> References: <20240110112059.2498-1-quic_luoj@quicinc.com> <20240110112059.2498-4-quic_luoj@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240110112059.2498-4-quic_luoj@quicinc.com> On Wed, Jan 10, 2024 at 07:20:56PM +0800, Luo Jie wrote: > Add the MDIO device tree of ipq5332. > > Signed-off-by: Luo Jie > --- > arch/arm64/boot/dts/qcom/ipq5332.dtsi | 44 +++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > index bc89480820cb..e6c780e69d6e 100644 > --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > @@ -214,6 +214,38 @@ serial_0_pins: serial0-state { > drive-strength = <8>; > bias-pull-up; > }; > + > + mdio0_pins: mdio0-state { > + mux_0 { > + pins = "gpio25"; > + function = "mdc0"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + mux_1 { > + pins = "gpio26"; > + function = "mdio0"; > + drive-strength = <8>; > + bias-pull-up; > + }; > + }; > + > + mdio1_pins: mdio1-state { > + mux_0 { > + pins = "gpio27"; > + function = "mdc1"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + mux_1 { > + pins = "gpio28"; > + function = "mdio1"; > + drive-strength = <8>; > + bias-pull-up; > + }; I don't know why i'm asking this, because i don't really expect a usable answer. What sort of MUX is this? Should you be using one of the muxes in drivers/net/mdio/mdio-mux-* or something similar? Andrew